From 814ec806c22e2782390af5a4a05cb6281aabd5e1 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 16:56:35 +0800 Subject: update APIs 20260712 --- data/hologram/2022-06-01/api-docs.php | 2918 ++++++++++++++++++++++----------- 1 file changed, 1965 insertions(+), 953 deletions(-) (limited to 'data/hologram/2022-06-01/api-docs.php') 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 @@ '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,96 +196,90 @@ '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', - ], - 'produces' => [ - 'application/json', - ], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'external', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'boolean', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'instanceId' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'GrantTablePermission' => [ - 'path' => '/api/v1/instances/{instanceId}/grantTablePermission', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateModelService' => [ + 'path' => '/api/v1/instances/{instanceId}/createModelService', + 'methods' => ['post'], + 'schemes' => ['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, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -277,68 +289,39 @@ '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, - ], + '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], ], ], ], ], ], - 'GrantSchemaPermission' => [ - 'path' => '/api/v1/instances/{instanceId}/grantSchemaPermission', - '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, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', @@ -348,60 +331,35 @@ '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, - ], + 'userName' => ['type' => 'string', 'required' => false], + 'superUser' => ['type' => 'boolean', 'required' => false], ], ], ], ], ], - 'GrantDatabasePermission' => [ - 'path' => '/api/v1/instances/{instanceId}/grantDatabasePermission', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateWarehouse' => [ + 'path' => '/api/v1/warehouse/{instanceId}/create', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + '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], ], [ 'name' => 'body', @@ -411,36 +369,18 @@ '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, - ], + 'warehouseName' => ['type' => 'string', 'required' => false], + 'cpu' => ['type' => 'string', 'required' => false], + 'config' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'CreateInstance' => [ - 'path' => '/api/v1/instances/create', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateWarehouseScheduleTask' => [ + 'path' => '/api/v1/instances/{instanceId}/createWarehouseScheduleTask', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -448,130 +388,1354 @@ ], 'deprecated' => false, 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ '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', + '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' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'id', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + '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' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => true], + ], + ], + ], + ], + ], + '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' => [], + ], + ], + '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'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'modelServiceName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + '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' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'warehouseId' => ['type' => 'string', 'required' => false], + 'id' => ['type' => 'string', 'required' => true], + ], + ], + ], + ], + ], + '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], + ], + ], + ], + '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' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'id' => ['type' => 'string', 'required' => true], + ], + ], + ], + ], + ], + 'DisableSSL' => [ + 'path' => '/api/v1/instances/{instanceId}/disableSSL', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + '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' => false], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + ], + 'DiscardUpgrade' => [ + 'path' => '/api/v1/instances/{instanceId}/upgrade/discard', + '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], + ], + ], + ], + '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' => 'object', + 'required' => false, + 'properties' => [ + 'userName' => ['type' => 'string', 'required' => false], + 'superUser' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + ], + 'EnableExecuteStatement' => [ + 'path' => '/api/v1/instances/{instanceId}/enableExecuteStatement', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'EnableSSL' => [ + 'path' => '/api/v1/instances/{instanceId}/enableSSL', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [], + ], + ], + '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' => 'object', + 'required' => false, + 'properties' => [ + 'password' => ['type' => 'string', 'required' => false], + 'expireTime' => ['type' => 'string', 'required' => false], + 'enabled' => ['type' => 'boolean', 'required' => false], + ], + ], + ], + ], + ], + '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' => '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', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'dbName' => ['type' => 'string', 'required' => false], + 'sql' => ['type' => 'string', 'required' => false], + 'parameters' => [ + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'any', 'required' => false], ], - 'storageSize' => [ - 'type' => 'integer', - 'format' => 'int64', + 'maxRows' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'maxBytes' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'queryTimeout' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + ], + ], + ], + ], + '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' => [], + ], + ], + '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' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + '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' => [], + ], + ], + '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' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'instanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'scheduleType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'GetUpgradeStatus' => [ + 'path' => '/api/v1/instances/{instanceId}/upgrade/status', + '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], + ], + ], + ], + '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], + ], + ], + ], + 'GetWarehouseDetail' => [ + 'path' => '/api/v1/instances/{instanceId}/getWarehouseDetail', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => 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], ], - 'coldStorageSize' => [ - 'type' => 'integer', - 'format' => 'int64', + 'userName' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + ], + 'GrantSchemaPermission' => [ + 'path' => '/api/v1/instances/{instanceId}/grantSchemaPermission', + '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' => 'object', + 'required' => false, + 'properties' => [ + 'databaseName' => ['type' => 'string', 'required' => false], + 'privileges' => [ + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], - 'gatewayCount' => [ - 'type' => 'integer', - 'format' => 'int64', + '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', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'databaseName' => ['type' => 'string', 'required' => false], + 'privileges' => [ + 'type' => 'array', 'required' => false, - 'minimum' => '2', - 'maximum' => '50', + 'items' => ['type' => 'string', 'required' => false], ], - 'chargeType' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'PrePaid', - 'PostPaid', - ], - ], - 'autoPay' => [ - 'type' => 'boolean', - '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'], ], - 'pricingCycle' => [ - 'type' => 'string', + ], + ], + ], + ], + ], + 'ListBackupData' => [ + 'path' => '/api/v1/backups', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => [], + ], + ], + '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' => [], + ], + ], + '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' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'resourceGroupId' => ['type' => 'string', 'required' => false], + 'tag' => [ + 'type' => 'array', 'required' => false, - 'enum' => [ - 'Month', - 'Hour', + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], ], ], - '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, - ], + 'cmsInstanceType' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'DeleteInstance' => [ - 'path' => '/api/v1/instances/{instanceId}/delete', - 'methods' => [ - 'post', + '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' => [], + ], + ], + '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' => '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], + ], + ], + ], + ], + ], + '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' => [], + ], + ], + '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' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + '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], + ], + ], + ], + ], + ], + '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' => [], + ], + ], + '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' => 'object', + 'required' => false, + 'properties' => [ + 'zoneId' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + ], + 'PrepareUpgrade' => [ + 'path' => '/api/v1/instances/{instanceId}/upgrade/prepare', + '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], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'version' => ['type' => 'string', 'required' => false], + 'dryRun' => ['type' => 'boolean', 'required' => false], + ], + ], + ], ], + ], + 'RebalanceHoloWarehouse' => [ + 'path' => '/api/v1/instances/{instanceId}/rebalanceHoloWarehouse', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -580,32 +1744,59 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'RegionId', - 'in' => 'query', + '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], + ], ], ], + ], + ], + 'RenameHoloWarehouse' => [ + 'path' => '/api/v1/instances/{instanceId}/renameHoloWarehouse', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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], + 'newWarehouseName' => ['type' => 'string', 'required' => true], + ], ], ], ], ], 'RenewInstance' => [ 'path' => '/api/v1/instances/{instanceId}/renew', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -616,10 +1807,7 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -629,29 +1817,17 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'duration' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], - 'autoRenew' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'duration' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + 'autoRenew' => ['type' => 'boolean', 'required' => false], ], ], ], ], ], - 'RestartInstance' => [ - 'path' => '/api/v1/instances/{instanceId}/restart', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'RenewSSLCertificate' => [ + 'path' => '/api/v1/instances/{instanceId}/renewSSLCertificate', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -662,22 +1838,14 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ResumeInstance' => [ - 'path' => '/api/v1/instances/{instanceId}/resume', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'RestartHoloWarehouse' => [ + 'path' => '/api/v1/instances/{instanceId}/restartHoloWarehouse', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -688,22 +1856,44 @@ [ '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], + ], ], ], ], ], - 'UpdateInstanceName' => [ - 'path' => '/api/v1/instances/{instanceId}/instanceName', - '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' => [], @@ -714,10 +1904,7 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -727,38 +1914,47 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'instanceName' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => ['type' => 'string', 'required' => true], ], ], ], ], ], - 'UpdateInstanceNetworkType' => [ - 'path' => '/api/v1/instances/{instanceId}/network', - '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' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', @@ -768,112 +1964,106 @@ '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', + 'databaseName' => ['type' => 'string', 'required' => false], + 'userName' => ['type' => 'string', 'required' => false], + 'privileges' => [ + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], - 'DisableHiveAccess' => [ - 'path' => '/api/v1/instances/{instanceId}/disableHiveAccess', - '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' => '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' => [ + '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], + ], + ], ], ], ], ], - 'EnableHiveAccess' => [ - 'path' => '/api/v1/instances/{instanceId}/enableHiveAccess', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'RevokeTablePermission' => [ + 'path' => '/api/v1/instances/{instanceId}/revokeTablePermission', + 'methods' => ['put'], + 'schemes' => ['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' => [ + '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'], + ], + ], ], ], ], ], - 'StopInstance' => [ - 'path' => '/api/v1/instances/{instanceId}/stop', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ScaleHoloWarehouse' => [ + 'path' => '/api/v1/instances/{instanceId}/scaleHoloWarehouse', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -882,24 +2072,30 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + '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', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -910,10 +2106,7 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -923,51 +2116,43 @@ '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, - ], + '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, + 'enum' => ['UPGRADE', 'DOWNGRADE'], ], + 'gatewayCount' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'enableServerlessComputing' => ['type' => 'boolean', 'required' => false], ], ], ], ], ], - 'ChangeResourceGroup' => [ - 'path' => '/api/v1/tag/changeResourceGroup', - 'methods' => [ - 'post', + 'StopInstance' => [ + 'path' => '/api/v1/instances/{instanceId}/stop', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - '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' => [], @@ -975,6 +2160,11 @@ ], 'deprecated' => false, 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], [ 'name' => 'body', 'in' => 'body', @@ -983,41 +2173,28 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'newResourceGroupId' => [ - 'type' => 'string', - 'required' => false, - ], - 'instanceId' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => ['type' => 'string', 'required' => true], ], ], ], ], ], - 'ListInstances' => [ - 'path' => '/api/v1/instances', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'TagResources' => [ + 'path' => '/api/v1/tag', + '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' => 'body', 'in' => 'body', @@ -1026,46 +2203,39 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'resourceGroupId' => [ - 'type' => 'string', + 'category' => ['type' => 'string', 'required' => false], + 'tagOwnerUid' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'resourceIds' => [ + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], - 'tag' => [ + 'tags' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'cmsInstanceType' => [ - 'type' => 'string', - 'required' => false, + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], ], ], ], ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], ], - 'GetInstance' => [ - 'path' => '/api/v1/instances/{instanceId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UnBindLeaderInstance' => [ + 'path' => '/api/v1/instances/{instanceId}/unBindReadOnly', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1073,25 +2243,22 @@ ], '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], ], ], ], - 'CreateHoloWarehouse' => [ - 'path' => '/api/v1/instances/{instanceId}/createHoloWarehouse', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UntagResources' => [ + 'path' => '/api/v1/tag/unTag', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1100,12 +2267,9 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', @@ -1115,33 +2279,28 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'cpu' => [ - 'type' => 'string', - 'required' => true, + '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], ], - 'clusterCount' => [ - 'type' => 'integer', - 'format' => 'int64', + 'tagKeys' => [ + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], - 'DeleteHoloWarehouse' => [ - 'path' => '/api/v1/instances/{instanceId}/deleteHoloWarehouse', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateAutoUpgrade' => [ + 'path' => '/api/v1/instances/{instanceId}/autoUpgrade', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1152,10 +2311,7 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', @@ -1165,24 +2321,20 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'name' => [ + 'autoUpgrade' => [ 'type' => 'string', - 'required' => true, + 'required' => false, + 'enum' => ['manual', 'auto'], ], ], ], ], ], ], - 'RebalanceHoloWarehouse' => [ - 'path' => '/api/v1/instances/{instanceId}/rebalanceHoloWarehouse', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateBackupDataDesc' => [ + 'path' => '/api/v1/backups/{id}/desc', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1191,12 +2343,9 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', @@ -1206,24 +2355,22 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => true, - ], + 'instanceId' => ['type' => 'string', 'required' => false], + 'desc' => ['type' => 'string', 'required' => false], ], ], ], + [ + 'name' => 'id', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], ], ], - 'ResumeHoloWarehouse' => [ - 'path' => '/api/v1/instances/{instanceId}/resumeHoloWarehouse', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateHoloWebLoginSetting' => [ + 'path' => '/api/v1/instances/{instanceId}/updateHoloWebLoginSetting', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1231,13 +2378,15 @@ ], 'deprecated' => false, 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', @@ -1247,24 +2396,16 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => true, - ], + 'allowExternalAccountsLogin' => ['type' => 'boolean', 'required' => false], ], ], ], ], ], - 'SuspendHoloWarehouse' => [ - 'path' => '/api/v1/instances/{instanceId}/suspendHoloWarehouse', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateInstanceName' => [ + 'path' => '/api/v1/instances/{instanceId}/instanceName', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1275,10 +2416,7 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', @@ -1288,24 +2426,16 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => true, - ], + 'instanceName' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'RenameHoloWarehouse' => [ - 'path' => '/api/v1/instances/{instanceId}/renameHoloWarehouse', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateInstanceNetworkType' => [ + 'path' => '/api/v1/instances/{instanceId}/network', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1316,10 +2446,7 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', @@ -1329,35 +2456,35 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'newWarehouseName' => [ - 'type' => 'string', - 'required' => true, - ], + '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], ], ], ], ], ], - 'ScaleHoloWarehouse' => [ - 'path' => '/api/v1/instances/{instanceId}/scaleHoloWarehouse', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateInstancePort' => [ + 'path' => '/api/v1/instances/{instanceId}/updatePort', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => [], + 'produces' => [], 'deprecated' => false, 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], [ 'name' => 'body', 'in' => 'body', @@ -1366,42 +2493,16 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'cpu' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'clusterCount' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'port' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], ], ], - 'RestartHoloWarehouse' => [ - 'path' => '/api/v1/instances/{instanceId}/restartHoloWarehouse', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateMaintenanceWindow' => [ + 'path' => '/api/v1/instances/{instanceId}/maintenanceWindow', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1412,10 +2513,7 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'body', @@ -1425,50 +2523,54 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => true, - ], + 'startTime' => ['type' => 'string', 'required' => false], + 'endTime' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'GetWarehouseDetail' => [ - 'path' => '/api/v1/instances/{instanceId}/getWarehouseDetail', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateModelService' => [ + 'path' => '/api/v1/instances/{instanceId}/updateModelService', + 'methods' => ['patch'], + 'schemes' => ['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' => [ + '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], + ], ], ], ], ], - 'ListWarehouses' => [ - 'path' => '/api/v1/instances/{instanceId}/listWarehouses', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateOperationEventScheduleTime' => [ + 'path' => '/api/v1/instances/{instanceId}/updateOperationEventScheduleTime', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1479,22 +2581,27 @@ [ '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], + ], ], ], ], ], - 'ListBackupData' => [ - 'path' => '/api/v1/backups', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateScheduledBackupConfig' => [ + 'path' => '/api/v1/backups/scheduledConfig', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1503,32 +2610,36 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'backupType', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + '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], + ], ], ], ], ], - 'EnableSSL' => [ - 'path' => '/api/v1/instances/{instanceId}/enableSSL', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateWarehouseScheduleTask' => [ + 'path' => '/api/v1/instances/{instanceId}/updateWarehouseScheduleTask', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1539,48 +2650,30 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'DisableSSL' => [ - 'path' => '/api/v1/instances/{instanceId}/disableSSL', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + 'schema' => ['type' => 'string', 'required' => true], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'instanceId', - 'in' => 'path', + '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], + ], ], ], ], ], - 'GetCertificateAttribute' => [ - 'path' => '/api/v1/instances/{instanceId}/certificateAttribute', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpgradeInstance' => [ + 'path' => '/api/v1/instances/{instanceId}/upgrade', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1589,132 +2682,51 @@ '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' => [], + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'deprecated' => false, - 'parameters' => [ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'RenewSSLCertificate' => [ - 'path' => '/api/v1/instances/{instanceId}/renewSSLCertificate', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'upgradeTime', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'instanceId', - 'in' => 'path', - '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'], ], ]; -- cgit v1.2.3