@alicloud/polardbx20200202 3.7.0 → 3.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (211) hide show
  1. package/dist/client.d.ts +340 -2
  2. package/dist/client.js +907 -62
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CheckHealthRequest.d.ts +13 -0
  5. package/dist/models/CheckHealthRequest.js +54 -0
  6. package/dist/models/CheckHealthRequest.js.map +1 -0
  7. package/dist/models/CheckHealthResponse.d.ts +19 -0
  8. package/dist/models/CheckHealthResponse.js +69 -0
  9. package/dist/models/CheckHealthResponse.js.map +1 -0
  10. package/dist/models/CheckHealthResponseBody.d.ts +29 -0
  11. package/dist/models/CheckHealthResponseBody.js +60 -0
  12. package/dist/models/CheckHealthResponseBody.js.map +1 -0
  13. package/dist/models/CreatePolardbxSupabaseInstanceRequest.d.ts +152 -0
  14. package/dist/models/CreatePolardbxSupabaseInstanceRequest.js +86 -0
  15. package/dist/models/CreatePolardbxSupabaseInstanceRequest.js.map +1 -0
  16. package/dist/models/CreatePolardbxSupabaseInstanceResponse.d.ts +19 -0
  17. package/dist/models/CreatePolardbxSupabaseInstanceResponse.js +69 -0
  18. package/dist/models/CreatePolardbxSupabaseInstanceResponse.js.map +1 -0
  19. package/dist/models/CreatePolardbxSupabaseInstanceResponseBody.d.ts +143 -0
  20. package/dist/models/CreatePolardbxSupabaseInstanceResponseBody.js +124 -0
  21. package/dist/models/CreatePolardbxSupabaseInstanceResponseBody.js.map +1 -0
  22. package/dist/models/CreateServiceAccountRequest.d.ts +43 -0
  23. package/dist/models/CreateServiceAccountRequest.js +62 -0
  24. package/dist/models/CreateServiceAccountRequest.js.map +1 -0
  25. package/dist/models/CreateServiceAccountResponse.d.ts +19 -0
  26. package/dist/models/CreateServiceAccountResponse.js +69 -0
  27. package/dist/models/CreateServiceAccountResponse.js.map +1 -0
  28. package/dist/models/CreateServiceAccountResponseBody.d.ts +159 -0
  29. package/dist/models/CreateServiceAccountResponseBody.js +128 -0
  30. package/dist/models/CreateServiceAccountResponseBody.js.map +1 -0
  31. package/dist/models/CreateSubCninstanceRequest.d.ts +14 -0
  32. package/dist/models/CreateSubCninstanceRequest.js.map +1 -1
  33. package/dist/models/CreateSubCninstanceResponseBody.d.ts +10 -0
  34. package/dist/models/CreateSubCninstanceResponseBody.js.map +1 -1
  35. package/dist/models/CreateSupabaseNetTypeRequest.d.ts +41 -0
  36. package/dist/models/CreateSupabaseNetTypeRequest.js +62 -0
  37. package/dist/models/CreateSupabaseNetTypeRequest.js.map +1 -0
  38. package/dist/models/CreateSupabaseNetTypeResponse.d.ts +19 -0
  39. package/dist/models/CreateSupabaseNetTypeResponse.js +69 -0
  40. package/dist/models/CreateSupabaseNetTypeResponse.js.map +1 -0
  41. package/dist/models/CreateSupabaseNetTypeResponseBody.d.ts +135 -0
  42. package/dist/models/CreateSupabaseNetTypeResponseBody.js +122 -0
  43. package/dist/models/CreateSupabaseNetTypeResponseBody.js.map +1 -0
  44. package/dist/models/DeletePolardbxSupabaseInstanceRequest.d.ts +33 -0
  45. package/dist/models/DeletePolardbxSupabaseInstanceRequest.js +60 -0
  46. package/dist/models/DeletePolardbxSupabaseInstanceRequest.js.map +1 -0
  47. package/dist/models/DeletePolardbxSupabaseInstanceResponse.d.ts +19 -0
  48. package/dist/models/DeletePolardbxSupabaseInstanceResponse.js +69 -0
  49. package/dist/models/DeletePolardbxSupabaseInstanceResponse.js.map +1 -0
  50. package/dist/models/DeletePolardbxSupabaseInstanceResponseBody.d.ts +127 -0
  51. package/dist/models/DeletePolardbxSupabaseInstanceResponseBody.js +120 -0
  52. package/dist/models/DeletePolardbxSupabaseInstanceResponseBody.js.map +1 -0
  53. package/dist/models/DeleteServiceAccountRequest.d.ts +43 -0
  54. package/dist/models/DeleteServiceAccountRequest.js +62 -0
  55. package/dist/models/DeleteServiceAccountRequest.js.map +1 -0
  56. package/dist/models/DeleteServiceAccountResponse.d.ts +19 -0
  57. package/dist/models/DeleteServiceAccountResponse.js +69 -0
  58. package/dist/models/DeleteServiceAccountResponse.js.map +1 -0
  59. package/dist/models/DeleteServiceAccountResponseBody.d.ts +159 -0
  60. package/dist/models/DeleteServiceAccountResponseBody.js +128 -0
  61. package/dist/models/DeleteServiceAccountResponseBody.js.map +1 -0
  62. package/dist/models/DeleteSupabaseNetTypeRequest.d.ts +33 -0
  63. package/dist/models/DeleteSupabaseNetTypeRequest.js +60 -0
  64. package/dist/models/DeleteSupabaseNetTypeRequest.js.map +1 -0
  65. package/dist/models/DeleteSupabaseNetTypeResponse.d.ts +19 -0
  66. package/dist/models/DeleteSupabaseNetTypeResponse.js +69 -0
  67. package/dist/models/DeleteSupabaseNetTypeResponse.js.map +1 -0
  68. package/dist/models/DeleteSupabaseNetTypeResponseBody.d.ts +127 -0
  69. package/dist/models/DeleteSupabaseNetTypeResponseBody.js +120 -0
  70. package/dist/models/DeleteSupabaseNetTypeResponseBody.js.map +1 -0
  71. package/dist/models/DescribeDbinstancesRequest.d.ts +1 -1
  72. package/dist/models/DescribeDbinstancesResponseBody.d.ts +28 -28
  73. package/dist/models/DescribeServiceAccountRequest.d.ts +33 -0
  74. package/dist/models/DescribeServiceAccountRequest.js +60 -0
  75. package/dist/models/DescribeServiceAccountRequest.js.map +1 -0
  76. package/dist/models/DescribeServiceAccountResponse.d.ts +19 -0
  77. package/dist/models/DescribeServiceAccountResponse.js +69 -0
  78. package/dist/models/DescribeServiceAccountResponse.js.map +1 -0
  79. package/dist/models/DescribeServiceAccountResponseBody.d.ts +164 -0
  80. package/dist/models/DescribeServiceAccountResponseBody.js +146 -0
  81. package/dist/models/DescribeServiceAccountResponseBody.js.map +1 -0
  82. package/dist/models/DescribeSupabaseApiKeyRequest.d.ts +33 -0
  83. package/dist/models/DescribeSupabaseApiKeyRequest.js +60 -0
  84. package/dist/models/DescribeSupabaseApiKeyRequest.js.map +1 -0
  85. package/dist/models/DescribeSupabaseApiKeyResponse.d.ts +19 -0
  86. package/dist/models/DescribeSupabaseApiKeyResponse.js +69 -0
  87. package/dist/models/DescribeSupabaseApiKeyResponse.js.map +1 -0
  88. package/dist/models/DescribeSupabaseApiKeyResponseBody.d.ts +135 -0
  89. package/dist/models/DescribeSupabaseApiKeyResponseBody.js +122 -0
  90. package/dist/models/DescribeSupabaseApiKeyResponseBody.js.map +1 -0
  91. package/dist/models/DescribeSupabaseInstanceAttributeRequest.d.ts +33 -0
  92. package/dist/models/DescribeSupabaseInstanceAttributeRequest.js +60 -0
  93. package/dist/models/DescribeSupabaseInstanceAttributeRequest.js.map +1 -0
  94. package/dist/models/DescribeSupabaseInstanceAttributeResponse.d.ts +19 -0
  95. package/dist/models/DescribeSupabaseInstanceAttributeResponse.js +69 -0
  96. package/dist/models/DescribeSupabaseInstanceAttributeResponse.js.map +1 -0
  97. package/dist/models/DescribeSupabaseInstanceAttributeResponseBody.d.ts +345 -0
  98. package/dist/models/DescribeSupabaseInstanceAttributeResponseBody.js +210 -0
  99. package/dist/models/DescribeSupabaseInstanceAttributeResponseBody.js.map +1 -0
  100. package/dist/models/DescribeSupabaseInstancesRequest.d.ts +71 -0
  101. package/dist/models/DescribeSupabaseInstancesRequest.js +70 -0
  102. package/dist/models/DescribeSupabaseInstancesRequest.js.map +1 -0
  103. package/dist/models/DescribeSupabaseInstancesResponse.d.ts +19 -0
  104. package/dist/models/DescribeSupabaseInstancesResponse.js +69 -0
  105. package/dist/models/DescribeSupabaseInstancesResponse.js.map +1 -0
  106. package/dist/models/DescribeSupabaseInstancesResponseBody.d.ts +232 -0
  107. package/dist/models/DescribeSupabaseInstancesResponseBody.js +164 -0
  108. package/dist/models/DescribeSupabaseInstancesResponseBody.js.map +1 -0
  109. package/dist/models/DescribeSupabaseIpWhitelistRequest.d.ts +41 -0
  110. package/dist/models/DescribeSupabaseIpWhitelistRequest.js +62 -0
  111. package/dist/models/DescribeSupabaseIpWhitelistRequest.js.map +1 -0
  112. package/dist/models/DescribeSupabaseIpWhitelistResponse.d.ts +19 -0
  113. package/dist/models/DescribeSupabaseIpWhitelistResponse.js +69 -0
  114. package/dist/models/DescribeSupabaseIpWhitelistResponse.js.map +1 -0
  115. package/dist/models/DescribeSupabaseIpWhitelistResponseBody.d.ts +160 -0
  116. package/dist/models/DescribeSupabaseIpWhitelistResponseBody.js +146 -0
  117. package/dist/models/DescribeSupabaseIpWhitelistResponseBody.js.map +1 -0
  118. package/dist/models/ExecuteMetaQueryRequest.d.ts +51 -0
  119. package/dist/models/ExecuteMetaQueryRequest.js +64 -0
  120. package/dist/models/ExecuteMetaQueryRequest.js.map +1 -0
  121. package/dist/models/ExecuteMetaQueryResponse.d.ts +19 -0
  122. package/dist/models/ExecuteMetaQueryResponse.js +69 -0
  123. package/dist/models/ExecuteMetaQueryResponse.js.map +1 -0
  124. package/dist/models/ExecuteMetaQueryResponseBody.d.ts +131 -0
  125. package/dist/models/ExecuteMetaQueryResponseBody.js +128 -0
  126. package/dist/models/ExecuteMetaQueryResponseBody.js.map +1 -0
  127. package/dist/models/ModifySupabaseDashboardPasswordRequest.d.ts +43 -0
  128. package/dist/models/ModifySupabaseDashboardPasswordRequest.js +62 -0
  129. package/dist/models/ModifySupabaseDashboardPasswordRequest.js.map +1 -0
  130. package/dist/models/ModifySupabaseDashboardPasswordResponse.d.ts +19 -0
  131. package/dist/models/ModifySupabaseDashboardPasswordResponse.js +69 -0
  132. package/dist/models/ModifySupabaseDashboardPasswordResponse.js.map +1 -0
  133. package/dist/models/ModifySupabaseDashboardPasswordResponseBody.d.ts +119 -0
  134. package/dist/models/ModifySupabaseDashboardPasswordResponseBody.js +118 -0
  135. package/dist/models/ModifySupabaseDashboardPasswordResponseBody.js.map +1 -0
  136. package/dist/models/ModifySupabaseSecurityIplistRequest.d.ts +62 -0
  137. package/dist/models/ModifySupabaseSecurityIplistRequest.js +66 -0
  138. package/dist/models/ModifySupabaseSecurityIplistRequest.js.map +1 -0
  139. package/dist/models/ModifySupabaseSecurityIplistResponse.d.ts +19 -0
  140. package/dist/models/ModifySupabaseSecurityIplistResponse.js +69 -0
  141. package/dist/models/ModifySupabaseSecurityIplistResponse.js.map +1 -0
  142. package/dist/models/ModifySupabaseSecurityIplistResponseBody.d.ts +135 -0
  143. package/dist/models/ModifySupabaseSecurityIplistResponseBody.js +122 -0
  144. package/dist/models/ModifySupabaseSecurityIplistResponseBody.js.map +1 -0
  145. package/dist/models/RestartSupabaseInstanceRequest.d.ts +33 -0
  146. package/dist/models/RestartSupabaseInstanceRequest.js +60 -0
  147. package/dist/models/RestartSupabaseInstanceRequest.js.map +1 -0
  148. package/dist/models/RestartSupabaseInstanceResponse.d.ts +19 -0
  149. package/dist/models/RestartSupabaseInstanceResponse.js +69 -0
  150. package/dist/models/RestartSupabaseInstanceResponse.js.map +1 -0
  151. package/dist/models/RestartSupabaseInstanceResponseBody.d.ts +119 -0
  152. package/dist/models/RestartSupabaseInstanceResponseBody.js +118 -0
  153. package/dist/models/RestartSupabaseInstanceResponseBody.js.map +1 -0
  154. package/dist/models/model.d.ts +83 -0
  155. package/dist/models/model.js +180 -13
  156. package/dist/models/model.js.map +1 -1
  157. package/package.json +2 -2
  158. package/src/client.ts +997 -62
  159. package/src/models/CheckHealthRequest.ts +24 -0
  160. package/src/models/CheckHealthResponse.ts +40 -0
  161. package/src/models/CheckHealthResponseBody.ts +44 -0
  162. package/src/models/CreatePolardbxSupabaseInstanceRequest.ts +193 -0
  163. package/src/models/CreatePolardbxSupabaseInstanceResponse.ts +40 -0
  164. package/src/models/CreatePolardbxSupabaseInstanceResponseBody.ts +204 -0
  165. package/src/models/CreateServiceAccountRequest.ts +60 -0
  166. package/src/models/CreateServiceAccountResponse.ts +40 -0
  167. package/src/models/CreateServiceAccountResponseBody.ts +224 -0
  168. package/src/models/CreateSubCninstanceRequest.ts +14 -0
  169. package/src/models/CreateSubCninstanceResponseBody.ts +10 -0
  170. package/src/models/CreateSupabaseNetTypeRequest.ts +58 -0
  171. package/src/models/CreateSupabaseNetTypeResponse.ts +40 -0
  172. package/src/models/CreateSupabaseNetTypeResponseBody.ts +194 -0
  173. package/src/models/DeletePolardbxSupabaseInstanceRequest.ts +48 -0
  174. package/src/models/DeletePolardbxSupabaseInstanceResponse.ts +40 -0
  175. package/src/models/DeletePolardbxSupabaseInstanceResponseBody.ts +184 -0
  176. package/src/models/DeleteServiceAccountRequest.ts +60 -0
  177. package/src/models/DeleteServiceAccountResponse.ts +40 -0
  178. package/src/models/DeleteServiceAccountResponseBody.ts +224 -0
  179. package/src/models/DeleteSupabaseNetTypeRequest.ts +48 -0
  180. package/src/models/DeleteSupabaseNetTypeResponse.ts +40 -0
  181. package/src/models/DeleteSupabaseNetTypeResponseBody.ts +184 -0
  182. package/src/models/DescribeDbinstancesRequest.ts +1 -1
  183. package/src/models/DescribeDbinstancesResponseBody.ts +28 -28
  184. package/src/models/DescribeServiceAccountRequest.ts +48 -0
  185. package/src/models/DescribeServiceAccountResponse.ts +40 -0
  186. package/src/models/DescribeServiceAccountResponseBody.ts +238 -0
  187. package/src/models/DescribeSupabaseApiKeyRequest.ts +48 -0
  188. package/src/models/DescribeSupabaseApiKeyResponse.ts +40 -0
  189. package/src/models/DescribeSupabaseApiKeyResponseBody.ts +194 -0
  190. package/src/models/DescribeSupabaseInstanceAttributeRequest.ts +48 -0
  191. package/src/models/DescribeSupabaseInstanceAttributeResponse.ts +40 -0
  192. package/src/models/DescribeSupabaseInstanceAttributeResponseBody.ts +474 -0
  193. package/src/models/DescribeSupabaseInstancesRequest.ts +96 -0
  194. package/src/models/DescribeSupabaseInstancesResponse.ts +40 -0
  195. package/src/models/DescribeSupabaseInstancesResponseBody.ts +324 -0
  196. package/src/models/DescribeSupabaseIpWhitelistRequest.ts +58 -0
  197. package/src/models/DescribeSupabaseIpWhitelistResponse.ts +40 -0
  198. package/src/models/DescribeSupabaseIpWhitelistResponseBody.ts +234 -0
  199. package/src/models/ExecuteMetaQueryRequest.ts +70 -0
  200. package/src/models/ExecuteMetaQueryResponse.ts +40 -0
  201. package/src/models/ExecuteMetaQueryResponseBody.ts +194 -0
  202. package/src/models/ModifySupabaseDashboardPasswordRequest.ts +60 -0
  203. package/src/models/ModifySupabaseDashboardPasswordResponse.ts +40 -0
  204. package/src/models/ModifySupabaseDashboardPasswordResponseBody.ts +174 -0
  205. package/src/models/ModifySupabaseSecurityIplistRequest.ts +83 -0
  206. package/src/models/ModifySupabaseSecurityIplistResponse.ts +40 -0
  207. package/src/models/ModifySupabaseSecurityIplistResponseBody.ts +194 -0
  208. package/src/models/RestartSupabaseInstanceRequest.ts +48 -0
  209. package/src/models/RestartSupabaseInstanceResponse.ts +40 -0
  210. package/src/models/RestartSupabaseInstanceResponseBody.ts +174 -0
  211. package/src/models/model.ts +83 -0
