diff options
| author | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
| commit | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch) | |
| tree | 0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/hologram | |
| download | acs-metadata-full-1.0.0+20260212.tar.gz acs-metadata-full-1.0.0+20260212.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/en_us/hologram')
| -rw-r--r-- | data/en_us/hologram/2022-06-01/api-docs.php | 5793 |
1 files changed, 5793 insertions, 0 deletions
diff --git a/data/en_us/hologram/2022-06-01/api-docs.php b/data/en_us/hologram/2022-06-01/api-docs.php new file mode 100644 index 0000000..ce716c5 --- /dev/null +++ b/data/en_us/hologram/2022-06-01/api-docs.php @@ -0,0 +1,5793 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'ROA', + 'product' => 'Hologram', + 'version' => '2022-06-01', + ], + 'directories' => [ + [ + 'id' => 321219, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'RevokeTablePermission', + 'RevokeSchemaPermission', + 'RevokeDatabasePermission', + 'ListDatabases', + 'GrantTablePermission', + 'GrantSchemaPermission', + 'GrantDatabasePermission', + ], + ], + [ + 'id' => 321227, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateInstance', + 'DeleteInstance', + 'RenewInstance', + 'RestartInstance', + 'ResumeInstance', + 'UpdateInstanceName', + 'UpdateInstanceNetworkType', + 'DisableHiveAccess', + 'EnableHiveAccess', + 'StopInstance', + 'ScaleInstance', + 'ChangeResourceGroup', + 'ListInstances', + 'GetInstance', + ], + ], + [ + 'id' => 321242, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateHoloWarehouse', + 'DeleteHoloWarehouse', + 'RebalanceHoloWarehouse', + 'ResumeHoloWarehouse', + 'SuspendHoloWarehouse', + 'RenameHoloWarehouse', + 'ScaleHoloWarehouse', + 'RestartHoloWarehouse', + 'GetWarehouseDetail', + 'ListWarehouses', + ], + ], + [ + 'id' => 321253, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'ListBackupData', + ], + ], + [ + 'id' => 321255, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'EnableSSL', + 'DisableSSL', + 'GetCertificateAttribute', + 'GetRootCertificate', + 'RenewSSLCertificate', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'RevokeTablePermission' => [ + 'summary' => '取消表授权', + 'path' => '/api/v1/instances/{instanceId}/revokeTablePermission', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREhologramFOIKRO', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'hgprecn-cn-i7m2v08uu00a'."\n", + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'databaseName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test_db', + ], + 'userName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'p4_1234xxxx', + ], + 'schemaName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'my_schema', + ], + 'tableName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'my_table', + ], + 'privileges' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'INSERT', + ], + 'required' => false, + ], + 'allTable' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '819A7F0F-2951-540F-BD94-6A41ECF0281F', + ], + 'data' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"819A7F0F-2951-540F-BD94-6A41ECF0281F\\",\\n \\"data\\": true\\n}","type":"json"}]', + ], + 'RevokeSchemaPermission' => [ + 'summary' => '取消Schema授权', + 'path' => '/api/v1/instances/{instanceId}/revokeSchemaPermission', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREhologramFOIKRO', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'hgprecn-cn-xxxxxxx', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'databaseName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test_db', + ], + 'userName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'p4_1234xxxx', + ], + 'schemaName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'my_schema', + ], + 'privileges' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'developer', + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '819A7F0F-2951-540F-BD94-6A41ECF0281F', + ], + 'data' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"819A7F0F-2951-540F-BD94-6A41ECF0281F\\",\\n \\"data\\": true\\n}","type":"json"}]', + ], + 'RevokeDatabasePermission' => [ + 'summary' => '取消DB授权', + 'path' => '/api/v1/instances/{instanceId}/revokeDatabasePermission', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREhologramFOIKRO', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'hgpostcn-cn-zpr3426vxxx', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'databaseName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test_db', + ], + 'userName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'p4_1234xxxx', + ], + 'privileges' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'developer', + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '819A7F0F-2951-540F-BD94-6A41ECF0281F', + ], + 'data' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"819A7F0F-2951-540F-BD94-6A41ECF0281F\\",\\n \\"data\\": true\\n}","type":"json"}]', + ], + 'ListDatabases' => [ + 'summary' => '获取DB列表', + 'path' => '/api/v1/instances/{instanceId}/listDatabases', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREhologramE3EYZP', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'hgpostcn-cn-jfj3zckut008', + ], + ], + [ + 'name' => 'external', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '0C4935F5-6217-569A-902F-931B2F3E28BA', + ], + 'DatabaseList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'my_db', + ], + 'PermissionModel' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'SPM', + ], + 'Privilege' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'developer', + ], + 'External' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + ], + ], + ], + 'Success' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'RAM user permission is insufficient, please grant AliyunHologresReadOnlyAccess permission.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C4935F5-6217-569A-902F-931B2F3E28BA\\",\\n \\"DatabaseList\\": [\\n {\\n \\"Name\\": \\"my_db\\",\\n \\"PermissionModel\\": \\"SPM\\",\\n \\"Privilege\\": \\"developer\\",\\n \\"External\\": false\\n }\\n ],\\n \\"Success\\": \\"true\\",\\n \\"ErrorCode\\": \\"null\\",\\n \\"ErrorMessage\\": \\"null\\",\\n \\"HttpStatusCode\\": \\"200\\"\\n}","type":"json"}]', + ], + 'GrantTablePermission' => [ + 'summary' => 'DB授权', + 'path' => '/api/v1/instances/{instanceId}/grantTablePermission', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'hgpostcn-cn-zpr3426xxx', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'databaseName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => ' my_db', + ], + 'privileges' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'INSERT', + ], + 'required' => false, + ], + 'userName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'p4_1234xxxx', + ], + 'schemaName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'my_schema', + ], + 'tableName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'orders_pay', + ], + 'allTable' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A'."\n", + ], + 'Success' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Data' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'RAM user permission is insufficient, please grant AliyunHologresReadOnlyAccess permission.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A\\\\n\\",\\n \\"Success\\": \\"true\\",\\n \\"ErrorCode\\": \\"null\\",\\n \\"ErrorMessage\\": \\"null\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Data\\": true\\n}","type":"json"}]', + ], + 'GrantSchemaPermission' => [ + 'summary' => 'DB授权', + 'path' => '/api/v1/instances/{instanceId}/grantSchemaPermission', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'hgpostcn-cn-lbj33559xxxx', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'databaseName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'db_demo', + ], + 'privileges' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'developer', + ], + 'required' => false, + ], + 'userName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'p4_134xxx', + ], + 'schemaName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'my_schema', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A'."\n", + ], + 'Success' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Data' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'RAM user permission is insufficient, please grant AliyunHologresReadOnlyAccess permission.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A\\\\n\\",\\n \\"Success\\": \\"true\\",\\n \\"ErrorCode\\": \\"null\\",\\n \\"ErrorMessage\\": \\"null\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Data\\": true\\n}","type":"json"}]', + ], + 'GrantDatabasePermission' => [ + 'summary' => 'DB授权', + 'path' => '/api/v1/instances/{instanceId}/grantDatabasePermission', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'hgpostcn-cn-zpr3426vm002', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'databaseName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test_db', + ], + 'privileges' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'developer', + ], + 'required' => false, + ], + 'userName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'p4_123444xxx', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A', + ], + 'Success' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Data' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'RAM user permission is insufficient, please grant AliyunHologresReadOnlyAccess permission.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A\\",\\n \\"Success\\": \\"true\\",\\n \\"ErrorCode\\": \\"null\\",\\n \\"ErrorMessage\\": \\"null\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Data\\": true\\n}","type":"json"}]', + ], + 'CreateInstance' => [ + 'summary' => 'Creates a Hologres instance.', + 'path' => '/api/v1/instances/create', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'high', + 'chargeType' => 'paid', + 'abilityTreeNodes' => [ + 'FEATUREhologramUCU2YC', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body.'."\n", + 'type' => 'object', + 'properties' => [ + 'regionId' => [ + 'description' => 'The ID of the region. You can obtain region IDs in [Endpoints](https://www.alibabacloud.com/help/en/maxcompute/user-guide/endpoints).', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + 'zoneId' => [ + 'description' => 'The ID of the zone. For more information, see the "Operation description" section in this topic.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou-h', + ], + 'vpcId' => [ + 'description' => 'The ID of the virtual private cloud (VPC). The region in which the VPC resides must be the same as the region in which the Hologres instance resides.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'vpc-t4netc3y5xxxx', + ], + 'vSwitchId' => [ + 'description' => 'The ID of the vSwitch. The zone in which the vSwitch resides must be the same as the zone in which the Hologres instance resides.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'vsw-2vccsiymtxxxxxx', + ], + 'resourceGroupId' => [ + 'description' => 'The ID of the resource group. If you do not specify this parameter, the default resource group of the account is used.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '""', + ], + 'instanceName' => [ + 'description' => 'The name of the instance. The name must be 2 to 64 characters in length.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my_holo', + ], + 'instanceType' => [ + 'description' => 'The category of the instance. Valid values:'."\n" + ."\n" + .'* Standard: general-purpose instance'."\n" + .'* Follower: read-only secondary instance'."\n" + .'* Warehouse: virtual warehouse instance'."\n" + .'* Shared: Hologres Shared Cluster instance'."\n", + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'Warehouse' => 'Warehouse', + 'Follower' => 'Follower', + 'Standard' => 'Standard', + 'Shared' => 'Shared', + ], + 'example' => 'Standard', + 'enum' => [ + 'Standard', + 'Follower', + 'Warehouse', + 'Shared', + ], + ], + 'cpu' => [ + 'description' => 'The instance specifications. Valid values:'."\n" + ."\n" + .'* 8-core 32GB (number of compute nodes: 1)'."\n" + .'* 32-core 128GB (number of compute nodes: 2)'."\n" + .'* 64-core 256GB (number of compute nodes: 4)'."\n" + .'* 96-core 384GB (number of compute nodes: 6)'."\n" + .'* 128-core 512GB (number of compute nodes: 8)'."\n" + .'* Others'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* Set this parameter to the number of cores.'."\n" + ."\n" + .'* If you want to set this parameter to specifications with more than 1,024 GB, you must submit a ticket.'."\n" + ."\n" + .'* This parameter is invalid for Hologres Shared Cluster instances.'."\n" + ."\n" + .'* The specifications of 8-core 32GB (number of compute nodes: 1) are for trial use only and cannot be used for production.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '64', + ], + 'storageSize' => [ + 'description' => 'The standard storage space of the instance. Unit: GB.'."\n" + ."\n" + .'> This parameter is invalid for pay-as-you-go instances.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '500', + ], + 'coldStorageSize' => [ + 'description' => 'The infrequent access (IA) storage space of the instance. Unit: GB.'."\n" + ."\n" + .'> This parameter is invalid for pay-as-you-go instances.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '500', + ], + 'gatewayCount' => [ + 'description' => 'The number of gateways. Valid values: 2 to 50.'."\n" + ."\n" + .'> This parameter is required only for virtual warehouse instances.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '50', + 'minimum' => '2', + 'example' => '4', + ], + 'chargeType' => [ + 'description' => 'The billing method of the instance. Valid values:'."\n" + ."\n" + .'* PrePaid: subscription'."\n" + .'* PostPaid: pay-as-you-go'."\n" + ."\n" + .'> This parameter is invalid for Hologres Shared Cluster instances. Hologres Shared Cluster instances have fixed specifications and are pay-as-you-go instances.'."\n", + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'PostPaid' => 'PostPaid', + 'PrePaid' => 'PrePaid', + ], + 'example' => 'PostPaid', + 'enum' => [ + 'PrePaid', + 'PostPaid', + ], + ], + 'autoPay' => [ + 'description' => 'Specifies whether to enable auto-payment. Default value: true. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n" + ."\n" + .'> The default value is true. If the balance of your account is insufficient, you can set this parameter to false. In this case, an unpaid order is generated. You can log on to the Expenses and Costs console to pay for the order.'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'pricingCycle' => [ + 'description' => 'The billing cycle. Valid values:'."\n" + ."\n" + .'* Month'."\n" + .'* Hour'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* This parameter can only be set to Month for subscription instances.'."\n" + ."\n" + .'* This parameter can only be set to Hour for pay-as-you-go instances.'."\n" + ."\n" + .'* By default, this parameter is set to Hour for Hologres Shared Cluster instances.'."\n", + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Month' => 'Month', + 'Hour' => 'Hour', + ], + 'example' => 'Month', + 'enum' => [ + 'Month', + 'Hour', + ], + ], + 'duration' => [ + 'description' => 'The validity period of the instance that you want to purchase. For example, you can specify a validity period of two months.'."\n" + ."\n" + .'> You do not need to configure this parameter for pay-as-you-go instances.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '2', + ], + 'autoRenew' => [ + 'description' => 'Specifies whether to enable monthly auto-renewal. The default value is false. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'leaderInstanceId' => [ + 'description' => 'The ID of the primary instance. This parameter is required for read-only secondary instances.'."\n" + ."\n" + .'> The primary and secondary instances must meet the following requirements:'."\n" + ."\n" + .'* The primary instance is in the Running state.'."\n" + ."\n" + .'* The primary instance and secondary instances are deployed in the same region.'."\n" + ."\n" + .'* The primary instance and secondary instances are deployed in the same zone.'."\n" + ."\n" + .'* Less than 10 secondary instances are associated with the primary instance.'."\n" + ."\n" + .'* The primary instance and secondary instances belong to the same Alibaba Cloud account.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'hgpostcn-cn-lbj3aworq112', + ], + 'initialDatabases' => [ + 'description' => 'The initial database.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'chatbot', + ], + 'enableServerlessComputing' => [ + 'description' => 'Specifies whether to enable the Serverless Computing feature.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + 'storageType' => [ + 'type' => 'string', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The schema of the response.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '9CC37B9F-F4B4-5FF1-939B-AEE78DC70130', + ], + 'Data' => [ + 'description' => 'The returned data.'."\n", + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'example' => 'hgpostcn-cn-xxxxxx', + ], + 'OrderId' => [ + 'description' => 'The order ID.'."\n", + 'type' => 'string', + 'example' => '217523224780172', + ], + 'Code' => [ + 'description' => 'The error code returned.'."\n", + 'type' => 'string', + 'example' => 'InvalidVpcOrVSwitch.NotAvailable', + ], + 'Message' => [ + 'description' => 'The error details.'."\n", + 'type' => 'string', + 'example' => 'Vpc is not available', + ], + 'Success' => [ + 'description' => 'Indicates whether the instance was created.'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'string', + 'example' => 'true', + ], + ], + ], + 'HttpStatusCode' => [ + 'description' => 'The HTTP status code.'."\n", + 'type' => 'string', + 'example' => '200', + ], + 'ErrorMessage' => [ + 'description' => 'The error message returned.'."\n", + 'type' => 'string', + 'example' => 'null', + ], + 'ErrorCode' => [ + 'description' => 'The error code returned.'."\n", + 'type' => 'string', + 'example' => 'null', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9CC37B9F-F4B4-5FF1-939B-AEE78DC70130\\",\\n \\"Data\\": {\\n \\"InstanceId\\": \\"hgpostcn-cn-xxxxxx\\",\\n \\"OrderId\\": \\"217523224780172\\",\\n \\"Code\\": \\"InvalidVpcOrVSwitch.NotAvailable\\",\\n \\"Message\\": \\"InvalidVpcOrVSwitch.NotAvailable\\\\n\\",\\n \\"Success\\": \\"true\\"\\n },\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"ErrorMessage\\": \\"null\\",\\n \\"ErrorCode\\": \\"null\\"\\n}","type":"json"}]', + 'title' => 'CreateInstance', + 'description' => '> Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.'."\n" + ."\n" + .'* For more information about the billing details of Hologres, see [Pricing](https://www.alibabacloud.com/help/en/hologres/developer-reference/api-hologram-2022-06-01-createinstance).'."\n" + .'* When you purchase a Hologres instance, you must specify the region and zone in which the Hologres instance resides. A region may correspond to multiple zones. Example:'."\n" + ."\n" + .'<!---->'."\n" + ."\n" + .' cn-hangzhou: cn-hangzhou-h, cn-hangzhou-j'."\n" + .' cn-shanghai: cn-shanghai-e, cn-shanghai-f'."\n" + .' cn-beijing: cn-beijing-i, cn-beijing-g'."\n" + .' cn-zhangjiakou: cn-zhangjiakou-b'."\n" + .' cn-shenzhen: cn-shenzhen-e'."\n" + .' cn-hongkong: cn-hongkong-b'."\n" + .' cn-shanghai-finance-1: cn-shanghai-finance-1z'."\n" + .' ap-northeast-1: ap-northeast-1a'."\n" + .' ap-southeast-1: ap-southeast-1c'."\n" + .' ap-southeast-3: ap-southeast-3b'."\n" + .' ap-southeast-5: ap-southeast-5b'."\n" + .' ap-south-1: ap-south-1b'."\n" + .' eu-central-1: eu-central-1a'."\n" + .' us-east-1: us-east-1a'."\n" + .' us-west-1: us-west-1b', + 'responseParamsDescription' => 'If parameter verification fails, data is returned. In the returned data, Success is set to false, and the Code and Message parameters are included. The value of HttpStatusCode is 200.', + ], + 'DeleteInstance' => [ + 'summary' => 'Deletes a Hologres instance.', + 'path' => '/api/v1/instances/{instanceId}/delete', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'high', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the region in which the Hologres instance resides.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'hgpostcn-cn-7mz2vmu30003', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The schema of the response.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'CB13FFDD-2DF8-5396-A848-2D6A31245B6D', + ], + 'Data' => [ + 'description' => 'The returned result, which indicates whether the request was successful.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* true'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* false'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n", + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + 'Success' => [ + 'description' => 'Indicates whether the call was successful.'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => 'The error code returned.'."\n", + 'type' => 'string', + 'example' => 'null', + ], + 'ErrorMessage' => [ + 'description' => 'The error message returned.'."\n", + 'type' => 'string', + 'example' => 'null', + ], + 'HttpStatusCode' => [ + 'description' => 'The HTTP status Code'."\n", + 'type' => 'string', + 'example' => '200', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CB13FFDD-2DF8-5396-A848-2D6A31245B6D\\",\\n \\"Data\\": true,\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"null\\",\\n \\"ErrorMessage\\": \\"null\\",\\n \\"HttpStatusCode\\": \\"200\\"\\n}","type":"json"}]', + 'title' => 'DeleteInstance', + 'description' => '> Before you call this operation, read the documentation and make sure that you understand the prerequisites and impacts of this operation.'."\n" + ."\n" + .'* After you delete a Hologres instance, data and objects in the instance cannot be restored. Proceed with caution. For more information, see [Billing overview](https://www.alibabacloud.com/help/zh/hologres/product-overview/billing-overview?spm=a2c63.p38356.0.0.efc33b87i5pDl7).'."\n" + .'* You can delete only pay-as-you-go instances.'."\n", + ], + 'RenewInstance' => [ + 'summary' => 'Manually renews a Hologres instance. You can enable monthly auto-renewal when you renew a Hologres instance.', + 'path' => '/api/v1/instances/{instanceId}/renew', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => 'The ID of the instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'hgprecn-cn-i7m2v08uu00a', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body.'."\n", + 'type' => 'object', + 'properties' => [ + 'duration' => [ + 'description' => 'The renewal duration. Unit: month.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '2', + ], + 'autoRenew' => [ + 'description' => 'Specifies whether to enable monthly auto-renewal. The default value is false. Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n" + ."\n" + .'> If you enable auto-renewal for an instance for which auto-renewal is enabled, an error is reported.'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The schema of the response.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D3AE84AB-0873-5FC7-A4C4-8CF869D2FA70', + ], + 'Data' => [ + 'description' => 'The returned data.'."\n", + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => 'The error code returned.'."\n", + 'type' => 'string', + 'example' => 'InvalidChargeType.UnRenewable', + ], + 'Message' => [ + 'description' => 'The error details.'."\n", + 'type' => 'string', + 'example' => 'InvalidChargeType.UnRenewable'."\n", + ], + 'OrderId' => [ + 'description' => 'The ID of the order.'."\n", + 'type' => 'string', + 'example' => '221625608580893', + ], + 'Success' => [ + 'description' => 'Indicates whether the renewal was successful.'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + 'ErrorCode' => [ + 'description' => 'The error code returned.'."\n", + 'type' => 'string', + 'example' => 'null', + ], + 'ErrorMessage' => [ + 'description' => 'The error message returned.'."\n", + 'type' => 'string', + 'example' => 'null', + ], + 'HttpStatusCode' => [ + 'description' => 'The HTTP status code.'."\n", + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => 'The request result, which indicates whether the request was successful.'."\n", + 'type' => 'string', + 'example' => 'false', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D3AE84AB-0873-5FC7-A4C4-8CF869D2FA70\\",\\n \\"Data\\": {\\n \\"Code\\": \\"InvalidChargeType.UnRenewable\\",\\n \\"Message\\": \\"不支持续费的付费类型\\",\\n \\"OrderId\\": \\"221625608580893\\",\\n \\"Success\\": true\\n },\\n \\"ErrorCode\\": \\"null\\",\\n \\"ErrorMessage\\": \\"null\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Success\\": \\"false\\"\\n}","type":"json"}]', + 'title' => 'RenewInstance', + 'description' => '> Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.'."\n" + ."\n" + .'* For more information about the billing of Hologres, see [Billing overview](https://www.alibabacloud.com/help/zh/hologres/product-overview/billing-overview).'."\n" + .'* For more information about how to renew a Hologres instance, see [Manage renewals](https://www.alibabacloud.com/help/zh/hologres/product-overview/manage-renewals?spm=a2c63.p38356.0.0.38e731c9VAwtDP).'."\n" + .'* You can renew only subscription instances.'."\n", + 'responseParamsDescription' => '> '."\n" + ."\n" + .'* If parameter verification fails, data is returned. In the returned data, Success is set to false, and the Code and Message parameters are included. If no exception is returned, the result of this operation is indicated by the value of Success in the returned data.'."\n" + ."\n" + .'* In the latest version of SDK, the default timeout period on the client side is different from the default timeout period on the instance. If you use the latest version of SDK to call this operation, a timeout may be reported even if this operation is successfully called. To prevent this issue, you can set the ReadTimeout parameter to 20000 before you call this operation.'."\n" + ."\n" + .''."\n", + ], + 'RestartInstance' => [ + 'summary' => 'Restarts an instance.', + 'path' => '/api/v1/instances/{instanceId}/restart', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'hgprecn-cn-i7m2ucpyu005', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '36291497-CDB0-53DC-8CD7-762E054F57A6', + ], + 'Data' => [ + 'description' => 'Indicates whether the operation was successful.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* true'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* false'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n", + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + 'Success' => [ + 'description' => 'The request result, which indicates whether the request was successful.'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => 'The error code.'."\n", + 'type' => 'string', + 'example' => '404', + ], + 'ErrorMessage' => [ + 'description' => 'The error message.'."\n", + 'type' => 'string', + 'example' => 'Internal server error.', + ], + 'HttpStatusCode' => [ + 'description' => 'The HTTP status code.'."\n", + 'type' => 'string', + 'example' => '200', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"36291497-CDB0-53DC-8CD7-762E054F57A6\\",\\n \\"Data\\": true,\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"null\\",\\n \\"ErrorMessage\\": \\"null\\",\\n \\"HttpStatusCode\\": \\"200\\"\\n}","type":"json"}]', + 'title' => 'RestartInstance', + ], + 'ResumeInstance' => [ + 'summary' => 'Resumes an instance.', + 'path' => '/api/v1/instances/{instanceId}/resume', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'hgpostcn-cn-j672yny9g001', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'D3AE84AB-0873-5FC7-A4C4-8CF869D2FA70', + ], + 'Data' => [ + 'description' => 'The returned result, which indicates whether the operation was successful.'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'Success' => [ + 'description' => 'The request result, which indicates whether the request was successful.'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => 'The error code.'."\n", + 'type' => 'string', + 'example' => '404', + ], + 'ErrorMessage' => [ + 'description' => 'The error message.'."\n", + 'type' => 'string', + 'example' => 'Internal server error.', + ], + 'HttpStatusCode' => [ + 'description' => 'The HTTP status code.'."\n", + 'type' => 'string', + 'example' => '200', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D3AE84AB-0873-5FC7-A4C4-8CF869D2FA70\\",\\n \\"Data\\": true,\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"null\\",\\n \\"ErrorMessage\\": \\"null\\",\\n \\"HttpStatusCode\\": \\"200\\"\\n}","type":"json"}]', + 'title' => 'ResumeInstance', + ], + 'UpdateInstanceName' => [ + 'summary' => 'Changes the name of an instance.', + 'path' => '/api/v1/instances/{instanceId}/instanceName', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'hgpostcn-cn-zpr30pupt004', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body.'."\n", + 'type' => 'object', + 'properties' => [ + 'instanceName' => [ + 'description' => 'The new name of the instance. The name must be 2 to 64 characters in length.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'new_name', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'C6B55032-D41A-5FE0-9C07-8BD81C88422E', + ], + 'Data' => [ + 'description' => 'The returned result, which indicates whether the operation was successful.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* true'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* false'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n", + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + 'Success' => [ + 'description' => 'The request result, which indicates whether the request was successful.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* true'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* false'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n", + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => 'The error code.'."\n", + 'type' => 'string', + 'example' => '404', + ], + 'ErrorMessage' => [ + 'description' => 'The error message.'."\n", + 'type' => 'string', + 'example' => 'Internal server error.', + ], + 'HttpStatusCode' => [ + 'description' => 'The HTTP status code.'."\n", + 'type' => 'string', + 'example' => '200', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C6B55032-D41A-5FE0-9C07-8BD81C88422E\\",\\n \\"Data\\": true,\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"null\\",\\n \\"ErrorMessage\\": \\"null\\",\\n \\"HttpStatusCode\\": \\"200\\"\\n}","type":"json"}]', + 'title' => 'UpdateInstanceName', + ], + 'UpdateInstanceNetworkType' => [ + 'summary' => 'Modifies the network configuration of an instance.', + 'path' => '/api/v1/instances/{instanceId}/network', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'hgprecn-cn-lbj35pw74002', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body.'."\n", + 'type' => 'object', + 'properties' => [ + 'networkTypes' => [ + 'description' => 'A list of network types that you want to enable. The network types are randomly ordered in the list. For example, the Internet, Intranet, and VPCSingleTunnel network types are enabled. If you want to disable the Internet type, set this parameter to Intranet,VPCSingleTunnel.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* VPCSingleTunnel: virtual private cloud (VPC).'."\n" + .'* Intranet: internal network.'."\n" + .'* VPCAnyTunnel: compatibility requirements. This value is not supported by new instances.'."\n" + .'* Internet: Internet.'."\n", + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'VPCSingleTunnel' => '', + 'Intranet' => '', + 'VPCAnyTunnel' => '', + 'Internet' => '', + ], + 'example' => 'Internet,VPCSingleTunnel', + ], + 'vpcId' => [ + 'description' => 'The ID of the VPC.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-t4netc3y5etlondfb5ra7', + ], + 'vSwitchId' => [ + 'description' => 'The ID of the vSwitch.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-2vccsiymtqr9aavew0vo3', + ], + 'vpcRegionId' => [ + 'description' => 'The region in which the VPC resides.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + 'vpcOwnerId' => [ + 'description' => 'The ID of the Alibaba Cloud account to which the VPC belongs.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '1999365732646672', + ], + 'anyTunnelToSingleTunnel' => [ + 'description' => 'Specifies whether to change the network type from AnyTunnel to SingleTunnel. This parameter is invalid for new instances. For new instances, this parameter is set to null by default.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* others/null: The network type is not changed from AnyTunnel to SingleTunnel.'."\n" + .'* true: The network type is changed from AnyTunnel to SingleTunnel.'."\n", + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'others/null' => '', + 'true' => '', + ], + 'example' => 'true', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '9CC37B9F-F4B4-5FF1-939B-AEE78DC70130', + ], + 'Data' => [ + 'description' => 'The returned result, which indicates whether the operation was successful.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* true'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* false'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* true'."\n" + .'* false'."\n", + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => 'true', + 'false' => 'false', + ], + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => 'The error code.'."\n", + 'type' => 'string', + 'example' => '404', + ], + 'ErrorMessage' => [ + 'description' => 'The error message.'."\n", + 'type' => 'string', + 'example' => 'Internal server error.', + ], + 'HttpStatusCode' => [ + 'description' => 'The HTTP status code.'."\n", + 'type' => 'string', + 'example' => '200', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9CC37B9F-F4B4-5FF1-939B-AEE78DC70130\\",\\n \\"Data\\": \\"true\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"null\\",\\n \\"ErrorMessage\\": \\"null\\",\\n \\"HttpStatusCode\\": \\"200\\"\\n}","type":"json"}]', + 'title' => 'UpdateInstanceNetworkType', + ], + 'DisableHiveAccess' => [ + 'summary' => 'Disables data lake acceleration.', + 'path' => '/api/v1/instances/{instanceId}/disableHiveAccess', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cn-beijing', + ], + ], + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'hgprecn-cn-tl330rv9k00e', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '82B7A554-4D00-50DF-95D9-B59E7B4D5489', + ], + 'Data' => [ + 'description' => 'The returned result.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* true'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* false'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n", + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + 'Success' => [ + 'description' => 'Indicates whether the request is successful.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* true'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* false'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n", + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => 'true', + 'false' => 'false', + ], + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => 'The error code returned if the request failed.'."\n", + 'type' => 'string', + 'example' => '404', + ], + 'ErrorMessage' => [ + 'description' => 'The error message returned.'."\n", + 'type' => 'string', + 'example' => 'Internal server error.', + ], + 'HttpStatusCode' => [ + 'description' => 'The HTTP status code.'."\n", + 'type' => 'string', + 'example' => '200', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82B7A554-4D00-50DF-95D9-B59E7B4D5489\\",\\n \\"Data\\": true,\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"404\\",\\n \\"ErrorMessage\\": \\"Internal server error.\\",\\n \\"HttpStatusCode\\": \\"200\\"\\n}","type":"json"}]', + 'title' => 'DisableHiveAccess', + ], + 'EnableHiveAccess' => [ + 'summary' => 'Enables data lake acceleration.', + 'path' => '/api/v1/instances/{instanceId}/enableHiveAccess', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The region ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'hgpostcn-cn-zpr3426vm002', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'EA8F0084-5831-5907-BB31-BD05D2617844', + ], + 'Data' => [ + 'description' => 'The returned data.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* true'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* false'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n", + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful.'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => 'The error code returned if the request failed.'."\n", + 'type' => 'string', + 'example' => '404', + ], + 'ErrorMessage' => [ + 'description' => 'The error message returned.'."\n", + 'type' => 'string', + 'example' => 'Internal server error.', + ], + 'HttpStatusCode' => [ + 'description' => 'The HTTP status code.'."\n", + 'type' => 'string', + 'example' => '200', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EA8F0084-5831-5907-BB31-BD05D2617844\\",\\n \\"Data\\": true,\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"404\\",\\n \\"ErrorMessage\\": \\"Internal server error.\\",\\n \\"HttpStatusCode\\": \\"200\\"\\n}","type":"json"}]', + 'title' => 'EnableHiveAccess', + ], + 'StopInstance' => [ + 'summary' => 'Stops an instance.', + 'path' => '/api/v1/instances/{instanceId}/stop', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'hgpostcn-cn-lbj33559x001', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A', + ], + 'Data' => [ + 'description' => 'The returned result, which indicates whether the operation was successful.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* true'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* false'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n", + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + 'Success' => [ + 'description' => 'The request result, which indicates whether the request was successful.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* true'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* false'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n", + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => 'The error code.'."\n", + 'type' => 'string', + 'example' => '404', + ], + 'ErrorMessage' => [ + 'description' => 'The error message.'."\n", + 'type' => 'string', + 'example' => 'Internal server error.', + ], + 'HttpStatusCode' => [ + 'description' => 'The HTTP status code.'."\n", + 'type' => 'string', + 'example' => '200', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A\\",\\n \\"Data\\": true,\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"null\\",\\n \\"ErrorMessage\\": \\"null\\",\\n \\"HttpStatusCode\\": \\"200\\"\\n}","type":"json"}]', + 'title' => 'StopInstance', + ], + 'ScaleInstance' => [ + 'summary' => 'Changes the specifications and storage space of a Hologres instance.', + 'path' => '/api/v1/instances/{instanceId}/scale', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'high', + 'chargeType' => 'paid', + 'abilityTreeNodes' => [ + 'FEATUREhologramUCU2YC', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => 'The ID of the instance.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'hgprecn-cn-xxxxxxx', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body.'."\n", + 'type' => 'object', + 'properties' => [ + 'cpu' => [ + 'description' => 'The specifications of the instance. Valid values:'."\n" + ."\n" + .'* 8-core 32GB (number of compute nodes: 1)'."\n" + .'* 16-core 64GB (number of compute nodes: 1)'."\n" + .'* 32-core 128GB (number of compute nodes: 2)'."\n" + .'* 64-core 256GB (number of compute nodes: 4)'."\n" + .'* 96-core 384GB (number of compute nodes: 6)'."\n" + .'* 128-core 512GB (number of compute nodes: 8)'."\n" + .'* Others'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* Set this parameter to the number of cores.'."\n" + ."\n" + .'* If you want to set this parameter to specifications with more than 1,024 compute units (CUs), you must submit a ticket.'."\n" + ."\n" + .'* This parameter is invalid for Hologres Shared Cluster instances.'."\n" + ."\n" + .'* The specifications of 8-core 32GB (number of compute nodes: 1) are for trial use only and cannot be used for production.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '128', + 'default' => '0', + ], + 'storageSize' => [ + 'description' => 'The standard storage space of the instance. Unit: GB.'."\n" + ."\n" + .'> Ignore this parameter for pay-as-you-go instances.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1000G', + 'default' => '0', + ], + 'coldStorageSize' => [ + 'description' => 'The infrequent access (IA) storage space of the instance. Unit: GB.'."\n" + ."\n" + .'> Ignore this parameter for pay-as-you-go instances.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1000G', + 'default' => '0', + ], + 'scaleType' => [ + 'description' => 'The specification change type. Valid values:'."\n" + ."\n" + .'* UPGRADE'."\n" + .'* DOWNGRADE'."\n" + ."\n" + .'> '."\n" + ."\n" + .'* If you set this parameter to UPGRADE, the new specifications must be higher than the original specifications. You must configure at least one of the cpu, storageSize, and coldStorageSize parameters. If you leave a parameter empty, the related configuration remains unchanged.'."\n" + ."\n" + .'* If you set this parameter to DOWNGRADE, the new specifications must be lower than the original specifications. You must configure at least one of the cpu, storageSize, and coldStorageSize parameters. If you leave a parameter empty, the related configuration remains unchanged.'."\n", + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'DOWNGRADE' => 'DOWNGRADE', + 'UPGRADE' => 'UPGRADE', + ], + 'example' => 'UPGRADE', + 'enum' => [ + 'UPGRADE', + 'DOWNGRADE', + ], + ], + 'gatewayCount' => [ + 'description' => 'The number of gateways. Valid values: 2 to 50.'."\n" + ."\n" + .'> This parameter is required only for virtual warehouse instances.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '4', + ], + 'enableServerlessComputing' => [ + 'description' => '是否开启ServerlessComputing', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => [ + 'true' => 'true', + 'false' => 'false', + ], + 'example' => 'true', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The schema of the response.'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D3AE84AB-0873-5FC7-A4C4-8CF869D2FA70', + ], + 'Data' => [ + 'description' => 'The returned data.'."\n", + 'type' => 'object', + 'properties' => [ + 'OrderId' => [ + 'description' => 'The ID of the order.'."\n", + 'type' => 'string', + 'example' => '219183853450000', + ], + 'Code' => [ + 'description' => 'The error code returned.'."\n", + 'type' => 'string', + 'example' => 'InvalidScaleType.Unsupported', + ], + 'Message' => [ + 'description' => 'The error details.'."\n", + 'type' => 'string', + 'example' => 'null', + ], + 'Success' => [ + 'description' => 'Indicates whether the change to specifications was successful.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* true'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* false'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n", + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + ], + ], + 'HttpStatusCode' => [ + 'description' => 'The HTTP status code.'."\n", + 'type' => 'string', + 'example' => '200', + ], + 'ErrorCode' => [ + 'description' => 'The error code returned.'."\n", + 'type' => 'string', + 'example' => 'null', + ], + 'ErrorMessage' => [ + 'description' => 'The error message returned.'."\n", + 'type' => 'string', + 'example' => 'null', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D3AE84AB-0873-5FC7-A4C4-8CF869D2FA70\\",\\n \\"Data\\": {\\n \\"OrderId\\": \\"219183853450000\\",\\n \\"Code\\": \\"InvalidScaleType.Unsupported\\",\\n \\"Message\\": \\"不支持的变配类型\\",\\n \\"Success\\": true\\n },\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"ErrorCode\\": \\"null\\",\\n \\"ErrorMessage\\": \\"null\\"\\n}","type":"json"}]', + 'title' => 'ScaleInstance', + 'description' => '> Before you call this operation, make sure that you understand the billing method and pricing of Hologres because this operation is charged.'."\n" + ."\n" + .'* For more information about the billing of Hologres, see [Billing overview](https://www.alibabacloud.com/help/zh/hologres/product-overview/billing-overview).'."\n" + .'* During the change of computing resource specifications of a Hologres instance, the instance is unavailable. During the change of storage resource specifications of a Hologres instance, the instance can work normally. Do not frequently change instance specifications. For more information, see [Upgrade or downgrade instance specifications](https://www.alibabacloud.com/help/en/hologres/product-overview/upgrade-or-downgrade-instance-specifications).', + 'responseParamsDescription' => '> '."\n" + ."\n" + .'* If parameter verification fails, data is returned. In the returned data, Success is set to false, and the Code and Message parameters are included. If no exception is returned, the result of this operation is indicated by the value of Success in the returned data.'."\n" + ."\n" + .'* In the latest version of SDK, the default timeout period on the client side is different from the default timeout period on the instance. If you use the latest version of SDK to call this operation, a timeout may be reported even if this operation is successfully called. To prevent this issue, you can set the ReadTimeout parameter to 20000 before you call this operation.'."\n" + ."\n" + .'', + ], + 'ChangeResourceGroup' => [ + 'summary' => 'Updates a resource group.', + 'path' => '/api/v1/tag/changeResourceGroup', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body.'."\n", + 'type' => 'object', + 'properties' => [ + 'newResourceGroupId' => [ + 'description' => 'new resource group id', + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfmxwerqwerasfd', + ], + 'instanceId' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'hgprecn-cn-zvp25ysv3006', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'AB71198A-2DB1-511B-AE4D-690BAA97F076', + ], + 'Data' => [ + 'description' => 'The returned data.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* true'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* false'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n", + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AB71198A-2DB1-511B-AE4D-690BAA97F076\\",\\n \\"Data\\": true\\n}","type":"json"}]', + 'title' => 'ChangeResourceGroup', + ], + 'ListInstances' => [ + 'summary' => 'Queries a list of instances.', + 'path' => '/api/v1/instances', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREhologramNRPSXG', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body.'."\n", + 'type' => 'object', + 'properties' => [ + 'resourceGroupId' => [ + 'description' => 'The ID of the resource group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'rg-acfmvscak73zmby', + ], + 'tag' => [ + 'description' => 'The tags to add to the resource.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'key' => [ + 'description' => 'The tag key.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'mytag', + ], + 'value' => [ + 'description' => 'The tag value.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'value', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'cmsInstanceType' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'standard', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'D1303CD4-AA70-5998-8025-F55B22C50840', + ], + 'InstanceList' => [ + 'description' => 'The instances.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the instance.'."\n", + 'type' => 'object', + 'properties' => [ + 'CommodityCode' => [ + 'description' => 'The commodity code, which is the same as that on the Billing Management page.'."\n", + 'type' => 'string', + 'example' => 'hologram_postpay_public_cn', + ], + 'CreationTime' => [ + 'description' => 'The time when the cluster was created.'."\n", + 'type' => 'string', + 'example' => '2022-12-16T02:24:05Z', + ], + 'ExpirationTime' => [ + 'description' => 'The time when the cluster expires.'."\n", + 'type' => 'string', + 'example' => '2023-05-04T16:00:00.000Z', + ], + 'InstanceId' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'example' => 'hgpostcn-cn-aaab9ad2d8fb', + ], + 'InstanceName' => [ + 'description' => 'The name of the instance.'."\n", + 'type' => 'string', + 'example' => 'test_instance', + ], + 'InstanceStatus' => [ + 'description' => 'The status of the instance.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* Creating'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* Running'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* Suspended'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* Allocating'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'Creating' => '', + 'Running' => '', + 'Suspended' => '', + 'Allocating' => '', + ], + 'example' => 'Running', + ], + 'InstanceType' => [ + 'description' => 'The type of the instance.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* Follower'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' :'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' read-only secondary instance'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' .'."\n" + ."\n" + .'* Standard'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' :'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' normal instance'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' .'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'Follower' => '', + 'Standard' => '', + ], + 'example' => 'Standard', + ], + 'Tags' => [ + 'description' => 'The tags that are added to the resource.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The tag key.'."\n", + 'type' => 'string', + 'example' => 'tag', + ], + 'Value' => [ + 'description' => 'The tag value.'."\n", + 'type' => 'string', + 'example' => 'value', + ], + ], + ], + ], + 'InstanceChargeType' => [ + 'description' => 'The billing method of the instance. Valid values:'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* PostPaid'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' :'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' pay-as-you-go'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' .'."\n" + ."\n" + .'* PrePaid'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' :'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' subscription'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' .'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'PostPaid' => '', + 'PrePaid' => '', + ], + 'example' => 'PrePaid', + ], + 'LeaderInstanceId' => [ + 'description' => 'The ID of the primary instance.'."\n", + 'type' => 'string', + 'example' => 'hgprecn-cn-2r42sqvxm006', + ], + 'SuspendReason' => [ + 'description' => 'The reason for the suspension.'."\n", + 'type' => 'string', + 'example' => 'Manual', + ], + 'EnableHiveAccess' => [ + 'description' => 'Indicates whether lakehouse acceleration is enabled.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* true'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* false'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'true' => 'true', + 'false' => 'false', + ], + 'example' => 'true', + ], + 'Version' => [ + 'description' => 'The version of the cluster.'."\n", + 'type' => 'string', + 'example' => '1.3.37', + ], + 'ResourceGroupId' => [ + 'description' => 'The ID of the resource group.'."\n", + 'type' => 'string', + 'example' => 'rg-acfmvscak73zmby', + ], + 'Endpoints' => [ + 'description' => 'The list of endpoints.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Endpoint' => [ + 'description' => 'The endpoint.'."\n", + 'type' => 'string', + 'example' => 'hgpostcn-cn-aaab9ad2d8fb-cn-hangzhou-internal.hologres.aliyuncs.com:80', + ], + 'Type' => [ + 'description' => 'The network type.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* VPCSingleTunnel'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' :'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' virtual private cloud (VPC)'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' .'."\n" + ."\n" + .'* Intranet'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' :'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' internal network'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* VPCAnyTunnel'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' : This value is not supported by new instances'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' .'."\n" + ."\n" + .'* Internet'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' :'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' Internet'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' .'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'VPCSingleTunnel' => 'VPCSingleTunnel', + 'Intranet' => '', + 'VPCAnyTunnel' => '', + 'Internet' => '', + ], + 'example' => 'Internet', + ], + 'Enabled' => [ + 'description' => 'Indicates whether the endpoint is enabled.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* true'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* false'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n", + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + 'VSwitchId' => [ + 'description' => 'The vSwitch ID.'."\n", + 'type' => 'string', + 'example' => 'vsw-wz9oap28raidjevhuszg4', + ], + 'VpcId' => [ + 'description' => 'The VPC ID.'."\n", + 'type' => 'string', + 'example' => 'vpc-uf6mrahzyu7uorlqqpz5f', + ], + 'VpcInstanceId' => [ + 'description' => 'The ID of the VPC to which the instance belongs.'."\n", + 'type' => 'string', + 'example' => 'hgpostcn-cn-wwo3665tx004-frontend-st', + ], + ], + ], + ], + 'RegionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'ZoneId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cn-hangzhou-h', + ], + 'StorageType' => [ + 'type' => 'string', + ], + 'EnableSSL' => [ + 'type' => 'string', + ], + ], + ], + ], + 'Success' => [ + 'description' => 'Indicates whether the request was successful.'."\n", + 'type' => 'string', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => 'The error code returned if the request failed.'."\n", + 'type' => 'string', + 'example' => '404', + ], + 'ErrorMessage' => [ + 'description' => 'The error message returned if the request failed.'."\n", + 'type' => 'string', + 'example' => 'Internal server error.', + ], + 'HttpStatusCode' => [ + 'description' => 'The HTTP status code.'."\n", + 'type' => 'string', + 'example' => '200', + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'RAM user permission is insufficient, please grant AliyunHologresReadOnlyAccess permission.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D1303CD4-AA70-5998-8025-F55B22C50840\\",\\n \\"InstanceList\\": [\\n {\\n \\"CommodityCode\\": \\"hologram_postpay_public_cn\\",\\n \\"CreationTime\\": \\"2022-12-16T02:24:05Z\\",\\n \\"ExpirationTime\\": \\"2023-05-04T16:00:00.000Z\\",\\n \\"InstanceId\\": \\"hgpostcn-cn-aaab9ad2d8fb\\",\\n \\"InstanceName\\": \\"test_instance\\",\\n \\"InstanceStatus\\": \\"Running\\",\\n \\"InstanceType\\": \\"Standard\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"tag\\",\\n \\"Value\\": \\"value\\"\\n }\\n ],\\n \\"InstanceChargeType\\": \\"PrePaid\\",\\n \\"LeaderInstanceId\\": \\"hgprecn-cn-2r42sqvxm006\\",\\n \\"SuspendReason\\": \\"Manual\\",\\n \\"EnableHiveAccess\\": \\"true\\",\\n \\"Version\\": \\"1.3.37\\",\\n \\"ResourceGroupId\\": \\"rg-acfmvscak73zmby\\",\\n \\"Endpoints\\": [\\n {\\n \\"Endpoint\\": \\"hgpostcn-cn-aaab9ad2d8fb-cn-hangzhou-internal.hologres.aliyuncs.com:80\\",\\n \\"Type\\": \\"Internet\\",\\n \\"Enabled\\": true,\\n \\"VSwitchId\\": \\"vsw-wz9oap28raidjevhuszg4\\",\\n \\"VpcId\\": \\"vpc-uf6mrahzyu7uorlqqpz5f\\",\\n \\"VpcInstanceId\\": \\"hgpostcn-cn-wwo3665tx004-frontend-st\\"\\n }\\n ],\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ZoneId\\": \\"cn-hangzhou-h\\",\\n \\"StorageType\\": \\"redundant\\",\\n \\"EnableSSL\\": \\"\\"\\n }\\n ],\\n \\"Success\\": \\"true\\",\\n \\"ErrorCode\\": \\"null\\",\\n \\"ErrorMessage\\": \\"null\\",\\n \\"HttpStatusCode\\": \\"200\\"\\n}","type":"json"}]', + 'title' => 'ListInstances', + ], + 'GetInstance' => [ + 'summary' => 'Obtains the details of an instance.', + 'path' => '/api/v1/instances/{instanceId}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREhologramNRPSXG', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => 'The ID of the instance. This parameter is required.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'hgprecn-cn-i7m2v08uu00a', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '865A02C2-B374-5DD4-9B34-0CA15DA1AEBD', + ], + 'Instance' => [ + 'description' => 'The information about the instance.'."\n", + 'type' => 'object', + 'properties' => [ + 'InstanceChargeType' => [ + 'description' => 'The billing method of the instance.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* PostPaid'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' :'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' pay-as-you-go'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' .'."\n" + ."\n" + .'* PrePaid'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' :'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' subscription'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' .'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'PostPaid' => '', + 'PrePaid' => '', + ], + 'example' => 'PrePaid', + ], + 'CommodityCode' => [ + 'description' => 'The commodity code.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* hologram_maxcomputeAccelerate_public_cn'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' :'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' China site/Lakehouse Acceleration Edition'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' .'."\n" + ."\n" + .'* hologram_combo_public_cn'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' :'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' China site/Subscription'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' .'."\n" + ."\n" + .'* hologram_prepay_public_intl'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' :'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' International site/Subscription'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' .'."\n" + ."\n" + .'* hologram_storage_dp_cn'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' :'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' China site/Storage plan'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' .'."\n" + ."\n" + .'* hologram_postpay_public_cn'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' :'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' China site/Pay-as-you-go'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' .'."\n" + ."\n" + .'* hologram_postpay_public_intl'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' :'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' International site/Pay-as-you-go'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* hologram_maxcomputeAccelerate_public_intl'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' :'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' International site/Lakehouse Acceleration Edition'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' .'."\n" + ."\n" + .'* hologram_cu_dp_cn'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' :'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' China site/Compute plan'."\n" + ."\n" + .' <!-- -->'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'hologram_maxcomputeAccelerate_public_cn' => '', + 'hologram_combo_public_cn' => '', + 'hologram_prepay_public_intl' => '', + 'hologram_storage_dp_cn' => '', + 'hologram_postpay_public_cn' => '', + 'hologram_postpay_public_intl' => '', + 'hologram_maxcomputeAccelerate_public_intl' => '', + 'hologram_cu_dp_cn' => '', + ], + 'example' => 'hologram_combo_public_cn', + ], + 'Cpu' => [ + 'description' => 'The number of CPU cores.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '32', + ], + 'CreationTime' => [ + 'description' => 'The time when the instance was created.'."\n", + 'type' => 'string', + 'example' => '2021-02-03T13:06:06Z', + ], + 'Disk' => [ + 'description' => 'The amount of data that can be stored in the disk of the Standard storage class. Unit: GB.'."\n", + 'type' => 'string', + 'example' => '500', + ], + 'Endpoints' => [ + 'description' => 'The list of endpoints.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'Endpoint object', + 'type' => 'object', + 'properties' => [ + 'Endpoint' => [ + 'description' => 'The endpoint.'."\n", + 'type' => 'string', + 'example' => 'hgprecn-cn-uqm362o1b001-cn-hangzhou-internal.hologres.aliyuncs.com:80', + ], + 'Type' => [ + 'description' => 'The network type.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* VPCSingleTunnel'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' :'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' virtual private cloud (VPC)'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' .'."\n" + ."\n" + .'* Intranet'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' :'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' internal network'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' .'."\n" + ."\n" + .'* VPCAnyTunnel'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' :'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' not supported by new instances'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* Internet'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' :'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' Internet'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' .'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'VPCSingleTunnel' => '', + 'Intranet' => '', + 'VPCAnyTunnel' => '', + 'Internet' => '', + ], + 'example' => 'Internet', + ], + 'Enabled' => [ + 'description' => 'Indicates whether the network is enabled.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* true'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* false'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n", + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + 'VSwitchId' => [ + 'description' => 'The ID of the vSwitch.'."\n", + 'type' => 'string', + 'example' => 'vsw-bp1jqwp2ys6kp7tc9t983', + ], + 'VpcId' => [ + 'description' => 'The ID of the VPC to which the instance belongs.'."\n", + 'type' => 'string', + 'example' => 'vpc-uf66jjber3hgvwhki3wna', + ], + 'VpcInstanceId' => [ + 'description' => 'The ID of the instance that is deployed in the VPC.'."\n", + 'type' => 'string', + 'example' => 'hgprecn-cn-uqm362o1b001-frontend-st', + ], + 'AlternativeEndpoints' => [ + 'description' => 'The endpoint. This parameter is returned if both the AnyTunnel and SingleTunnel modes are enabled for an instance, and the instance is switched from the AnyTunnel mode to the SingleTunnel mode. In this case, two endpoints are returned.'."\n", + 'type' => 'string', + 'example' => 'hgprecn-cn-uqm362o1b001-cn-hangzhou-internal.hologres.aliyuncs.com:80', + ], + ], + ], + ], + 'ExpirationTime' => [ + 'description' => 'The expiration time. This parameter is invalid for pay-as-you-go instances.'."\n", + 'type' => 'string', + 'example' => '2021-02-03T13:06:06Z', + ], + 'InstanceId' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'example' => 'hgpostcn-cn-tl32s6cgw00b', + ], + 'InstanceName' => [ + 'description' => 'The instance name. The instance name must be 2 to 64 characters in length.'."\n", + 'type' => 'string', + 'example' => 'test', + ], + 'InstanceType' => [ + 'description' => 'The type of the instance.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* Follower'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' :'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' read-only secondary instance'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' .'."\n" + ."\n" + .'* Standard'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' :'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' normal instance'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' .'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'Warehouse' => '', + 'Follower' => '', + 'Standard' => '', + 'Shared' => '', + ], + 'example' => 'Standard', + ], + 'Memory' => [ + 'description' => 'The memory size. Unit: GB.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '128', + ], + 'InstanceOwner' => [ + 'description' => 'The owner of the instance.'."\n", + 'type' => 'string', + 'example' => '12345678900000', + ], + 'InstanceStatus' => [ + 'description' => 'The status of the instance.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* Creating'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* Running'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* Suspended'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* Allocating'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'Creating' => '', + 'Running' => '', + 'Suspended' => '', + 'Allocating' => '', + ], + 'example' => 'Running', + ], + 'Version' => [ + 'description' => 'The instance version.'."\n", + 'type' => 'string', + 'example' => 'r1.3.37', + ], + 'SuspendReason' => [ + 'description' => 'The reason for the suspension.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* Indebet'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' :'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' The instance has an overdue payment'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' .'."\n" + ."\n" + .'* Manual'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' :'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' The instance is manually suspended'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' .'."\n" + ."\n" + .'* Overdue'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' :'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' The instance has expired'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' .'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'Indebet' => '', + 'Manual' => '', + 'Overdue' => '', + ], + 'example' => 'Manual', + ], + 'Tags' => [ + 'description' => 'The instance tag.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'Tag object', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The key of tag N.'."\n", + 'type' => 'string', + 'example' => 'tag', + ], + 'Value' => [ + 'description' => 'The value of tag N.'."\n", + 'type' => 'string', + 'example' => 'value', + ], + ], + ], + ], + 'LeaderInstanceId' => [ + 'description' => 'The ID of the primary instance.'."\n", + 'type' => 'string', + 'example' => 'hgpostcn-cn-i7m2ncd6w002', + ], + 'EnableHiveAccess' => [ + 'description' => 'Indicates whether data lake acceleration is enabled.'."\n", + 'type' => 'string', + 'example' => 'true', + ], + 'ResourceGroupId' => [ + 'description' => 'The ID of the resource group.'."\n", + 'type' => 'string', + 'example' => 'rg-aekzuq7hpybze2i', + ], + 'ComputeNodeCount' => [ + 'description' => 'The number of compute nodes. In a typical configuration, a node has 16 CPU cores and 32 GB of memory.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + 'ZoneId' => [ + 'description' => 'The ID of the zone where the instance resides.'."\n", + 'type' => 'string', + 'example' => 'cn-hangzhou-h', + ], + 'ColdStorage' => [ + 'description' => 'The cold storage capacity of the instance. Unit: GB. Standard SSD is used for hot storage, and HDD is used for cold storage.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '800', + ], + 'AutoRenewal' => [ + 'description' => 'Indicates whether auto-renewal is enabled.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* true'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* false'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + 'GatewayCount' => [ + 'description' => 'The number of gateway nodes.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'enumValueTitles' => [], + 'example' => '2', + ], + 'GatewayCpu' => [ + 'description' => 'The number of CPU cores of the gateway. Unit: core.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'enumValueTitles' => [], + 'example' => '4', + ], + 'GatewayMemory' => [ + 'description' => 'The size of memory resources of the gateway. Unit: GB.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'enumValueTitles' => [], + 'example' => '16', + ], + 'RegionId' => [ + 'description' => 'The ID of the region in which the instance resides.'."\n", + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'ReplicaRole' => [ + 'description' => 'Disaster recovery instance role. '."\n" + .'* Active: Primary disaster recovery instance.'."\n" + .'* Passive: Disaster tolerance instance.'."\n" + .'* PreActive: Primary disaster recovery instance not yet in final state.', + 'type' => 'string', + 'example' => 'Active', + ], + 'EnableServerless' => [ + 'description' => 'EnableServerless', + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + 'StorageType' => [ + 'description' => 'The storage type.'."\n" + ."\n" + .'* redundant: 3 copies'."\n" + .'* local: single copy', + 'type' => 'string', + 'example' => 'redundant', + ], + 'EnableSSL' => [ + 'type' => 'boolean', + ], + ], + ], + 'Success' => [ + 'description' => 'The request result, which indicates whether the request was successful.'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => 'The error code that is returned if the request failed.'."\n", + 'type' => 'string', + 'example' => '404', + ], + 'ErrorMessage' => [ + 'description' => 'The error message.'."\n", + 'type' => 'string', + 'example' => 'Internal server error.', + ], + 'HttpStatusCode' => [ + 'description' => 'The HTTP status code returned.'."\n", + 'type' => 'string', + 'example' => '200', + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"865A02C2-B374-5DD4-9B34-0CA15DA1AEBD\\",\\n \\"Instance\\": {\\n \\"InstanceChargeType\\": \\"PrePaid\\",\\n \\"CommodityCode\\": \\"hologram_combo_public_cn\\",\\n \\"Cpu\\": 32,\\n \\"CreationTime\\": \\"2021-02-03T13:06:06Z\\",\\n \\"Disk\\": \\"500\\",\\n \\"Endpoints\\": [\\n {\\n \\"Endpoint\\": \\"hgprecn-cn-uqm362o1b001-cn-hangzhou-internal.hologres.aliyuncs.com:80\\",\\n \\"Type\\": \\"Internet\\",\\n \\"Enabled\\": true,\\n \\"VSwitchId\\": \\"vsw-bp1jqwp2ys6kp7tc9t983\\",\\n \\"VpcId\\": \\"vpc-uf66jjber3hgvwhki3wna\\",\\n \\"VpcInstanceId\\": \\"hgprecn-cn-uqm362o1b001-frontend-st\\",\\n \\"AlternativeEndpoints\\": \\"hgprecn-cn-uqm362o1b001-cn-hangzhou-internal.hologres.aliyuncs.com:80\\"\\n }\\n ],\\n \\"ExpirationTime\\": \\"2021-02-03T13:06:06Z\\",\\n \\"InstanceId\\": \\"hgpostcn-cn-tl32s6cgw00b\\",\\n \\"InstanceName\\": \\"test\\",\\n \\"InstanceType\\": \\"Standard\\",\\n \\"Memory\\": 128,\\n \\"InstanceOwner\\": \\"12345678900000\\",\\n \\"InstanceStatus\\": \\"Running\\",\\n \\"Version\\": \\"r1.3.37\\",\\n \\"SuspendReason\\": \\"Manual\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"tag\\",\\n \\"Value\\": \\"value\\"\\n }\\n ],\\n \\"LeaderInstanceId\\": \\"hgpostcn-cn-i7m2ncd6w002\\",\\n \\"EnableHiveAccess\\": \\"true\\",\\n \\"ResourceGroupId\\": \\"rg-aekzuq7hpybze2i\\",\\n \\"ComputeNodeCount\\": 2,\\n \\"ZoneId\\": \\"cn-hangzhou-h\\",\\n \\"ColdStorage\\": 800,\\n \\"AutoRenewal\\": \\"true\\",\\n \\"GatewayCount\\": 2,\\n \\"GatewayCpu\\": 4,\\n \\"GatewayMemory\\": 16,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ReplicaRole\\": \\"Active\\",\\n \\"EnableServerless\\": true,\\n \\"StorageType\\": \\"redundant\\",\\n \\"EnableSSL\\": true\\n },\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"null\\",\\n \\"ErrorMessage\\": \\"null\\",\\n \\"HttpStatusCode\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<GetInstanceResponse>\\n <RequestId>865A02C2-B374-5DD4-9B34-0CA15DA1AEBD</RequestId>\\n <Instance>\\n <InstanceChargeType>PrePaid</InstanceChargeType>\\n <CommodityCode>hologram_combo_public_cn</CommodityCode>\\n <Cpu>32</Cpu>\\n <CreationTime>2021-02-03T13:06:06Z</CreationTime>\\n <Disk>500</Disk>\\n <Endpoints>\\n <Endpoint>hgprecn-cn-uqm362o1b001-cn-hangzhou-internal.hologres.aliyuncs.com:80</Endpoint>\\n <Type>Internet</Type>\\n <Enabled>true</Enabled>\\n <VSwitchId>vsw-bp1jqwp2ys6kp7tc9t983</VSwitchId>\\n <VpcId>vpc-uf66jjber3hgvwhki3wna</VpcId>\\n <VpcInstanceId>hgprecn-cn-uqm362o1b001-frontend-st</VpcInstanceId>\\n <AlternativeEndpoints>hgprecn-cn-uqm362o1b001-cn-hangzhou-internal.hologres.aliyuncs.com:80</AlternativeEndpoints>\\n </Endpoints>\\n <ExpirationTime>2021-02-03T13:06:06Z</ExpirationTime>\\n <InstanceId>hgpostcn-cn-tl32s6cgw00b</InstanceId>\\n <InstanceName>test</InstanceName>\\n <InstanceType>Standard</InstanceType>\\n <Memory>128</Memory>\\n <InstanceOwner>12345678900000</InstanceOwner>\\n <InstanceStatus>Running</InstanceStatus>\\n <Version>r1.3.37</Version>\\n <SuspendReason>Manual</SuspendReason>\\n <Tags>\\n <Key>tag</Key>\\n <Value>value</Value>\\n </Tags>\\n <LeaderInstanceId>hgpostcn-cn-i7m2ncd6w002</LeaderInstanceId>\\n <EnableHiveAccess>true</EnableHiveAccess>\\n <ResourceGroupId>rg-aekzuq7hpybze2i</ResourceGroupId>\\n <ComputeNodeCount>2</ComputeNodeCount>\\n <ZoneId>cn-hangzhou-h</ZoneId>\\n <ColdStorage>800</ColdStorage>\\n <AutoRenewal>true</AutoRenewal>\\n <GatewayCount>2</GatewayCount>\\n <GatewayCpu>4</GatewayCpu>\\n <GatewayMemory>16</GatewayMemory>\\n <RegionId>cn-hangzhou</RegionId>\\n <ReplicaRole>Active</ReplicaRole>\\n </Instance>\\n <Success>true</Success>\\n <ErrorCode>null</ErrorCode>\\n <ErrorMessage>null</ErrorMessage>\\n <HttpStatusCode>200</HttpStatusCode>\\n</GetInstanceResponse>","errorExample":""}]', + 'title' => 'GetInstance', + 'translator' => 'machine', + ], + 'CreateHoloWarehouse' => [ + 'summary' => 'Creates a virtual warehouse.', + 'path' => '/api/v1/instances/{instanceId}/createHoloWarehouse', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREhologramFNR69T', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => 'The instance ID. This parameter is required.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'hgprecn-cn-i7m2v08uu00a', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body.'."\n", + 'type' => 'object', + 'properties' => [ + 'name' => [ + 'description' => 'The name of the virtual warehouse.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my_warehouse', + ], + 'cpu' => [ + 'description' => 'The specifications of the virtual warehouse. The number of vCPUs must be an integer multiple of 16 CPUs. Minimum value: 16.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '32', + ], + 'clusterCount' => [ + 'title' => '集群数量', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request'."\n", + 'type' => 'string', + 'example' => '2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A', + ], + 'Data' => [ + 'description' => 'Indicates whether the request was successful. Valid values: true and false.'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A\\",\\n \\"Data\\": true\\n}","type":"json"}]', + 'title' => 'CreateHoloWarehouse', + ], + 'DeleteHoloWarehouse' => [ + 'summary' => 'Deletes a virtual warehouse.', + 'path' => '/api/v1/instances/{instanceId}/deleteHoloWarehouse', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'hgprecn-cn-i7m2v08uu00a'."\n", + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body.'."\n", + 'type' => 'object', + 'properties' => [ + 'name' => [ + 'description' => 'The name of the virtual warehouse.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my_warehouse', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A'."\n", + ], + 'Data' => [ + 'description' => 'Indicates whether the request was successful. Valid values: true and false.'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A\\\\n\\",\\n \\"Data\\": true\\n}","type":"json"}]', + 'title' => 'DeleteHoloWarehouse', + ], + 'RebalanceHoloWarehouse' => [ + 'summary' => 'Triggers shard rebalancing for a virtual warehouse.', + 'path' => '/api/v1/instances/{instanceId}/rebalanceHoloWarehouse', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'hgprecn-cn-i7m2v08uu00a', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body.'."\n", + 'type' => 'object', + 'properties' => [ + 'name' => [ + 'description' => 'The name of the virtual warehouse.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'test_oss', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request'."\n", + 'type' => 'string', + 'example' => 'C0EA5844-AB00-5653-8711-CD9FD1798412', + ], + 'Data' => [ + 'description' => 'Indicates whether the request was successful. Valid values: true and false.'."\n", + 'type' => 'string', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C0EA5844-AB00-5653-8711-CD9FD1798412\\",\\n \\"Data\\": \\"true\\"\\n}","type":"json"}]', + 'title' => 'RebalanceHoloWarehouse', + ], + 'ResumeHoloWarehouse' => [ + 'summary' => 'Resumes a virtual warehouse.', + 'path' => '/api/v1/instances/{instanceId}/resumeHoloWarehouse', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'hgprecn-cn-i7m2v08uu00a'."\n", + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body.'."\n", + 'type' => 'object', + 'properties' => [ + 'name' => [ + 'description' => 'The name of the virtual warehouse.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my_warehouse', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request'."\n", + 'type' => 'string', + 'example' => '2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A'."\n", + ], + 'Data' => [ + 'description' => 'Indicates whether the request was successful. Valid values: true and false.'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A\\\\n\\",\\n \\"Data\\": true\\n}","type":"json"}]', + 'title' => 'ResumeHoloWarehouse', + ], + 'SuspendHoloWarehouse' => [ + 'summary' => 'Suspends a virtual warehouse.', + 'path' => '/api/v1/instances/{instanceId}/suspendHoloWarehouse', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'hgprecn-cn-i7m2v08uu00a'."\n", + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body.'."\n", + 'type' => 'object', + 'properties' => [ + 'name' => [ + 'description' => 'The name of the virtual warehouse.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my_warehouse', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request'."\n", + 'type' => 'string', + 'example' => '2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A'."\n", + ], + 'Data' => [ + 'description' => 'Indicates whether the request was successful. Valid values: true and false.'."\n", + 'type' => 'string', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A\\\\n\\",\\n \\"Data\\": \\"true\\"\\n}","type":"json"}]', + 'title' => 'SuspendHoloWarehouse', + ], + 'RenameHoloWarehouse' => [ + 'summary' => 'Renames a virtual warehouse.', + 'path' => '/api/v1/instances/{instanceId}/renameHoloWarehouse', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'hgprecn-cn-i7m2v08uu00a'."\n", + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body.'."\n", + 'type' => 'object', + 'properties' => [ + 'name' => [ + 'description' => 'The original name of the virtual warehouse.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my_warehouse', + ], + 'newWarehouseName' => [ + 'description' => 'The new name of the virtual warehouse.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'new_name', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request'."\n", + 'type' => 'string', + 'example' => '2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A'."\n", + ], + 'Data' => [ + 'description' => 'Indicates whether the request was successful. Valid values: true and false.'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A\\\\n\\",\\n \\"Data\\": true\\n}","type":"json"}]', + 'title' => 'RenameHoloWarehouse', + ], + 'ScaleHoloWarehouse' => [ + 'summary' => 'Scales in or out a virtual warehouse.', + 'path' => '/api/v1/instances/{instanceId}/scaleHoloWarehouse', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREhologramFNR69T', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body.'."\n", + 'type' => 'object', + 'properties' => [ + 'name' => [ + 'description' => 'The name of the virtual warehouse.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my_warehouse', + ], + 'cpu' => [ + 'description' => 'The specifications of the virtual warehouse. The number of vCPUs must be an integer multiple of 16.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '64', + ], + 'clusterCount' => [ + 'title' => '集群数量', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'hgprecn-cn-i7m2v08uu00a'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request'."\n", + 'type' => 'string', + 'example' => '2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A'."\n", + ], + 'Data' => [ + 'description' => 'Indicates whether the request was successful. Valid values: true and false.'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A\\\\n\\",\\n \\"Data\\": true\\n}","type":"json"}]', + 'title' => 'ScaleHoloWarehouse', + ], + 'RestartHoloWarehouse' => [ + 'summary' => 'Restarts a virtual warehouse.', + 'path' => '/api/v1/instances/{instanceId}/restartHoloWarehouse', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'hgprecn-cn-i7m2v08uu00a', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body.'."\n", + 'type' => 'object', + 'properties' => [ + 'name' => [ + 'description' => 'The name of the virtual warehouse.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my_warehouse', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request'."\n", + 'type' => 'string', + 'example' => '2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A', + ], + 'Data' => [ + 'description' => 'Indicates whether the request was successful. Valid values: true and false.'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2A8DEF6E-067E-5DB0-BAE1-2894266E6C6A\\",\\n \\"Data\\": true\\n}","type":"json"}]', + 'title' => 'RestartHoloWarehouse', + ], + 'GetWarehouseDetail' => [ + 'summary' => 'Queries details of a virtual warehouse instance.', + 'path' => '/api/v1/instances/{instanceId}/getWarehouseDetail', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREhologramUIEVQ0', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'hgprecn-cn-i7m2ucpyu005', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => 'D3AE84AB-0873-5FC7-A4C4-8CF869D2FA70', + ], + 'WarehouseDetail' => [ + 'description' => 'The returned values.'."\n", + 'type' => 'object', + 'properties' => [ + 'ReservedCpu' => [ + 'description' => 'The reserved computing resources. The amount of computing resources in all running virtual warehouses in an instance cannot exceed the amount of reserved computing resources in the virtual warehouses.'."\n", + 'type' => 'string', + 'example' => '64', + ], + 'RemainingCpu' => [ + 'description' => 'The remaining unallocated computing resources of the virtual warehouse instance.'."\n", + 'type' => 'string', + 'example' => '32', + ], + 'WarehouseList' => [ + 'description' => 'The list of virtual warehouses.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'Warehouse'."\n", + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'description' => 'The number of CPU cores.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '32', + ], + 'Mem' => [ + 'description' => 'The memory capacity.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '128', + ], + 'Id' => [ + 'description' => 'The ID.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + 'Status' => [ + 'description' => 'The status.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* kRunning'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* kSuspended'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* kInit'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* kFailed'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* kAllocating'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'kRunning' => 'kRunning', + 'kSuspended' => 'kSuspended', + 'kInit' => 'kInit', + 'kFailed' => 'kFailed', + 'kAllocating' => 'kAllocating', + ], + 'example' => 'kRunning', + ], + 'NodeCount' => [ + 'description' => 'The number of compute nodes.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + 'Name' => [ + 'description' => 'The name of the virtual warehouse instance.'."\n", + 'type' => 'string', + 'example' => 'MyWarehouse', + ], + 'ElasticCpu' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'DefaultWarehouse' => [ + 'type' => 'boolean', + ], + 'RebalanceStatus' => [ + 'type' => 'string', + ], + 'ClusterCpu' => [ + 'title' => '集群规格', + 'type' => 'string', + 'example' => '32', + ], + 'ElasticType' => [ + 'title' => '弹性类型', + 'type' => 'string', + 'example' => 'auto', + ], + 'InitClusterCount' => [ + 'title' => '预留集群数量', + 'type' => 'string', + 'example' => '2', + ], + 'ClusterCount' => [ + 'title' => '集群数量', + 'type' => 'string', + 'example' => '2', + ], + 'MaxClusterCount' => [ + 'title' => '最大集群数量', + 'type' => 'string', + 'example' => '4', + ], + 'AutoScaleType' => [ + 'title' => '自动弹性类型', + 'type' => 'string', + 'example' => 'Standard', + ], + ], + ], + ], + 'TimedElasticCpu' => [ + 'type' => 'string', + ], + 'AutoElasticCpu' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D3AE84AB-0873-5FC7-A4C4-8CF869D2FA70\\",\\n \\"WarehouseDetail\\": {\\n \\"ReservedCpu\\": \\"64\\",\\n \\"RemainingCpu\\": \\"32\\",\\n \\"WarehouseList\\": [\\n {\\n \\"Cpu\\": 32,\\n \\"Mem\\": 128,\\n \\"Id\\": 2,\\n \\"Status\\": \\"kRunning\\",\\n \\"NodeCount\\": 2,\\n \\"Name\\": \\"MyWarehouse\\",\\n \\"ElasticCpu\\": 32,\\n \\"DefaultWarehouse\\": true,\\n \\"RebalanceStatus\\": \\"DONE\\",\\n \\"ClusterCpu\\": \\"32\\",\\n \\"ElasticType\\": \\"auto\\",\\n \\"InitClusterCount\\": \\"2\\",\\n \\"ClusterCount\\": \\"2\\",\\n \\"MaxClusterCount\\": \\"4\\",\\n \\"AutoScaleType\\": \\"Standard\\"\\n }\\n ],\\n \\"TimedElasticCpu\\": \\"64\\",\\n \\"AutoElasticCpu\\": \\"\\"\\n }\\n}","type":"json"}]', + 'title' => 'GetWarehouseDetail', + ], + 'ListWarehouses' => [ + 'summary' => 'Queries the list of virtual warehouse instances.', + 'path' => '/api/v1/instances/{instanceId}/listWarehouses', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'hgpostcn-cn-x0r382joi001', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response parameters.'."\n", + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '819A7F0F-2951-540F-BD94-6A41ECF0281F', + ], + 'WarehouseList' => [ + 'description' => 'The list of virtual warehouse instances.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'description' => 'The ID.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3', + ], + 'Cpu' => [ + 'description' => 'The number of CPU cores.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '32', + ], + 'Mem' => [ + 'description' => 'The memory capacity.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '128', + ], + 'Name' => [ + 'description' => 'The name of the virtual warehouse instance.'."\n", + 'type' => 'string', + 'example' => 'MyWarehouse', + ], + 'Status' => [ + 'description' => 'The status.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* kRunning'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* kSuspended'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* kInit'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* kFailed'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .'* kAllocating'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n" + ."\n" + .' <!-- -->'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'kRunning' => 'kRunning', + 'kSuspended' => 'kSuspended', + 'kInit' => 'kInit', + 'kFailed' => 'kFailed', + 'kAllocating' => 'kAllocating', + ], + 'example' => 'kRunning', + ], + 'NodeCount' => [ + 'description' => 'The number of compute nodes.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"819A7F0F-2951-540F-BD94-6A41ECF0281F\\",\\n \\"WarehouseList\\": [\\n {\\n \\"Id\\": 3,\\n \\"Cpu\\": 32,\\n \\"Mem\\": 128,\\n \\"Name\\": \\"MyWarehouse\\",\\n \\"Status\\": \\"kRunning\\",\\n \\"NodeCount\\": 2\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListWarehouses', + ], + 'ListBackupData' => [ + 'summary' => 'Queries a list of backups. A backup is a full data snapshot of an instance at the end of the snapshot time. You can purchase another instance to completely restore the original data.', + 'path' => '/api/v1/backups', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'hgprecn-cn-wwoxxxxx', + ], + ], + [ + 'name' => 'backupType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The backup type. Specific backup data is filtered based on the type. If you leave this parameter empty, all backup data is returned.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* redundant_remote'."\n" + .'* remote'."\n" + .'* redundant'."\n" + .'* full_remote'."\n" + .'* local'."\n" + .'* full'."\n", + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'redundant_remote' => '', + 'remote' => '', + 'redundant' => '', + 'full_remote' => '', + 'local' => '', + 'full' => '', + ], + 'example' => 'redundant', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '4AA0C48F-B5BB-5FF9-A43B-6B91E0715D46', + ], + 'BackupDataList' => [ + 'description' => 'The backups.'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'BackupType' => [ + 'description' => 'The backup type. In general, the following two types are supported: local backup and remote backup. In the local backup type, snapshots reside in the same region as your instance. The following two sub-types are available: full (single backup, single replica) and redundant (zone-redundant storage, multiple replicas). In the remote backup type, snapshots and your instance reside in different regions. Remote backups are the replicas of the backups of the full or redundant type in another region. The values local and remote do not represent specific types, but are used only for data filtering. The value local indicates all local backups, and the value remote indicates all remote backups.'."\n", + 'type' => 'string', + 'enumValueTitles' => [], + 'example' => 'redundant', + ], + 'DataGran' => [ + 'description' => 'The backup granularity.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* instance'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'instance' => '', + ], + 'example' => 'instance', + ], + 'Id' => [ + 'description' => 'The unique ID of the backup.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1780805690994479105', + ], + 'InstanceId' => [ + 'description' => 'The instance ID.'."\n", + 'type' => 'string', + 'example' => 'hgpostcn-cn-pe33jdxxxxx', + ], + 'StartTime' => [ + 'description' => 'The start time of the backup task. The time follows the ISO 8601 standard in the YYYY-MM-DDTHH:mm:ss.SSSTZ format. The time is displayed in UTC (the same below).'."\n", + 'type' => 'string', + 'example' => '2024-10-28T11:19:56.000+00:00', + ], + 'Status' => [ + 'description' => 'The status of the backup task.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* processing'."\n" + .'* completed'."\n" + .'* failed'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'processing' => '', + 'completed' => '', + 'failed' => '', + ], + 'example' => 'completed', + ], + 'TriggerType' => [ + 'description' => 'The mode in which the backup task is triggered.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* scheduled: periodic backup'."\n" + .'* manual: manual backup'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'scheduled' => '', + 'manual' => '', + ], + 'example' => 'scheduled', + ], + 'DataDesc' => [ + 'description' => 'The description of the backup data.'."\n", + 'type' => 'string', + 'example' => 'demo', + ], + 'DataTime' => [ + 'description' => 'The snapshot time. The value format of this parameter follows the same standard as that of the StartTime parameter.'."\n", + 'type' => 'string', + 'example' => '2024-10-28T12:23:37.000+00:00', + ], + 'DataSize' => [ + 'description' => 'The size of the backup data. Unit: bytes.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '76085723136', + ], + 'EndTime' => [ + 'description' => 'The end time of the backup task. The value format of this parameter follows the same standard as that of the StartTime parameter.'."\n", + 'type' => 'string', + 'example' => '2024-10-28T12:27:34.000+00:00', + ], + 'ColdDataSize' => [ + 'description' => 'The size of cold data. Unit: bytes.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'example' => '32413521', + ], + 'InstanceType' => [ + 'description' => 'The type of the instance.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'* Warehouse: virtual warehouse instance'."\n" + .'* Standard: general-purpose instance'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'Warehouse' => '', + 'Standard' => '', + ], + 'example' => 'Warehouse', + ], + 'InstanceRegion' => [ + 'description' => 'The region in which the instance resides.'."\n", + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'SnapshotRegion' => [ + 'description' => 'The region in which the backup data resides.'."\n", + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'InstanceZoneId' => [ + 'description' => 'The zone in which the instance resides.'."\n", + 'type' => 'string', + 'example' => 'cn-hangzhou-j', + ], + 'SnapshotZoneId' => [ + 'description' => 'The zone in which the backup data resides. In zone-redundant storage mode, backup data is stored in different zones, including the current zone.'."\n", + 'type' => 'string', + 'example' => 'cn-hangzhou-j', + ], + 'InstanceName' => [ + 'description' => 'The name of the instance.'."\n", + 'type' => 'string', + 'example' => 'my-hologres-dw', + ], + ], + 'description' => '', + ], + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4AA0C48F-B5BB-5FF9-A43B-6B91E0715D46\\",\\n \\"BackupDataList\\": [\\n {\\n \\"BackupType\\": \\"redundant\\",\\n \\"DataGran\\": \\"instance\\",\\n \\"Id\\": 1780805690994479000,\\n \\"InstanceId\\": \\"hgpostcn-cn-pe33jdxxxxx\\",\\n \\"StartTime\\": \\"2024-10-28T11:19:56.000+00:00\\",\\n \\"Status\\": \\"completed\\",\\n \\"TriggerType\\": \\"scheduled\\",\\n \\"DataDesc\\": \\"demo\\",\\n \\"DataTime\\": \\"2024-10-28T12:23:37.000+00:00\\",\\n \\"DataSize\\": 76085723136,\\n \\"EndTime\\": \\"2024-10-28T12:27:34.000+00:00\\",\\n \\"ColdDataSize\\": 32413521,\\n \\"InstanceType\\": \\"Warehouse\\",\\n \\"InstanceRegion\\": \\"cn-hangzhou\\",\\n \\"SnapshotRegion\\": \\"cn-hangzhou\\",\\n \\"InstanceZoneId\\": \\"cn-hangzhou-j\\",\\n \\"SnapshotZoneId\\": \\"cn-hangzhou-j\\",\\n \\"InstanceName\\": \\"my-hologres-dw\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListBackupData', + ], + 'EnableSSL' => [ + 'summary' => '打开SSL', + 'path' => '/api/v1/instances/{instanceId}/enableSSL', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'hgpostcn-cn-7mz2vmu30003', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '819A7F0F-2951-540F-BD94-6A41ECF0281F', + ], + 'Data' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"819A7F0F-2951-540F-BD94-6A41ECF0281F\\",\\n \\"Data\\": true,\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"null\\",\\n \\"ErrorMessage\\": \\"null\\",\\n \\"HttpStatusCode\\": \\"200\\"\\n}","type":"json"}]', + ], + 'DisableSSL' => [ + 'summary' => '关闭SSL', + 'path' => '/api/v1/instances/{instanceId}/disableSSL', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREhologram5MV4AO', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'hgpostcn-cn-lbj33559x001', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '819A7F0F-2951-540F-BD94-6A41ECF0281F', + ], + 'Data' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Success' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"819A7F0F-2951-540F-BD94-6A41ECF0281F\\",\\n \\"Data\\": true,\\n \\"Success\\": \\"true\\",\\n \\"ErrorCode\\": \\"null\\",\\n \\"ErrorMessage\\": \\"null\\",\\n \\"HttpStatusCode\\": \\"200\\"\\n}","type":"json"}]', + ], + 'GetCertificateAttribute' => [ + 'summary' => '获得证书信息', + 'path' => '/api/v1/instances/{instanceId}/certificateAttribute', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'hgpostcn-cn-zpr3426vm002', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '819A7F0F-2951-540F-BD94-6A41ECF0281F', + ], + 'CertificateAttributeDto' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'enableSSL' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'expirationTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1790583135000', + ], + 'status' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ineffective' => '', + 'effective' => '', + ], + 'example' => 'effective', + ], + ], + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"819A7F0F-2951-540F-BD94-6A41ECF0281F\\",\\n \\"CertificateAttributeDto\\": {\\n \\"enableSSL\\": true,\\n \\"expirationTime\\": 1790583135000,\\n \\"status\\": \\"effective\\"\\n },\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"null\\",\\n \\"ErrorMessage\\": \\"null\\",\\n \\"HttpStatusCode\\": \\"200\\"\\n}","type":"json"}]', + ], + 'GetRootCertificate' => [ + 'summary' => '获得根证书', + 'path' => '/api/v1/instances/{instanceId}/rootCertificate', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'hgpostcn-cn-zpr3426vm002', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '819A7F0F-2951-540F-BD94-6A41ECF0281F', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{ "rootCertificate": "BEGIN xxxx"}', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"819A7F0F-2951-540F-BD94-6A41ECF0281F\\",\\n \\"Data\\": \\"{ \\\\\\"rootCertificate\\\\\\": \\\\\\"BEGIN xxxx\\\\\\"}\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"null\\",\\n \\"ErrorMessage\\": \\"null\\",\\n \\"HttpStatusCode\\": \\"200\\"\\n}","type":"json"}]', + ], + 'RenewSSLCertificate' => [ + 'summary' => '更新证书', + 'path' => '/api/v1/instances/{instanceId}/renewSSLCertificate', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'hgprecn-cn-i7m2v08uu00a', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'requestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '819A7F0F-2951-540F-BD94-6A41ECF0281F', + ], + 'Data' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"819A7F0F-2951-540F-BD94-6A41ECF0281F\\",\\n \\"Data\\": true,\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"null\\",\\n \\"ErrorMessage\\": \\"null\\",\\n \\"HttpStatusCode\\": \\"200\\"\\n}","type":"json"}]', + ], + ], + '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', + ], + ], +]; |
