From eccd5cd5a067f5659982685afdeea209b1888efb Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sat, 14 Feb 2026 10:08:30 +0800 Subject: first commit --- data/hologram/2022-06-01/api-docs.php | 1720 +++++++++++++++++++++++++++++++++ 1 file changed, 1720 insertions(+) create mode 100644 data/hologram/2022-06-01/api-docs.php (limited to 'data/hologram/2022-06-01') diff --git a/data/hologram/2022-06-01/api-docs.php b/data/hologram/2022-06-01/api-docs.php new file mode 100644 index 0000000..877d7e9 --- /dev/null +++ b/data/hologram/2022-06-01/api-docs.php @@ -0,0 +1,1720 @@ + '1.0', + 'info' => [ + 'style' => 'ROA', + 'product' => 'Hologram', + 'version' => '2022-06-01', + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'RevokeTablePermission' => [ + 'path' => '/api/v1/instances/{instanceId}/revokeTablePermission', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'databaseName' => [ + 'type' => 'string', + 'required' => false, + ], + 'userName' => [ + 'type' => 'string', + 'required' => false, + ], + 'schemaName' => [ + 'type' => 'string', + 'required' => false, + ], + 'tableName' => [ + 'type' => 'string', + 'required' => false, + ], + 'privileges' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'allTable' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'RevokeSchemaPermission' => [ + 'path' => '/api/v1/instances/{instanceId}/revokeSchemaPermission', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'databaseName' => [ + 'type' => 'string', + 'required' => false, + ], + 'userName' => [ + 'type' => 'string', + 'required' => false, + ], + 'schemaName' => [ + 'type' => 'string', + 'required' => false, + ], + 'privileges' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + ], + ], + 'RevokeDatabasePermission' => [ + 'path' => '/api/v1/instances/{instanceId}/revokeDatabasePermission', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'databaseName' => [ + 'type' => 'string', + 'required' => false, + ], + 'userName' => [ + 'type' => 'string', + 'required' => false, + ], + 'privileges' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + ], + ], + 'ListDatabases' => [ + 'path' => '/api/v1/instances/{instanceId}/listDatabases', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'external', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + ], + 'GrantTablePermission' => [ + 'path' => '/api/v1/instances/{instanceId}/grantTablePermission', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'databaseName' => [ + 'type' => 'string', + 'required' => false, + ], + 'privileges' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'userName' => [ + 'type' => 'string', + 'required' => false, + ], + 'schemaName' => [ + 'type' => 'string', + 'required' => false, + ], + 'tableName' => [ + 'type' => 'string', + 'required' => false, + ], + 'allTable' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'GrantSchemaPermission' => [ + 'path' => '/api/v1/instances/{instanceId}/grantSchemaPermission', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'databaseName' => [ + 'type' => 'string', + 'required' => false, + ], + 'privileges' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'userName' => [ + 'type' => 'string', + 'required' => false, + ], + 'schemaName' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'GrantDatabasePermission' => [ + 'path' => '/api/v1/instances/{instanceId}/grantDatabasePermission', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'databaseName' => [ + 'type' => 'string', + 'required' => false, + ], + 'privileges' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + ], + 'userName' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'CreateInstance' => [ + 'path' => '/api/v1/instances/create', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'regionId' => [ + 'type' => 'string', + 'required' => true, + ], + 'zoneId' => [ + 'type' => 'string', + 'required' => true, + ], + 'vpcId' => [ + 'type' => 'string', + 'required' => true, + ], + 'vSwitchId' => [ + 'type' => 'string', + 'required' => true, + ], + 'resourceGroupId' => [ + 'type' => 'string', + 'required' => false, + ], + 'instanceName' => [ + 'type' => 'string', + 'required' => true, + ], + 'instanceType' => [ + 'type' => 'string', + 'required' => true, + 'enum' => [ + 'Standard', + 'Follower', + 'Warehouse', + 'Shared', + 'Serverless', + ], + ], + 'cpu' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + 'storageSize' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + 'coldStorageSize' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + 'gatewayCount' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'minimum' => '2', + 'maximum' => '50', + ], + 'chargeType' => [ + 'type' => 'string', + 'required' => true, + 'enum' => [ + 'PrePaid', + 'PostPaid', + ], + ], + 'autoPay' => [ + 'type' => 'boolean', + 'required' => false, + ], + 'pricingCycle' => [ + 'type' => 'string', + 'required' => false, + 'enum' => [ + 'Month', + 'Hour', + ], + ], + 'duration' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + 'autoRenew' => [ + 'type' => 'boolean', + 'required' => false, + ], + 'leaderInstanceId' => [ + 'type' => 'string', + 'required' => false, + ], + 'initialDatabases' => [ + 'type' => 'string', + 'required' => false, + ], + 'enableServerlessComputing' => [ + 'type' => 'boolean', + 'required' => false, + ], + 'storageType' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'DeleteInstance' => [ + 'path' => '/api/v1/instances/{instanceId}/delete', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'RenewInstance' => [ + 'path' => '/api/v1/instances/{instanceId}/renew', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'duration' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + 'autoRenew' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'RestartInstance' => [ + 'path' => '/api/v1/instances/{instanceId}/restart', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'ResumeInstance' => [ + 'path' => '/api/v1/instances/{instanceId}/resume', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'UpdateInstanceName' => [ + 'path' => '/api/v1/instances/{instanceId}/instanceName', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'instanceName' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'UpdateInstanceNetworkType' => [ + 'path' => '/api/v1/instances/{instanceId}/network', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'networkTypes' => [ + 'type' => 'string', + 'required' => false, + ], + 'vpcId' => [ + 'type' => 'string', + 'required' => false, + ], + 'vSwitchId' => [ + 'type' => 'string', + 'required' => false, + ], + 'vpcRegionId' => [ + 'type' => 'string', + 'required' => false, + ], + 'vpcOwnerId' => [ + 'type' => 'string', + 'required' => false, + ], + 'anyTunnelToSingleTunnel' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'DisableHiveAccess' => [ + 'path' => '/api/v1/instances/{instanceId}/disableHiveAccess', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'EnableHiveAccess' => [ + 'path' => '/api/v1/instances/{instanceId}/enableHiveAccess', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'StopInstance' => [ + 'path' => '/api/v1/instances/{instanceId}/stop', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'ScaleInstance' => [ + 'path' => '/api/v1/instances/{instanceId}/scale', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'cpu' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + 'storageSize' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + 'coldStorageSize' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + 'scaleType' => [ + 'type' => 'string', + 'required' => true, + 'enum' => [ + 'UPGRADE', + 'DOWNGRADE', + ], + ], + 'gatewayCount' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + 'enableServerlessComputing' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'ChangeResourceGroup' => [ + 'path' => '/api/v1/tag/changeResourceGroup', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'newResourceGroupId' => [ + 'type' => 'string', + 'required' => false, + ], + 'instanceId' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'ListInstances' => [ + 'path' => '/api/v1/instances', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'resourceGroupId' => [ + 'type' => 'string', + 'required' => false, + ], + 'tag' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'key' => [ + 'type' => 'string', + 'required' => false, + ], + 'value' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'cmsInstanceType' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'GetInstance' => [ + 'path' => '/api/v1/instances/{instanceId}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'CreateHoloWarehouse' => [ + 'path' => '/api/v1/instances/{instanceId}/createHoloWarehouse', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => [ + 'type' => 'string', + 'required' => true, + ], + 'cpu' => [ + 'type' => 'string', + 'required' => true, + ], + 'clusterCount' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'DeleteHoloWarehouse' => [ + 'path' => '/api/v1/instances/{instanceId}/deleteHoloWarehouse', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + ], + ], + 'RebalanceHoloWarehouse' => [ + 'path' => '/api/v1/instances/{instanceId}/rebalanceHoloWarehouse', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + ], + ], + 'ResumeHoloWarehouse' => [ + 'path' => '/api/v1/instances/{instanceId}/resumeHoloWarehouse', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + ], + ], + 'SuspendHoloWarehouse' => [ + 'path' => '/api/v1/instances/{instanceId}/suspendHoloWarehouse', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + ], + ], + 'RenameHoloWarehouse' => [ + 'path' => '/api/v1/instances/{instanceId}/renameHoloWarehouse', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => [ + 'type' => 'string', + 'required' => true, + ], + 'newWarehouseName' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + ], + ], + 'ScaleHoloWarehouse' => [ + 'path' => '/api/v1/instances/{instanceId}/scaleHoloWarehouse', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => [ + 'type' => 'string', + 'required' => true, + ], + 'cpu' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + ], + 'clusterCount' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + ], + ], + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'RestartHoloWarehouse' => [ + 'path' => '/api/v1/instances/{instanceId}/restartHoloWarehouse', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + ], + ], + 'GetWarehouseDetail' => [ + 'path' => '/api/v1/instances/{instanceId}/getWarehouseDetail', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'ListWarehouses' => [ + 'path' => '/api/v1/instances/{instanceId}/listWarehouses', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'ListBackupData' => [ + 'path' => '/api/v1/backups', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'backupType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'EnableSSL' => [ + 'path' => '/api/v1/instances/{instanceId}/enableSSL', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'DisableSSL' => [ + 'path' => '/api/v1/instances/{instanceId}/disableSSL', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'GetCertificateAttribute' => [ + 'path' => '/api/v1/instances/{instanceId}/certificateAttribute', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'GetRootCertificate' => [ + 'path' => '/api/v1/instances/{instanceId}/rootCertificate', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'RenewSSLCertificate' => [ + 'path' => '/api/v1/instances/{instanceId}/renewSSLCertificate', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'ap-northeast-1', + 'endpoint' => 'hologram.ap-northeast-1.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-1', + 'endpoint' => 'hologram.ap-southeast-1.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-3', + 'endpoint' => 'hologram.ap-southeast-3.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-5', + 'endpoint' => 'hologram.ap-southeast-5.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing', + 'endpoint' => 'hologram.cn-beijing.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou', + 'endpoint' => 'hologram.cn-hangzhou.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hongkong', + 'endpoint' => 'hologram.cn-hongkong.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'hologram.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen', + 'endpoint' => 'hologram.cn-shenzhen.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhangjiakou', + 'endpoint' => 'hologram.cn-zhangjiakou.aliyuncs.com', + ], + [ + 'regionId' => 'us-west-1', + 'endpoint' => 'hologram.us-west-1.aliyuncs.com', + ], + [ + 'regionId' => 'us-east-1', + 'endpoint' => 'hologram.us-east-1.aliyuncs.com', + ], + [ + 'regionId' => 'eu-central-1', + 'endpoint' => 'hologram.eu-central-1.aliyuncs.com', + ], + [ + 'regionId' => 'ap-south-1', + 'endpoint' => 'hologram.ap-south-1.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen-finance-1', + 'endpoint' => 'hologram.cn-shenzhen-finance-1.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-finance-1', + 'endpoint' => 'hologram.cn-shanghai-finance-1.aliyuncs.com', + ], + ], +]; -- cgit v1.2.3