package/dist/client.js CHANGED
@@ -507,6 +507,39 @@ class Client extends openapi_core_1.default {
507
507
  let runtime = new $dara.RuntimeOptions({});
508
508
  return await this.checkCloudResourceAuthorizedWithOptions(request, runtime);
509
509
  }
510
+ /**
511
+ * Performs a service health check.
512
+ *
513
+ * @param request - CheckHealthRequest
514
+ * @param runtime - runtime options for this request RuntimeOptions
515
+ * @returns CheckHealthResponse
516
+ */
517
+ async checkHealthWithOptions(request, runtime) {
518
+ request.validate();
519
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({});
520
+ let params = new openapi_core_2.$OpenApiUtil.Params({
521
+ action: "CheckHealth",
522
+ version: "2020-02-02",
523
+ protocol: "HTTPS",
524
+ pathname: "/",
525
+ method: "POST",
526
+ authType: "AK",
527
+ style: "RPC",
528
+ reqBodyType: "formData",
529
+ bodyType: "json",
530
+ });
531
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.CheckHealthResponse({}));
532
+ }
533
+ /**
534
+ * Performs a service health check.
535
+ *
536
+ * @param request - CheckHealthRequest
537
+ * @returns CheckHealthResponse
538
+ */
539
+ async checkHealth(request) {
540
+ let runtime = new $dara.RuntimeOptions({});
541
+ return await this.checkHealthWithOptions(request, runtime);
542
+ }
510
543
  /**
511
544
  * Checks whether SQL audit logs of a specified database instance have been successfully connected to Simple Log Service (SLS).
512
545
  * After the call, the system returns the connection status between the SQL audit feature and SLS for the current instance, the project and Logstore configuration information, and whether synchronization is normal.
@@ -1375,6 +1408,93 @@ class Client extends openapi_core_1.default {
1375
1408
  let runtime = new $dara.RuntimeOptions({});
1376
1409
  return await this.createMem0WithOptions(request, runtime);
1377
1410
  }
1411
+ /**
1412
+ * Creates a Supabase instance.
1413
+ *
1414
+ * @remarks
1415
+ * ***
1416
+ *
1417
+ * @param request - CreatePolardbxSupabaseInstanceRequest
1418
+ * @param runtime - runtime options for this request RuntimeOptions
1419
+ * @returns CreatePolardbxSupabaseInstanceResponse
1420
+ */
1421
+ async createPolardbxSupabaseInstanceWithOptions(request, runtime) {
1422
+ request.validate();
1423
+ let query = {};
1424
+ if (!$dara.isNull(request.autoRenew)) {
1425
+ query["AutoRenew"] = request.autoRenew;
1426
+ }
1427
+ if (!$dara.isNull(request.clientToken)) {
1428
+ query["ClientToken"] = request.clientToken;
1429
+ }
1430
+ if (!$dara.isNull(request.dashboardPassword)) {
1431
+ query["DashboardPassword"] = request.dashboardPassword;
1432
+ }
1433
+ if (!$dara.isNull(request.dbInstanceDescription)) {
1434
+ query["DbInstanceDescription"] = request.dbInstanceDescription;
1435
+ }
1436
+ if (!$dara.isNull(request.dbPassword)) {
1437
+ query["DbPassword"] = request.dbPassword;
1438
+ }
1439
+ if (!$dara.isNull(request.nodeSpec)) {
1440
+ query["NodeSpec"] = request.nodeSpec;
1441
+ }
1442
+ if (!$dara.isNull(request.payType)) {
1443
+ query["PayType"] = request.payType;
1444
+ }
1445
+ if (!$dara.isNull(request.period)) {
1446
+ query["Period"] = request.period;
1447
+ }
1448
+ if (!$dara.isNull(request.regionId)) {
1449
+ query["RegionId"] = request.regionId;
1450
+ }
1451
+ if (!$dara.isNull(request.resourceGroupId)) {
1452
+ query["ResourceGroupId"] = request.resourceGroupId;
1453
+ }
1454
+ if (!$dara.isNull(request.tenantMode)) {
1455
+ query["TenantMode"] = request.tenantMode;
1456
+ }
1457
+ if (!$dara.isNull(request.usedTime)) {
1458
+ query["UsedTime"] = request.usedTime;
1459
+ }
1460
+ if (!$dara.isNull(request.vSwitchId)) {
1461
+ query["VSwitchId"] = request.vSwitchId;
1462
+ }
1463
+ if (!$dara.isNull(request.vpcId)) {
1464
+ query["VpcId"] = request.vpcId;
1465
+ }
1466
+ if (!$dara.isNull(request.zoneId)) {
1467
+ query["ZoneId"] = request.zoneId;
1468
+ }
1469
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1470
+ query: openapi_core_2.OpenApiUtil.query(query),
1471
+ });
1472
+ let params = new openapi_core_2.$OpenApiUtil.Params({
1473
+ action: "CreatePolardbxSupabaseInstance",
1474
+ version: "2020-02-02",
1475
+ protocol: "HTTPS",
1476
+ pathname: "/",
1477
+ method: "POST",
1478
+ authType: "AK",
1479
+ style: "RPC",
1480
+ reqBodyType: "formData",
1481
+ bodyType: "json",
1482
+ });
1483
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreatePolardbxSupabaseInstanceResponse({}));
1484
+ }
1485
+ /**
1486
+ * Creates a Supabase instance.
1487
+ *
1488
+ * @remarks
1489
+ * ***
1490
+ *
1491
+ * @param request - CreatePolardbxSupabaseInstanceRequest
1492
+ * @returns CreatePolardbxSupabaseInstanceResponse
1493
+ */
1494
+ async createPolardbxSupabaseInstance(request) {
1495
+ let runtime = new $dara.RuntimeOptions({});
1496
+ return await this.createPolardbxSupabaseInstanceWithOptions(request, runtime);
1497
+ }
1378
1498
  /**
1379
1499
  * Performs a health check on the replication task during data migration.
1380
1500
  *
@@ -1516,6 +1636,57 @@ class Client extends openapi_core_1.default {
1516
1636
  let runtime = new $dara.RuntimeOptions({});
1517
1637
  return await this.createSQLEvaluateTaskWithOptions(request, runtime);
1518
1638
  }
1639
+ /**
1640
+ * Creates a service account.
1641
+ *
1642
+ * @remarks
1643
+ * <props="china">For more information about instance accounts, see [Account management](https://help.aliyun.com/document_detail/172163.html).
1644
+ *
1645
+ * @param request - CreateServiceAccountRequest
1646
+ * @param runtime - runtime options for this request RuntimeOptions
1647
+ * @returns CreateServiceAccountResponse
1648
+ */
1649
+ async createServiceAccountWithOptions(request, runtime) {
1650
+ request.validate();
1651
+ let query = {};
1652
+ if (!$dara.isNull(request.DBInstanceName)) {
1653
+ query["DBInstanceName"] = request.DBInstanceName;
1654
+ }
1655
+ if (!$dara.isNull(request.regionId)) {
1656
+ query["RegionId"] = request.regionId;
1657
+ }
1658
+ if (!$dara.isNull(request.serviceAccountType)) {
1659
+ query["ServiceAccountType"] = request.serviceAccountType;
1660
+ }
1661
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1662
+ query: openapi_core_2.OpenApiUtil.query(query),
1663
+ });
1664
+ let params = new openapi_core_2.$OpenApiUtil.Params({
1665
+ action: "CreateServiceAccount",
1666
+ version: "2020-02-02",
1667
+ protocol: "HTTPS",
1668
+ pathname: "/",
1669
+ method: "POST",
1670
+ authType: "AK",
1671
+ style: "RPC",
1672
+ reqBodyType: "formData",
1673
+ bodyType: "json",
1674
+ });
1675
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateServiceAccountResponse({}));
1676
+ }
1677
+ /**
1678
+ * Creates a service account.
1679
+ *
1680
+ * @remarks
1681
+ * <props="china">For more information about instance accounts, see [Account management](https://help.aliyun.com/document_detail/172163.html).
1682
+ *
1683
+ * @param request - CreateServiceAccountRequest
1684
+ * @returns CreateServiceAccountResponse
1685
+ */
1686
+ async createServiceAccount(request) {
1687
+ let runtime = new $dara.RuntimeOptions({});
1688
+ return await this.createServiceAccountWithOptions(request, runtime);
1689
+ }
1519
1690
  /**
1520
1691
  * Creates a resource storage pool.
1521
1692
  *
@@ -1618,7 +1789,7 @@ class Client extends openapi_core_1.default {
1618
1789
  return await this.createStructureImportTaskWithOptions(request, runtime);
1619
1790
  }
1620
1791
  /**
1621
- * 创建自定义地址
1792
+ * Creates a custom endpoint.
1622
1793
  *
1623
1794
  * @remarks
1624
1795
  * ***
@@ -1659,7 +1830,7 @@ class Client extends openapi_core_1.default {
1659
1830
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateSubCNInstanceResponse({}));
1660
1831
  }
1661
1832
  /**
1662
- * 创建自定义地址
1833
+ * Creates a custom endpoint.
1663
1834
  *
1664
1835
  * @remarks
1665
1836
  * ***
@@ -1671,6 +1842,57 @@ class Client extends openapi_core_1.default {
1671
1842
  let runtime = new $dara.RuntimeOptions({});
1672
1843
  return await this.createSubCNInstanceWithOptions(request, runtime);
1673
1844
  }
1845
+ /**
1846
+ * Enables the public endpoint for a Supabase instance.
1847
+ *
1848
+ * @remarks
1849
+ * ***
1850
+ *
1851
+ * @param request - CreateSupabaseNetTypeRequest
1852
+ * @param runtime - runtime options for this request RuntimeOptions
1853
+ * @returns CreateSupabaseNetTypeResponse
1854
+ */
1855
+ async createSupabaseNetTypeWithOptions(request, runtime) {
1856
+ request.validate();
1857
+ let query = {};
1858
+ if (!$dara.isNull(request.connectionString)) {
1859
+ query["ConnectionString"] = request.connectionString;
1860
+ }
1861
+ if (!$dara.isNull(request.DBInstanceName)) {
1862
+ query["DBInstanceName"] = request.DBInstanceName;
1863
+ }
1864
+ if (!$dara.isNull(request.regionId)) {
1865
+ query["RegionId"] = request.regionId;
1866
+ }
1867
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1868
+ query: openapi_core_2.OpenApiUtil.query(query),
1869
+ });
1870
+ let params = new openapi_core_2.$OpenApiUtil.Params({
1871
+ action: "CreateSupabaseNetType",
1872
+ version: "2020-02-02",
1873
+ protocol: "HTTPS",
1874
+ pathname: "/",
1875
+ method: "POST",
1876
+ authType: "AK",
1877
+ style: "RPC",
1878
+ reqBodyType: "formData",
1879
+ bodyType: "json",
1880
+ });
1881
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateSupabaseNetTypeResponse({}));
1882
+ }
1883
+ /**
1884
+ * Enables the public endpoint for a Supabase instance.
1885
+ *
1886
+ * @remarks
1887
+ * ***
1888
+ *
1889
+ * @param request - CreateSupabaseNetTypeRequest
1890
+ * @returns CreateSupabaseNetTypeResponse
1891
+ */
1892
+ async createSupabaseNetType(request) {
1893
+ let runtime = new $dara.RuntimeOptions({});
1894
+ return await this.createSupabaseNetTypeWithOptions(request, runtime);
1895
+ }
1674
1896
  /**
1675
1897
  * Creates a privileged user. Each instance can have only one privileged user.
1676
1898
  *
@@ -2094,6 +2316,105 @@ class Client extends openapi_core_1.default {
2094
2316
  let runtime = new $dara.RuntimeOptions({});
2095
2317
  return await this.deleteMem0WithOptions(request, runtime);
2096
2318
  }
2319
+ /**
2320
+ * Deletes a Supabase instance.
2321
+ *
2322
+ * @remarks
2323
+ * ***
2324
+ *
2325
+ * @param request - DeletePolardbxSupabaseInstanceRequest
2326
+ * @param runtime - runtime options for this request RuntimeOptions
2327
+ * @returns DeletePolardbxSupabaseInstanceResponse
2328
+ */
2329
+ async deletePolardbxSupabaseInstanceWithOptions(request, runtime) {
2330
+ request.validate();
2331
+ let query = {};
2332
+ if (!$dara.isNull(request.DBInstanceName)) {
2333
+ query["DBInstanceName"] = request.DBInstanceName;
2334
+ }
2335
+ if (!$dara.isNull(request.regionId)) {
2336
+ query["RegionId"] = request.regionId;
2337
+ }
2338
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2339
+ query: openapi_core_2.OpenApiUtil.query(query),
2340
+ });
2341
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2342
+ action: "DeletePolardbxSupabaseInstance",
2343
+ version: "2020-02-02",
2344
+ protocol: "HTTPS",
2345
+ pathname: "/",
2346
+ method: "POST",
2347
+ authType: "AK",
2348
+ style: "RPC",
2349
+ reqBodyType: "formData",
2350
+ bodyType: "json",
2351
+ });
2352
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeletePolardbxSupabaseInstanceResponse({}));
2353
+ }
2354
+ /**
2355
+ * Deletes a Supabase instance.
2356
+ *
2357
+ * @remarks
2358
+ * ***
2359
+ *
2360
+ * @param request - DeletePolardbxSupabaseInstanceRequest
2361
+ * @returns DeletePolardbxSupabaseInstanceResponse
2362
+ */
2363
+ async deletePolardbxSupabaseInstance(request) {
2364
+ let runtime = new $dara.RuntimeOptions({});
2365
+ return await this.deletePolardbxSupabaseInstanceWithOptions(request, runtime);
2366
+ }
2367
+ /**
2368
+ * Deletes a service account.
2369
+ *
2370
+ * @remarks
2371
+ * <props="china">For more information about instance accounts, see [Account management](https://help.aliyun.com/document_detail/172163.html).
2372
+ *
2373
+ * @param request - DeleteServiceAccountRequest
2374
+ * @param runtime - runtime options for this request RuntimeOptions
2375
+ * @returns DeleteServiceAccountResponse
2376
+ */
2377
+ async deleteServiceAccountWithOptions(request, runtime) {
2378
+ request.validate();
2379
+ let query = {};
2380
+ if (!$dara.isNull(request.DBInstanceName)) {
2381
+ query["DBInstanceName"] = request.DBInstanceName;
2382
+ }
2383
+ if (!$dara.isNull(request.regionId)) {
2384
+ query["RegionId"] = request.regionId;
2385
+ }
2386
+ if (!$dara.isNull(request.serviceAccountType)) {
2387
+ query["ServiceAccountType"] = request.serviceAccountType;
2388
+ }
2389
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2390
+ query: openapi_core_2.OpenApiUtil.query(query),
2391
+ });
2392
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2393
+ action: "DeleteServiceAccount",
2394
+ version: "2020-02-02",
2395
+ protocol: "HTTPS",
2396
+ pathname: "/",
2397
+ method: "POST",
2398
+ authType: "AK",
2399
+ style: "RPC",
2400
+ reqBodyType: "formData",
2401
+ bodyType: "json",
2402
+ });
2403
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteServiceAccountResponse({}));
2404
+ }
2405
+ /**
2406
+ * Deletes a service account.
2407
+ *
2408
+ * @remarks
2409
+ * <props="china">For more information about instance accounts, see [Account management](https://help.aliyun.com/document_detail/172163.html).
2410
+ *
2411
+ * @param request - DeleteServiceAccountRequest
2412
+ * @returns DeleteServiceAccountResponse
2413
+ */
2414
+ async deleteServiceAccount(request) {
2415
+ let runtime = new $dara.RuntimeOptions({});
2416
+ return await this.deleteServiceAccountWithOptions(request, runtime);
2417
+ }
2097
2418
  /**
2098
2419
  * 删除自定义地址
2099
2420
  *
@@ -2145,6 +2466,54 @@ class Client extends openapi_core_1.default {
2145
2466
  let runtime = new $dara.RuntimeOptions({});
2146
2467
  return await this.deleteSubCNInstanceWithOptions(request, runtime);
2147
2468
  }
2469
+ /**
2470
+ * Releases the public endpoint of a Supabase instance.
2471
+ *
2472
+ * @remarks
2473
+ * ***
2474
+ *
2475
+ * @param request - DeleteSupabaseNetTypeRequest
2476
+ * @param runtime - runtime options for this request RuntimeOptions
2477
+ * @returns DeleteSupabaseNetTypeResponse
2478
+ */
2479
+ async deleteSupabaseNetTypeWithOptions(request, runtime) {
2480
+ request.validate();
2481
+ let query = {};
2482
+ if (!$dara.isNull(request.DBInstanceName)) {
2483
+ query["DBInstanceName"] = request.DBInstanceName;
2484
+ }
2485
+ if (!$dara.isNull(request.regionId)) {
2486
+ query["RegionId"] = request.regionId;
2487
+ }
2488
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2489
+ query: openapi_core_2.OpenApiUtil.query(query),
2490
+ });
2491
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2492
+ action: "DeleteSupabaseNetType",
2493
+ version: "2020-02-02",
2494
+ protocol: "HTTPS",
2495
+ pathname: "/",
2496
+ method: "POST",
2497
+ authType: "AK",
2498
+ style: "RPC",
2499
+ reqBodyType: "formData",
2500
+ bodyType: "json",
2501
+ });
2502
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteSupabaseNetTypeResponse({}));
2503
+ }
2504
+ /**
2505
+ * Releases the public endpoint of a Supabase instance.
2506
+ *
2507
+ * @remarks
2508
+ * ***
2509
+ *
2510
+ * @param request - DeleteSupabaseNetTypeRequest
2511
+ * @returns DeleteSupabaseNetTypeResponse
2512
+ */
2513
+ async deleteSupabaseNetType(request) {
2514
+ let runtime = new $dara.RuntimeOptions({});
2515
+ return await this.deleteSupabaseNetTypeWithOptions(request, runtime);
2516
+ }
2148
2517
  /**
2149
2518
  * Queries the list of accounts by calling the DescribeAccountList operation.
2150
2519
  *
@@ -4540,6 +4909,54 @@ class Client extends openapi_core_1.default {
4540
4909
  let runtime = new $dara.RuntimeOptions({});
4541
4910
  return await this.describeSecurityIpsWithOptions(request, runtime);
4542
4911
  }
4912
+ /**
4913
+ * Queries the status of a service account.
4914
+ *
4915
+ * @remarks
4916
+ * <props="china">For more information about instance accounts, see [Account management](https://help.aliyun.com/document_detail/172163.html).
4917
+ *
4918
+ * @param request - DescribeServiceAccountRequest
4919
+ * @param runtime - runtime options for this request RuntimeOptions
4920
+ * @returns DescribeServiceAccountResponse
4921
+ */
4922
+ async describeServiceAccountWithOptions(request, runtime) {
4923
+ request.validate();
4924
+ let query = {};
4925
+ if (!$dara.isNull(request.DBInstanceName)) {
4926
+ query["DBInstanceName"] = request.DBInstanceName;
4927
+ }
4928
+ if (!$dara.isNull(request.regionId)) {
4929
+ query["RegionId"] = request.regionId;
4930
+ }
4931
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4932
+ query: openapi_core_2.OpenApiUtil.query(query),
4933
+ });
4934
+ let params = new openapi_core_2.$OpenApiUtil.Params({
4935
+ action: "DescribeServiceAccount",
4936
+ version: "2020-02-02",
4937
+ protocol: "HTTPS",
4938
+ pathname: "/",
4939
+ method: "POST",
4940
+ authType: "AK",
4941
+ style: "RPC",
4942
+ reqBodyType: "formData",
4943
+ bodyType: "json",
4944
+ });
4945
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeServiceAccountResponse({}));
4946
+ }
4947
+ /**
4948
+ * Queries the status of a service account.
4949
+ *
4950
+ * @remarks
4951
+ * <props="china">For more information about instance accounts, see [Account management](https://help.aliyun.com/document_detail/172163.html).
4952
+ *
4953
+ * @param request - DescribeServiceAccountRequest
4954
+ * @returns DescribeServiceAccountResponse
4955
+ */
4956
+ async describeServiceAccount(request) {
4957
+ let runtime = new $dara.RuntimeOptions({});
4958
+ return await this.describeServiceAccountWithOptions(request, runtime);
4959
+ }
4543
4960
  /**
4544
4961
  * Queries the storage usage details of an instance, including the total capacity, used space, remaining space, and other information.
4545
4962
  *
@@ -4658,17 +5075,202 @@ class Client extends openapi_core_1.default {
4658
5075
  * @param runtime - runtime options for this request RuntimeOptions
4659
5076
  * @returns DescribeSqlAuditInfoResponse
4660
5077
  */
