summaryrefslogtreecommitdiff
path: root/data/hologram
diff options
context:
space:
mode:
Diffstat (limited to 'data/hologram')
-rw-r--r--data/hologram/2022-06-01/api-docs.php2694
1 files changed, 1853 insertions, 841 deletions
diff --git a/data/hologram/2022-06-01/api-docs.php b/data/hologram/2022-06-01/api-docs.php
index 877d7e9..ff2f625 100644
--- a/data/hologram/2022-06-01/api-docs.php
+++ b/data/hologram/2022-06-01/api-docs.php
@@ -1,43 +1,56 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'ROA',
- 'product' => 'Hologram',
- 'version' => '2022-06-01',
- ],
+ 'info' => ['style' => 'ROA', 'product' => 'Hologram', 'version' => '2022-06-01'],
'components' => [
'schemas' => [],
],
'apis' => [
- 'RevokeTablePermission' => [
- 'path' => '/api/v1/instances/{instanceId}/revokeTablePermission',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'BindLeaderInstance' => [
+ 'path' => '/api/v1/instances/{instanceId}/bindReadOnly',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
'name' => 'instanceId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'leaderInstanceId' => ['type' => 'string', 'required' => false],
+ ],
],
],
+ ],
+ ],
+ 'ChangeResourceGroup' => [
+ 'path' => '/api/v1/tag/changeResourceGroup',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
'name' => 'body',
'in' => 'body',
@@ -46,68 +59,63 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'databaseName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'userName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'schemaName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'tableName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'privileges' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'allTable' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'newResourceGroupId' => ['type' => 'string', 'required' => false],
+ 'instanceId' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'RevokeSchemaPermission' => [
- 'path' => '/api/v1/instances/{instanceId}/revokeSchemaPermission',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateDatabase' => [
+ 'path' => '/api/v1/instances/{instanceId}/createDatabase',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'instanceId',
'in' => 'path',
+ 'schema' => ['type' => 'string'],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => false,
+ 'type' => 'object',
+ 'properties' => [
+ 'databaseName' => ['type' => 'string'],
+ 'permissionModel' => ['type' => 'string'],
+ ],
],
],
+ ],
+ ],
+ 'CreateExternalDatabase' => [
+ 'path' => '/api/v1/instances/{instanceId}/createExternalDatabase',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
[
'name' => 'body',
'in' => 'body',
@@ -116,24 +124,20 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'databaseName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'userName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'schemaName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'privileges' => [
+ 'databaseName' => ['type' => 'string', 'required' => false],
+ 'comment' => ['type' => 'string', 'required' => false],
+ 'defaultUserMapping' => ['type' => 'string', 'required' => false],
+ 'metastoreType' => ['type' => 'string', 'required' => false],
+ 'externalConfig' => [
'type' => 'array',
'required' => false,
'items' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'key' => ['type' => 'string', 'required' => false],
+ 'value' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
@@ -141,35 +145,49 @@
],
],
],
- 'RevokeDatabasePermission' => [
- 'path' => '/api/v1/instances/{instanceId}/revokeDatabasePermission',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateHoloWarehouse' => [
+ 'path' => '/api/v1/instances/{instanceId}/createHoloWarehouse',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
'deprecated' => false,
'parameters' => [
[
'name' => 'instanceId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'name' => ['type' => 'string', 'required' => true],
+ 'cpu' => ['type' => 'string', 'required' => true],
+ 'clusterCount' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
],
],
+ ],
+ ],
+ 'CreateInstance' => [
+ 'path' => '/api/v1/instances/create',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
'name' => 'body',
'in' => 'body',
@@ -178,97 +196,171 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'databaseName' => [
+ 'regionId' => ['type' => 'string', 'required' => true],
+ 'zoneId' => ['type' => 'string', 'required' => true],
+ 'vpcId' => ['type' => 'string', 'required' => true],
+ 'vSwitchId' => ['type' => 'string', 'required' => true],
+ 'resourceGroupId' => ['type' => 'string', 'required' => false],
+ 'instanceName' => ['type' => 'string', 'required' => true],
+ 'instanceType' => [
'type' => 'string',
- 'required' => false,
+ 'required' => true,
+ 'enum' => ['Standard', 'Follower', 'Warehouse', 'Shared', 'Serverless'],
],
- 'userName' => [
+ 'cpu' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'storageSize' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'coldStorageSize' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'gatewayCount' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '2', 'maximum' => '50'],
+ 'chargeType' => [
'type' => 'string',
- 'required' => false,
+ 'required' => true,
+ 'enum' => ['PrePaid', 'PostPaid'],
],
- 'privileges' => [
- 'type' => 'array',
+ 'autoPay' => ['type' => 'boolean', 'required' => false],
+ 'pricingCycle' => [
+ 'type' => 'string',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'enum' => ['Month', 'Hour'],
+ ],
+ 'duration' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'autoRenew' => ['type' => 'boolean', 'required' => false],
+ 'leaderInstanceId' => ['type' => 'string', 'required' => false],
+ 'initialDatabases' => ['type' => 'string', 'required' => false],
+ 'enableServerlessComputing' => ['type' => 'boolean', 'required' => false],
+ 'storageType' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'ListDatabases' => [
- 'path' => '/api/v1/instances/{instanceId}/listDatabases',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateManualBackup' => [
+ 'path' => '/api/v1/backups/manual',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'instanceId' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'CreateModelService' => [
+ 'path' => '/api/v1/instances/{instanceId}/createModelService',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'external',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'boolean',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'modelType' => ['type' => 'string', 'required' => true],
+ 'cpu' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'memory' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'gpu' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'serviceCount' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'modelServiceName' => ['type' => 'string', 'required' => true],
+ 'gpuMemory' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'taskType' => ['type' => 'string', 'required' => false],
+ 'provider' => ['type' => 'string', 'required' => false],
+ 'apiKey' => ['type' => 'string', 'required' => false],
+ 'modelParams' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'GrantTablePermission' => [
- 'path' => '/api/v1/instances/{instanceId}/grantTablePermission',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateUser' => [
+ 'path' => '/api/v1/instances/{instanceId}/createUser',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'instanceId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'userName' => ['type' => 'string', 'required' => false],
+ 'superUser' => ['type' => 'boolean', 'required' => false],
+ ],
],
],
+ ],
+ ],
+ 'CreateWarehouse' => [
+ 'path' => '/api/v1/warehouse/{instanceId}/create',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
[
'name' => 'body',
'in' => 'body',
@@ -277,68 +369,85 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'databaseName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'privileges' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'userName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'schemaName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'tableName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'allTable' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'warehouseName' => ['type' => 'string', 'required' => false],
+ 'cpu' => ['type' => 'string', 'required' => false],
+ 'config' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'GrantSchemaPermission' => [
- 'path' => '/api/v1/instances/{instanceId}/grantSchemaPermission',
- 'methods' => [
- 'post',
+ 'CreateWarehouseScheduleTask' => [
+ 'path' => '/api/v1/instances/{instanceId}/createWarehouseScheduleTask',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'warehouseId' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ 'startTime' => ['type' => 'string', 'required' => true],
+ 'endTime' => ['type' => 'string', 'required' => true],
+ 'elasticCu' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ 'description' => ['type' => 'string'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DeleteBackupData' => [
+ 'path' => '/api/v1/backups/{id}/delete',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'id',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'DeleteHoloWarehouse' => [
+ 'path' => '/api/v1/instances/{instanceId}/deleteHoloWarehouse',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
'deprecated' => false,
'parameters' => [
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -348,60 +457,100 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'databaseName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'privileges' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'userName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'schemaName' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'GrantDatabasePermission' => [
- 'path' => '/api/v1/instances/{instanceId}/grantDatabasePermission',
- 'methods' => [
- 'post',
+ 'DeleteInstance' => [
+ 'path' => '/api/v1/instances/{instanceId}/delete',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ 'DeleteModelResource' => [
+ 'path' => '/api/v1/instances/{instanceId}/deleteModelResource',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'aiInstanceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'DeleteModelService' => [
+ 'path' => '/api/v1/instances/{instanceId}/deleteModelService',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'modelServiceName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'DeleteWarehouseScheduleTask' => [
+ 'path' => '/api/v1/instances/{instanceId}/deleteWarehouseScheduleTask',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
'deprecated' => false,
'parameters' => [
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -411,36 +560,83 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'databaseName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'privileges' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'userName' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'warehouseId' => ['type' => 'string', 'required' => false],
+ 'id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'CreateInstance' => [
- 'path' => '/api/v1/instances/create',
- 'methods' => [
- 'post',
+ 'DescribeTags' => [
+ 'path' => '/api/v1/tag',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'tagsOnly',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ ],
+ 'DisableExecuteStatement' => [
+ 'path' => '/api/v1/instances/{instanceId}/disableExecuteStatement',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ 'DisableHiveAccess' => [
+ 'path' => '/api/v1/instances/{instanceId}/disableHiveAccess',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'DisableOperationEvent' => [
+ 'path' => '/api/v1/instances/{instanceId}/disableOperationEvent',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -449,6 +645,11 @@
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -456,122 +657,34 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'regionId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'zoneId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'vpcId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'vSwitchId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'resourceGroupId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'instanceName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'instanceType' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'Standard',
- 'Follower',
- 'Warehouse',
- 'Shared',
- 'Serverless',
- ],
- ],
- 'cpu' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'storageSize' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'coldStorageSize' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'gatewayCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '2',
- 'maximum' => '50',
- ],
- 'chargeType' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'PrePaid',
- 'PostPaid',
- ],
- ],
- 'autoPay' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'pricingCycle' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'Month',
- 'Hour',
- ],
- ],
- 'duration' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'autoRenew' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'leaderInstanceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'initialDatabases' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'enableServerlessComputing' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'storageType' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'id' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'DeleteInstance' => [
- 'path' => '/api/v1/instances/{instanceId}/delete',
- 'methods' => [
- 'post',
+ 'DisableSSL' => [
+ 'path' => '/api/v1/instances/{instanceId}/disableSSL',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'DisableSupportAccount' => [
+ 'path' => '/api/v1/instances/{instanceId}/supportAccount/disable',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -582,44 +695,32 @@
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'RenewInstance' => [
- 'path' => '/api/v1/instances/{instanceId}/renew',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DisableWarehouseAutoScale' => [
+ 'path' => '/api/v1/instances/{instanceId}/disableWarehouseAutoScale',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'body',
@@ -629,55 +730,91 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'duration' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
- 'autoRenew' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'name' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'RestartInstance' => [
- 'path' => '/api/v1/instances/{instanceId}/restart',
- 'methods' => [
- 'post',
+ 'DiscardUpgrade' => [
+ 'path' => '/api/v1/instances/{instanceId}/upgrade/discard',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'DropUser' => [
+ 'path' => '/api/v1/instances/{instanceId}/dropUser',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'instanceId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'userName' => ['type' => 'string', 'required' => false],
+ 'superUser' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'ResumeInstance' => [
- 'path' => '/api/v1/instances/{instanceId}/resume',
- 'methods' => [
- 'post',
+ 'EnableExecuteStatement' => [
+ 'path' => '/api/v1/instances/{instanceId}/enableExecuteStatement',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'EnableHiveAccess' => [
+ 'path' => '/api/v1/instances/{instanceId}/enableHiveAccess',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -686,24 +823,39 @@
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'UpdateInstanceName' => [
- 'path' => '/api/v1/instances/{instanceId}/instanceName',
- 'methods' => [
- 'post',
+ 'EnableSSL' => [
+ 'path' => '/api/v1/instances/{instanceId}/enableSSL',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'EnableSupportAccount' => [
+ 'path' => '/api/v1/instances/{instanceId}/supportAccount/enable',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -712,12 +864,14 @@
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'body',
@@ -727,39 +881,65 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'instanceName' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'password' => ['type' => 'string', 'required' => false],
+ 'expireTime' => ['type' => 'string', 'required' => false],
+ 'enabled' => ['type' => 'boolean', 'required' => false],
],
],
],
],
],
- 'UpdateInstanceNetworkType' => [
- 'path' => '/api/v1/instances/{instanceId}/network',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'EnableWarehouseAutoScale' => [
+ 'path' => '/api/v1/instances/{instanceId}/enableWarehouseAutoScale',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'instanceId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'name' => ['type' => 'string', 'required' => false],
+ 'maxClusterCount' => ['type' => 'string', 'required' => false],
+ ],
],
],
+ ],
+ ],
+ 'ExecuteStatement' => [
+ 'path' => '/api/v1/instances/{instanceId}/executeStatement',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
[
'name' => 'body',
'in' => 'body',
@@ -768,44 +948,62 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'networkTypes' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'vpcId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'vSwitchId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'vpcRegionId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'vpcOwnerId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'anyTunnelToSingleTunnel' => [
- 'type' => 'string',
+ 'dbName' => ['type' => 'string', 'required' => false],
+ 'sql' => ['type' => 'string', 'required' => false],
+ 'parameters' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'any', 'required' => false],
],
+ 'maxRows' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'maxBytes' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'queryTimeout' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
],
],
- 'DisableHiveAccess' => [
- 'path' => '/api/v1/instances/{instanceId}/disableHiveAccess',
- 'methods' => [
- 'post',
+ 'GetCertificateAttribute' => [
+ 'path' => '/api/v1/instances/{instanceId}/certificateAttribute',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ 'GetExecuteStatementEnabled' => [
+ 'path' => '/api/v1/instances/{instanceId}/executeStatementEnabled',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'GetHoloWebLoginSetting' => [
+ 'path' => '/api/v1/instances/{instanceId}/getHoloWebLoginSetting',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -816,30 +1014,95 @@
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'EnableHiveAccess' => [
- 'path' => '/api/v1/instances/{instanceId}/enableHiveAccess',
- 'methods' => [
- 'post',
+ 'GetInstance' => [
+ 'path' => '/api/v1/instances/{instanceId}',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ 'GetInstanceModel' => [
+ 'path' => '/api/v1/instances/{instanceId}/getInstanceModel',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ 'GetLastUpgradeRecord' => [
+ 'path' => '/api/v1/instances/{instanceId}/lastUpgradeRecord',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ 'GetRootCertificate' => [
+ 'path' => '/api/v1/instances/{instanceId}/rootCertificate',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'GetScheduledBackupConfig' => [
+ 'path' => '/api/v1/backups/scheduledConfig',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -850,70 +1113,103 @@
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'instanceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'scheduleType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'StopInstance' => [
- 'path' => '/api/v1/instances/{instanceId}/stop',
- 'methods' => [
- 'post',
+ 'GetUpgradeStatus' => [
+ 'path' => '/api/v1/instances/{instanceId}/upgrade/status',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'GetUpgradeable' => [
+ 'path' => '/api/v1/instances/{instanceId}/upgradeable',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ScaleInstance' => [
- 'path' => '/api/v1/instances/{instanceId}/scale',
- 'methods' => [
- 'post',
+ 'GetWarehouseDetail' => [
+ 'path' => '/api/v1/instances/{instanceId}/getWarehouseDetail',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'GrantDatabasePermission' => [
+ 'path' => '/api/v1/instances/{instanceId}/grantDatabasePermission',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'body',
@@ -923,59 +1219,76 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'cpu' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'storageSize' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'coldStorageSize' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'scaleType' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'UPGRADE',
- 'DOWNGRADE',
- ],
- ],
- 'gatewayCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'enableServerlessComputing' => [
- 'type' => 'boolean',
+ 'databaseName' => ['type' => 'string', 'required' => false],
+ 'privileges' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
+ 'userName' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'ChangeResourceGroup' => [
- 'path' => '/api/v1/tag/changeResourceGroup',
- 'methods' => [
- 'post',
+ 'GrantSchemaPermission' => [
+ 'path' => '/api/v1/instances/{instanceId}/grantSchemaPermission',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'databaseName' => ['type' => 'string', 'required' => false],
+ 'privileges' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'userName' => ['type' => 'string', 'required' => false],
+ 'schemaName' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
],
+ ],
+ 'GrantTablePermission' => [
+ 'path' => '/api/v1/instances/{instanceId}/grantTablePermission',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -983,39 +1296,121 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'newResourceGroupId' => [
- 'type' => 'string',
+ 'databaseName' => ['type' => 'string', 'required' => false],
+ 'privileges' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
- 'instanceId' => [
- 'type' => 'string',
- 'required' => false,
+ 'userName' => ['type' => 'string', 'required' => false],
+ 'schemaName' => ['type' => 'string', 'required' => false],
+ 'tableName' => ['type' => 'string', 'required' => false],
+ 'allTable' => ['type' => 'boolean', 'required' => false],
+ 'columnNames' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
],
],
],
],
],
- 'ListInstances' => [
- 'path' => '/api/v1/instances',
- 'methods' => [
- 'post',
+ 'ListBackupData' => [
+ 'path' => '/api/v1/backups',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'backupType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'ListDatabases' => [
+ 'path' => '/api/v1/instances/{instanceId}/listDatabases',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'external',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ ],
+ ],
+ 'ListFollowerInstances' => [
+ 'path' => '/api/v1/instances/{instanceId}/listFollowerInstances',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ 'ListInstanceModel' => [
+ 'path' => '/api/v1/instances/rpc/listInstanceModel',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'produces' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [],
+ ],
+ 'ListInstances' => [
+ 'path' => '/api/v1/instances',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
@@ -1026,10 +1421,7 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'resourceGroupId' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'resourceGroupId' => ['type' => 'string', 'required' => false],
'tag' => [
'type' => 'array',
'required' => false,
@@ -1037,61 +1429,175 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'value' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'key' => ['type' => 'string', 'required' => false],
+ 'value' => ['type' => 'string', 'required' => false],
],
],
],
- 'cmsInstanceType' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'cmsInstanceType' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'GetInstance' => [
- 'path' => '/api/v1/instances/{instanceId}',
- 'methods' => [
- 'get',
+ 'ListLeaderInstances' => [
+ 'path' => '/api/v1/instances/{instanceId}/primaryInstances',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ 'ListMigrationZones' => [
+ 'path' => '/api/v1/instances/{instanceId}/listMigrationZones',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'ListModelCatalog' => [
+ 'path' => '/api/v1/instances/{instanceId}/listModelCatalog',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'instanceId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'provider',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ 'ListOperationEvents' => [
+ 'path' => '/api/v1/instances/listOperationEvents',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'pageSize' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'pageNumber' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'state' => ['type' => 'string', 'required' => false],
+ 'eventName' => ['type' => 'string', 'required' => false],
+ 'eventType' => ['type' => 'string', 'required' => false],
+ 'scheduleTimeDesc' => ['type' => 'boolean', 'required' => false],
+ 'eventNameDesc' => ['type' => 'boolean', 'required' => false],
+ 'instanceId' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'CreateHoloWarehouse' => [
- 'path' => '/api/v1/instances/{instanceId}/createHoloWarehouse',
- 'methods' => [
- 'post',
+ 'ListRegions' => [
+ 'path' => '/api/v1/regions/listRegions',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [],
+ ],
+ 'ListUpgradeReleaseVersions' => [
+ 'path' => '/api/v1/instances/{instanceId}/upgrade/listReleaseVersions',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'ListWarehouseScheduleEvent' => [
+ 'path' => '/api/v1/instances/{instanceId}/listWarehouseScheduleEvent',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1102,10 +1608,7 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -1115,48 +1618,105 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'cpu' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'clusterCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'startTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'endTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'pageSize' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'pageNumber' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'elasticType' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'DeleteHoloWarehouse' => [
- 'path' => '/api/v1/instances/{instanceId}/deleteHoloWarehouse',
- 'methods' => [
- 'post',
+ 'ListWarehouseScheduleTask' => [
+ 'path' => '/api/v1/instances/{instanceId}/listWarehouseScheduleTask',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ ],
+ ],
+ 'ListWarehouses' => [
+ 'path' => '/api/v1/instances/{instanceId}/listWarehouses',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'MigrateInstanceZone' => [
+ 'path' => '/api/v1/instances/{instanceId}/migrateInstanceZone',
+ 'methods' => ['patch'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'instanceId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'zoneId' => ['type' => 'string', 'required' => false],
+ ],
],
],
+ ],
+ ],
+ 'PrepareUpgrade' => [
+ 'path' => '/api/v1/instances/{instanceId}/upgrade/prepare',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
[
'name' => 'body',
'in' => 'body',
@@ -1165,10 +1725,8 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'version' => ['type' => 'string', 'required' => false],
+ 'dryRun' => ['type' => 'boolean', 'required' => false],
],
],
],
@@ -1176,13 +1734,38 @@
],
'RebalanceHoloWarehouse' => [
'path' => '/api/v1/instances/{instanceId}/rebalanceHoloWarehouse',
- 'methods' => [
- 'post',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'name' => ['type' => 'string', 'required' => true],
+ ],
+ ],
+ ],
],
+ ],
+ 'RenameHoloWarehouse' => [
+ 'path' => '/api/v1/instances/{instanceId}/renameHoloWarehouse',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1193,11 +1776,39 @@
[
'name' => 'instanceId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'name' => ['type' => 'string', 'required' => true],
+ 'newWarehouseName' => ['type' => 'string', 'required' => true],
+ ],
],
],
+ ],
+ ],
+ 'RenewInstance' => [
+ 'path' => '/api/v1/instances/{instanceId}/renew',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
[
'name' => 'body',
'in' => 'body',
@@ -1206,24 +1817,35 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'duration' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
+ 'autoRenew' => ['type' => 'boolean', 'required' => false],
],
],
],
],
],
- 'ResumeHoloWarehouse' => [
- 'path' => '/api/v1/instances/{instanceId}/resumeHoloWarehouse',
- 'methods' => [
- 'post',
+ 'RenewSSLCertificate' => [
+ 'path' => '/api/v1/instances/{instanceId}/renewSSLCertificate',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'RestartHoloWarehouse' => [
+ 'path' => '/api/v1/instances/{instanceId}/restartHoloWarehouse',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1234,10 +1856,7 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -1247,24 +1866,34 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'SuspendHoloWarehouse' => [
- 'path' => '/api/v1/instances/{instanceId}/suspendHoloWarehouse',
- 'methods' => [
- 'post',
+ 'RestartInstance' => [
+ 'path' => '/api/v1/instances/{instanceId}/restart',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'ResumeHoloWarehouse' => [
+ 'path' => '/api/v1/instances/{instanceId}/resumeHoloWarehouse',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1275,10 +1904,7 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -1288,38 +1914,47 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'RenameHoloWarehouse' => [
- 'path' => '/api/v1/instances/{instanceId}/renameHoloWarehouse',
- 'methods' => [
- 'post',
+ 'ResumeInstance' => [
+ 'path' => '/api/v1/instances/{instanceId}/resume',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'RevokeDatabasePermission' => [
+ 'path' => '/api/v1/instances/{instanceId}/revokeDatabasePermission',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'body',
@@ -1329,36 +1964,37 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'newWarehouseName' => [
- 'type' => 'string',
- 'required' => true,
+ 'databaseName' => ['type' => 'string', 'required' => false],
+ 'userName' => ['type' => 'string', 'required' => false],
+ 'privileges' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
],
],
- 'ScaleHoloWarehouse' => [
- 'path' => '/api/v1/instances/{instanceId}/scaleHoloWarehouse',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'RevokeSchemaPermission' => [
+ 'path' => '/api/v1/instances/{instanceId}/revokeSchemaPermission',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -1366,42 +2002,100 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'cpu' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
- 'clusterCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'databaseName' => ['type' => 'string', 'required' => false],
+ 'userName' => ['type' => 'string', 'required' => false],
+ 'schemaName' => ['type' => 'string', 'required' => false],
+ 'privileges' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
+ ],
+ ],
+ 'RevokeTablePermission' => [
+ 'path' => '/api/v1/instances/{instanceId}/revokeTablePermission',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
'name' => 'instanceId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'databaseName' => ['type' => 'string', 'required' => false],
+ 'userName' => ['type' => 'string', 'required' => false],
+ 'schemaName' => ['type' => 'string', 'required' => false],
+ 'tableName' => ['type' => 'string', 'required' => false],
+ 'privileges' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'allTable' => ['type' => 'boolean', 'required' => false],
+ 'columnNames' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ ],
],
],
],
],
- 'RestartHoloWarehouse' => [
- 'path' => '/api/v1/instances/{instanceId}/restartHoloWarehouse',
- 'methods' => [
- 'post',
+ 'ScaleHoloWarehouse' => [
+ 'path' => '/api/v1/instances/{instanceId}/scaleHoloWarehouse',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'name' => ['type' => 'string', 'required' => true],
+ 'cpu' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ 'clusterCount' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ ],
+ ],
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
+ ],
+ 'ScaleInstance' => [
+ 'path' => '/api/v1/instances/{instanceId}/scale',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1412,10 +2106,7 @@
[
'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -1425,24 +2116,43 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'name' => [
+ 'cpu' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'storageSize' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'coldStorageSize' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'scaleType' => [
'type' => 'string',
'required' => true,
+ 'enum' => ['UPGRADE', 'DOWNGRADE'],
],
+ 'gatewayCount' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'enableServerlessComputing' => ['type' => 'boolean', 'required' => false],
],
],
],
],
],
- 'GetWarehouseDetail' => [
- 'path' => '/api/v1/instances/{instanceId}/getWarehouseDetail',
- 'methods' => [
- 'get',
+ 'StopInstance' => [
+ 'path' => '/api/v1/instances/{instanceId}/stop',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'SuspendHoloWarehouse' => [
+ 'path' => '/api/v1/instances/{instanceId}/suspendHoloWarehouse',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1453,22 +2163,79 @@
[
'name' => 'instanceId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'name' => ['type' => 'string', 'required' => true],
+ ],
],
],
],
],
- 'ListWarehouses' => [
- 'path' => '/api/v1/instances/{instanceId}/listWarehouses',
- 'methods' => [
- 'get',
+ 'TagResources' => [
+ 'path' => '/api/v1/tag',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'category' => ['type' => 'string', 'required' => false],
+ 'tagOwnerUid' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'resourceIds' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'tags' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'key' => ['type' => 'string', 'required' => false],
+ 'value' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'UnBindLeaderInstance' => [
+ 'path' => '/api/v1/instances/{instanceId}/unBindReadOnly',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1477,24 +2244,63 @@
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
'name' => 'instanceId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ 'UntagResources' => [
+ 'path' => '/api/v1/tag/unTag',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'category' => ['type' => 'string', 'required' => false],
+ 'resourceType' => ['type' => 'string', 'required' => false],
+ 'tagOwnerUid' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'resourceIds' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'tagKeys' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ ],
],
],
],
],
- 'ListBackupData' => [
- 'path' => '/api/v1/backups',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateAutoUpgrade' => [
+ 'path' => '/api/v1/instances/{instanceId}/autoUpgrade',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1504,31 +2310,67 @@
'parameters' => [
[
'name' => 'instanceId',
- 'in' => 'query',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'autoUpgrade' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['manual', 'auto'],
+ ],
+ ],
],
],
+ ],
+ ],
+ 'UpdateBackupDataDesc' => [
+ 'path' => '/api/v1/backups/{id}/desc',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'backupType',
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'instanceId' => ['type' => 'string', 'required' => false],
+ 'desc' => ['type' => 'string', 'required' => false],
+ ],
],
],
+ [
+ 'name' => 'id',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
],
- 'EnableSSL' => [
- 'path' => '/api/v1/instances/{instanceId}/enableSSL',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateHoloWebLoginSetting' => [
+ 'path' => '/api/v1/instances/{instanceId}/updateHoloWebLoginSetting',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1537,24 +2379,63 @@
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
'name' => 'instanceId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'allowExternalAccountsLogin' => ['type' => 'boolean', 'required' => false],
+ ],
],
],
],
],
- 'DisableSSL' => [
- 'path' => '/api/v1/instances/{instanceId}/disableSSL',
- 'methods' => [
- 'post',
+ 'UpdateInstanceName' => [
+ 'path' => '/api/v1/instances/{instanceId}/instanceName',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'instanceName' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
],
+ ],
+ 'UpdateInstanceNetworkType' => [
+ 'path' => '/api/v1/instances/{instanceId}/network',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1565,22 +2446,63 @@
[
'name' => 'instanceId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'networkTypes' => ['type' => 'string', 'required' => false],
+ 'vpcId' => ['type' => 'string', 'required' => false],
+ 'vSwitchId' => ['type' => 'string', 'required' => false],
+ 'vpcRegionId' => ['type' => 'string', 'required' => false],
+ 'vpcOwnerId' => ['type' => 'string', 'required' => false],
+ 'anyTunnelToSingleTunnel' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'GetCertificateAttribute' => [
- 'path' => '/api/v1/instances/{instanceId}/certificateAttribute',
- 'methods' => [
- 'get',
+ 'UpdateInstancePort' => [
+ 'path' => '/api/v1/instances/{instanceId}/updatePort',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'consumes' => [],
+ 'produces' => [],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'port' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ ],
+ ],
],
+ ],
+ 'UpdateMaintenanceWindow' => [
+ 'path' => '/api/v1/instances/{instanceId}/maintenanceWindow',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1591,22 +2513,64 @@
[
'name' => 'instanceId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'startTime' => ['type' => 'string', 'required' => false],
+ 'endTime' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'GetRootCertificate' => [
- 'path' => '/api/v1/instances/{instanceId}/rootCertificate',
- 'methods' => [
- 'get',
+ 'UpdateModelService' => [
+ 'path' => '/api/v1/instances/{instanceId}/updateModelService',
+ 'methods' => ['patch'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'modelServiceName' => ['type' => 'string', 'required' => true],
+ 'modelType' => ['type' => 'string', 'required' => false],
+ 'cpu' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'memory' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'gpu' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'serviceCount' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ ],
+ ],
],
+ ],
+ 'UpdateOperationEventScheduleTime' => [
+ 'path' => '/api/v1/instances/{instanceId}/updateOperationEventScheduleTime',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1617,22 +2581,65 @@
[
'name' => 'instanceId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'id' => ['type' => 'string', 'required' => true],
+ 'scheduleTime' => ['type' => 'string', 'required' => true],
+ ],
],
],
],
],
- 'RenewSSLCertificate' => [
- 'path' => '/api/v1/instances/{instanceId}/renewSSLCertificate',
- 'methods' => [
- 'post',
+ 'UpdateScheduledBackupConfig' => [
+ 'path' => '/api/v1/backups/scheduledConfig',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'instanceId' => ['type' => 'string', 'required' => false],
+ 'enabled' => ['type' => 'boolean', 'required' => false],
+ 'week' => ['type' => 'string', 'required' => false],
+ 'hour' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'dataKeepQuantity' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'dstRegion' => ['type' => 'string', 'required' => false],
+ 'zoneId' => ['type' => 'string', 'required' => false],
+ 'manualDataKeepQuantity' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'scheduleType' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
],
+ ],
+ 'UpdateWarehouseScheduleTask' => [
+ 'path' => '/api/v1/instances/{instanceId}/updateWarehouseScheduleTask',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1643,78 +2650,83 @@
[
'name' => 'instanceId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'warehouseId' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ 'startTime' => ['type' => 'string', 'required' => false],
+ 'endTime' => ['type' => 'string', 'required' => false],
+ 'elasticCu' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'id' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
+ 'UpgradeInstance' => [
+ 'path' => '/api/v1/instances/{instanceId}/upgrade',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'upgradeTime',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
],
'endpoints' => [
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'hologram.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'hologram.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'hologram.ap-southeast-3.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'hologram.ap-southeast-5.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'hologram.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'hologram.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'hologram.cn-hongkong.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'hologram.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'hologram.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'hologram.cn-zhangjiakou.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'hologram.us-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'hologram.us-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'hologram.eu-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'hologram.ap-south-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'hologram.cn-shenzhen-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'hologram.cn-shanghai-finance-1.aliyuncs.com',
- ],
+ ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hologram.cn-shenzhen.aliyuncs.com', 'endpoint' => 'hologram.cn-shenzhen.aliyuncs.com', 'vpc' => 'hologram-vpc.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hologram.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'hologram.cn-wulanchabu.aliyuncs.com', 'vpc' => 'hologram-vpc.cn-wulanchabu.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hologram.cn-beijing.aliyuncs.com', 'endpoint' => 'hologram.cn-beijing.aliyuncs.com', 'vpc' => 'hologram-vpc.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-2', 'regionName' => '韩国(首尔)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hologram.ap-northeast-2.aliyuncs.com', 'endpoint' => 'hologram.ap-northeast-2.aliyuncs.com', 'vpc' => 'hologram-vpc.ap-northeast-2.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hologram.ap-northeast-1.aliyuncs.com', 'endpoint' => 'hologram.ap-northeast-1.aliyuncs.com', 'vpc' => 'hologram-vpc.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hologram.cn-chengdu.aliyuncs.com', 'endpoint' => 'hologram.cn-chengdu.aliyuncs.com', 'vpc' => 'hologram-vpc.cn-chengdu.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hologram.cn-shanghai.aliyuncs.com', 'endpoint' => 'hologram.cn-shanghai.aliyuncs.com', 'vpc' => 'hologram-vpc.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hologram.cn-hongkong.aliyuncs.com', 'endpoint' => 'hologram.cn-hongkong.aliyuncs.com', 'vpc' => 'hologram-vpc.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hologram.ap-southeast-1.aliyuncs.com', 'endpoint' => 'hologram.ap-southeast-1.aliyuncs.com', 'vpc' => 'hologram-vpc.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hologram.ap-southeast-3.aliyuncs.com', 'endpoint' => 'hologram.ap-southeast-3.aliyuncs.com', 'vpc' => 'hologram-vpc.ap-southeast-3.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hologram.ap-southeast-5.aliyuncs.com', 'endpoint' => 'hologram.ap-southeast-5.aliyuncs.com', 'vpc' => 'hologram-vpc.ap-southeast-5.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hologram.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'hologram.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'hologram-vpc.cn-zhangjiakou.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'hologram.cn-hangzhou.aliyuncs.com', 'endpoint' => 'hologram.cn-hangzhou.aliyuncs.com', 'vpc' => 'hologram-vpc.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'hologram.us-west-1.aliyuncs.com', 'endpoint' => 'hologram.us-west-1.aliyuncs.com', 'vpc' => 'hologram-vpc.us-west-1.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'hologram.us-east-1.aliyuncs.com', 'endpoint' => 'hologram.us-east-1.aliyuncs.com', 'vpc' => 'hologram-vpc.us-east-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'hologram.eu-central-1.aliyuncs.com', 'endpoint' => 'hologram.eu-central-1.aliyuncs.com', 'vpc' => 'hologram-vpc.eu-central-1.aliyuncs.com'],
+ ['regionId' => 'na-south-1', 'regionName' => '墨西哥', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'hologram.na-south-1.aliyuncs.com', 'endpoint' => 'hologram.na-south-1.aliyuncs.com', 'vpc' => 'hologram-vpc.na-south-1.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'hologram.eu-west-1.aliyuncs.com', 'endpoint' => 'hologram.eu-west-1.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'hologram.me-east-1.aliyuncs.com', 'endpoint' => 'hologram.me-east-1.aliyuncs.com', 'vpc' => 'hologram-vpc.me-east-1.aliyuncs.com'],
+ ['regionId' => 'ap-south-1', 'regionName' => '印度(孟买)已关停', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'hologram.ap-south-1.aliyuncs.com', 'endpoint' => 'hologram.ap-south-1.aliyuncs.com', 'vpc' => 'hologram-vpc.ap-south-1.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'hologram.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'hologram.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'hologram-vpc.cn-shanghai-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'regionName' => '北京政务云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'hologram.cn-north-2-gov-1.aliyuncs.com', 'endpoint' => 'hologram.cn-north-2-gov-1.aliyuncs.com', 'vpc' => 'hologram-vpc.cn-north-2-gov-1.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'hologram.cn-shenzhen-finance-1.aliyuncs.com', 'endpoint' => 'hologram.cn-shenzhen-finance-1.aliyuncs.com', 'vpc' => 'hologram-vpc.cn-shenzhen-finance-1.aliyuncs.com'],
],
];