4661
- async describeSqlAuditInfoWithOptions(request, runtime) {
5078
+ async describeSqlAuditInfoWithOptions(request, runtime) {
5079
+ request.validate();
5080
+ let query = {};
5081
+ if (!$dara.isNull(request.auditAccountName)) {
5082
+ query["AuditAccountName"] = request.auditAccountName;
5083
+ }
5084
+ if (!$dara.isNull(request.auditAccountPassword)) {
5085
+ query["AuditAccountPassword"] = request.auditAccountPassword;
5086
+ }
5087
+ if (!$dara.isNull(request.DBInstanceId)) {
5088
+ query["DBInstanceId"] = request.DBInstanceId;
5089
+ }
5090
+ if (!$dara.isNull(request.regionId)) {
5091
+ query["RegionId"] = request.regionId;
5092
+ }
5093
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
5094
+ query: openapi_core_2.OpenApiUtil.query(query),
5095
+ });
5096
+ let params = new openapi_core_2.$OpenApiUtil.Params({
5097
+ action: "DescribeSqlAuditInfo",
5098
+ version: "2020-02-02",
5099
+ protocol: "HTTPS",
5100
+ pathname: "/",
5101
+ method: "POST",
5102
+ authType: "AK",
5103
+ style: "RPC",
5104
+ reqBodyType: "formData",
5105
+ bodyType: "json",
5106
+ });
5107
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSqlAuditInfoResponse({}));
5108
+ }
5109
+ /**
5110
+ * Queries SQL audit information.
5111
+ *
5112
+ * @remarks
5113
+ * > * The SQL audit and analysis feature of PolarDB-X 2.0 is free of charge. However, Simple Log Service charges fees for storage space, read traffic, number of requests, data transformation, and data delivery. For more information about the SQL audit feature, see [Enable SQL audit and analysis](https://help.aliyun.com/document_detail/184619.html).
5114
+ *
5115
+ * @param request - DescribeSqlAuditInfoRequest
5116
+ * @returns DescribeSqlAuditInfoResponse
5117
+ */
5118
+ async describeSqlAuditInfo(request) {
5119
+ let runtime = new $dara.RuntimeOptions({});
5120
+ return await this.describeSqlAuditInfoWithOptions(request, runtime);
5121
+ }
5122
+ /**
5123
+ * Queries the list of SQL flashback tasks by calling the DescribeSqlFlashbackTaskList operation.
5124
+ *
5125
+ * @param request - DescribeSqlFlashbackTaskListRequest
5126
+ * @param runtime - runtime options for this request RuntimeOptions
5127
+ * @returns DescribeSqlFlashbackTaskListResponse
5128
+ */
5129
+ async describeSqlFlashbackTaskListWithOptions(request, runtime) {
5130
+ request.validate();
5131
+ let query = {};
5132
+ if (!$dara.isNull(request.polardbxInstanceId)) {
5133
+ query["PolardbxInstanceId"] = request.polardbxInstanceId;
5134
+ }
5135
+ if (!$dara.isNull(request.regionId)) {
5136
+ query["RegionId"] = request.regionId;
5137
+ }
5138
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
5139
+ query: openapi_core_2.OpenApiUtil.query(query),
5140
+ });
5141
+ let params = new openapi_core_2.$OpenApiUtil.Params({
5142
+ action: "DescribeSqlFlashbackTaskList",
5143
+ version: "2020-02-02",
5144
+ protocol: "HTTPS",
5145
+ pathname: "/",
5146
+ method: "POST",
5147
+ authType: "AK",
5148
+ style: "RPC",
5149
+ reqBodyType: "formData",
5150
+ bodyType: "json",
5151
+ });
5152
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSqlFlashbackTaskListResponse({}));
5153
+ }
5154
+ /**
5155
+ * Queries the list of SQL flashback tasks by calling the DescribeSqlFlashbackTaskList operation.
5156
+ *
5157
+ * @param request - DescribeSqlFlashbackTaskListRequest
5158
+ * @returns DescribeSqlFlashbackTaskListResponse
5159
+ */
5160
+ async describeSqlFlashbackTaskList(request) {
5161
+ let runtime = new $dara.RuntimeOptions({});
5162
+ return await this.describeSqlFlashbackTaskListWithOptions(request, runtime);
5163
+ }
5164
+ /**
5165
+ * Queries the details of a storage pool, including capacity, usage, and status.
5166
+ *
5167
+ * @param request - DescribeStoragePoolInfoRequest
5168
+ * @param runtime - runtime options for this request RuntimeOptions
5169
+ * @returns DescribeStoragePoolInfoResponse
5170
+ */
5171
+ async describeStoragePoolInfoWithOptions(request, runtime) {
5172
+ request.validate();
5173
+ let query = {};
5174
+ if (!$dara.isNull(request.DBInstanceName)) {
5175
+ query["DBInstanceName"] = request.DBInstanceName;
5176
+ }
5177
+ if (!$dara.isNull(request.regionId)) {
5178
+ query["RegionId"] = request.regionId;
5179
+ }
5180
+ if (!$dara.isNull(request.resourceGroupId)) {
5181
+ query["ResourceGroupId"] = request.resourceGroupId;
5182
+ }
5183
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
5184
+ query: openapi_core_2.OpenApiUtil.query(query),
5185
+ });
5186
+ let params = new openapi_core_2.$OpenApiUtil.Params({
5187
+ action: "DescribeStoragePoolInfo",
5188
+ version: "2020-02-02",
5189
+ protocol: "HTTPS",
5190
+ pathname: "/",
5191
+ method: "POST",
5192
+ authType: "AK",
5193
+ style: "RPC",
5194
+ reqBodyType: "formData",
5195
+ bodyType: "json",
5196
+ });
5197
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeStoragePoolInfoResponse({}));
5198
+ }
5199
+ /**
5200
+ * Queries the details of a storage pool, including capacity, usage, and status.
5201
+ *
5202
+ * @param request - DescribeStoragePoolInfoRequest
5203
+ * @returns DescribeStoragePoolInfoResponse
5204
+ */
5205
+ async describeStoragePoolInfo(request) {
5206
+ let runtime = new $dara.RuntimeOptions({});
5207
+ return await this.describeStoragePoolInfoWithOptions(request, runtime);
5208
+ }
5209
+ /**
5210
+ * Queries the details of a database schema import task.
5211
+ *
5212
+ * @remarks
5213
+ * The CreateDataImportTask operation creates a data import task. You can use this operation to import SQL or CSV files stored in OSS or ECS, or directly provided, into a destination database instance. Specify the instance ID, database name, engine type, data source (such as an OSS path), and import type. The system performs the data write operation asynchronously or synchronously. This operation is applicable to scenarios such as data migration, initialization, and data backfill. A task ID is returned for subsequent status queries and management.
5214
+ *
5215
+ * @param request - DescribeStructureImportTaskInfoRequest
5216
+ * @param runtime - runtime options for this request RuntimeOptions
5217
+ * @returns DescribeStructureImportTaskInfoResponse
5218
+ */
5219
+ async describeStructureImportTaskInfoWithOptions(request, runtime) {
5220
+ request.validate();
5221
+ let query = {};
5222
+ if (!$dara.isNull(request.regionId)) {
5223
+ query["RegionId"] = request.regionId;
5224
+ }
5225
+ if (!$dara.isNull(request.slinkTaskId)) {
5226
+ query["SlinkTaskId"] = request.slinkTaskId;
5227
+ }
5228
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
5229
+ query: openapi_core_2.OpenApiUtil.query(query),
5230
+ });
5231
+ let params = new openapi_core_2.$OpenApiUtil.Params({
5232
+ action: "DescribeStructureImportTaskInfo",
5233
+ version: "2020-02-02",
5234
+ protocol: "HTTPS",
5235
+ pathname: "/",
5236
+ method: "POST",
5237
+ authType: "AK",
5238
+ style: "RPC",
5239
+ reqBodyType: "formData",
5240
+ bodyType: "json",
5241
+ });
5242
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeStructureImportTaskInfoResponse({}));
5243
+ }
5244
+ /**
5245
+ * Queries the details of a database schema import task.
5246
+ *
5247
+ * @remarks
5248
+ * The CreateDataImportTask operation creates a data import task. You can use this operation to import SQL or CSV files stored in OSS or ECS, or directly provided, into a destination database instance. Specify the instance ID, database name, engine type, data source (such as an OSS path), and import type. The system performs the data write operation asynchronously or synchronously. This operation is applicable to scenarios such as data migration, initialization, and data backfill. A task ID is returned for subsequent status queries and management.
5249
+ *
5250
+ * @param request - DescribeStructureImportTaskInfoRequest
5251
+ * @returns DescribeStructureImportTaskInfoResponse
5252
+ */
5253
+ async describeStructureImportTaskInfo(request) {
5254
+ let runtime = new $dara.RuntimeOptions({});
5255
+ return await this.describeStructureImportTaskInfoWithOptions(request, runtime);
5256
+ }
5257
+ /**
5258
+ * Queries the Supabase API key.
5259
+ *
5260
+ * @remarks
5261
+ * - Binary log files are retained for 15 days by default.
5262
+ * - The returned log list includes all logs whose log record end time is later than the query start time and whose log record start time is earlier than the query end time.
5263
+ * - If DownloadLink is not NULL, you can use this URL to download the backup file. The URL is valid for 2 days after it is generated. Download the file before the URL expires.
5264
+ *
5265
+ * @param request - DescribeSupabaseApiKeyRequest
5266
+ * @param runtime - runtime options for this request RuntimeOptions
5267
+ * @returns DescribeSupabaseApiKeyResponse
5268
+ */
5269
+ async describeSupabaseApiKeyWithOptions(request, runtime) {
4662
5270
  request.validate();
4663
5271
  let query = {};
4664
- if (!$dara.isNull(request.auditAccountName)) {
4665
- query["AuditAccountName"] = request.auditAccountName;
4666
- }
4667
- if (!$dara.isNull(request.auditAccountPassword)) {
4668
- query["AuditAccountPassword"] = request.auditAccountPassword;
4669
- }
4670
- if (!$dara.isNull(request.DBInstanceId)) {
4671
- query["DBInstanceId"] = request.DBInstanceId;
5272
+ if (!$dara.isNull(request.DBInstanceName)) {
5273
+ query["DBInstanceName"] = request.DBInstanceName;
4672
5274
  }
4673
5275
  if (!$dara.isNull(request.regionId)) {
4674
5276
  query["RegionId"] = request.regionId;
@@ -4677,7 +5279,7 @@ class Client extends openapi_core_1.default {
4677
5279
  query: openapi_core_2.OpenApiUtil.query(query),
4678
5280
  });
4679
5281
  let params = new openapi_core_2.$OpenApiUtil.Params({
4680
- action: "DescribeSqlAuditInfo",
5282
+ action: "DescribeSupabaseApiKey",
4681
5283
  version: "2020-02-02",
4682
5284
  protocol: "HTTPS",
4683
5285
  pathname: "/",
@@ -4687,33 +5289,38 @@ class Client extends openapi_core_1.default {
4687
5289
  reqBodyType: "formData",
4688
5290
  bodyType: "json",
4689
5291
  });
4690
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSqlAuditInfoResponse({}));
5292
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSupabaseApiKeyResponse({}));
4691
5293
  }
4692
5294
  /**
4693
- * Queries SQL audit information.
5295
+ * Queries the Supabase API key.
4694
5296
  *
4695
5297
  * @remarks
4696
- * > * The SQL audit and analysis feature of PolarDB-X 2.0 is free of charge. However, Simple Log Service charges fees for storage space, read traffic, number of requests, data transformation, and data delivery. For more information about the SQL audit feature, see [Enable SQL audit and analysis](https://help.aliyun.com/document_detail/184619.html).
5298
+ * - Binary log files are retained for 15 days by default.
5299
+ * - The returned log list includes all logs whose log record end time is later than the query start time and whose log record start time is earlier than the query end time.
5300
+ * - If DownloadLink is not NULL, you can use this URL to download the backup file. The URL is valid for 2 days after it is generated. Download the file before the URL expires.
4697
5301
  *
4698
- * @param request - DescribeSqlAuditInfoRequest
4699
- * @returns DescribeSqlAuditInfoResponse
5302
+ * @param request - DescribeSupabaseApiKeyRequest
5303
+ * @returns DescribeSupabaseApiKeyResponse
4700
5304
  */
4701
- async describeSqlAuditInfo(request) {
5305
+ async describeSupabaseApiKey(request) {
4702
5306
  let runtime = new $dara.RuntimeOptions({});
4703
- return await this.describeSqlAuditInfoWithOptions(request, runtime);
5307
+ return await this.describeSupabaseApiKeyWithOptions(request, runtime);
4704
5308
  }
4705
5309
  /**
4706
- * Queries the list of SQL flashback tasks by calling the DescribeSqlFlashbackTaskList operation.
5310
+ * Queries the details of a Supabase instance.
4707
5311
  *
4708
- * @param request - DescribeSqlFlashbackTaskListRequest
5312
+ * @remarks
5313
+ * ***
5314
+ *
5315
+ * @param request - DescribeSupabaseInstanceAttributeRequest
4709
5316
  * @param runtime - runtime options for this request RuntimeOptions
4710
- * @returns DescribeSqlFlashbackTaskListResponse
5317
+ * @returns DescribeSupabaseInstanceAttributeResponse
4711
5318
  */
4712
- async describeSqlFlashbackTaskListWithOptions(request, runtime) {
5319
+ async describeSupabaseInstanceAttributeWithOptions(request, runtime) {
4713
5320
  request.validate();
4714
5321
  let query = {};
4715
- if (!$dara.isNull(request.polardbxInstanceId)) {
4716
- query["PolardbxInstanceId"] = request.polardbxInstanceId;
5322
+ if (!$dara.isNull(request.DBInstanceName)) {
5323
+ query["DBInstanceName"] = request.DBInstanceName;
4717
5324
  }
4718
5325
  if (!$dara.isNull(request.regionId)) {
4719
5326
  query["RegionId"] = request.regionId;
@@ -4722,7 +5329,7 @@ class Client extends openapi_core_1.default {
4722
5329
  query: openapi_core_2.OpenApiUtil.query(query),
4723
5330
  });
4724
5331
  let params = new openapi_core_2.$OpenApiUtil.Params({
4725
- action: "DescribeSqlFlashbackTaskList",
5332
+ action: "DescribeSupabaseInstanceAttribute",
4726
5333
  version: "2020-02-02",
4727
5334
  protocol: "HTTPS",
4728
5335
  pathname: "/",
@@ -4732,42 +5339,60 @@ class Client extends openapi_core_1.default {
4732
5339
  reqBodyType: "formData",
4733
5340
  bodyType: "json",
4734
5341
  });
4735
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSqlFlashbackTaskListResponse({}));
5342
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSupabaseInstanceAttributeResponse({}));
4736
5343
  }
4737
5344
  /**
4738
- * Queries the list of SQL flashback tasks by calling the DescribeSqlFlashbackTaskList operation.
5345
+ * Queries the details of a Supabase instance.
4739
5346
  *
4740
- * @param request - DescribeSqlFlashbackTaskListRequest
4741
- * @returns DescribeSqlFlashbackTaskListResponse
5347
+ * @remarks
5348
+ * ***
5349
+ *
5350
+ * @param request - DescribeSupabaseInstanceAttributeRequest
5351
+ * @returns DescribeSupabaseInstanceAttributeResponse
4742
5352
  */
4743
- async describeSqlFlashbackTaskList(request) {
5353
+ async describeSupabaseInstanceAttribute(request) {
4744
5354
  let runtime = new $dara.RuntimeOptions({});
4745
- return await this.describeSqlFlashbackTaskListWithOptions(request, runtime);
5355
+ return await this.describeSupabaseInstanceAttributeWithOptions(request, runtime);
4746
5356
  }
4747
5357
  /**
4748
- * Queries the details of a storage pool, including capacity, usage, and status.
5358
+ * Queries a list of Supabase instances.
4749
5359
  *
4750
- * @param request - DescribeStoragePoolInfoRequest
5360
+ * @remarks
5361
+ * Queries the list of custom endpoints configured by the user for managing and viewing private connection or VPC endpoint service settings.
5362
+ *
5363
+ * @param request - DescribeSupabaseInstancesRequest
4751
5364
  * @param runtime - runtime options for this request RuntimeOptions
4752
- * @returns DescribeStoragePoolInfoResponse
5365
+ * @returns DescribeSupabaseInstancesResponse
4753
5366
  */
4754
- async describeStoragePoolInfoWithOptions(request, runtime) {
5367
+ async describeSupabaseInstancesWithOptions(request, runtime) {
4755
5368
  request.validate();
4756
5369
  let query = {};
4757
5370
  if (!$dara.isNull(request.DBInstanceName)) {
4758
5371
  query["DBInstanceName"] = request.DBInstanceName;
4759
5372
  }
5373
+ if (!$dara.isNull(request.description)) {
5374
+ query["Description"] = request.description;
5375
+ }
5376
+ if (!$dara.isNull(request.maxResults)) {
5377
+ query["MaxResults"] = request.maxResults;
5378
+ }
5379
+ if (!$dara.isNull(request.nextToken)) {
5380
+ query["NextToken"] = request.nextToken;
5381
+ }
5382
+ if (!$dara.isNull(request.pageNumber)) {
5383
+ query["PageNumber"] = request.pageNumber;
5384
+ }
5385
+ if (!$dara.isNull(request.pageSize)) {
5386
+ query["PageSize"] = request.pageSize;
5387
+ }
4760
5388
  if (!$dara.isNull(request.regionId)) {
4761
5389
  query["RegionId"] = request.regionId;
4762
5390
  }
4763
- if (!$dara.isNull(request.resourceGroupId)) {
4764
- query["ResourceGroupId"] = request.resourceGroupId;
4765
- }
4766
5391
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4767
5392
  query: openapi_core_2.OpenApiUtil.query(query),
4768
5393
  });
4769
5394
  let params = new openapi_core_2.$OpenApiUtil.Params({
4770
- action: "DescribeStoragePoolInfo",
5395
+ action: "DescribeSupabaseInstances",
4771
5396
  version: "2020-02-02",
4772
5397
  protocol: "HTTPS",
4773
5398
  pathname: "/",
@@ -4777,42 +5402,50 @@ class Client extends openapi_core_1.default {
4777
5402
  reqBodyType: "formData",
4778
5403
  bodyType: "json",
4779
5404
  });
4780
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeStoragePoolInfoResponse({}));
5405
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSupabaseInstancesResponse({}));
4781
5406
  }
4782
5407
  /**
4783
- * Queries the details of a storage pool, including capacity, usage, and status.
5408
+ * Queries a list of Supabase instances.
4784
5409
  *
4785
- * @param request - DescribeStoragePoolInfoRequest
4786
- * @returns DescribeStoragePoolInfoResponse
5410
+ * @remarks
5411
+ * Queries the list of custom endpoints configured by the user for managing and viewing private connection or VPC endpoint service settings.
5412
+ *
5413
+ * @param request - DescribeSupabaseInstancesRequest
5414
+ * @returns DescribeSupabaseInstancesResponse
4787
5415
  */
4788
- async describeStoragePoolInfo(request) {
5416
+ async describeSupabaseInstances(request) {
4789
5417
  let runtime = new $dara.RuntimeOptions({});
4790
- return await this.describeStoragePoolInfoWithOptions(request, runtime);
5418
+ return await this.describeSupabaseInstancesWithOptions(request, runtime);
4791
5419
  }
4792
5420
  /**
4793
- * Queries the details of a database schema import task.
5421
+ * Queries the IP whitelist of a Supabase instance.
4794
5422
  *
4795
5423
  * @remarks
4796
- * The CreateDataImportTask operation creates a data import task. You can use this operation to import SQL or CSV files stored in OSS or ECS, or directly provided, into a destination database instance. Specify the instance ID, database name, engine type, data source (such as an OSS path), and import type. The system performs the data write operation asynchronously or synchronously. This operation is applicable to scenarios such as data migration, initialization, and data backfill. A task ID is returned for subsequent status queries and management.
5424
+ * - Binary log files are retained for 15 days by default.
5425
+ * - The returned log list includes all logs whose log record end time is later than the specified query start time and whose log record start time is earlier than the specified query end time.
5426
+ * - If DownloadLink is not NULL, you can use this URL to download the backup file. The URL is valid for 2 days after it is generated. Download the file before the URL expires.
4797
5427
  *
4798
- * @param request - DescribeStructureImportTaskInfoRequest
5428
+ * @param request - DescribeSupabaseIpWhitelistRequest
4799
5429
  * @param runtime - runtime options for this request RuntimeOptions
4800
- * @returns DescribeStructureImportTaskInfoResponse
5430
+ * @returns DescribeSupabaseIpWhitelistResponse
4801
5431
  */
4802
- async describeStructureImportTaskInfoWithOptions(request, runtime) {
5432
+ async describeSupabaseIpWhitelistWithOptions(request, runtime) {
4803
5433
  request.validate();
4804
5434
  let query = {};
5435
+ if (!$dara.isNull(request.DBInstanceName)) {
5436
+ query["DBInstanceName"] = request.DBInstanceName;
5437
+ }
5438
+ if (!$dara.isNull(request.groupName)) {
5439
+ query["GroupName"] = request.groupName;
5440
+ }
4805
5441
  if (!$dara.isNull(request.regionId)) {
4806
5442
  query["RegionId"] = request.regionId;
4807
5443
  }
4808
- if (!$dara.isNull(request.slinkTaskId)) {
4809
- query["SlinkTaskId"] = request.slinkTaskId;
4810
- }
4811
5444
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4812
5445
  query: openapi_core_2.OpenApiUtil.query(query),
4813
5446
  });
4814
5447
  let params = new openapi_core_2.$OpenApiUtil.Params({
4815
- action: "DescribeStructureImportTaskInfo",
5448
+ action: "DescribeSupabaseIpWhitelist",
4816
5449
  version: "2020-02-02",
4817
5450
  protocol: "HTTPS",
4818
5451
  pathname: "/",
@@ -4822,20 +5455,22 @@ class Client extends openapi_core_1.default {
4822
5455
  reqBodyType: "formData",
4823
5456
  bodyType: "json",
4824
5457
  });
4825
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeStructureImportTaskInfoResponse({}));
5458
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSupabaseIpWhitelistResponse({}));
4826
5459
  }
4827
5460
  /**
4828
- * Queries the details of a database schema import task.
5461
+ * Queries the IP whitelist of a Supabase instance.
4829
5462
  *
4830
5463
  * @remarks
4831
- * The CreateDataImportTask operation creates a data import task. You can use this operation to import SQL or CSV files stored in OSS or ECS, or directly provided, into a destination database instance. Specify the instance ID, database name, engine type, data source (such as an OSS path), and import type. The system performs the data write operation asynchronously or synchronously. This operation is applicable to scenarios such as data migration, initialization, and data backfill. A task ID is returned for subsequent status queries and management.
5464
+ * - Binary log files are retained for 15 days by default.
5465
+ * - The returned log list includes all logs whose log record end time is later than the specified query start time and whose log record start time is earlier than the specified query end time.
5466
+ * - If DownloadLink is not NULL, you can use this URL to download the backup file. The URL is valid for 2 days after it is generated. Download the file before the URL expires.
4832
5467
  *
4833
- * @param request - DescribeStructureImportTaskInfoRequest
4834
- * @returns DescribeStructureImportTaskInfoResponse
5468
+ * @param request - DescribeSupabaseIpWhitelistRequest
5469
+ * @returns DescribeSupabaseIpWhitelistResponse
4835
5470
  */
4836
- async describeStructureImportTaskInfo(request) {
5471
+ async describeSupabaseIpWhitelist(request) {
4837
5472
  let runtime = new $dara.RuntimeOptions({});
4838
- return await this.describeStructureImportTaskInfoWithOptions(request, runtime);
5473
+ return await this.describeSupabaseIpWhitelistWithOptions(request, runtime);
4839
5474
  }
4840
5475
  /**
4841
5476
  * Retrieves tag information.
@@ -5254,6 +5889,60 @@ class Client extends openapi_core_1.default {
5254
5889
  let runtime = new $dara.RuntimeOptions({});
5255
5890
  return await this.enableSqlAuditWithOptions(request, runtime);
5256
5891
  }
5892
+ /**
5893
+ * Executes a metadata query.
5894
+ *
5895
+ * @remarks
5896
+ * Deletes a custom endpoint of a specified database instance and disables access through the domain name.
5897
+ *
5898
+ * @param request - ExecuteMetaQueryRequest
5899
+ * @param runtime - runtime options for this request RuntimeOptions
5900
+ * @returns ExecuteMetaQueryResponse
5901
+ */
5902
+ async executeMetaQueryWithOptions(request, runtime) {
5903
+ request.validate();
5904
+ let query = {};
5905
+ if (!$dara.isNull(request.DBInstanceName)) {
5906
+ query["DBInstanceName"] = request.DBInstanceName;
5907
+ }
5908
+ if (!$dara.isNull(request.regionId)) {
5909
+ query["RegionId"] = request.regionId;
5910
+ }
5911
+ if (!$dara.isNull(request.sql)) {
5912
+ query["Sql"] = request.sql;
5913
+ }
5914
+ if (!$dara.isNull(request.storageInstId)) {
5915
+ query["StorageInstId"] = request.storageInstId;
5916
+ }
5917
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
5918
+ query: openapi_core_2.OpenApiUtil.query(query),
5919
+ });
5920
+ let params = new openapi_core_2.$OpenApiUtil.Params({
5921
+ action: "ExecuteMetaQuery",
5922
+ version: "2020-02-02",
5923
+ protocol: "HTTPS",
5924
+ pathname: "/",
5925
+ method: "POST",
5926
+ authType: "AK",
5927
+ style: "RPC",
5928
+ reqBodyType: "formData",
5929
+ bodyType: "json",
5930
+ });
5931
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ExecuteMetaQueryResponse({}));
5932
+ }
5933
+ /**
5934
+ * Executes a metadata query.
5935
+ *
5936
+ * @remarks
5937
+ * Deletes a custom endpoint of a specified database instance and disables access through the domain name.
5938
+ *
5939
+ * @param request - ExecuteMetaQueryRequest
5940
+ * @returns ExecuteMetaQueryResponse
5941
+ */
5942
+ async executeMetaQuery(request) {
5943
+ let runtime = new $dara.RuntimeOptions({});
5944
+ return await this.executeMetaQueryWithOptions(request, runtime);
5945
+ }
5257
5946
  /**
5258
5947
  * Retrieves a list of labels.
5259
5948
  *
@@ -6391,6 +7080,114 @@ class Client extends openapi_core_1.default {
6391
7080
  let runtime = new $dara.RuntimeOptions({});
6392
7081
  return await this.modifySecurityIpsWithOptions(request, runtime);
6393
7082
  }
7083
+ /**
7084
+ * Modifies the Supabase Dashboard password.
7085
+ *
7086
+ * @remarks
7087
+ * ***
7088
+ *
7089
+ * @param request - ModifySupabaseDashboardPasswordRequest
7090
+ * @param runtime - runtime options for this request RuntimeOptions
7091
+ * @returns ModifySupabaseDashboardPasswordResponse
7092
+ */
7093
+ async modifySupabaseDashboardPasswordWithOptions(request, runtime) {
7094
+ request.validate();
7095
+ let query = {};
7096
+ if (!$dara.isNull(request.DBInstanceName)) {
7097
+ query["DBInstanceName"] = request.DBInstanceName;
7098
+ }
7099
+ if (!$dara.isNull(request.newPassword)) {
7100
+ query["NewPassword"] = request.newPassword;
7101
+ }
7102
+ if (!$dara.isNull(request.regionId)) {
7103
+ query["RegionId"] = request.regionId;
7104
+ }
7105
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
7106
+ query: openapi_core_2.OpenApiUtil.query(query),
7107
+ });
7108
+ let params = new openapi_core_2.$OpenApiUtil.Params({
7109
+ action: "ModifySupabaseDashboardPassword",
7110
+ version: "2020-02-02",
7111
+ protocol: "HTTPS",
7112
+ pathname: "/",
7113
+ method: "POST",
7114
+ authType: "AK",
7115
+ style: "RPC",
7116
+ reqBodyType: "formData",
7117
+ bodyType: "json",
7118
+ });
7119
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifySupabaseDashboardPasswordResponse({}));
7120
+ }
7121
+ /**
7122
+ * Modifies the Supabase Dashboard password.
7123
+ *
7124
+ * @remarks
7125
+ * ***
7126
+ *
7127
+ * @param request - ModifySupabaseDashboardPasswordRequest
7128
+ * @returns ModifySupabaseDashboardPasswordResponse
7129
+ */
7130
+ async modifySupabaseDashboardPassword(request) {
7131
+ let runtime = new $dara.RuntimeOptions({});
7132
+ return await this.modifySupabaseDashboardPasswordWithOptions(request, runtime);
7133
+ }
7134
+ /**
7135
+ * Modifies the IP whitelist of a Supabase instance.
7136
+ *
7137
+ * @remarks
7138
+ * ***
7139
+ *
7140
+ * @param request - ModifySupabaseSecurityIPListRequest
7141
+ * @param runtime - runtime options for this request RuntimeOptions
7142
+ * @returns ModifySupabaseSecurityIPListResponse
7143
+ */
7144
+ async modifySupabaseSecurityIPListWithOptions(request, runtime) {
7145
+ request.validate();
7146
+ let query = {};
7147
+ if (!$dara.isNull(request.DBInstanceName)) {
7148
+ query["DBInstanceName"] = request.DBInstanceName;
7149
+ }
7150
+ if (!$dara.isNull(request.groupName)) {
7151
+ query["GroupName"] = request.groupName;
7152
+ }
7153
+ if (!$dara.isNull(request.modifyMode)) {
7154
+ query["ModifyMode"] = request.modifyMode;
7155
+ }
7156
+ if (!$dara.isNull(request.regionId)) {
7157
+ query["RegionId"] = request.regionId;
7158
+ }
7159
+ if (!$dara.isNull(request.securityIPList)) {
7160
+ query["SecurityIPList"] = request.securityIPList;
7161
+ }
7162
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
7163
+ query: openapi_core_2.OpenApiUtil.query(query),
7164
+ });
7165
+ let params = new openapi_core_2.$OpenApiUtil.Params({
7166
+ action: "ModifySupabaseSecurityIPList",
7167
+ version: "2020-02-02",
7168
+ protocol: "HTTPS",
7169
+ pathname: "/",
7170
+ method: "POST",
7171
+ authType: "AK",
7172
+ style: "RPC",
7173
+ reqBodyType: "formData",
7174
+ bodyType: "json",
7175
+ });
7176
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifySupabaseSecurityIPListResponse({}));
7177
+ }
7178
+ /**
7179
+ * Modifies the IP whitelist of a Supabase instance.
7180
+ *
7181
+ * @remarks
7182
+ * ***
7183
+ *
7184
+ * @param request - ModifySupabaseSecurityIPListRequest
7185
+ * @returns ModifySupabaseSecurityIPListResponse
7186
+ */
7187
+ async modifySupabaseSecurityIPList(request) {
7188
+ let runtime = new $dara.RuntimeOptions({});
7189
+ return await this.modifySupabaseSecurityIPListWithOptions(request, runtime);
7190
+ }
6394
7191
  /**
6395
7192
  * Performs a pre-check and feasibility assessment for a recovery task before you execute SQL flashback recovery.
6396
7193
  *
@@ -6880,6 +7677,54 @@ class Client extends openapi_core_1.default {
6880
7677
  let runtime = new $dara.RuntimeOptions({});
6881
7678
  return await this.restartDataImportTaskWithOptions(request, runtime);
6882
7679
  }
7680
+ /**
7681
+ * Restarts a Supabase instance.
7682
+ *
7683
+ * @remarks
7684
+ * ***
7685
+ *
7686
+ * @param request - RestartSupabaseInstanceRequest
7687
+ * @param runtime - runtime options for this request RuntimeOptions
7688
+ * @returns RestartSupabaseInstanceResponse
7689
+ */
7690
+ async restartSupabaseInstanceWithOptions(request, runtime) {
7691
+ request.validate();
7692
+ let query = {};
7693
+ if (!$dara.isNull(request.DBInstanceName)) {
7694
+ query["DBInstanceName"] = request.DBInstanceName;
7695
+ }
7696
+ if (!$dara.isNull(request.regionId)) {
7697
+ query["RegionId"] = request.regionId;
7698
+ }
7699
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
7700
+ query: openapi_core_2.OpenApiUtil.query(query),
7701
+ });
7702
+ let params = new openapi_core_2.$OpenApiUtil.Params({
7703
+ action: "RestartSupabaseInstance",
7704
+ version: "2020-02-02",
7705
+ protocol: "HTTPS",
7706
+ pathname: "/",
7707
+ method: "POST",
7708
+ authType: "AK",
7709
+ style: "RPC",
7710
+ reqBodyType: "formData",
7711
+ bodyType: "json",
7712
+ });
7713
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.RestartSupabaseInstanceResponse({}));
7714
+ }
7715
+ /**
7716
+ * Restarts a Supabase instance.
7717
+ *
7718
+ * @remarks
7719
+ * ***
7720
+ *
7721
+ * @param request - RestartSupabaseInstanceRequest
7722
+ * @returns RestartSupabaseInstanceResponse
7723
+ */
7724
+ async restartSupabaseInstance(request) {
7725
+ let runtime = new $dara.RuntimeOptions({});
7726
+ return await this.restartSupabaseInstanceWithOptions(request, runtime);
7727
+ }
6883
7728
  /**
6884
7729
  * 克隆PolarDB-X实例
6885
7730
  *