diff options
Diffstat (limited to 'data/en_us/paielasticdatasetaccelerator')
| -rw-r--r-- | data/en_us/paielasticdatasetaccelerator/2022-08-01/api-docs.php | 6779 |
1 files changed, 2445 insertions, 4334 deletions
diff --git a/data/en_us/paielasticdatasetaccelerator/2022-08-01/api-docs.php b/data/en_us/paielasticdatasetaccelerator/2022-08-01/api-docs.php index 6bd8d76..7885542 100644 --- a/data/en_us/paielasticdatasetaccelerator/2022-08-01/api-docs.php +++ b/data/en_us/paielasticdatasetaccelerator/2022-08-01/api-docs.php @@ -1,1951 +1,883 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'PAIElasticDatasetAccelerator', - 'version' => '2022-08-01', - ], + 'info' => ['style' => 'ROA', 'product' => 'PAIElasticDatasetAccelerator', 'version' => '2022-08-01'], 'directories' => [ [ - 'id' => 176543, - 'title' => 'Dataset acceleration instance', + 'children' => ['QueryInstanceMetrics', 'DescribeInstance'], 'type' => 'directory', - 'children' => [ - 'CreateInstance', - 'DeleteInstance', - 'UpdateInstance', - 'ListInstances', - 'QueryInstanceMetrics', - 'DescribeInstance', - ], + 'title' => 'Dataset accelerator instance', ], [ - 'id' => 176550, - 'title' => 'Data Set Acceleration Slot', + 'children' => ['CreateSlot', 'StopSlot', 'UpdateSlot', 'QuerySlotMetrics', 'ListSlots', 'DescribeSlot'], 'type' => 'directory', - 'children' => [ - 'CreateSlot', - 'DeleteSlot', - 'StopSlot', - 'UpdateSlot', - 'QuerySlotMetrics', - 'ListSlots', - 'DescribeSlot', - ], + 'title' => 'Slot', ], [ - 'id' => 176558, - 'title' => 'Dataset Acceleration Endpoint', + 'children' => ['CreateEndpoint', 'DeleteEndpoint', 'BindEndpoint', 'UnbindEndpoint', 'ListEndpoints', 'DescribeEndpoint'], 'type' => 'directory', - 'children' => [ - 'CreateEndpoint', - 'DeleteEndpoint', - 'BindEndpoint', - 'UnbindEndpoint', - 'ListEndpoints', - 'DescribeEndpoint', - ], + 'title' => 'Dataset accelerator endpoint', ], [ - 'id' => 176565, - 'title' => 'Components', + 'children' => ['DescribeComponent'], 'type' => 'directory', - 'children' => [ - 'DescribeComponent', - 'ListComponents', - ], + 'title' => 'Component', ], [ - 'id' => 176568, - 'title' => 'Label', + 'children' => ['CreateTag', 'DeleteTag'], 'type' => 'directory', - 'children' => [ - 'CreateTag', - 'DeleteTag', - 'ListTags', - ], + 'title' => 'Label', ], [ - 'id' => 176572, - 'title' => 'Statistics', + 'children' => ['QueryStatistic'], 'type' => 'directory', - 'children' => [ - 'QueryStatistic', - ], + 'title' => 'Performance statistics', ], [ - 'id' => 190126, - 'title' => 'Other', + 'children' => ['ReloadSlot', 'CreateSlots', 'CreateInstance', 'DeleteInstance', 'DeleteSlot', 'ListComponents', 'ListInstances', 'ListTags', 'UpdateInstance'], 'type' => 'directory', - 'children' => [ - 'ReloadSlot', - 'CreateSlots', - ], + 'title' => 'Others', ], ], 'components' => [ 'schemas' => [ 'EndpointStatus' => [ - 'description' => '', + 'description' => 'The status of the dataset acceleration slot mount target. ', 'properties' => [ 'Phase' => [ - 'backendName' => 'Phase', - 'description' => '', - 'enumValues' => [ - 'Created', - 'ResourceAllocating', - 'ResourceAllocated', - 'Ready', - 'Stopping', - 'Failed', - 'Stopped', - ], + 'description' => 'The status of the dataset acceleration slot mount target. Valid values: '."\n" + ."\n" + .'- Created: Creation completed. '."\n" + .'- ResourceAllocating: Resource request in progress. '."\n" + .'- ResourceAllocated: Resource request completed. '."\n" + .'- Ready: Ready. '."\n" + .'- Stopping: Stopping. '."\n" + .'- Failed: Failed. '."\n" + .'- Stopped: Stopped. ', 'example' => 'Ready', 'title' => '', 'type' => 'string', - 'visibility' => 'public', - ], - 'Code' => [ - 'backendName' => 'Code', - 'description' => '', - 'example' => '200', - 'title' => '', - 'type' => 'string', - 'visibility' => 'public', - ], - 'Message' => [ - 'backendName' => 'Message', - 'description' => '', - 'example' => 'Init Succeed', - 'title' => '', - 'type' => 'string', - 'visibility' => 'public', - ], - 'Detail' => [ - 'backendName' => 'Detail', - 'description' => '', - 'ref' => '#/components/schemas/EndpointStatusDetail', - 'title' => '', - 'visibility' => 'public', + 'enum' => ['Created', 'ResourceAllocating', 'ResourceAllocated', 'Ready', 'Stopping', 'Failed', 'Stopped'], ], + 'Code' => ['description' => 'The status code or error code corresponding to the status of the dataset acceleration slot mount target. ', 'example' => '200', 'title' => '', 'type' => 'string'], + 'Message' => ['description' => 'The message or error message associated with the status of the dataset acceleration slot mount target. ', 'example' => 'Init Succeed', 'title' => '', 'type' => 'string'], + 'Detail' => ['description' => 'Detailed information about the dataset acceleration endpoint. ', 'ref' => '#/components/schemas/EndpointStatusDetail', 'title' => '', '$ref' => '#/components/schemas/EndpointStatusDetail', 'example' => ''], ], 'title' => '', 'type' => 'object', - 'visibility' => 'public', + 'example' => '', ], 'EndpointStatusDetail' => [ - 'description' => '', + 'description' => 'Detailed status information of the dataset acceleration slot mount target. ', 'properties' => [ 'IpPortMapping' => [ - 'backendName' => 'IpPortMapping', - 'description' => '', + 'description' => 'The IP-port mapping of the services provided by the dataset acceleration slot mount target (Endpoint). '."\n" + .'- The key is the UUID of the dataset acceleration slot providing the service. '."\n" + .'- The value is the IP-port information. ', 'example' => '{ "slot-j6co2fcd": { "Ip": "10.0.0.2", "Port": 7001 }, "slot-asdgys4d": { "Ip": "10.0.0.3", "Port": 7002 } }', 'title' => '', 'type' => 'object', - 'visibility' => 'public', + 'additionalProperties' => ['description' => 'IP and port information. ', '$ref' => '#/components/schemas/IpPort', 'title' => '', 'example' => ''], ], ], 'title' => '', 'type' => 'object', - 'visibility' => 'public', + 'example' => '', ], 'InstanceLifeCycle' => [ - 'description' => '', + 'description' => 'Instance lifecycle.', 'properties' => [ - 'Type' => [ - 'backendName' => 'Type', - 'description' => '', - 'example' => 'Running', - 'title' => '', - 'type' => 'string', - 'visibility' => 'public', - ], - 'Config' => [ - 'backendName' => 'Config', - 'description' => '', - 'title' => '', - 'type' => 'string', - 'visibility' => 'public', - ], + 'Type' => ['title' => '数据集加速实例生命周期类型', 'description' => 'Instance lifecycle type.', 'type' => 'string', 'example' => 'Running'], + 'Config' => ['title' => '数据集加速实例生命周期配置', 'description' => 'Instance lifecycle configuration.', 'type' => 'string', 'example' => ''], ], - 'title' => '', + 'title' => '数据集加速实例生命周期', 'type' => 'object', - 'visibility' => 'public', + 'example' => '', ], 'InstanceStatus' => [ - 'description' => '', + 'description' => 'Dataset acceleration instance status.', 'properties' => [ 'Phase' => [ - 'backendName' => 'Phase', - 'description' => '', - 'enumValues' => [ - 'Created', - 'Running', - 'Stopped', - ], + 'description' => 'The status of the dataset acceleration instance. Possible values:'."\n" + ."\n" + .'- Created: initialization.'."\n" + .'- Running: running.'."\n" + .'- Stopped: stopped.', 'example' => 'Running', 'title' => '', 'type' => 'string', - 'visibility' => 'public', - ], - 'Code' => [ - 'backendName' => 'Code', - 'description' => '', - 'example' => '200', - 'title' => '', - 'type' => 'string', - 'visibility' => 'public', - ], - 'Message' => [ - 'backendName' => 'Message', - 'description' => '', - 'example' => 'Init Succeed', - 'title' => '', - 'type' => 'string', - 'visibility' => 'public', - ], - 'UsedCapacity' => [ - 'backendName' => 'UsedCapacity', - 'description' => '', - 'example' => '20.0G', - 'title' => '', - 'type' => 'string', - 'visibility' => 'public', - ], - 'SlotNum' => [ - 'backendName' => 'SlotNum', - 'description' => '', - 'example' => '10', - 'format' => 'int32', - 'title' => '', - 'type' => 'integer', - 'visibility' => 'public', + 'enum' => ['Created', 'Running', 'Stopped'], ], + 'Code' => ['description' => 'Status code or error code corresponding to the dataset acceleration instance status.', 'example' => '200', 'title' => '', 'type' => 'string'], + 'Message' => ['description' => 'Additional information or error message associated with the dataset acceleration instance status.', 'example' => 'Init Succeed', 'title' => '', 'type' => 'string'], + 'UsedCapacity' => ['description' => 'The capacity already occupied by the dataset acceleration instance. The capacity requested by all dataset acceleration slots under the instance is included in this occupied capacity. For the input format, refer to [Quantity](https://kubernetes.io/zh-cn/docs/reference/kubernetes-api/common-definitions/quantity/).', 'example' => '20.0G', 'title' => '', 'type' => 'string'], + 'SlotNum' => ['description' => 'Number of dataset acceleration slots.', 'example' => '10', 'format' => 'int32', 'title' => '', 'type' => 'integer'], ], 'title' => '', 'type' => 'object', - 'visibility' => 'public', + 'example' => '', + ], + 'IpPort' => [ + 'type' => 'object', + 'properties' => [ + 'Ip' => ['title' => 'IP地址。', 'type' => 'string', 'example' => '10.0.0.5'], + 'Port' => ['title' => '端口号。', 'type' => 'string', 'example' => '3306'], + ], ], 'Metric' => [ - 'description' => '', + 'description' => 'Metric information. ', 'properties' => [ - 'Timestamp' => [ - 'backendName' => 'Timestamp', - 'description' => '', - 'example' => '1655897743', - 'title' => '', - 'type' => 'string', - 'visibility' => 'public', - ], - 'Value' => [ - 'backendName' => 'Value', - 'description' => '', - 'example' => '98.35', - 'format' => 'double', - 'title' => '', - 'type' => 'number', - 'visibility' => 'public', - ], + 'Timestamp' => ['description' => 'The UNIX timestamp when the metric was collected. ', 'example' => '1655897743', 'title' => '', 'type' => 'string'], + 'Value' => ['description' => 'The specific value of the metric. Missing values are filled with 0. ', 'example' => '98.35', 'format' => 'double', 'title' => '', 'type' => 'number'], ], 'title' => '', 'type' => 'object', - 'visibility' => 'public', + 'example' => '', ], 'SlotLifeCycle' => [ - 'description' => '', + 'description' => 'Dataset acceleration slot lifecycle. ', 'properties' => [ 'Type' => [ - 'backendName' => 'Type', - 'description' => '', - 'enumValues' => [ - 'KeepAlive', - 'RelativeTime', - 'AbsoluteTime', - 'MaximumIdleTime', - ], + 'description' => 'The type of dataset acceleration slot lifecycle.'."\n" + ."\n" + .'- KeepAlive: Keeps running and will not be released.'."\n" + .'- RelativeTime: Released after running for a specified duration, in seconds.'."\n" + .'- AbsoluteTime: Automatically released at the specified point in time.'."\n" + .'- MaximumIdleTime: A relative time interval; if the difference between the last operation time and the current time exceeds this interval, the instance is released, in seconds. ', 'example' => 'KeepAlive', 'title' => '', 'type' => 'string', - 'visibility' => 'public', - ], - 'Config' => [ - 'backendName' => 'Config', - 'description' => '', - 'example' => '{}', - 'title' => '', - 'type' => 'string', - 'visibility' => 'public', + 'enum' => ['KeepAlive', 'RelativeTime', 'AbsoluteTime', 'MaximumIdleTime'], ], + 'Config' => ['description' => 'Configuration of the dataset acceleration slot lifecycle. The structure of the configuration varies depending on the type. For more complex configuration requirements, it can be parsed as a JSON string. ', 'example' => '{}', 'title' => '', 'type' => 'string'], ], 'title' => '', 'type' => 'object', - 'visibility' => 'public', + 'example' => '', ], 'SlotStatus' => [ - 'description' => '', + 'description' => 'Slot status ', 'properties' => [ 'Phase' => [ - 'backendName' => 'Phase', - 'description' => '', - 'enumValues' => [ - 'Created', - 'Preparing', - 'Loading', - 'Running', - 'Succeed', - 'Failed', - 'Stopping', - 'Stopped', - ], + 'description' => 'The status of the slot. '."\n" + ."\n" + .'- Created: Creation succeeded '."\n" + .'- Preparing: Preparing resources '."\n" + .'- Loading: Loading data '."\n" + .'- Running: Running and providing service '."\n" + .'- Reloading: Reloading data '."\n" + .'- Succeed: Succeeded '."\n" + .'- Failed: Failed '."\n" + .'- Stopping: Stopping '."\n" + .'- Stopped: Stopped ', 'example' => 'Running', 'title' => '', 'type' => 'string', - 'visibility' => 'public', - ], - 'Code' => [ - 'backendName' => 'Code', - 'description' => '', - 'example' => '200', - 'title' => '', - 'type' => 'string', - 'visibility' => 'public', - ], - 'Message' => [ - 'backendName' => 'Message', - 'description' => '', - 'example' => 'Init Succeed', - 'title' => '', - 'type' => 'string', - 'visibility' => 'public', - ], - 'Detail' => [ - 'backendName' => 'Detail', - 'description' => '', - 'ref' => '#/components/schemas/SlotStatusDetail', - 'title' => '', - 'visibility' => 'public', + 'enum' => ['Created', 'Preparing', 'Loading', 'Running', 'Succeed', 'Failed', 'Stopping', 'Stopped'], ], + 'Code' => ['description' => 'The status code or error code corresponding to the slot status. ', 'example' => '200', 'title' => '', 'type' => 'string'], + 'Message' => ['description' => 'The message or error message associated with the slot status. ', 'example' => 'Init Succeed', 'title' => '', 'type' => 'string'], + 'Detail' => ['description' => 'The data loading status of the slot. ', 'ref' => '#/components/schemas/SlotStatusDetail', 'title' => '', '$ref' => '#/components/schemas/SlotStatusDetail', 'example' => ''], ], 'title' => '', 'type' => 'object', - 'visibility' => 'public', + 'example' => '', ], 'SlotStatusDetail' => [ - 'description' => '', + 'description' => 'Detailed information about the status data of a dataset acceleration slot.', 'properties' => [ - 'LoadedFileNum' => [ - 'backendName' => 'LoadedFileNum', - 'description' => '', - 'example' => '1000000', - 'format' => 'int64', - 'title' => '', - 'type' => 'integer', - 'visibility' => 'public', - ], - 'LoadedFileSize' => [ - 'backendName' => 'LoadedFileSize', - 'description' => '', - 'example' => '200G', - 'title' => '', - 'type' => 'string', - 'visibility' => 'public', - ], - 'LoadingTimeCost' => [ - 'backendName' => 'LoadingTimeCost', - 'description' => '', - 'example' => '1800000', - 'format' => 'int64', - 'title' => '', - 'type' => 'integer', - 'visibility' => 'public', - ], + 'LoadedFileNum' => ['description' => 'The number of files loaded in the dataset acceleration slot.', 'example' => '1000000', 'format' => 'int64', 'title' => '', 'type' => 'integer'], + 'LoadedFileSize' => ['description' => 'The file size loaded in the dataset acceleration slot. The input string must comply with the following specification: [Quantity](https://kubernetes.io/zh-cn/docs/reference/kubernetes-api/common-definitions/quantity/).', 'example' => '200G', 'title' => '', 'type' => 'string'], + 'LoadingTimeCost' => ['description' => 'The time spent (in milliseconds) loading data into the dataset acceleration slot.', 'example' => '1800000', 'format' => 'int64', 'title' => '', 'type' => 'integer'], ], 'title' => '', 'type' => 'object', - 'visibility' => 'public', + 'example' => '', ], ], ], 'apis' => [ - 'CreateInstance' => [ - 'summary' => '创建数据集加速实例', - 'path' => '/api/v1/instances', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'tags' => [ - 'Instance', - ], + 'BindEndpoint' => [ + 'summary' => 'Associate a mount target with a dataset accelerator slot.', + 'path' => '/api/v1/endpoints/{EndpointId}/slots/{SlotId}', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'tags' => ['Endpoint', 'Slot'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '数据集加速实例名称。'."\n" - .'长度限制为64 Unicode 字符。'."\n" - .'如果传入值为空(包含空字符串),系统会使用Uuid字段的值作为默认名称。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'acc_instance_1', - 'maxLength' => 64, - ], - 'Description' => [ - 'title' => '数据集加速实例的描述与解释。'."\n" - .'长度限制为1024 Unicode 字符。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xgboost数据集加速实例', - 'maxLength' => 1024, - ], - 'Type' => [ - 'title' => '数据集加速实例的类型'."\n" - .'basic:基础版'."\n" - .'enhanced:增强版', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'basic', - 'enum' => [ - 'basic', - 'enhanced', - 'lj.basic', - ], - ], - 'Tags' => [ - 'title' => '用户为数据集加速实例添加的自定义标签。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'title' => '标签的键值。'."\n" - .'长度限制为 64 Unicode 字符。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'dataset_version', - 'maxLength' => 64, - ], - 'Value' => [ - 'title' => '标签的值。'."\n" - .'长度限制为 64 Unicode 字符。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'v0.1.0', - 'maxLength' => 64, - ], - ], - 'required' => false, - ], - 'required' => false, - ], - 'PaymentType' => [ - 'title' => '数据集加速实例的付费类型。'."\n" - .'PayAsYouGo:后付费(后付费/按量付费)'."\n" - .'Subscription:预付费(预付费/包年包月)', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'PayAsYouGo', - 'enum' => [ - 'PayAsYouGo', - 'Subscription', - ], - ], - 'Capacity' => [ - 'title' => '数据集加速实例的最大容量。'."\n" - .'输入字符串的格式需要满足以下规范:Quantity (https://kubernetes.io/zh-cn/docs/reference/kubernetes-api/common-definitions/quantity/)', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '30.0G', - ], - 'MaxSlot' => [ - 'title' => '数据集加速实例的最大加速槽个数。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '20', - 'default' => '100', - ], - 'MaxEndpoint' => [ - 'title' => '数据集加速实例的最大挂载点个数。', - 'type' => 'string', - 'required' => false, - 'default' => '100', - 'example' => '20', - ], - 'StorageType' => [ - 'title' => '数据集加速实例的存储类型。', - 'type' => 'string', - 'required' => false, - 'default' => 'OSS', - 'example' => 'OSS', - ], - 'ProviderType' => [ - 'title' => '数据集加速实例的资源提供者类型。', - 'type' => 'string', - 'required' => false, - 'default' => 'Ecs', - 'example' => 'Ecs', - ], - ], - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', - ], - 'InstanceId' => [ - 'title' => '数据集加速实例Id。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'inst-my1tk3jggooi5uwks5', - ], - ], - ], - ], - 400 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F', - ], - 'Code' => [ - 'title' => '语义化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'Message' => [ - 'title' => '错误消息描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'Dataset Not Found: 1234', - ], - 'Detail' => [ - 'title' => '错误详细信息。', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ErrorCode' => [ - 'title' => '数字化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '5218847334401572965', - ], - ], - 'example' => '-', - ], - ], - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\",\\n \\"InstanceId\\": \\"inst-my1tk3jggooi5uwks5\\"\\n}","type":"json"}]', - ], - 'DeleteInstance' => [ - 'summary' => '删除一个数据集加速实例。', - 'path' => '/api/v1/instances/{InstanceId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'tags' => [ - 'Instance', - ], - 'security' => [ - [ - 'AK' => [], + 'name' => 'EndpointId', + 'in' => 'path', + 'schema' => ['description' => 'The ID of the dataset accelerator slot mount target. For more information about how to obtain this ID, see [ListEndpoints](~~467913~~).', 'type' => 'string', 'required' => true, 'example' => 'end-my1tk3jggooi5uwks5', 'title' => ''], ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], - 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'SlotId', 'in' => 'path', - 'schema' => [ - 'title' => '数据集加速实例Id。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'inst-my1tk3jggooi5uwks5', - ], + 'schema' => ['description' => 'The ID of the dataset accelerator slot. For more information about how to obtain this ID, see [ListSlots](~~467905~~).', 'type' => 'string', 'required' => true, 'example' => 'slot-my1tk3jggooi5uwks5', 'title' => ''], ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ - 'description' => '', + 'description' => 'The return value.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], 400 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F', - ], - 'Code' => [ - 'title' => '语义化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'Message' => [ - 'title' => '错误消息描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'Dataset Not Found: 1234', - ], + 'RequestId' => ['title' => '', 'description' => 'Request ID.', 'type' => 'string', 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F'], + 'Code' => ['title' => '', 'description' => 'Semantic error code.', 'type' => 'string', 'example' => 'ValidationError'], + 'Message' => ['title' => '', 'description' => 'Error message description.', 'type' => 'string', 'example' => 'Dataset Not Found: 1234'], 'Detail' => [ - 'title' => '错误详细信息。', - 'description' => '', + 'title' => '', + 'description' => 'Error details.', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'title' => '数字化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '5218847334401572965', - ], + 'ErrorCode' => ['title' => '', 'description' => 'Numeric error code.', 'type' => 'string', 'example' => '5218847334401572965'], ], 'example' => '-', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\"\\n}","type":"json"}]', - ], - 'UpdateInstance' => [ - 'summary' => '更新一个数据集加速实例的信息。', - 'path' => '/api/v1/instances/{InstanceId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'Associate dataset acceleration endpoint', + 'changeSet' => [ + ['createdAt' => '2022-09-13T09:10:18.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-13T09:10:18.000Z', 'description' => 'OpenAPI offline'], ], - 'tags' => [ - 'Instance', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BindEndpoint'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'CreateEndpoint' => [ + 'summary' => 'Creates and registers an endpoint for a dataset acceleration slot.', + 'path' => '/api/v1/endpoints', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'tags' => ['Endpoint'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'title' => '数据集加速实例Id。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'inst-my1tk3jggooi5uwks5', - ], - ], - [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'The parameters of the request.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => '数据集加速实例名称。'."\n" - .'长度限制为64 Unicode 字符。'."\n" - .'如果传入值为空(包含空字符串),系统会使用Uuid字段的值作为默认名称。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'acc_instance_1', - 'maxLength' => 64, - ], - 'Description' => [ - 'title' => '数据集加速实例的描述与解释。'."\n" - .'长度限制为1024 Unicode 字符。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xgboost数据集加速实例', - 'maxLength' => 1024, - ], - 'MaxSlot' => [ - 'title' => '数据集加速实例的最大加速槽个数。', - 'description' => '', + 'Name' => ['description' => 'The name of the mount target.'."\n" + .'The maximum length is 64 characters.'."\n" + .'If this parameter is empty or an empty string is provided, the system uses the value of the Uuid field as the default name.', 'type' => 'string', 'example' => 'endpoint-1', 'title' => '', 'required' => false], + 'Type' => [ + 'description' => 'The network type of the mount target. The required parameters vary based on the network type.'."\n" + ."\n" + .'- VPC: The mount target is in a Virtual Private Cloud (VPC) network.'."\n" + ."\n" + .'- INNER: The mount target is in the PAI internal network and can be accessed by other PAI products.', 'type' => 'string', 'required' => false, - 'example' => '20', - 'default' => '20', + 'example' => 'VPC', + 'enum' => ['VPC'], + 'title' => '', ], + 'VpcId' => ['description' => 'The ID of the VPC for the mount target.', 'type' => 'string', 'required' => false, 'example' => 'vpc-j6co2fcdsl1q0gnuc****', 'title' => ''], + 'VswitchId' => ['description' => 'The ID of the vSwitch for the mount target.'."\n" + .'The vSwitch must belong to the specified VPC.', 'type' => 'string', 'required' => false, 'example' => 'vsw-j6cmr00qjyrft6jo2****', 'title' => ''], + 'InstanceId' => ['title' => '', 'description' => 'The ID of the acceleration instance.', 'type' => 'string', 'required' => true, 'example' => 'inst-ivrq92qhbyrg4jctih'], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'title' => '', + 'description' => 'The returned result.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF1****', 'title' => ''], + 'EndpointId' => ['description' => 'The ID of the dataset acceleration endpoint.', 'type' => 'string', 'example' => 'end-5zk866779me51j****', 'title' => ''], ], + 'example' => '', ], ], 400 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F', - ], - 'Code' => [ - 'title' => '语义化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'Message' => [ - 'title' => '错误消息描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'Dataset Not Found: 1234', - ], + 'RequestId' => ['title' => '', 'description' => 'Request ID. ', 'type' => 'string', 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F'], + 'Code' => ['title' => '', 'description' => 'Semantic error code. ', 'type' => 'string', 'example' => 'ValidationError'], + 'Message' => ['title' => '', 'description' => 'Error message description. ', 'type' => 'string', 'example' => 'Dataset Not Found: 1234'], 'Detail' => [ - 'title' => '错误详细信息。', - 'description' => '', + 'title' => '', + 'description' => 'Error details. ', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'title' => '数字化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '5218847334401572965', - ], + 'ErrorCode' => ['title' => '', 'description' => 'Numeric error code. ', 'type' => 'string', 'example' => '5218847334401572965'], ], 'example' => '-', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF1****\\",\\n \\"EndpointId\\": \\"end-5zk866779me51j****\\"\\n}","type":"json"}]', + 'title' => 'Create Dataset Acceleration Endpoint ', + 'changeSet' => [ + ['createdAt' => '2023-05-22T06:42:28.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-01-03T13:27:34.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-22T06:16:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-09-13T09:10:23.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-09-13T09:10:23.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-08-12T07:22:59.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateEndpoint'], + ], + ], + 'ramActions' => [], + 'translator' => 'machine', ], - 'ListInstances' => [ - 'summary' => '获取数据集加速实例信息列表。', + 'CreateInstance' => [ + 'summary' => 'Create a dataset acceleration instance.', 'path' => '/api/v1/instances', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'tags' => [ - 'Instance', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'tags' => ['Instance'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'InstanceIds', - 'in' => 'query', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '实例Id的列表,以逗号分隔。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'inst-my1tk3jggooi5uwks5, inst-n69468yvjz8d12as7d, inst-tga4omjrepklkg1onn', - ], - ], - [ - 'name' => 'Name', - 'in' => 'query', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '实例名称,支持模糊匹配', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'acc_instance_1', - ], - ], - [ - 'name' => 'Type', - 'in' => 'query', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '数据集加速实例的类型,参考:产品规格'."\n" - .'basic:基础版'."\n" - .'enhanced:增强版', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'basic', - 'enum' => [ - 'basic', - 'enhanced', - ], - ], - ], - [ - 'name' => 'PaymentType', - 'in' => 'query', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '数据集加速实例的付费类型。'."\n" - .'PayAsYouGo:后付费(后付费/按量付费)'."\n" - .'Subscription:预付费(预付费/包年包月)', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'PayAsYouGo', - 'enum' => [ - 'PayAsYouGo', - 'Subscription', - ], - ], - ], - [ - 'name' => 'Phase', - 'in' => 'query', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '数据集加速实例所处状态。状态机参考:状态机'."\n" - .'Created:初始化'."\n" - .'Running:运行中'."\n" - .'Stopped:已停止', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Running', - 'enum' => [ - 'Created', - 'Running', - 'Stopped', - ], - ], - ], - [ - 'name' => 'SortBy', - 'in' => 'query', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '排序字段', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'GmtCreateTime', - 'default' => 'GmtCreateTime', - ], - ], - [ - 'name' => 'Order', - 'in' => 'query', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '排列顺序'."\n" - .'Desc: 降序排列'."\n" - .'Asc: 升序排列', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Desc', - 'default' => 'Desc', - 'enum' => [ - 'Desc', - 'Asc', - ], - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '查询第几页数据,最小值1', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '设置查询的分页大小,最小值为1', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], - ], - ], - 'responses' => [ - 200 => [ - 'headers' => [], + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'description' => 'Request parameters.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', + 'Name' => ['description' => 'Name of the dataset acceleration instance. Format rules:'."\n" + ."\n" + .'- Maximum length is 64 characters.'."\n" + ."\n" + .'- If you leave this field empty (including an empty string), the system uses the value of the Uuid field as the default name.', 'type' => 'string', 'example' => 'acc_instance_1', 'maxLength' => 64, 'title' => '', 'required' => false], + 'Description' => ['description' => 'Description of the dataset acceleration instance. Maximum length is 1024 characters.', 'type' => 'string', 'example' => 'XGBoost dataset acceleration instance', 'maxLength' => 1024, 'title' => '', 'required' => false], + 'Type' => [ + 'description' => 'Type of the dataset acceleration instance. Valid values:'."\n" + ."\n" + .'- basic: Basic Edition.'."\n" + ."\n" + .'- enhanced: Enhanced Edition.', 'type' => 'string', 'required' => true, - 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', + 'example' => 'basic', + 'enum' => ['basic', 'enhanced', 'lj.basic'], + 'title' => '', ], - 'Instances' => [ - 'title' => '数据集加速实例列表。', - 'description' => '', + 'Tags' => [ + 'title' => '', + 'description' => 'Custom tags that you add to the dataset acceleration instance.', 'type' => 'array', 'items' => [ + 'description' => 'Tag object.', 'type' => 'object', 'properties' => [ - 'UserId' => [ - 'title' => '数据集加速实例的创建者的Uid,在阿里云内为子账号Id (主账号创建则直接为主账号Id)。', - 'description' => '', - 'type' => 'string', - 'example' => '276065346797410278', - ], - 'OwnerId' => [ - 'title' => '数据集加速实例资源拥有者的Uid,在阿里云内为主账号Id 。', - 'description' => '', - 'type' => 'string', - 'example' => '1557702098194904', - ], - 'GmtCreateTime' => [ - 'title' => '数据集加速实例创建的时间。格式使用 ISO8601(RFC3339)。', - 'description' => '', - 'type' => 'string', - 'example' => '2014-10-02T15:01:23Z', - ], - 'GmtModifiedTime' => [ - 'title' => '数据集加速实例最后更新的时间。格式使用 ISO8601(RFC3339)。', - 'description' => '', - 'type' => 'string', - 'example' => '2014-10-02T15:01:23Z', - ], - 'Uuid' => [ - 'title' => '数据集加速实例的唯一标识符。', - 'description' => '', - 'type' => 'string', - 'example' => 'inst-my1tk3jggooi5uwks5', - ], - 'Name' => [ - 'title' => '数据集加速实例名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'acc_instance_1', - ], - 'Description' => [ - 'title' => '数据集加速实例的描述与解释。', - 'description' => '', - 'type' => 'string', - 'example' => 'xgboost数据集加速实例', - ], - 'Type' => [ - 'title' => '数据集加速实例的类型'."\n" - .'Basic:基础版'."\n" - .'Advanced:进阶版'."\n" - .'Express:极速版', - 'description' => '', - 'type' => 'string', - 'example' => 'Basic', - ], - 'Tags' => [ - 'title' => '用户为数据集加速实例添加的自定义标签。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'title' => '标签的键值。'."\n" - .'长度限制为 64 Unicode 字符。', - 'description' => '', - 'type' => 'string', - 'example' => 'dataset_version', - 'maxLength' => 64, - ], - 'Value' => [ - 'title' => '标签的值。'."\n" - .'长度限制为 64 Unicode 字符。', - 'description' => '', - 'type' => 'string', - 'example' => 'v0.1.0', - 'maxLength' => 64, - ], - ], - ], - ], - 'PaymentType' => [ - 'title' => 'PayAsYouGo 数据集加速实例的付费类型。'."\n" - .'PayAsYouGo:后付费(后付费/按量付费)'."\n" - .'Subscription:预付费(预付费/包年包月)', - 'description' => '', - 'type' => 'string', - 'example' => 'PayAsYouGo', - 'enum' => [ - 'PayAsYouGo', - 'Subscription', - ], - ], - 'Capacity' => [ - 'title' => '数据集加速实例的最大容量。'."\n" - .'输入字符串的格式需要满足以下规范:Quantity', - 'description' => '', - 'type' => 'string', - 'example' => '30.0G', - ], - 'IoType' => [ - 'title' => '数据集加速实例的读写类型。', - 'type' => 'string', - 'example' => 'readonly', - ], - 'MaxSlot' => [ - 'title' => '数据集加速实例的最大加速槽个数。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - 'default' => '20', - ], - 'MaxEndpoint' => [ - 'title' => '数据集加速实例的最大挂载点个数。', - 'description' => '数据集加速实例的最大挂载点个数。', - 'type' => 'integer', - 'format' => 'int32', - 'default' => '100', - ], - 'StorageType' => [ - 'title' => '数据集加速实例的存储类型。', - 'description' => '数据集加速实例的存储类型。', - 'type' => 'string', - 'example' => 'OSS', - 'default' => 'OSS', - ], - 'ProviderType' => [ - 'title' => '数据集加速实例的资源提供者类型。', - 'description' => '数据集加速实例的资源提供者类型。', - 'type' => 'string', - 'example' => 'Ecs', - 'default' => 'Ecs', - ], - 'Status' => [ - 'title' => '数据集加速实例状态。', - 'description' => '', - '$ref' => '#/components/schemas/InstanceStatus', - ], + 'Key' => ['description' => 'Key of the tag. Maximum length is 64 characters.', 'type' => 'string', 'example' => 'dataset_version', 'maxLength' => 64, 'title' => '', 'required' => false], + 'Value' => ['description' => 'Value of the tag. Maximum length is 64 characters.', 'type' => 'string', 'example' => 'v0.1.0', 'maxLength' => 64, 'title' => '', 'required' => false], ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'required' => false, + 'example' => '', ], - 'TotalCount' => [ - 'title' => '列表内元素数量总和。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - ], - ], - ], - 400 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F', - ], - 'Code' => [ - 'title' => '语义化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'Message' => [ - 'title' => '错误消息描述。', - 'description' => '', + 'PaymentType' => [ + 'description' => 'Payment type of the dataset acceleration instance. Valid values:'."\n" + ."\n" + .'- PayAsYouGo: pay-as-you-go.'."\n" + ."\n" + .'- Subscription: subscription.', 'type' => 'string', - 'example' => 'Dataset Not Found: 1234', - ], - 'Detail' => [ - 'title' => '错误详细信息。', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ErrorCode' => [ - 'title' => '数字化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '5218847334401572965', - ], - ], - 'example' => '-', + 'required' => true, + 'example' => 'PayAsYouGo', + 'enum' => ['PayAsYouGo', 'Subscription'], + 'title' => '', ], + 'Capacity' => ['description' => 'Maximum capacity of the dataset acceleration instance. The input string must follow the [Quantity](https://kubernetes.io/zh-cn/docs/reference/kubernetes-api/common-definitions/quantity/) format.', 'type' => 'string', 'required' => true, 'example' => '30.0G', 'title' => ''], + 'MaxSlot' => ['description' => 'Maximum number of acceleration slots for the dataset acceleration instance.', 'type' => 'string', 'example' => '20', 'default' => '100', 'title' => '', 'required' => false], + 'MaxEndpoint' => ['title' => '', 'description' => 'Maximum number of mount targets for the dataset acceleration instance.', 'type' => 'string', 'example' => '20', 'default' => '100', 'required' => false], + 'StorageType' => ['title' => '', 'description' => 'Storage class of the dataset acceleration instance.', 'type' => 'string', 'example' => 'OSS', 'default' => 'OSS', 'required' => false], + 'ProviderType' => ['title' => '', 'description' => 'Resource provider type for the dataset acceleration instance.', 'type' => 'string', 'example' => 'Ecs', 'default' => 'Ecs', 'required' => false], ], - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\",\\n \\"Instances\\": [\\n {\\n \\"UserId\\": \\"276065346797410278\\",\\n \\"OwnerId\\": \\"1557702098194904\\",\\n \\"GmtCreateTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"GmtModifiedTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"Uuid\\": \\"inst-my1tk3jggooi5uwks5\\",\\n \\"Name\\": \\"acc_instance_1\\",\\n \\"Description\\": \\"xgboost数据集加速实例\\",\\n \\"Type\\": \\"Basic\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"dataset_version\\",\\n \\"Value\\": \\"v0.1.0\\"\\n }\\n ],\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"Capacity\\": \\"30.0G\\",\\n \\"IoType\\": \\"readonly\\",\\n \\"MaxSlot\\": 20,\\n \\"MaxEndpoint\\": 0,\\n \\"StorageType\\": \\"OSS\\",\\n \\"ProviderType\\": \\"Ecs\\",\\n \\"Status\\": {\\n \\"Phase\\": \\"Running\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Init Succeed\\",\\n \\"UsedCapacity\\": \\"20.0G\\",\\n \\"SlotNum\\": 10\\n }\\n }\\n ],\\n \\"TotalCount\\": 100\\n}","type":"json"}]', - ], - 'QueryInstanceMetrics' => [ - 'summary' => '查询并获取监控指标信息。', - 'path' => '/api/v1/instances/{InstanceId}/metrics/action/query', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'tags' => [ - 'Instance', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'title' => '监控指标所属的数据集加速实例Id。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'inst-abcdefgh12****', - ], - ], - [ - 'name' => 'Dimensions', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'title' => '监控指标的标签集,参考 Prometheus Label'."\n" - .'每种类型所包含的Labels不同,参考:类型详细信息'."\n" - .'仅接受预定义的Label Key,不支持自定义'."\n" - .'格式:key-value键值对形式的集合。', - 'description' => '', - 'type' => 'object', - 'required' => false, - 'example' => 'SlotIDs: xxx', - ], - ], - [ - 'name' => 'MetricType', - 'in' => 'query', - 'schema' => [ - 'title' => '监控指标的类型:'."\n" - .'StorageUsage:存储使用量'."\n" - .'StorageUsageRatio:存储使用率'."\n" - .'CachedFileTotal:已缓存文件数量'."\n" - .'CachedTaskTotal:已缓存任务数', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'StorageUsage', - 'enum' => [ - 'NetworkReceiveBytesPerSecond', - 'NetworkTransmitBytesPerSecond', - 'FrontendThroughputBytes', - 'FrontendLatencyMicrosecond', - 'FrontendIops', - ], - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'title' => '起始时间.默认是1小时前。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2020-11-08T15:00:00Z', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'title' => '截止时间.默认是当前。', - 'description' => '', - 'type' => 'string', 'required' => false, - 'example' => '2020-11-08T16:00:00Z', - ], - ], - [ - 'name' => 'TimeStep', - 'in' => 'query', - 'schema' => [ - 'title' => '时间间隔。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '5m', - 'default' => '5m', + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'Response body.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', - ], - 'Metrics' => [ - 'title' => '监控指标信息列表。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - '$ref' => '#/components/schemas/Metric', - ], - ], - 'Period' => [ - 'title' => '时间间隔。', - 'description' => '', - 'type' => 'string', - 'example' => '60s', - ], + 'RequestId' => ['description' => 'ID of the request.', 'type' => 'string', 'required' => true, 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', 'title' => ''], + 'InstanceId' => ['description' => 'ID of the dataset acceleration instance.', 'type' => 'string', 'required' => false, 'example' => 'inst-my1tk3jggooi5uwks5', 'title' => ''], ], + 'example' => '', ], ], 400 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F', - ], - 'Code' => [ - 'title' => '语义化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'Message' => [ - 'title' => '错误消息描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'Dataset Not Found: 1234', - ], + 'RequestId' => ['title' => '', 'description' => 'Request ID. ', 'type' => 'string', 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F'], + 'Code' => ['title' => '', 'description' => 'Semantic error code. ', 'type' => 'string', 'example' => 'ValidationError'], + 'Message' => ['title' => '', 'description' => 'Error message description. ', 'type' => 'string', 'example' => 'Dataset Not Found: 1234'], 'Detail' => [ - 'title' => '错误详细信息。', - 'description' => '', + 'title' => '', + 'description' => 'Detailed error information. ', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'title' => '数字化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '5218847334401572965', - ], + 'ErrorCode' => ['title' => '', 'description' => 'Numeric error code. ', 'type' => 'string', 'example' => '5218847334401572965'], ], 'example' => '-', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\",\\n \\"Metrics\\": [\\n {\\n \\"Timestamp\\": \\"1655897743\\",\\n \\"Value\\": 98.35\\n }\\n ],\\n \\"Period\\": \\"60s\\"\\n}","type":"json"}]', - ], - 'DescribeInstance' => [ - 'summary' => '获取指定数据集加速实例信息。', - 'path' => '/api/v1/instances/{InstanceId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\",\\n \\"InstanceId\\": \\"inst-my1tk3jggooi5uwks5\\"\\n}","type":"json"}]', + 'title' => 'Create a dataset acceleration instance ', + 'changeSet' => [ + ['createdAt' => '2023-05-22T12:06:13.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-10-14T08:37:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-13T09:10:23.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-09-13T09:10:23.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-08-13T16:52:28.000Z', 'description' => 'OpenAPI offline'], ], - 'tags' => [ - 'Instance', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateInstance'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'CreateSlot' => [ + 'summary' => 'Create and register a dataset acceleration slot.', + 'path' => '/api/v1/slots', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'tags' => ['Slot'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'title' => '数据集加速实例ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'inst-my1tk3jggooi5uwks5', - ], - ], - ], - 'responses' => [ - 200 => [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'Request parameters.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', - ], - 'UserId' => [ - 'title' => '数据集加速实例的创建者的Uid,在阿里云内为子账号Id (主账号创建则直接为主账号Id)。', - 'description' => '', - 'type' => 'string', - 'example' => '276065346797410278', - ], - 'OwnerId' => [ - 'title' => '数据集加速实例资源拥有者的Uid,在阿里云内为主账号Id 。', - 'description' => '', - 'type' => 'string', - 'example' => '1557702098194904', - ], - 'GmtCreateTime' => [ - 'title' => '数据集加速实例创建的时间。格式使用 ISO8601(RFC3339)。', - 'description' => '', - 'type' => 'string', - 'example' => '2014-10-02T15:01:23Z', - ], - 'GmtModifiedTime' => [ - 'title' => '数据集加速实例最后更新的时间。格式使用 ISO8601(RFC3339)。', - 'description' => '', - 'type' => 'string', - 'example' => '2014-10-02T15:01:23Z', - ], - 'Uuid' => [ - 'title' => '数据集加速实例的唯一标识符。', - 'description' => '', - 'type' => 'string', - 'example' => 'inst-my1tk3jggooi5uwks5', - ], - 'Name' => [ - 'title' => '数据集加速实例名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'acc_instance_1', - ], - 'Description' => [ - 'title' => '数据集加速实例的描述与解释。', - 'description' => '', - 'type' => 'string', - 'example' => 'xgboost数据集加速实例', - ], - 'Type' => [ - 'title' => '数据集加速实例的类型'."\n" - .'basic:基础版'."\n" - .'enhanced:增强版', - 'description' => '', - 'type' => 'string', - 'example' => 'basic', - ], + 'InstanceId' => ['description' => 'The unique identifier of the dataset acceleration instance that the slot belongs to. To get an instance ID, see [ListInstances](~~467899~~).', 'type' => 'string', 'required' => true, 'example' => 'inst-my1tk3jggooi5uwks5', 'title' => ''], + 'Name' => ['description' => 'The name of the dataset acceleration slot. The name can be up to 64 characters long.', 'type' => 'string', 'example' => 'slot_1', 'maxLength' => 64, 'title' => '', 'required' => false], + 'Description' => ['description' => 'A description of the dataset acceleration slot. The description can be up to 1024 characters long.', 'type' => 'string', 'example' => 'XGBoost dataset acceleration slot', 'maxLength' => 1024, 'title' => '', 'required' => false], 'Tags' => [ - 'title' => '用户为数据集加速实例添加的自定义标签。', - 'description' => '', + 'title' => '', + 'description' => 'Custom tags that you add to the dataset acceleration slot.', 'type' => 'array', 'items' => [ + 'description' => 'A tag object.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'title' => '标签的键值。'."\n" - .'长度限制为 64 Unicode 字符。', - 'description' => '', - 'type' => 'string', - 'example' => 'dataset_version', - 'maxLength' => 64, - ], - 'Value' => [ - 'title' => '标签的值。'."\n" - .'长度限制为 64 Unicode 字符。', - 'description' => '', - 'type' => 'string', - 'example' => 'v0.1.0', - 'maxLength' => 64, - ], + 'Key' => ['description' => 'The key of the tag. The key can be up to 64 characters long.', 'type' => 'string', 'example' => 'dataset_version', 'maxLength' => 64, 'title' => '', 'required' => false], + 'Value' => ['description' => 'The value of the tag. The value can be up to 64 characters long.', 'type' => 'string', 'example' => 'v0.1.0', 'maxLength' => 64, 'title' => '', 'required' => false], ], + 'required' => false, + 'title' => '', + 'example' => '', ], - ], - 'PaymentType' => [ - 'title' => 'PayAsYouGo 数据集加速实例的付费类型。'."\n" - .'PayAsYouGo:后付费(后付费/按量付费)'."\n" - .'Subscription:预付费(预付费/包年包月)', - 'description' => '', - 'type' => 'string', - 'example' => 'PayAsYouGo', - 'enum' => [ - 'PayAsYouGo', - 'Subscription', - ], - ], - 'Capacity' => [ - 'title' => '数据集加速实例的最大容量。'."\n" - .'输入字符串的格式需要满足以下规范:Quantity', - 'description' => '', - 'type' => 'string', - 'example' => '30.0G', - ], - 'IoType' => [ - 'title' => '数据集加速实例的读写类型。', - 'type' => 'string', - 'example' => 'readonly', - ], - 'MaxSlot' => [ - 'title' => '数据集加速实例的最大加速槽个数。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - 'default' => '100', - ], - 'MaxEndpoint' => [ - 'title' => '数据集加速实例的最大挂载点个数。', - 'description' => '数据集加速实例的最大挂载点个数。', - 'type' => 'integer', - 'format' => 'int32', - 'default' => '100', + 'required' => false, + 'example' => '', ], 'StorageType' => [ - 'title' => '数据集加速实例的存储类型。', - 'description' => '数据集加速实例的存储类型。', + 'description' => 'The storage type of the dataset acceleration slot. Valid values:'."\n" + ."\n" + .'- OSS: OSS file storage.'."\n" + ."\n" + .'- NAS: NAS file storage.', 'type' => 'string', + 'required' => true, 'example' => 'OSS', - 'default' => 'OSS', - ], - 'ProviderType' => [ - 'title' => '数据集加速实例的资源提供者类型。', - 'description' => '数据集加速实例的资源提供者类型。', - 'type' => 'string', - 'example' => 'Ecs', - 'default' => 'Ecs', - ], - 'Status' => [ - 'title' => '数据集加速实例状态。', - 'description' => '', - '$ref' => '#/components/schemas/InstanceStatus', + 'enum' => ['OSS', 'NAS', 'CPFS'], + 'title' => '', + ], + 'StorageUri' => ['description' => 'The resource identifier of the dataset. The format varies by storage type.', 'type' => 'string', 'required' => true, 'example' => 'oss://pai-vision-data-hz2.oss-cn-hangzhou-internal.aliyuncs.com/data/VOCdevkit/VOC2007/ImageSets/Main/val.txt', 'title' => ''], + 'Capacity' => ['description' => 'The maximum capacity of the dataset acceleration slot. The string must follow the [Quantity](https://kubernetes.io/zh-cn/docs/reference/kubernetes-api/common-definitions/quantity/) format.', 'type' => 'string', 'required' => true, 'example' => '30.0G', 'title' => ''], + 'LifeCycle' => ['description' => 'The lifecycle of the dataset acceleration slot.', '$ref' => '#/components/schemas/SlotLifeCycle', 'title' => '', 'required' => false, 'example' => ''], + 'IoType' => ['description' => 'The read-write mode of the dataset acceleration slot. Valid values:'."\n" + ."\n" + .'- readonly: Read-only.'."\n" + ."\n" + .'- readwrite: Read-write.', 'type' => 'string', 'required' => false, 'example' => 'readonly', 'title' => ''], + 'Endpoints' => [ + 'title' => '', + 'description' => 'The list of mount targets to create with the dataset acceleration slot.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the mount target. The name can be up to 64 characters long. If you leave this field empty or pass an empty string, the system uses the value of the Uuid field as the default name.', 'type' => 'string', 'example' => 'endpoint-1', 'title' => '', 'required' => false], + 'Type' => [ + 'description' => 'The network type of the mount target. Required parameters vary by network type. VPC: The endpoint machine is in a Virtual Private Cloud (VPC).', + 'type' => 'string', + 'example' => 'VPC', + 'enum' => ['VPC'], + 'title' => '', + 'required' => false, + ], + 'VpcId' => ['description' => 'The ID of the VPC used by the mount target.', 'type' => 'string', 'example' => 'vpc-j6co2fcdsl1q0gnuc3ym3', 'title' => '', 'required' => false], + 'VswitchId' => ['description' => 'The ID of the vSwitch used by the mount target. The vSwitch must belong to the specified VPC.', 'type' => 'string', 'example' => 'vsw-j6cmr00qjyrft6jo2mg7g', 'title' => '', 'required' => false], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'example' => '', ], + 'EndpointIds' => ['description' => 'The IDs of existing mount targets to attach to the dataset acceleration slot. Separate multiple IDs with commas (,).', 'type' => 'string', 'example' => 'end-my1tk3jggooi5uwks5,end-n69468yvjz8d12as7d,end-tga4omjrepklkg1onn', 'title' => '', 'required' => false], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => 'The response body.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', 'title' => ''], + 'SlotId' => ['description' => 'The ID of the dataset acceleration slot.', 'type' => 'string', 'example' => 'slot-5zk866779me51jgu3w', 'title' => ''], + 'EndpointIds' => ['title' => '', 'description' => 'The IDs of the mount targets attached to the dataset.', 'type' => 'string', 'example' => 'end-5zk866779me51jgu3w,end-5zk866779me51jgu3w'], ], + 'example' => '', ], ], 400 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F', - ], - 'Code' => [ - 'title' => '语义化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'Message' => [ - 'title' => '错误消息描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'Dataset Not Found: 1234', - ], + 'RequestId' => ['title' => '', 'description' => 'Request ID.', 'type' => 'string', 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F'], + 'Code' => ['title' => '', 'description' => 'Semantic error code.', 'type' => 'string', 'example' => 'ValidationError'], + 'Message' => ['title' => '', 'description' => 'Error message description.', 'type' => 'string', 'example' => 'Dataset Not Found: 1234'], 'Detail' => [ - 'title' => '错误详细信息。', - 'description' => '', + 'title' => '', + 'description' => 'Detailed error information.', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'title' => '数字化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '5218847334401572965', - ], + 'ErrorCode' => ['title' => '', 'description' => 'Numeric error code.', 'type' => 'string', 'example' => '5218847334401572965'], ], 'example' => '-', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF1****\\",\\n \\"UserId\\": \\"27606534679741****\\",\\n \\"OwnerId\\": \\"155770209819****\\",\\n \\"GmtCreateTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"GmtModifiedTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"Uuid\\": \\"inst-my1tk3jggooi5u****\\",\\n \\"Name\\": \\"acc_instance_1\\",\\n \\"Description\\": \\"xgboost数据集加速实例\\",\\n \\"Type\\": \\"basic\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"dataset_version\\",\\n \\"Value\\": \\"v0.1.0\\"\\n }\\n ],\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"Capacity\\": \\"30.0G\\",\\n \\"IoType\\": \\"readonly\\",\\n \\"MaxSlot\\": 20,\\n \\"MaxEndpoint\\": 0,\\n \\"StorageType\\": \\"OSS\\",\\n \\"ProviderType\\": \\"Ecs\\",\\n \\"Status\\": {\\n \\"Phase\\": \\"Running\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Init Succeed\\",\\n \\"UsedCapacity\\": \\"20.0G\\",\\n \\"SlotNum\\": 10\\n }\\n}","type":"json"}]', - 'title' => 'DescribeInstance', - ], - 'CreateSlot' => [ - 'summary' => '创建并注册一个 数据集加速槽。', - 'path' => '/api/v1/slots', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\",\\n \\"SlotId\\": \\"slot-5zk866779me51jgu3w\\",\\n \\"EndpointIds\\": \\"end-5zk866779me51jgu3w,end-5zk866779me51jgu3w\\"\\n}","type":"json"}]', + 'title' => 'Create Slot', + 'changeSet' => [ + ['createdAt' => '2024-02-26T07:51:53.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2023-01-03T13:27:35.000Z', 'description' => 'Response parameters changed, Response parameters changed'], + ['createdAt' => '2022-09-13T09:10:18.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-13T09:10:18.000Z', 'description' => 'OpenAPI offline'], ], - 'tags' => [ - 'Slot', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSlot'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'CreateSlots' => [ + 'summary' => 'Creates dataset acceleration slots in batches.', + 'path' => '/api/v1/batch/slots/create', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'tags' => ['Slot'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => [], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'Request parameters.', 'type' => 'object', 'properties' => [ - 'InstanceId' => [ - 'title' => '数据集加速槽所对应的数据集加速实例的唯一标识符。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'inst-my1tk3jggooi5uwks5', - ], - 'Name' => [ - 'title' => '数据集加速槽名称。'."\n" - .'长度限制为64 Unicode 字符。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'slot_1', - 'maxLength' => 64, - ], - 'Description' => [ - 'title' => '数据集加速槽的描述与解释。'."\n" - .'长度限制为1024 Unicode 字符。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xgboost数据集加速槽', - 'maxLength' => 1024, - ], - 'Tags' => [ - 'title' => '用户为数据集加速槽添加的自定义标签。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'title' => '标签的键值。'."\n" - .'长度限制为 64 Unicode 字符。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'dataset_version', - 'maxLength' => 64, - ], - 'Value' => [ - 'title' => 'v0.1.0 标签的值。'."\n" - .'长度限制为 64 Unicode 字符。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'v0.1.0', - 'maxLength' => 64, - ], - ], - 'required' => false, - ], - 'required' => false, - ], - 'StorageType' => [ - 'title' => '数据集加速槽的数据存储类型。'."\n" - .'OSS:OSS文件存储'."\n" - .'NAS:NAS文件存储', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'OSS', - 'enum' => [ - 'OSS', - 'NAS', - 'CPFS', - ], - ], - 'StorageUri' => [ - 'title' => '数据集加速槽的数据的资源标识符,数据类型不同存在不同格式。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'oss://pai-vision-data-hz2.oss-cn-hangzhou-internal.aliyuncs.com/data/VOCdevkit/VOC2007/ImageSets/Main/val.txt', - ], - 'Capacity' => [ - 'title' => '数据集加速槽的最大容量。'."\n" - .'输入字符串的格式需要满足以下规范:Quantity', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '30.0G', - ], - 'LifeCycle' => [ - 'title' => '数据集加速槽的生命周期。', - 'description' => '', - 'required' => false, - '$ref' => '#/components/schemas/SlotLifeCycle', - ], - 'IoType' => [ - 'type' => 'string', - ], - 'Endpoints' => [ - 'title' => '创建数据集加速槽时,同时创建的挂载点列表。', - 'description' => '', + 'Slots' => [ + 'description' => 'List of dataset acceleration slots.', 'type' => 'array', 'items' => [ + 'description' => 'A dataset acceleration slot.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => '挂载点的名称。'."\n" - .'长度限制为64 Unicode 字符。'."\n" - .'如果传入值为空(包含空字符串),系统会使用Uuid字段的值作为默认名称。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'endpoint-1', - ], - 'Type' => [ - 'title' => '挂载点的网络类型,根据网络类型不同,下列中需要传入的参数也有所不同。'."\n" - .'VPC:端点机器处于VPC网络', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'VPC', - 'enum' => [ - 'VPC', + 'InstanceId' => ['description' => 'The unique identifier of the dataset acceleration instance that the slot belongs to.', 'type' => 'string', 'required' => true, 'example' => 'inst-my1tk3jggooi5u****', 'title' => ''], + 'Name' => ['description' => 'The name of the dataset acceleration slot.'."\n" + .'The name can be up to 64 Unicode characters in length.', 'type' => 'string', 'example' => 'slot_1', 'maxLength' => 64, 'title' => '', 'required' => false], + 'Description' => ['description' => 'A description of the dataset acceleration slot.'."\n" + .'The description can be up to 1024 Unicode characters in length.', 'type' => 'string', 'example' => 'XGBoost dataset acceleration slot', 'maxLength' => 1024, 'title' => '', 'required' => false], + 'Tags' => [ + 'title' => '', + 'description' => 'Custom tags that you add to the dataset acceleration slot.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The key of the tag.'."\n" + .'The key can be up to 64 Unicode characters in length.', 'type' => 'string', 'example' => 'dataset_version', 'maxLength' => 64, 'title' => '', 'required' => false], + 'Value' => ['description' => 'The value of the tag.'."\n" + .'The value can be up to 64 Unicode characters in length.', 'type' => 'string', 'example' => 'v0.1.0', 'maxLength' => 64, 'title' => '', 'required' => false], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', ], - ], - 'VpcId' => [ - 'title' => '挂载点使用的专有网络 VPC Id。', - 'description' => '', - 'type' => 'string', 'required' => false, - 'example' => 'vpc-j6co2fcdsl1q0gnuc3ym3', - ], - 'VswitchId' => [ - 'title' => '挂载点使用的交换机 Vswitch Id。'."\n" - .'该Vswitch需要属于传入的 VPC。', - 'description' => '', + 'example' => '', + ], + 'LifeCycle' => ['description' => 'The lifecycle of the dataset acceleration slot.', '$ref' => '#/components/schemas/SlotLifeCycle', 'title' => '', 'required' => false, 'example' => ''], + 'IoType' => ['description' => 'The read/write type of the dataset acceleration slot. Valid values:'."\n" + ."\n" + .'- readwrite: Read and write.'."\n" + ."\n" + .'- readonly: Read-only.', 'type' => 'string', 'required' => false, 'example' => 'readonly', 'title' => ''], + 'StorageType' => [ + 'description' => 'The data storage type of the dataset acceleration slot.'."\n" + .'OSS: OSS file storage.'."\n" + .'NAS: NAS file storage.', 'type' => 'string', - 'required' => false, - 'example' => 'vsw-j6cmr00qjyrft6jo2mg7g', + 'required' => true, + 'example' => 'OSS', + 'enum' => ['OSS', 'NAS', 'CPFS'], + 'title' => '', ], + 'StorageUri' => ['description' => 'The resource identifier of the data in the dataset acceleration slot. The format varies by data type.', 'type' => 'string', 'required' => true, 'example' => 'oss://examplebucket.oss-cn-hangzhou-internal.aliyuncs.com/data/VOCdevkit/VOC2007/ImageSets/Main/val.txt', 'title' => ''], + 'Capacity' => ['description' => 'The maximum capacity of the dataset acceleration slot.'."\n" + .'The string must follow the [Quantity](https://kubernetes.io/zh-cn/docs/reference/kubernetes-api/common-definitions/quantity/) specification.', 'type' => 'string', 'required' => false, 'example' => '500Gi', 'title' => ''], + 'EndpointIds' => ['description' => 'A comma-separated list of mount target IDs to attach when creating the dataset acceleration slot.', 'type' => 'string', 'example' => 'end-my1tk3jggooi5***s5,end-n69468yvjz8d12a***,end-tga4omjrepklkg1***', 'title' => '', 'required' => false], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, + 'title' => '', + 'example' => '', ], - 'EndpointIds' => [ - 'title' => '创建数据集加速槽时,同时挂载的数据集加速槽挂载点Id的列表,以逗号分隔。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'end-my1tk3jggooi5uwks5,end-n69468yvjz8d12as7d,end-tga4omjrepklkg1onn', - ], + 'DryRun' => ['description' => 'Whether to perform a dry run for this request.'."\n" + ."\n" + .'A dry run checks parameter validity and inventory without creating resources or charging fees.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- true: Checks the request but does not create resources.'."\n" + ."\n" + .'- false (default): Creates resources after validation.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'true', 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'Response schema', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', - ], - 'SlotId' => [ - 'title' => '数据集加速槽Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'slot-5zk866779me51jgu3w', - ], - 'EndpointIds' => [ - 'title' => '数据集挂载点Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'end-5zk866779me51jgu3w,end-5zk866779me51jgu3w', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', 'title' => ''], + 'SlotIds' => ['description' => 'The ID of the dataset acceleration slot.', 'type' => 'string', 'example' => 'slot-5zk866779me51j****', 'title' => ''], + 'Summary' => [ + 'description' => 'Summary information.', + 'type' => 'object', + 'additionalProperties' => ['description' => 'Summary information.', 'type' => 'string', 'example' => '{\'SlotsTotalSize\': \'0.0Gi\', \'SlotsTotalNum\': \'1\', \'DataSourceTotalSize\': \'0\'}', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], 400 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F', - ], - 'Code' => [ - 'title' => '语义化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'Message' => [ - 'title' => '错误消息描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'Dataset Not Found: 1234', - ], + 'RequestId' => ['title' => '', 'description' => 'Request ID.', 'type' => 'string', 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F'], + 'Code' => ['title' => '', 'description' => 'Semantic error code.', 'type' => 'string', 'example' => 'ValidationError'], + 'Message' => ['title' => '', 'description' => 'Error message description.', 'type' => 'string', 'example' => 'Dataset Not Found: 1234'], 'Detail' => [ - 'title' => '错误详细信息。', - 'description' => '', + 'title' => '', + 'description' => 'Detailed error information.', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'title' => '数字化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '5218847334401572965', - ], + 'ErrorCode' => ['title' => '', 'description' => 'Numeric error code.', 'type' => 'string', 'example' => '5218847334401572965'], ], 'example' => '-', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\",\\n \\"SlotId\\": \\"slot-5zk866779me51jgu3w\\",\\n \\"EndpointIds\\": \\"end-5zk866779me51jgu3w,end-5zk866779me51jgu3w\\"\\n}","type":"json"}]', - ], - 'DeleteSlot' => [ - 'summary' => '删除一个数据集加速槽。', - 'path' => '/api/v1/slots/{SlotId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\",\\n \\"SlotIds\\": \\"slot-5zk866779me51j****\\",\\n \\"Summary\\": {\\n \\"key\\": \\"{\'SlotsTotalSize\': \'0.0Gi\', \'SlotsTotalNum\': \'1\', \'DataSourceTotalSize\': \'0\'}\\"\\n }\\n}","type":"json"}]', + 'title' => 'Batch Create Acceleration Slots', + 'changeSet' => [ + ['createdAt' => '2024-02-26T07:51:52.000Z', 'description' => 'Request parameters changed'], ], - 'tags' => [ - 'Slot', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSlots'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'CreateTag' => [ + 'summary' => 'Creates a tag for a resource.', + 'path' => '/api/v1/tags', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'tags' => ['Tag'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'SlotId', - 'in' => 'path', - 'schema' => [ - 'title' => '数据集加速槽Id。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'slot-my1tk3jggooi5uwks5', - ], - ], - [ - 'name' => 'Force', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => '是否不等待加速槽停止,强制删除。', - 'description' => '', - 'type' => 'boolean', + 'description' => 'Request parameters.', + 'type' => 'object', + 'properties' => [ + 'ResourceType' => [ + 'description' => 'The type of resource to which the tag belongs. Valid values:'."\n" + ."\n" + .'- Instance: Dataset acceleration instance.'."\n" + ."\n" + .'- Slot: Dataset acceleration slot.', + 'type' => 'string', + 'required' => true, + 'example' => 'Instance', + 'enum' => ['Instance', 'Slot'], + 'title' => '', + ], + 'ResourceId' => ['description' => 'The ID of the resource to which the tag belongs.'."\n" + ."\n" + .'- If ResourceType is Instance, set it to the dataset acceleration instance ID. For more information about how to obtain the acceleration instance ID, see [ListInstances](~~467899~~).'."\n" + ."\n" + .'- If ResourceType is Slot, set it to the dataset acceleration slot ID. For more information about how to obtain the dataset acceleration slot ID, see [ListSlots](~~467905~~).', 'type' => 'string', 'required' => true, 'example' => 'inst-my1tk3jggooi5uwks', 'title' => ''], + 'Key' => ['description' => 'The tag key. The length limit is 64 Unicode characters.', 'type' => 'string', 'required' => true, 'example' => 'dataset_version', 'maxLength' => 64, 'title' => ''], + 'Value' => ['description' => 'The tag value. The length limit is 64 Unicode characters.', 'type' => 'string', 'required' => true, 'example' => 'v0.1.0', 'maxLength' => 64, 'title' => ''], + ], 'required' => false, - 'example' => 'false', - 'default' => 'false', + 'title' => '', + 'example' => '', ], ], ], @@ -1953,3665 +885,2844 @@ 200 => [ 'headers' => [], 'schema' => [ - 'description' => '', + 'description' => 'Return value.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], 400 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F', - ], - 'Code' => [ - 'title' => '语义化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'Message' => [ - 'title' => '错误消息描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'Dataset Not Found: 1234', - ], + 'RequestId' => ['title' => '', 'description' => 'Request ID.', 'type' => 'string', 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F'], + 'Code' => ['title' => '', 'description' => 'Semantic error code.', 'type' => 'string', 'example' => 'ValidationError'], + 'Message' => ['title' => '', 'description' => 'Error message description.', 'type' => 'string', 'example' => 'Dataset Not Found: 1234'], 'Detail' => [ - 'title' => '错误详细信息。', - 'description' => '', + 'title' => '', + 'description' => 'Detailed error information.', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'title' => '数字化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '5218847334401572965', - ], + 'ErrorCode' => ['title' => '', 'description' => 'Numeric error code.', 'type' => 'string', 'example' => '5218847334401572965'], ], 'example' => '-', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\"\\n}","type":"json"}]', - ], - 'StopSlot' => [ - 'summary' => '停止一个数据集加速槽。', - 'path' => '/api/v1/slots/{SlotId}/action/stop', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'Create Label', + 'description' => '- If a tag with the same key already exists for the resource, the existing value is overwritten.'."\n" + ."\n" + .'- If no tag with the same key exists, a new tag is created.', + 'changeSet' => [ + ['createdAt' => '2022-09-13T09:10:12.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-13T09:10:12.000Z', 'description' => 'OpenAPI offline'], ], - 'tags' => [ - 'Slot', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTag'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'DeleteEndpoint' => [ + 'summary' => 'Deletes a slot mount target.', + 'path' => '/api/v1/endpoints/{EndpointId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'tags' => ['Endpoint'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => [], 'parameters' => [ [ - 'name' => 'SlotId', + 'name' => 'EndpointId', 'in' => 'path', - 'schema' => [ - 'title' => '数据集加速槽Id。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'slot-my1tk3jggooi5uwks5', - ], + 'schema' => ['description' => 'The ID of the slot mount target.', 'type' => 'string', 'required' => true, 'example' => 'end-my1tk3jggooi5uwks5', 'title' => ''], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ - 'description' => '', + 'description' => 'The return value.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], 400 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F', - ], - 'Code' => [ - 'title' => '语义化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'Message' => [ - 'title' => '错误消息描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'Dataset Not Found: 1234', - ], + 'RequestId' => ['title' => '', 'description' => 'Request ID. ', 'type' => 'string', 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F'], + 'Code' => ['title' => '', 'description' => 'Semantic error code. ', 'type' => 'string', 'example' => 'ValidationError'], + 'Message' => ['title' => '', 'description' => 'Error message description. ', 'type' => 'string', 'example' => 'Dataset Not Found: 1234'], 'Detail' => [ - 'title' => '错误详细信息。', - 'description' => '', + 'title' => '', + 'description' => 'Detailed error information. ', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'title' => '数字化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '5218847334401572965', - ], + 'ErrorCode' => ['title' => '', 'description' => 'Numeric error code. ', 'type' => 'string', 'example' => '5218847334401572965'], ], 'example' => '-', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\"\\n}","type":"json"}]', - ], - 'UpdateSlot' => [ - 'summary' => '更新一个数据集加速槽的信息。', - 'path' => '/api/v1/slots/{SlotId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'tags' => [ - 'Slot', + 'title' => 'Delete Dataset Acceleration Endpoint ', + 'description' => 'After you call this operation, Alibaba Cloud deletes the resources required for network connectivity. This may cause your applications to lose access to the cache service. Ensure that no applications are accessing the slot before you delete it.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteEndpoint'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'DeleteInstance' => [ + 'summary' => 'Deletes a dataset acceleration instance.', + 'path' => '/api/v1/instances/{InstanceId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'tags' => ['Instance'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ - 'name' => 'SlotId', + 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '数据集加速槽Id。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'slot-my1tk3jggooi5uwks5', - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '数据集加速槽名称。'."\n" - .'长度限制为64 Unicode 字符。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'slot_1', - 'maxLength' => 64, - ], - 'Description' => [ - 'title' => '数据集加速槽的描述与解释。'."\n" - .'长度限制为1024 Unicode 字符。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xgboost数据集加速槽', - 'maxLength' => 1024, - ], - 'Tags' => [ - 'title' => '用户为数据集加速槽添加的自定义标签。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'title' => '标签的键值。'."\n" - .'长度限制为 64 Unicode 字符。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'dataset_version', - 'maxLength' => 64, - ], - 'Value' => [ - 'title' => 'v0.1.0 标签的值。'."\n" - .'长度限制为 64 Unicode 字符。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'v0.1.0', - 'maxLength' => 64, - ], - ], - 'required' => false, - ], - 'required' => false, - ], - 'StorageType' => [ - 'title' => '数据集加速槽的数据存储类型。'."\n" - .'OSS:OSS文件存储'."\n" - .'NAS:NAS文件存储', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'OSS', - 'enum' => [ - 'OSS', - 'NAS', - ], - ], - 'StorageUri' => [ - 'title' => '数据集加速槽的数据的资源标识符,数据类型不同存在不同格式。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'oss://pai-vision-data-hz2.oss-cn-hangzhou-internal.aliyuncs.com/data/VOCdevkit/VOC2007/ImageSets/Main/val.txt', - ], - 'Capacity' => [ - 'title' => '数据集加速槽的最大容量。'."\n" - .'输入字符串的格式需要满足以下规范:Quantity', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '30.0G', - ], - 'LifeCycle' => [ - 'title' => '数据集加速槽的生命周期。', - 'description' => '', - 'required' => false, - '$ref' => '#/components/schemas/SlotLifeCycle', - ], - ], - 'required' => false, - ], + 'schema' => ['description' => 'Dataset acceleration instance ID. For more information about how to get the acceleration instance ID, see [ListInstances](~~467899~~).', 'type' => 'string', 'required' => true, 'example' => 'inst-my1tk3jggooi5uwks5', 'title' => ''], ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ - 'description' => '', + 'description' => 'Return value.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], 400 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F', - ], - 'Code' => [ - 'title' => '语义化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'Message' => [ - 'title' => '错误消息描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'Dataset Not Found: 1234', - ], + 'RequestId' => ['title' => '', 'description' => 'Request ID. ', 'type' => 'string', 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F'], + 'Code' => ['title' => '', 'description' => 'Semantic error code. ', 'type' => 'string', 'example' => 'ValidationError'], + 'Message' => ['title' => '', 'description' => 'Error message description. ', 'type' => 'string', 'example' => 'Dataset Not Found: 1234'], 'Detail' => [ - 'title' => '错误详细信息。', - 'description' => '', + 'title' => '', + 'description' => 'Detailed error information. ', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'title' => '数字化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '5218847334401572965', - ], + 'ErrorCode' => ['title' => '', 'description' => 'Numeric error code. ', 'type' => 'string', 'example' => '5218847334401572965'], ], 'example' => '-', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\"\\n}","type":"json"}]', - ], - 'QuerySlotMetrics' => [ - 'summary' => '查询并获取监控指标信息', - 'path' => '/api/v1/slots/{SlotId}/metrics/action/query', - 'methods' => [ - 'post', + 'title' => 'Delete a dataset acceleration instance ', + 'description' => 'The API performs checks before deletion. The instance is deleted only if the following conditions are met. Otherwise, the deletion fails.'."\n" + ."\n" + .'- No slots under this instance are in a non-desired state.', + 'changeSet' => [ + ['createdAt' => '2022-09-13T09:10:18.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-13T09:10:18.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', - ], - 'tags' => [ - 'Slot', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteInstance'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'DeleteSlot' => [ + 'summary' => 'Deletes a slot.', + 'path' => '/api/v1/slots/{SlotId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'tags' => ['Slot'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'SlotId', 'in' => 'path', - 'schema' => [ - 'title' => '监控指标所属的数据集加速槽ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'slot-abcdefgh12****', - ], - ], - [ - 'name' => 'Dimensions', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'title' => '监控指标的标签集,参考 Prometheus Label'."\n" - .'每种类型所包含的Labels不同,参考:类型详细信息'."\n" - .'仅接受预定义的Label Key,不支持自定义'."\n" - .'格式:key-value键值对形式的集合。', - 'description' => '', - 'type' => 'object', - 'required' => false, - 'example' => 'SlotIDs: xxx', - ], + 'schema' => ['description' => 'The ID of the slot. For information on how to obtain the slot ID, see [ListSlots](~~467905~~).', 'type' => 'string', 'required' => true, 'example' => 'slot-my1tk3jggooi5uwks5', 'title' => ''], ], [ - 'name' => 'MetricType', - 'in' => 'query', - 'schema' => [ - 'title' => '监控指标的类型:'."\n" - .'StorageUsage:存储使用量'."\n" - .'StorageUsageRatio:存储使用率'."\n" - .'CachedFileTotal:已缓存文件数量'."\n" - .'CachedTaskTotal:已缓存任务数', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'NetworkReceiveBytesPerSecond', - 'enum' => [ - 'NetworkTransmitBytesPerSecond', - 'NetworkReceiveBytesPerSecond', - 'FrontendThroughputBytes', - 'FrontendLatencyMicrosecond', - 'FrontendIops', - ], - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'title' => '起始时间.默认是1小时前。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2020-11-08T15:00:00Z', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'title' => '截止时间.默认是当前。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2020-11-08T16:00:00Z', - ], - ], - [ - 'name' => 'TimeStep', + 'name' => 'Force', 'in' => 'query', - 'schema' => [ - 'title' => '时间间隔。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '5m', - 'default' => '5m', - ], + 'schema' => ['title' => '', 'description' => 'Force delete the slot without waiting for it to stop.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'false'], ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'description' => 'Return value.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', - ], - 'Metrics' => [ - 'title' => '监控指标信息列表。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - '$ref' => '#/components/schemas/Metric', - ], - ], - 'Period' => [ - 'title' => '时间间隔。', - 'description' => '', - 'type' => 'string', - 'example' => '60s', - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], 400 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F', - ], - 'Code' => [ - 'title' => '语义化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'Message' => [ - 'title' => '错误消息描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'Dataset Not Found: 1234', - ], + 'RequestId' => ['title' => '', 'description' => 'Request ID.', 'type' => 'string', 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F'], + 'Code' => ['title' => '', 'description' => 'Semantic error code.', 'type' => 'string', 'example' => 'ValidationError'], + 'Message' => ['title' => '', 'description' => 'Error message description.', 'type' => 'string', 'example' => 'Dataset Not Found: 1234'], 'Detail' => [ - 'title' => '错误详细信息。', - 'description' => '', + 'title' => '', + 'description' => 'Detailed error information.', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'title' => '数字化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '5218847334401572965', - ], + 'ErrorCode' => ['title' => '', 'description' => 'Numeric error code.', 'type' => 'string', 'example' => '5218847334401572965'], ], 'example' => '-', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\",\\n \\"Metrics\\": [\\n {\\n \\"Timestamp\\": \\"1655897743\\",\\n \\"Value\\": 98.35\\n }\\n ],\\n \\"Period\\": \\"60s\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\"\\n}","type":"json"}]', + 'title' => 'Delete Dataset Acceleration Slot', + 'description' => 'This operation checks the slot before deleting it. The slot is deleted only if it meets the following condition. Otherwise, the deletion fails.'."\n" + ."\n" + .'- The slot is in the desired state.', + 'changeSet' => [ + ['createdAt' => '2023-01-03T13:27:34.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-13T09:10:12.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-13T09:10:12.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSlot'], + ], + ], + 'ramActions' => [], + 'translator' => 'machine', ], - 'ListSlots' => [ - 'summary' => '获取数据集加速槽的信息列表。', - 'path' => '/api/v1/slots', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'tags' => [ - 'Slot', - ], + 'DeleteTag' => [ + 'summary' => 'Deletes a tag from a resource.', + 'path' => '/api/v1/tags', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'tags' => ['Tag'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ - 'name' => 'SlotIds', - 'in' => 'query', - 'schema' => [ - 'title' => '数据集加速槽ID的列表,以逗号分隔。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'slot-my1tk3jggooi5uwks5,slot-n69468yvjz8d12as7d,slot-tga4omjrepklkg1onn', - ], - ], - [ - 'name' => 'InstanceIds', - 'in' => 'query', - 'schema' => [ - 'title' => '加速槽所对应的数据集加速实例的唯一标识符。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'inst-my1tk3jggooi5uwks5', - ], - ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'title' => '数据集加速槽名称,支持模糊匹配', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'acc_instance_slot_1', - ], - ], - [ - 'name' => 'StorageType', - 'in' => 'query', - 'schema' => [ - 'title' => '数据集加速槽的数据存储类型。'."\n" - .'OSS:OSS文件存储'."\n" - .'NAS:NAS文件存储', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'OSS', - 'enum' => [ - 'OSS', - 'NAS', - ], - ], - ], - [ - 'name' => 'Phase', - 'in' => 'query', - 'schema' => [ - 'title' => '数据集加速槽所处状态。'."\n" - .'Created:已创建'."\n" - .'Preparing:正在准备资源'."\n" - .'Loading:正在加载数据'."\n" - .'Running:正在运行,提供服务'."\n" - .'Reloading:正在重新加载数据'."\n" - .'Succeed:成功完成'."\n" - .'Failed:已失败'."\n" - .'Stopping:正在停止'."\n" - .'Stopped:已停止', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Running', - 'enum' => [ - 'Created', - 'Preparing', - 'Loading', - 'Running', - 'Succeed', - 'Failed', - 'Stopping', - 'Stopped', - ], - ], - ], - [ - 'name' => 'SortBy', - 'in' => 'query', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '排序字段', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'GmtCreateTime', - 'default' => 'GmtCreateTime', - ], - ], - [ - 'name' => 'Order', + 'name' => 'ResourceType', 'in' => 'query', - 'allowEmptyValue' => true, 'schema' => [ - 'title' => '排列顺序'."\n" - .'Desc: 降序排列'."\n" - .'Asc: 升序排列', - 'description' => '', + 'description' => 'The type of the resource to which the tag belongs. Valid values:'."\n" + ."\n" + .'- Instance: dataset acceleration instance.'."\n" + ."\n" + .'- Slot: dataset acceleration slot.', 'type' => 'string', - 'required' => false, - 'example' => 'Desc', - 'default' => 'Desc', - 'enum' => [ - 'Desc', - 'Asc', - ], - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '查询第几页数据,最小值1', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '1', - 'default' => '1', + 'required' => true, + 'example' => 'Instance', + 'enum' => ['Instance', 'Slot'], + 'title' => '', ], ], [ - 'name' => 'PageSize', + 'name' => 'ResourceId', 'in' => 'query', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '设置查询的分页大小,最小值为1', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => 'The ID of the resource to which the tag belongs.'."\n" + ."\n" + .'- If ResourceType is Instance, set this parameter to the dataset acceleration instance ID. For more information about how to obtain the instance ID, see [ListInstances](~~467899~~).'."\n" + ."\n" + .'- If ResourceType is Slot, set this parameter to the dataset acceleration slot ID. For more information about how to obtain the slot ID, see [ListSlots](~~467905~~).', 'type' => 'string', 'required' => true, 'example' => 'inst-my1tk3jggooi5uwks', 'title' => ''], ], [ - 'name' => 'EndpointIds', - 'in' => 'query', - 'schema' => [ - 'title' => '加速槽所对应的数据集加速挂载点的唯一标识符。', - 'description' => '加速槽所对应的数据集加速挂载点的唯一标识符。', - 'type' => 'string', - 'required' => false, - 'example' => 'endp-my1tk3jggooi5uwks5', - ], - ], - [ - 'name' => 'StorageUri', + 'name' => 'Key', 'in' => 'query', - 'schema' => [ - 'title' => '数据集加速槽的数据存储路径(URI)。', - 'description' => '数据集加速槽的数据存储路径(URI)。', - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['description' => 'The key of the tag.', 'type' => 'string', 'required' => true, 'example' => 'dataset_version', 'maxLength' => 64, 'title' => ''], ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ - 'title' => '', - 'description' => '', + 'description' => 'Return value.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', - ], - 'Slots' => [ - 'title' => '数据集加速列表', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'UserId' => [ - 'title' => '数据集加速槽的创建者的Uid,在阿里云内为子账号Id (主账号创建则直接为主账号Id)。', - 'description' => '', - 'type' => 'string', - 'example' => '276065346797410278', - ], - 'OwnerId' => [ - 'title' => '数据集加速槽资源拥有者的Uid,在阿里云内为主账号Id 。', - 'description' => '', - 'type' => 'string', - 'example' => '1557702098194904', - ], - 'GmtCreateTime' => [ - 'title' => '数据集加速槽创建的时间。格式使用 ISO8601(RFC3339)。', - 'description' => '', - 'type' => 'string', - 'example' => '2014-10-02T15:01:23Z', - ], - 'GmtModifiedTime' => [ - 'title' => '数据集加速槽最后更新的时间。格式使用 ISO8601(RFC3339)。', - 'description' => '', - 'type' => 'string', - 'example' => '2014-10-02T15:01:23Z', - ], - 'Uuid' => [ - 'title' => '数据集加速槽的唯一标识符。', - 'description' => '', - 'type' => 'string', - 'example' => 'slot-5zk866779me51jgu3w', - ], - 'InstanceId' => [ - 'title' => '加速槽所对应的数据集加速实例的唯一标识符。', - 'description' => '', - 'type' => 'string', - 'example' => 'inst-my1tk3jggooi5uwks5', - ], - 'Name' => [ - 'title' => '数据集加速槽名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'slot_1', - ], - 'Description' => [ - 'title' => '数据集加速槽的描述与解释。', - 'description' => '', - 'type' => 'string', - 'example' => 'xgboost数据集加速槽', - ], - 'Tags' => [ - 'title' => '用户为数据集加速槽添加的自定义标签。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'title' => '标签的键值。', - 'description' => '', - 'type' => 'string', - 'example' => 'dataset_version', - ], - 'Value' => [ - 'title' => '标签的值。', - 'description' => '', - 'type' => 'string', - 'example' => 'v0.1.0', - ], - ], - ], - ], - 'StorageType' => [ - 'title' => '数据集加速槽的数据存储类型。'."\n" - .'OSS:OSS文件存储'."\n" - .'NAS:NAS文件存储', - 'description' => '', - 'type' => 'string', - 'example' => 'OSS', - 'enum' => [ - 'OSS', - 'NAS', - ], - ], - 'StorageUri' => [ - 'title' => '数据集加速槽的数据的资源标识符,数据类型不同存在不同格式。', - 'description' => '', - 'type' => 'string', - 'example' => 'oss://pai-vision-data-hz2.oss-cn-hangzhou-internal.aliyuncs.com/data/VOCdevkit/VOC2007/ImageSets/Main/val.txt', - ], - 'Capacity' => [ - 'title' => '数据集加速槽的最大容量。输入字符串的格式需要满足以下规范:Quantity', - 'description' => '', - 'type' => 'string', - 'example' => '30.0G', - ], - 'IoType' => [ - 'title' => '数据集加速槽的读写类型。', - 'description' => '数据集加速槽的读写类型。', - 'type' => 'string', - 'example' => 'readonly', - ], - 'LifeCycle' => [ - 'title' => '数据集加速槽的生命周期。', - 'description' => '', - '$ref' => '#/components/schemas/SlotLifeCycle', - ], - 'Status' => [ - 'title' => '数据集加速槽状态。', - 'description' => '', - '$ref' => '#/components/schemas/SlotStatus', - ], - 'Endpoints' => [ - 'title' => '数据集加速槽关联的端点列表。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'UserId' => [ - 'title' => '数据集加速端点的创建者的Uid,在阿里云内为子账号Id (主账号创建则直接为主账号Id)。', - 'description' => '', - 'type' => 'string', - 'example' => '276065346797410278', - ], - 'OwnerId' => [ - 'title' => '数据集加速端点的资源拥有者的Uid,在阿里云内为主账号Id 。', - 'description' => '', - 'type' => 'string', - 'example' => '1557702098194904', - ], - 'GmtCreateTime' => [ - 'title' => '数据集加速端点创建的时间。格式使用 ISO8601(RFC3339)。', - 'description' => '', - 'type' => 'string', - 'example' => '2014-10-02T15:01:23Z', - ], - 'GmtModifiedTime' => [ - 'title' => '数据集加速端点最后更新的时间。格式使用 ISO8601(RFC3339)。', - 'description' => '', - 'type' => 'string', - 'example' => '2014-10-02T15:01:23Z', - ], - 'Uuid' => [ - 'title' => '挂载点的唯一标识符。', - 'description' => '', - 'type' => 'string', - 'example' => 'end-ivrq92qhbyrg4jctih', - ], - 'Name' => [ - 'title' => '挂载点的名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'endpoint-1', - ], - 'Type' => [ - 'title' => '挂载点的网络类型,根据网络类型不同,下列中需要传入的参数也有所不同。'."\n" - .'VPC:端点机器处于VPC网络', - 'description' => '', - 'type' => 'string', - 'example' => 'VPC', - 'enum' => [ - 'VPC', - ], - ], - 'VpcId' => [ - 'title' => '挂载点使用的专有网络 VPC Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-j6co2fcdsl1q0gnuc3ym3', - ], - 'VswitchId' => [ - 'title' => '挂载点使用的交换机 Vswitch Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-j6cmr00qjyrft6jo2mg7g', - ], - 'Status' => [ - 'title' => '数据集加速槽挂载点的状态。', - 'description' => '', - '$ref' => '#/components/schemas/EndpointStatus', - ], - ], - ], - ], - ], - ], - ], - 'TotalCount' => [ - 'title' => '列表内元素数量总和。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], 400 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F', - ], - 'Code' => [ - 'title' => '语义化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'Message' => [ - 'title' => '错误消息描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'Dataset Not Found: 1234', - ], + 'RequestId' => ['title' => '', 'description' => 'Request ID.', 'type' => 'string', 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F'], + 'Code' => ['title' => '', 'description' => 'Semantic error code.', 'type' => 'string', 'example' => 'ValidationError'], + 'Message' => ['title' => '', 'description' => 'Error message description.', 'type' => 'string', 'example' => 'Dataset Not Found: 1234'], 'Detail' => [ - 'title' => '错误详细信息。', - 'description' => '', + 'title' => '', + 'description' => 'Detailed error information.', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'title' => '数字化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '5218847334401572965', - ], + 'ErrorCode' => ['title' => '', 'description' => 'Numeric error code.', 'type' => 'string', 'example' => '5218847334401572965'], ], 'example' => '-', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF1****\\",\\n \\"Slots\\": [\\n {\\n \\"UserId\\": \\"27606534679741****\\",\\n \\"OwnerId\\": \\"155770209819****\\",\\n \\"GmtCreateTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"GmtModifiedTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"Uuid\\": \\"slot-5zk866779me51j****\\",\\n \\"InstanceId\\": \\"inst-my1tk3jggooi5u****\\",\\n \\"Name\\": \\"slot_1\\",\\n \\"Description\\": \\"xgboost数据集加速槽\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"dataset_version\\",\\n \\"Value\\": \\"v0.1.0\\"\\n }\\n ],\\n \\"StorageType\\": \\"OSS\\",\\n \\"StorageUri\\": \\"oss://examplebucket/data/VOCdevkit/VOC2007/ImageSets/Main/val.txt\\",\\n \\"Capacity\\": \\"30.0G\\",\\n \\"IoType\\": \\"readonly\\",\\n \\"LifeCycle\\": {\\n \\"Type\\": \\"Running\\",\\n \\"Config\\": \\"{}\\"\\n },\\n \\"Status\\": {\\n \\"Phase\\": \\"Running\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Init Succeed\\",\\n \\"Detail\\": {\\n \\"LoadedFileNum\\": 1000000,\\n \\"LoadedFileSize\\": \\"200G\\",\\n \\"LoadingTimeCost\\": 1800000\\n }\\n },\\n \\"Endpoints\\": [\\n {\\n \\"UserId\\": \\"27606534679741****\\",\\n \\"OwnerId\\": \\"155770209819****\\",\\n \\"GmtCreateTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"GmtModifiedTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"Uuid\\": \\"end-ivrq92qhbyrg4j****\\",\\n \\"Name\\": \\"endpoint-1\\",\\n \\"Type\\": \\"VPC\\",\\n \\"VpcId\\": \\"vpc-j6co2fcdsl1q0gnuc****\\",\\n \\"VswitchId\\": \\"vsw-j6cmr00qjyrft6jo2****\\",\\n \\"Status\\": {\\n \\"Phase\\": \\"Ready\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Init Succeed\\",\\n \\"Detail\\": {\\n \\"IpPortMapping\\": {\\n \\"key\\": {\\n \\"Ip\\": \\"10.0.0.5\\",\\n \\"Port\\": \\"3306\\"\\n }\\n }\\n }\\n }\\n }\\n ]\\n }\\n ],\\n \\"TotalCount\\": 100\\n}","type":"json"}]', - 'title' => 'ListSlots', - ], - 'DescribeSlot' => [ - 'summary' => '获取指定数据集加速槽的信息。', - 'path' => '/api/v1/slots/{SlotId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\"\\n}","type":"json"}]', + 'title' => 'Remove tags', + 'changeSet' => [ + ['createdAt' => '2022-09-13T09:10:12.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-13T09:10:12.000Z', 'description' => 'OpenAPI offline'], ], - 'tags' => [ - 'Slot', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteTag'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'DescribeComponent' => [ + 'summary' => 'Retrieves information about a specified dataset acceleration component.', + 'path' => '/api/v1/components/{ComponentId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'tags' => ['Component'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'SlotId', + 'name' => 'ComponentId', 'in' => 'path', + 'schema' => ['description' => 'The ID of the dataset acceleration component. For more information about how to get the component ID, see [ListComponents](~~467918~~).', 'type' => 'string', 'required' => true, 'example' => 'cmpt-my1tk3jggooi5uwks5', 'title' => ''], + ], + [ + 'name' => 'RenderTemplate', + 'in' => 'query', + 'schema' => ['description' => 'Render and display the component template. If the value is true, the response includes the rendered template content.'."\n" + ."\n" + .'> Only the following component list is supported: dataset-accelerator. The maximum length of the returned component template content is 4096 Byte. If the content exceeds this length, it is truncated.', 'type' => 'boolean', 'default' => 'false', 'title' => '', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'Values', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'title' => '数据集加速槽ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'slot-my1tk3jggooi5uwks5', + 'title' => '', + 'description' => 'Parameters used when rendering the component template.', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['description' => 'The property values of the component.', 'type' => 'any', 'example' => '{\\"frontEndPort\\":\\"24457\\",\\"endpointId\\":\\"end-mlpo5mrygduwl9lm31\\",\\"frontEndAddr\\":\\"192.168.0.3\\",\\"slotId\\":\\"slot-vas3b1ygg22sxbq972\\",\\"region\\":\\"cn-shanghai\\"}', 'title' => ''], + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'title' => '', + 'description' => 'The returned result.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', - ], - 'UserId' => [ - 'title' => '数据集加速槽的创建者的Uid,在阿里云内为子账号Id (主账号创建则直接为主账号Id)。', - 'description' => '', - 'type' => 'string', - 'example' => '276065346797410278', - ], - 'OwnerId' => [ - 'title' => '数据集加速槽资源拥有者的Uid,在阿里云内为主账号Id 。', - 'description' => '', - 'type' => 'string', - 'example' => '1557702098194904', - ], - 'GmtCreateTime' => [ - 'title' => '数据集加速槽创建的时间。格式使用 ISO8601(RFC3339)。', - 'description' => '', - 'type' => 'string', - 'example' => '2014-10-02T15:01:23Z', - ], - 'GmtModifiedTime' => [ - 'title' => '数据集加速槽最后更新的时间。格式使用 ISO8601(RFC3339)。', - 'description' => '', - 'type' => 'string', - 'example' => '2014-10-02T15:01:23Z', - ], - 'Uuid' => [ - 'title' => '数据集加速槽的唯一标识符。', - 'description' => '', - 'type' => 'string', - 'example' => 'slot-5zk866779me51jgu3w', - ], - 'InstanceId' => [ - 'title' => '加速槽所对应的数据集加速实例的唯一标识符。', - 'description' => '', - 'type' => 'string', - 'example' => 'inst-my1tk3jggooi5uwks5', - ], - 'Name' => [ - 'title' => '数据集加速槽名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'slot_1', - ], - 'Description' => [ - 'title' => '数据集加速槽的描述与解释。', - 'description' => '', - 'type' => 'string', - 'example' => 'xgboost数据集加速槽', - ], - 'Tags' => [ - 'title' => '用户为数据集加速槽添加的自定义标签。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'title' => '标签的键值。', - 'description' => '', - 'type' => 'string', - 'example' => 'dataset_version', - ], - 'Value' => [ - 'title' => '标签的值。', - 'description' => '', - 'type' => 'string', - 'example' => 'v0.1.0', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', 'title' => ''], + 'UserId' => ['description' => 'The User ID (UID) of the dataset acceleration component\'s creator. In Alibaba Cloud, this is the RAM user ID. If an Alibaba Cloud account created it, this is the Alibaba Cloud account ID.', 'type' => 'string', 'example' => '276065346797410278', 'title' => ''], + 'OwnerId' => ['description' => 'The User ID (UID) of the dataset acceleration component resource owner. In Alibaba Cloud, this is the Alibaba Cloud account ID.', 'type' => 'string', 'example' => '1557702098194904', 'title' => ''], + 'GmtCreateTime' => ['description' => 'The creation time of the dataset acceleration component. The format uses ISO8601 (RFC3339).', 'type' => 'string', 'example' => '2014-10-02T15:01:23Z', 'title' => ''], + 'GmtModifiedTime' => ['description' => 'The last update time of the dataset acceleration component. The format uses ISO8601 (RFC3339).', 'type' => 'string', 'example' => '2014-10-02T15:01:23Z', 'title' => ''], + 'Uuid' => ['description' => 'The unique identifier of the dataset acceleration component.', 'type' => 'string', 'example' => 'cmpt-5zk866779me51jgu3w', 'title' => ''], + 'Name' => ['description' => 'The name of the dataset acceleration component.', 'type' => 'string', 'example' => 'dataset-accelerator', 'title' => ''], + 'Version' => ['description' => 'The version of the dataset acceleration component.', 'type' => 'string', 'example' => 'v1.0.0', 'title' => ''], + 'Template' => [ + 'title' => '', + 'description' => 'The template information of the dataset acceleration component.', + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'description' => 'The type of the dataset acceleration component template. OSS: Read the template Helm package from OSS.', + 'type' => 'string', + 'example' => 'OSS', + 'enum' => ['OSS'], + 'title' => '', ], + 'Uri' => ['description' => 'The resource identifier of the dataset acceleration component template. Different data types have different formats.', 'type' => 'string', 'example' => 'data/VOCdevkit/VOC2007/ImageSets/Main/val.txt', 'title' => ''], ], + 'example' => '', ], - 'StorageType' => [ - 'title' => '数据集加速槽的数据存储类型。'."\n" - .'OSS:OSS文件存储'."\n" - .'NAS:NAS文件存储', - 'description' => '', - 'type' => 'string', - 'example' => 'OSS', - 'enum' => [ - 'OSS', - 'NAS', - ], - ], - 'StorageUri' => [ - 'title' => '数据集加速槽的数据的资源标识符,数据类型不同存在不同格式。', - 'description' => '', - 'type' => 'string', - 'example' => 'oss://pai-vision-data-hz2.oss-cn-hangzhou-internal.aliyuncs.com/data/VOCdevkit/VOC2007/ImageSets/Main/val.txt', - ], - 'Capacity' => [ - 'title' => '数据集加速槽的最大容量。输入字符串的格式需要满足以下规范:Quantity', - 'description' => '', - 'type' => 'string', - 'example' => '30.0G', - ], - 'IoType' => [ - 'title' => '数据集加速槽的读写类型。', - 'description' => '数据集加速槽的读写类型。', - 'type' => 'string', - 'example' => 'readonly', - ], - 'LifeCycle' => [ - 'title' => '数据集加速槽的生命周期。', - 'description' => '', - '$ref' => '#/components/schemas/SlotLifeCycle', - ], - 'Status' => [ - 'title' => '数据集加速槽状态。', - 'description' => '', - '$ref' => '#/components/schemas/SlotStatus', - ], + 'RenderedContent' => ['description' => 'The rendered deployment file of the dataset acceleration component.', 'type' => 'string', 'example' => '---\\n# Source: dataset-accelerator/templates/dataset-accelerator\\napiVersion: data.datasetacc.io/v1\\nkind: DataSetAccelerator\\nmetadata:\\n name: dataset-accelerator\\nspec:\\n frontEndAddr: 10.0.0.2\\n frontEndPort: 7001\\n', 'title' => ''], ], + 'example' => '', ], ], 400 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F', - ], - 'Code' => [ - 'title' => '语义化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'Message' => [ - 'title' => '错误消息描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'Dataset Not Found: 1234', - ], + 'RequestId' => ['title' => '', 'description' => 'Request ID.', 'type' => 'string', 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F'], + 'Code' => ['title' => '', 'description' => 'Semantic error code.', 'type' => 'string', 'example' => 'ValidationError'], + 'Message' => ['title' => '', 'description' => 'Error message description.', 'type' => 'string', 'example' => 'Dataset Not Found: 1234'], 'Detail' => [ - 'title' => '错误详细信息。', - 'description' => '', + 'title' => '', + 'description' => 'Detailed error information.', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'title' => '数字化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '5218847334401572965', - ], + 'ErrorCode' => ['title' => '', 'description' => 'Numeric error code.', 'type' => 'string', 'example' => '5218847334401572965'], ], 'example' => '-', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF1****\\",\\n \\"UserId\\": \\"27606534679741****\\",\\n \\"OwnerId\\": \\"155770209819****\\",\\n \\"GmtCreateTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"GmtModifiedTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"Uuid\\": \\"slot-5zk866779me51j****\\",\\n \\"InstanceId\\": \\"inst-my1tk3jggooi5u****\\",\\n \\"Name\\": \\"slot_1\\",\\n \\"Description\\": \\"xgboost数据集加速槽\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"dataset_version\\",\\n \\"Value\\": \\"v0.1.0\\"\\n }\\n ],\\n \\"StorageType\\": \\"OSS\\",\\n \\"StorageUri\\": \\"oss://examplebucket/data/VOCdevkit/VOC2007/ImageSets/Main/val.txt\\",\\n \\"Capacity\\": \\"30.0G\\",\\n \\"IoType\\": \\"readonly\\",\\n \\"LifeCycle\\": {\\n \\"Type\\": \\"Running\\",\\n \\"Config\\": \\"{}\\"\\n },\\n \\"Status\\": {\\n \\"Phase\\": \\"Running\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Init Succeed\\",\\n \\"Detail\\": {\\n \\"LoadedFileNum\\": 1000000,\\n \\"LoadedFileSize\\": \\"200G\\",\\n \\"LoadingTimeCost\\": 1800000\\n }\\n }\\n}","type":"json"}]', - ], - 'CreateEndpoint' => [ - 'summary' => '创建并注册一个数据集加速槽挂载点。', - 'path' => '/api/v1/endpoints', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\",\\n \\"UserId\\": \\"276065346797410278\\",\\n \\"OwnerId\\": \\"1557702098194904\\",\\n \\"GmtCreateTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"GmtModifiedTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"Uuid\\": \\"cmpt-5zk866779me51jgu3w\\",\\n \\"Name\\": \\"dataset-accelerator\\",\\n \\"Version\\": \\"v1.0.0\\",\\n \\"Template\\": {\\n \\"Type\\": \\"OSS\\",\\n \\"Uri\\": \\"data/VOCdevkit/VOC2007/ImageSets/Main/val.txt\\"\\n },\\n \\"RenderedContent\\": \\"---\\\\\\\\n# Source: dataset-accelerator/templates/dataset-accelerator\\\\\\\\napiVersion: data.datasetacc.io/v1\\\\\\\\nkind: DataSetAccelerator\\\\\\\\nmetadata:\\\\\\\\n name: dataset-accelerator\\\\\\\\nspec:\\\\\\\\n frontEndAddr: 10.0.0.2\\\\\\\\n frontEndPort: 7001\\\\\\\\n\\"\\n}","type":"json"}]', + 'title' => 'Obtain details of a dataset acceleration widget.', + 'changeSet' => [ + ['createdAt' => '2022-09-21T12:59:16.000Z', 'description' => 'Response parameters changed'], ], - 'tags' => [ - 'Endpoint', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeComponent'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'DescribeEndpoint' => [ + 'summary' => 'Queries the details of a specified endpoint for dataset acceleration.', + 'path' => '/api/v1/endpoints/{EndpointId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'tags' => ['Endpoint'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '挂载点的名称。'."\n" - .'长度限制为64 Unicode 字符。'."\n" - .'如果传入值为空(包含空字符串),系统会使用Uuid字段的值作为默认名称。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'endpoint-1', - ], - 'Type' => [ - 'title' => '挂载点的网络类型,根据网络类型不同,下列中需要传入的参数也有所不同。'."\n" - .'VPC:端点机器处于VPC网络', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'VPC', - 'enum' => [ - 'VPC', - ], - ], - 'VpcId' => [ - 'title' => '挂载点使用的专有网络 VPC Id。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-j6co2fcdsl1q0gnuc3ym3', - ], - 'VswitchId' => [ - 'title' => '挂载点使用的交换机 Vswitch Id。'."\n" - .'该Vswitch需要属于传入的 VPC。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-j6cmr00qjyrft6jo2mg7g', - ], - 'InstanceId' => [ - 'title' => '所属加速实例的ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'inst-ivrq92qhbyrg4jctih', - ], - ], - 'required' => false, - ], + 'name' => 'EndpointId', + 'in' => 'path', + 'schema' => ['description' => 'The ID of the dataset acceleration slot mount target. To get a mount target ID, see [ListEndpoints](~~467913~~).', 'type' => 'string', 'required' => true, 'example' => 'end-my1tk3jggooi5uwks5', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The return value.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', - ], - 'EndpointId' => [ - 'title' => '数据集加速端点Id。', - 'description' => '', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', 'title' => ''], + 'UserId' => ['description' => 'The UID of the creator of the dataset acceleration endpoint. In Alibaba Cloud, this is the RAM user ID. If created by an Alibaba Cloud account, this is the Alibaba Cloud account ID.', 'type' => 'string', 'example' => '276065346797410278', 'title' => ''], + 'OwnerId' => ['description' => 'The UID of the resource owner of the dataset acceleration endpoint. In Alibaba Cloud, this is the Alibaba Cloud account ID.', 'type' => 'string', 'example' => '1557702098194904', 'title' => ''], + 'GmtCreateTime' => ['description' => 'The time when the dataset acceleration endpoint was created. The format follows ISO8601 (RFC3339).', 'type' => 'string', 'example' => '2014-10-02T15:01:23Z', 'title' => ''], + 'GmtModifiedTime' => ['description' => 'The time when the dataset acceleration endpoint was last updated. The format follows ISO8601 (RFC3339).', 'type' => 'string', 'example' => '2014-10-02T15:01:23Z', 'title' => ''], + 'Uuid' => ['description' => 'The unique identifier of the mount target.', 'type' => 'string', 'example' => 'end-ivrq92qhbyrg4jctih', 'title' => ''], + 'Name' => ['description' => 'The name of the mount target.', 'type' => 'string', 'example' => 'endpoint-1', 'title' => ''], + 'Type' => [ + 'description' => 'The network type of the mount target. The required parameters vary based on the network type.VPC: The endpoint instance resides in a VPC.', 'type' => 'string', - 'example' => 'end-5zk866779me51jgu3w', + 'example' => 'VPC', + 'enum' => ['VPC'], + 'title' => '', ], + 'VpcId' => ['description' => 'The ID of the Virtual Private Cloud (VPC) used by the mount target.', 'type' => 'string', 'example' => 'vpc-j6co2fcdsl1q0gnuc3ym3', 'title' => ''], + 'VswitchId' => ['description' => 'The ID of the vSwitch used by the mount target.', 'type' => 'string', 'example' => 'vsw-j6cmr00qjyrft6jo2mg7g', 'title' => ''], + 'Status' => ['description' => 'The status of the dataset acceleration slot mount target.', '$ref' => '#/components/schemas/EndpointStatus', 'title' => '', 'example' => ''], ], + 'title' => '', + 'example' => '', ], ], 400 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F', - ], - 'Code' => [ - 'title' => '语义化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'Message' => [ - 'title' => '错误消息描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'Dataset Not Found: 1234', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F'], + 'Code' => ['title' => '', 'description' => 'The semantic error code.', 'type' => 'string', 'example' => 'ValidationError'], + 'Message' => ['title' => '', 'description' => 'The error message description.', 'type' => 'string', 'example' => 'Dataset Not Found: 1234'], 'Detail' => [ - 'title' => '错误详细信息。', - 'description' => '', + 'title' => '', + 'description' => 'Detailed error information.', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'title' => '数字化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '5218847334401572965', - ], + 'ErrorCode' => ['title' => '', 'description' => 'The numeric error code.', 'type' => 'string', 'example' => '5218847334401572965'], ], 'example' => '-', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF1****\\",\\n \\"EndpointId\\": \\"end-5zk866779me51j****\\"\\n}","type":"json"}]', - 'title' => 'CreateEndpoint', - ], - 'DeleteEndpoint' => [ - 'summary' => '删除一个数据集加速槽挂载点。', - 'path' => '/api/v1/endpoints/{EndpointId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\",\\n \\"UserId\\": \\"276065346797410278\\",\\n \\"OwnerId\\": \\"1557702098194904\\",\\n \\"GmtCreateTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"GmtModifiedTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"Uuid\\": \\"end-ivrq92qhbyrg4jctih\\",\\n \\"Name\\": \\"endpoint-1\\",\\n \\"Type\\": \\"VPC\\",\\n \\"VpcId\\": \\"vpc-j6co2fcdsl1q0gnuc3ym3\\",\\n \\"VswitchId\\": \\"vsw-j6cmr00qjyrft6jo2mg7g\\",\\n \\"Status\\": {\\n \\"Phase\\": \\"Ready\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Init Succeed\\",\\n \\"Detail\\": {\\n \\"IpPortMapping\\": {\\n \\"key\\": {\\n \\"Ip\\": \\"10.0.0.5\\",\\n \\"Port\\": \\"3306\\"\\n }\\n }\\n }\\n }\\n}","type":"json"}]', + 'title' => 'Obtain details of a dataset acceleration endpoint', + 'changeSet' => [ + ['createdAt' => '2022-09-13T09:10:18.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-13T09:10:18.000Z', 'description' => 'OpenAPI offline'], ], - 'tags' => [ - 'Endpoint', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEndpoint'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'DescribeInstance' => [ + 'summary' => 'Retrieve information about a specified dataset acceleration instance.', + 'path' => '/api/v1/instances/{InstanceId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'tags' => ['Instance'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'EndpointId', + 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '数据集加速槽挂载点Id。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'end-my1tk3jggooi5uwks5', - ], + 'schema' => ['description' => 'The ID of the dataset acceleration instance. For information about how to obtain the instance ID, see [ListInstances](~~467899~~).', 'type' => 'string', 'required' => true, 'example' => 'inst-my1tk3jggooi5u****', 'title' => ''], ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ - 'description' => '', + 'description' => 'Return value.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'required' => true, 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF1****', 'title' => ''], + 'UserId' => ['description' => 'The User ID (UID) of the dataset acceleration instance creator. This is the RAM user ID within Alibaba Cloud. If an Alibaba Cloud account created it, this is the Alibaba Cloud account ID.', 'type' => 'string', 'example' => '27606534679741****', 'title' => ''], + 'OwnerId' => ['description' => 'The User ID (UID) of the dataset acceleration instance resource owner. This is the Alibaba Cloud account ID within Alibaba Cloud.', 'type' => 'string', 'example' => '155770209819****', 'title' => ''], + 'GmtCreateTime' => ['description' => 'The creation time of the dataset acceleration instance. The format is ISO8601 (RFC3339).', 'type' => 'string', 'example' => '2014-10-02T15:01:23Z', 'title' => ''], + 'GmtModifiedTime' => ['description' => 'The last update time of the dataset acceleration instance. The format is ISO8601 (RFC3339).', 'type' => 'string', 'example' => '2014-10-02T15:01:23Z', 'title' => ''], + 'Uuid' => ['description' => 'The unique identifier of the dataset acceleration instance.', 'type' => 'string', 'example' => 'inst-my1tk3jggooi5u****', 'title' => ''], + 'Name' => ['description' => 'The name of the dataset acceleration instance.', 'type' => 'string', 'example' => 'acc_instance_1', 'title' => ''], + 'Description' => ['description' => 'The description of the dataset acceleration instance.', 'type' => 'string', 'example' => 'XGBoost dataset acceleration instance', 'title' => ''], + 'Type' => ['description' => 'The type of the dataset acceleration instance. Valid values:'."\n" + ."\n" + .'- basic: Basic Edition.'."\n" + ."\n" + .'- enhanced: Enhanced Edition.', 'type' => 'string', 'example' => 'basic', 'title' => ''], + 'Tags' => [ + 'title' => '', + 'description' => 'Custom tags added by the user to the dataset acceleration instance.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The key of the tag. The length limit is 64 Unicode characters.', 'type' => 'string', 'example' => 'dataset_version', 'maxLength' => 64, 'title' => ''], + 'Value' => ['description' => 'The value of the tag. The length limit is 64 Unicode characters.', 'type' => 'string', 'example' => 'v0.1.0', 'maxLength' => 64, 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + 'PaymentType' => [ + 'description' => 'The payment type of the dataset acceleration instance. Valid values:'."\n" + ."\n" + .'- PayAsYouGo: Pay-as-you-go.'."\n" + ."\n" + .'- Subscription: Subscription.', 'type' => 'string', - 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', + 'example' => 'PayAsYouGo', + 'enum' => ['PayAsYouGo', 'Subscription'], + 'title' => '', ], + 'Capacity' => ['description' => 'The maximum capacity of the dataset acceleration instance. The input string format must comply with the following specification: [Quantity](https://kubernetes.io/zh-cn/docs/reference/kubernetes-api/common-definitions/quantity/).', 'type' => 'string', 'example' => '30.0G', 'title' => ''], + 'IoType' => ['title' => '', 'description' => 'The read/write type of the dataset acceleration instance.', 'type' => 'string', 'example' => 'readonly'], + 'MaxSlot' => ['description' => 'The maximum number of acceleration slots for the dataset acceleration instance.', 'type' => 'integer', 'format' => 'int32', 'default' => '100', 'title' => '', 'example' => '20'], + 'MaxEndpoint' => ['title' => '', 'description' => 'The maximum number of mount targets for the dataset acceleration instance.', 'type' => 'integer', 'format' => 'int32', 'default' => '100', 'example' => ''], + 'StorageType' => ['title' => '', 'description' => 'The storage class of the dataset acceleration instance.', 'type' => 'string', 'example' => 'OSS', 'default' => 'OSS'], + 'ProviderType' => ['title' => '', 'description' => 'The resource provider type of the dataset acceleration instance.', 'type' => 'string', 'example' => 'Ecs', 'default' => 'Ecs'], + 'Status' => ['description' => 'The instance status of the dataset acceleration instance.', '$ref' => '#/components/schemas/InstanceStatus', 'title' => '', 'example' => ''], ], + 'title' => '', + 'example' => '', ], ], 400 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F', - ], - 'Code' => [ - 'title' => '语义化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'Message' => [ - 'title' => '错误消息描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'Dataset Not Found: 1234', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID. ', 'type' => 'string', 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F'], + 'Code' => ['title' => '', 'description' => 'The semantic error code. ', 'type' => 'string', 'example' => 'ValidationError'], + 'Message' => ['title' => '', 'description' => 'The error message description. ', 'type' => 'string', 'example' => 'Dataset Not Found: 1234'], 'Detail' => [ - 'title' => '错误详细信息。', - 'description' => '', + 'title' => '', + 'description' => 'The detailed error information. ', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'title' => '数字化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '5218847334401572965', - ], + 'ErrorCode' => ['title' => '', 'description' => 'The numeric error code. ', 'type' => 'string', 'example' => '5218847334401572965'], ], 'example' => '-', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\"\\n}","type":"json"}]', - 'title' => 'DeleteEndpoint', - ], - 'BindEndpoint' => [ - 'summary' => '将一个挂载点关联到一个数据集加速槽上。', - 'path' => '/api/v1/endpoints/{EndpointId}/slots/{SlotId}', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF1****\\",\\n \\"UserId\\": \\"27606534679741****\\",\\n \\"OwnerId\\": \\"155770209819****\\",\\n \\"GmtCreateTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"GmtModifiedTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"Uuid\\": \\"inst-my1tk3jggooi5u****\\",\\n \\"Name\\": \\"acc_instance_1\\",\\n \\"Description\\": \\"XGBoost dataset acceleration instance\\",\\n \\"Type\\": \\"basic\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"dataset_version\\",\\n \\"Value\\": \\"v0.1.0\\"\\n }\\n ],\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"Capacity\\": \\"30.0G\\",\\n \\"IoType\\": \\"readonly\\",\\n \\"MaxSlot\\": 20,\\n \\"MaxEndpoint\\": 0,\\n \\"StorageType\\": \\"OSS\\",\\n \\"ProviderType\\": \\"Ecs\\",\\n \\"Status\\": {\\n \\"Phase\\": \\"Running\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Init Succeed\\",\\n \\"UsedCapacity\\": \\"20.0G\\",\\n \\"SlotNum\\": 10\\n }\\n}","type":"json"}]', + 'title' => 'Obtain details of a dataset acceleration instance ', + 'changeSet' => [ + ['createdAt' => '2023-05-22T12:08:54.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-05-22T12:06:13.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-10-14T08:37:35.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-09-13T09:10:24.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-13T09:10:24.000Z', 'description' => 'OpenAPI offline'], ], - 'tags' => [ - 'Endpoint', - 'Slot', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstance'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'DescribeSlot' => [ + 'summary' => 'Queries information about a specified dataset acceleration slot.', + 'path' => '/api/v1/slots/{SlotId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'tags' => ['Slot'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'EndpointId', - 'in' => 'path', - 'schema' => [ - 'title' => '数据集加速槽挂载点Id。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'end-my1tk3jggooi5uwks5', - ], - ], - [ 'name' => 'SlotId', 'in' => 'path', - 'schema' => [ - 'title' => '数据集加速槽Id。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'slot-my1tk3jggooi5uwks5', - ], + 'schema' => ['description' => 'The ID of the dataset acceleration slot. To obtain the slot ID, see [ListSlots](~~467905~~).', 'type' => 'string', 'required' => true, 'example' => 'slot-my1tk3jggooi5u****', 'title' => ''], ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ - 'description' => '', + 'description' => 'The return value.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'required' => true, 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF1****', 'title' => ''], + 'UserId' => ['description' => 'The UID of the creator of the dataset acceleration slot. In Alibaba Cloud, this is the ID of the RAM user. If the slot was created by an Alibaba Cloud account, this is the ID of the Alibaba Cloud account.', 'type' => 'string', 'example' => '27606534679741****', 'title' => ''], + 'OwnerId' => ['description' => 'The UID of the owner of the dataset acceleration slot resource. In Alibaba Cloud, this is the ID of the Alibaba Cloud account.', 'type' => 'string', 'example' => '155770209819****', 'title' => ''], + 'GmtCreateTime' => ['description' => 'The time when the dataset acceleration slot was created. The format is ISO 8601 (RFC3339).', 'type' => 'string', 'example' => '2014-10-02T15:01:23Z', 'title' => ''], + 'GmtModifiedTime' => ['description' => 'The time when the dataset acceleration slot was last updated. The format is ISO 8601 (RFC3339).', 'type' => 'string', 'example' => '2014-10-02T15:01:23Z', 'title' => ''], + 'Uuid' => ['description' => 'The unique identifier of the dataset acceleration slot.', 'type' => 'string', 'example' => 'slot-5zk866779me51j****', 'title' => ''], + 'InstanceId' => ['description' => 'The unique identifier of the dataset acceleration instance to which the slot belongs.', 'type' => 'string', 'example' => 'inst-my1tk3jggooi5u****', 'title' => ''], + 'Name' => ['description' => 'The name of the dataset acceleration slot.', 'type' => 'string', 'example' => 'slot_1', 'title' => ''], + 'Description' => ['description' => 'The description of the dataset acceleration slot.', 'type' => 'string', 'example' => 'XGBoost dataset acceleration slot', 'title' => ''], + 'Tags' => [ + 'title' => '', + 'description' => 'The custom tags that are added to the dataset acceleration slot.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The key of the tag.', 'type' => 'string', 'example' => 'dataset_version', 'title' => ''], + 'Value' => ['description' => 'The value of the tag.', 'type' => 'string', 'example' => 'v0.1.0', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + 'StorageType' => [ + 'description' => 'The data storage type of the dataset acceleration slot. Valid values:'."\n" + ."\n" + .'- OSS: OSS file storage.'."\n" + ."\n" + .'- NAS: NAS file storage.', 'type' => 'string', - 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', + 'example' => 'OSS', + 'enum' => ['OSS', 'NAS'], + 'title' => '', ], + 'StorageUri' => ['description' => 'The resource identifier for the data in the dataset acceleration slot. The format varies based on the data type.', 'type' => 'string', 'example' => 'oss://examplebucket/data/VOCdevkit/VOC2007/ImageSets/Main/val.txt', 'title' => ''], + 'Capacity' => ['description' => 'The maximum capacity of the dataset acceleration slot. The string must be in the format that is specified in [Quantity](https://kubernetes.io/zh-cn/docs/reference/kubernetes-api/common-definitions/quantity/).', 'type' => 'string', 'example' => '30.0G', 'title' => ''], + 'IoType' => ['title' => '', 'description' => 'The read/write type of the dataset acceleration slot.', 'type' => 'string', 'example' => 'readonly'], + 'LifeCycle' => ['description' => 'The lifecycle of the dataset acceleration slot.', '$ref' => '#/components/schemas/SlotLifeCycle', 'title' => '', 'example' => ''], + 'Status' => ['description' => 'The status of the dataset acceleration slot.', '$ref' => '#/components/schemas/SlotStatus', 'title' => '', 'example' => ''], ], + 'title' => '', + 'example' => '', ], ], 400 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F', - ], - 'Code' => [ - 'title' => '语义化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'Message' => [ - 'title' => '错误消息描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'Dataset Not Found: 1234', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F'], + 'Code' => ['title' => '', 'description' => 'Semantic error code.', 'type' => 'string', 'example' => 'ValidationError'], + 'Message' => ['title' => '', 'description' => 'Error message description.', 'type' => 'string', 'example' => 'Dataset Not Found: 1234'], 'Detail' => [ - 'title' => '错误详细信息。', - 'description' => '', + 'title' => '', + 'description' => 'Detailed error information.', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'title' => '数字化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '5218847334401572965', - ], + 'ErrorCode' => ['title' => '', 'description' => 'Numeric error code.', 'type' => 'string', 'example' => '5218847334401572965'], ], 'example' => '-', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\"\\n}","type":"json"}]', - ], - 'UnbindEndpoint' => [ - 'summary' => '取消挂载点关联和指定数据集加速槽的关联关系。', - 'path' => '/api/v1/endpoints/{EndpointId}/slots/{SlotId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF1****\\",\\n \\"UserId\\": \\"27606534679741****\\",\\n \\"OwnerId\\": \\"155770209819****\\",\\n \\"GmtCreateTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"GmtModifiedTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"Uuid\\": \\"slot-5zk866779me51j****\\",\\n \\"InstanceId\\": \\"inst-my1tk3jggooi5u****\\",\\n \\"Name\\": \\"slot_1\\",\\n \\"Description\\": \\"XGBoost dataset acceleration slot\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"dataset_version\\",\\n \\"Value\\": \\"v0.1.0\\"\\n }\\n ],\\n \\"StorageType\\": \\"OSS\\",\\n \\"StorageUri\\": \\"oss://examplebucket/data/VOCdevkit/VOC2007/ImageSets/Main/val.txt\\",\\n \\"Capacity\\": \\"30.0G\\",\\n \\"IoType\\": \\"readonly\\",\\n \\"LifeCycle\\": {\\n \\"Type\\": \\"KeepAlive\\",\\n \\"Config\\": \\"{}\\"\\n },\\n \\"Status\\": {\\n \\"Phase\\": \\"Running\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Init Succeed\\",\\n \\"Detail\\": {\\n \\"LoadedFileNum\\": 1000000,\\n \\"LoadedFileSize\\": \\"200G\\",\\n \\"LoadingTimeCost\\": 1800000\\n }\\n }\\n}","type":"json"}]', + 'title' => 'Get slot details', + 'changeSet' => [ + ['createdAt' => '2023-05-22T11:41:18.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-09-13T09:10:12.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-13T09:10:12.000Z', 'description' => 'OpenAPI offline'], ], - 'tags' => [ - 'Endpoint', - 'Slot', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSlot'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'ListComponents' => [ + 'summary' => 'Retrieves information about dataset acceleration components.', + 'path' => '/api/v1/components', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'tags' => ['Component'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'EndpointId', - 'in' => 'path', - 'schema' => [ - 'title' => '数据集加速槽挂载点Id。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'end-my1tk3jggooi5uwks5', - ], + 'name' => 'ComponentIds', + 'in' => 'query', + 'schema' => ['description' => 'A list of dataset acceleration component IDs. Separate multiple component IDs with commas (,).', 'type' => 'string', 'example' => 'cmpt-my1tk3jggooi5u****,cmpt-n69468yvjz8d12****,cmpt-tga4omjrepklkg****', 'title' => '', 'required' => false], ], [ - 'name' => 'SlotId', - 'in' => 'path', + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => 'The name of the dataset acceleration component. Supports fuzzy matching.', 'type' => 'string', 'example' => 'dataset-accelerator', 'title' => '', 'required' => false], + ], + [ + 'name' => 'Version', + 'in' => 'query', + 'schema' => ['description' => 'The version of the dataset acceleration component.', 'type' => 'string', 'example' => 'v1.0.0', 'title' => '', 'required' => false], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => ['description' => 'Sorting field.', 'type' => 'string', 'example' => 'GmtCreateTime', 'default' => 'GmtCreateTime', 'title' => '', 'required' => false], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'allowEmptyValue' => true, 'schema' => [ - 'title' => '数据集加速槽Id。', - 'description' => '', + 'description' => 'Sort order. Valid values are:'."\n" + ."\n" + .'- Desc: Descending order.'."\n" + ."\n" + .'- Asc: Ascending order.', 'type' => 'string', - 'required' => true, - 'example' => 'slot-my1tk3jggooi5uwks5', + 'example' => 'Desc', + 'default' => 'Desc', + 'enum' => ['Desc', 'Asc'], + 'title' => '', + 'required' => false, ], ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => ['description' => 'The page number for the component list. The starting value is 1. The default value is 1.', 'type' => 'integer', 'format' => 'int32', 'minimum' => '1', 'example' => '1', 'default' => '1', 'title' => '', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => ['description' => 'The number of components displayed per page for paged queries. The default value is 10.', 'type' => 'integer', 'format' => 'int32', 'minimum' => '1', 'example' => '10', 'default' => '10', 'title' => '', 'required' => false], + ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ - 'description' => '', + 'title' => '', + 'description' => 'Returned result.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF1****', 'title' => ''], + 'Components' => [ + 'title' => '', + 'description' => 'List of dataset acceleration slots.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'UserId' => ['description' => 'The User ID (UID) of the dataset acceleration component\'s creator. Within Alibaba Cloud, this is the RAM user ID (if an Alibaba Cloud account created it, it is the Alibaba Cloud account ID).', 'type' => 'string', 'example' => '27606534679741****', 'title' => ''], + 'OwnerId' => ['description' => 'The User ID (UID) of the dataset acceleration component resource owner. Within Alibaba Cloud, this is the Alibaba Cloud account ID.', 'type' => 'string', 'example' => '155770209819****', 'title' => ''], + 'GmtCreateTime' => ['description' => 'The creation time of the dataset acceleration component. Use ISO8601 (RFC3339) format.', 'type' => 'string', 'example' => '2014-10-02T15:01:23Z', 'title' => ''], + 'GmtModifiedTime' => ['description' => 'The last update time of the dataset acceleration component. Use ISO8601 (RFC3339) format.', 'type' => 'string', 'example' => '2014-10-02T15:01:23Z', 'title' => ''], + 'Uuid' => ['description' => 'The unique identifier for the dataset acceleration component.', 'type' => 'string', 'example' => 'cmpt-5zk866779me51j****', 'title' => ''], + 'Name' => ['description' => 'The name of the dataset acceleration component.', 'type' => 'string', 'example' => 'dataset-accelerator', 'title' => ''], + 'Version' => ['description' => 'The version of the dataset acceleration component.', 'type' => 'string', 'example' => 'v1.0.0', 'title' => ''], + 'Template' => [ + 'title' => '', + 'description' => 'Dataset acceleration component template information.', + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'description' => 'The type of the dataset acceleration component template. OSS: Read the template Helm package from OSS.', + 'type' => 'string', + 'example' => 'OSS', + 'enum' => ['OSS'], + 'title' => '', + ], + 'Uri' => ['description' => 'The resource identifier for the dataset acceleration component template. Different data types have different formats.', 'type' => 'string', 'example' => 'data/VOCdevkit/VOC2007/ImageSets/Main/val.txt', 'title' => ''], + ], + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'example' => '', ], + 'TotalCount' => ['description' => 'The total number of elements in the list.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], ], + 'example' => '', ], ], 400 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F', - ], - 'Code' => [ - 'title' => '语义化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'Message' => [ - 'title' => '错误消息描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'Dataset Not Found: 1234', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F'], + 'Code' => ['title' => '', 'description' => 'Semantic error code.', 'type' => 'string', 'example' => 'ValidationError'], + 'Message' => ['title' => '', 'description' => 'Error message description.', 'type' => 'string', 'example' => 'Dataset Not Found: 1234'], 'Detail' => [ - 'title' => '错误详细信息。', - 'description' => '', + 'title' => '', + 'description' => 'Error details.', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'title' => '数字化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '5218847334401572965', - ], + 'ErrorCode' => ['title' => '', 'description' => 'Numeric error code.', 'type' => 'string', 'example' => '5218847334401572965'], ], 'example' => '-', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF1****\\",\\n \\"Components\\": [\\n {\\n \\"UserId\\": \\"27606534679741****\\",\\n \\"OwnerId\\": \\"155770209819****\\",\\n \\"GmtCreateTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"GmtModifiedTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"Uuid\\": \\"cmpt-5zk866779me51j****\\",\\n \\"Name\\": \\"dataset-accelerator\\",\\n \\"Version\\": \\"v1.0.0\\",\\n \\"Template\\": {\\n \\"Type\\": \\"OSS\\",\\n \\"Uri\\": \\"data/VOCdevkit/VOC2007/ImageSets/Main/val.txt\\"\\n }\\n }\\n ],\\n \\"TotalCount\\": 100\\n}","type":"json"}]', + 'title' => 'Retrieve the list of dataset acceleration widgets.', + 'description' => 'Request parameters act as filters and are combined using a logical AND. If a parameter is empty, the filter is not applied.', + 'changeSet' => [ + ['createdAt' => '2022-09-21T12:59:15.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListComponents'], + ], + ], + 'ramActions' => [], + 'translator' => 'machine', ], 'ListEndpoints' => [ - 'summary' => '获取数据集加速槽挂载点的信息列表。', + 'summary' => 'Lists the mount targets for dataset acceleration slots.', 'path' => '/api/v1/endpoints', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'tags' => [ - 'Endpoint', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'tags' => ['Endpoint'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'EndpointIds', 'in' => 'query', - 'schema' => [ - 'title' => '数据集加速槽挂载点Id的列表,以逗号分隔。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'end-my1tk3jggooi5uwks5,end-n69468yvjz8d12as7d,end-tga4omjrepklkg1onn', - ], + 'schema' => ['description' => 'A list of mount target IDs. Separate multiple IDs with commas (,).', 'type' => 'string', 'example' => 'end-my1tk3jggooi5u****,end-n69468yvjz8d12****,end-tga4omjrepklkg****', 'title' => '', 'required' => false], ], [ 'name' => 'SlotIds', 'in' => 'query', - 'schema' => [ - 'title' => '所属的数据集加速槽Id。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'slot-my1tk3jggooi5uwks5', - ], + 'schema' => ['description' => 'The ID of the dataset acceleration slot. For more information about how to obtain the slot ID, see [ListSlots](~~467905~~).', 'type' => 'string', 'example' => 'slot-my1tk3jggooi5u****', 'title' => '', 'required' => false], ], [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'title' => '数据集加速槽挂载点名称,支持模糊匹配。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'acc_instance_slot_mount_1', - ], + 'schema' => ['description' => 'The name of the mount target. Fuzzy matching is supported.', 'type' => 'string', 'example' => 'acc_instance_slot_mount_1', 'title' => '', 'required' => false], ], [ 'name' => 'Type', 'in' => 'query', 'schema' => [ - 'title' => '挂载点的网络类型,根据网络类型不同,下列中需要传入的参数也有所不同。'."\n" - .'VPC:端点机器处于VPC网络', - 'description' => '', + 'description' => 'The network type of the mount target. The required parameters vary based on the network type.'."\n" + ."\n" + .'- VPC: The mount target is in a VPC.'."\n" + ."\n" + .'- INNER: The mount target is in the PAI internal network and is used for access by other PAI products.', 'type' => 'string', - 'required' => false, 'example' => 'VPC', - 'enum' => [ - 'VPC', - ], + 'enum' => ['VPC'], + 'title' => '', + 'required' => false, ], ], [ 'name' => 'SortBy', 'in' => 'query', 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '排序字段', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'GmtCreateTime', - 'default' => 'GmtCreateTime', - ], + 'schema' => ['description' => 'The field to use for sorting.', 'type' => 'string', 'example' => 'GmtCreateTime', 'default' => 'GmtCreateTime', 'title' => '', 'required' => false], ], [ 'name' => 'Order', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => [ - 'title' => '排列顺序'."\n" - .'Desc: 降序排列'."\n" - .'Asc: 升序排列', - 'description' => '', + 'description' => 'The sort order. Valid values:'."\n" + ."\n" + .'- Desc: Sorts the results in descending order.'."\n" + ."\n" + .'- Asc: Sorts the results in ascending order.', 'type' => 'string', - 'required' => false, 'example' => 'Desc', 'default' => 'Desc', - 'enum' => [ - 'Desc', - 'Asc', - ], + 'enum' => ['Desc', 'Asc'], + 'title' => '', + 'required' => false, ], ], [ 'name' => 'PageNumber', 'in' => 'query', 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '查询第几页数据,最小值1', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => 'The page number. The value starts from 1. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'minimum' => '1', 'example' => '1', 'default' => '1', 'title' => '', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '设置查询的分页大小,最小值为1', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'minimum' => '1', 'example' => '10', 'default' => '10', 'title' => '', 'required' => false], ], [ 'name' => 'InstanceIds', 'in' => 'query', 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '所属加速实例的ID。', - 'description' => '所属加速实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'inst-ivrq92qhbyrg4jctih', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the acceleration instance.', 'type' => 'string', 'example' => 'inst-ivrq92qhbyrg4jctih', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'title' => '', + 'description' => 'The response.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF1****', 'title' => ''], 'Endpoints' => [ - 'title' => '数据集加速端点列表。', - 'description' => '', + 'title' => '', + 'description' => 'A list of dataset acceleration endpoints.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'UserId' => [ - 'title' => '数据集加速端点的创建者的Uid,在阿里云内为子账号Id (主账号创建则直接为主账号Id)。', - 'description' => '', - 'type' => 'string', - 'example' => '276065346797410278', - ], - 'OwnerId' => [ - 'title' => '数据集加速端点的资源拥有者的Uid,在阿里云内为主账号Id 。', - 'description' => '', - 'type' => 'string', - 'example' => '1557702098194904', - ], - 'GmtCreateTime' => [ - 'title' => '数据集加速端点创建的时间。格式使用 ISO8601(RFC3339)。', - 'description' => '', - 'type' => 'string', - 'example' => '2014-10-02T15:01:23Z', - ], - 'GmtModifiedTime' => [ - 'title' => '数据集加速端点最后更新的时间。格式使用 ISO8601(RFC3339)。', - 'description' => '', - 'type' => 'string', - 'example' => '2014-10-02T15:01:23Z', - ], - 'Uuid' => [ - 'title' => '挂载点的唯一标识符。', - 'description' => '', - 'type' => 'string', - 'example' => 'end-ivrq92qhbyrg4jctih', - ], - 'Name' => [ - 'title' => '挂载点的名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'endpoint-1', - ], + 'UserId' => ['description' => 'The user ID (UID) of the creator of the endpoint. This is the ID of the Resource Access Management (RAM) user. If the endpoint was created by an Alibaba Cloud account, this is the ID of the Alibaba Cloud account.', 'type' => 'string', 'example' => '27606534679741****', 'title' => ''], + 'OwnerId' => ['description' => 'The UID of the resource owner. This is the ID of the Alibaba Cloud account.', 'type' => 'string', 'example' => '155770209819****', 'title' => ''], + 'GmtCreateTime' => ['description' => 'The time when the endpoint was created. The time is in the ISO 8601 format.', 'type' => 'string', 'example' => '2014-10-02T15:01:23Z', 'title' => ''], + 'GmtModifiedTime' => ['description' => 'The time when the endpoint was last updated. The time is in the ISO 8601 format.', 'type' => 'string', 'example' => '2014-10-02T15:01:23Z', 'title' => ''], + 'Uuid' => ['description' => 'The unique ID of the mount target.', 'type' => 'string', 'example' => 'end-ivrq92qhbyrg4j****', 'title' => ''], + 'Name' => ['description' => 'The name of the mount target.', 'type' => 'string', 'example' => 'endpoint-1', 'title' => ''], 'Type' => [ - 'title' => '挂载点的网络类型,根据网络类型不同,下列中需要传入的参数也有所不同。'."\n" - .'VPC:端点机器处于VPC网络', - 'description' => '', + 'description' => 'The network type of the mount target. Valid values:'."\n" + ."\n" + .'- VPC: The mount target is in a VPC.'."\n" + ."\n" + .'- INNER: The mount target is in the PAI internal network and is used for access by other PAI products.', 'type' => 'string', 'example' => 'VPC', - 'enum' => [ - 'VPC', - ], - ], - 'VpcId' => [ - 'title' => '挂载点使用的专有网络 VPC Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-j6co2fcdsl1q0gnuc3ym3', - ], - 'VswitchId' => [ - 'title' => '挂载点使用的交换机 Vswitch Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-j6cmr00qjyrft6jo2mg7g', - ], - 'Status' => [ - 'title' => '数据集加速槽挂载点的状态。', - 'description' => '', - '$ref' => '#/components/schemas/EndpointStatus', - ], - 'InstanceId' => [ - 'title' => '所属加速实例的ID。', - 'description' => '所属加速实例的ID。', - 'type' => 'string', - 'example' => 'inst-ivrq92qhbyrg4jctih', + 'enum' => ['VPC'], + 'title' => '', ], + 'VpcId' => ['description' => 'The ID of the Virtual Private Cloud (VPC) where the mount target is deployed.', 'type' => 'string', 'example' => 'vpc-j6co2fcdsl1q0gnuc****', 'title' => ''], + 'VswitchId' => ['description' => 'The ID of the vSwitch used by the mount target.', 'type' => 'string', 'example' => 'vsw-j6cmr00qjyrft6jo2****', 'title' => ''], + 'Status' => ['description' => 'The status of the mount target.', '$ref' => '#/components/schemas/EndpointStatus', 'title' => '', 'example' => ''], + 'InstanceId' => ['title' => '', 'description' => 'The ID of the acceleration instance.', 'type' => 'string', 'example' => 'inst-ivrq92qhbyrg4jctih'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'example' => '', ], - 'TotalCount' => [ - 'title' => '列表内元素数量总和。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], ], + 'example' => '', ], ], 400 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F', - ], - 'Code' => [ - 'title' => '语义化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'Message' => [ - 'title' => '错误消息描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'Dataset Not Found: 1234', - ], + 'RequestId' => ['title' => '', 'description' => 'Request ID.', 'type' => 'string', 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F'], + 'Code' => ['title' => '', 'description' => 'Semantic error code.', 'type' => 'string', 'example' => 'ValidationError'], + 'Message' => ['title' => '', 'description' => 'Error message description.', 'type' => 'string', 'example' => 'Dataset Not Found: 1234'], 'Detail' => [ - 'title' => '错误详细信息。', - 'description' => '', + 'title' => '', + 'description' => 'Detailed error information.', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'title' => '数字化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '5218847334401572965', - ], + 'ErrorCode' => ['title' => '', 'description' => 'Numeric error code.', 'type' => 'string', 'example' => '5218847334401572965'], ], 'example' => '-', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF1****\\",\\n \\"Endpoints\\": [\\n {\\n \\"UserId\\": \\"27606534679741****\\",\\n \\"OwnerId\\": \\"155770209819****\\",\\n \\"GmtCreateTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"GmtModifiedTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"Uuid\\": \\"end-ivrq92qhbyrg4j****\\",\\n \\"Name\\": \\"endpoint-1\\",\\n \\"Type\\": \\"VPC\\",\\n \\"VpcId\\": \\"vpc-j6co2fcdsl1q0gnuc****\\",\\n \\"VswitchId\\": \\"vsw-j6cmr00qjyrft6jo2****\\",\\n \\"Status\\": {\\n \\"Phase\\": \\"Ready\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Init Succeed\\",\\n \\"Detail\\": {\\n \\"IpPortMapping\\": {\\n \\"key\\": {\\n \\"Ip\\": \\"10.0.0.5\\",\\n \\"Port\\": \\"3306\\"\\n }\\n }\\n }\\n },\\n \\"InstanceId\\": \\"inst-ivrq92qhbyrg4jctih\\"\\n }\\n ],\\n \\"TotalCount\\": 100\\n}","type":"json"}]', - 'title' => 'ListEndpoints', - ], - 'DescribeEndpoint' => [ - 'summary' => '获取指定数据集加速槽挂载点的信息。', - 'path' => '/api/v1/endpoints/{EndpointId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'List dataset acceleration endpoints', + 'description' => 'Request parameters act as filters. These filters are combined using a logical AND. If you do not specify a parameter, the corresponding filter is not applied.', + 'changeSet' => [ + ['createdAt' => '2023-05-22T06:42:27.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-09-13T09:10:18.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-13T09:10:18.000Z', 'description' => 'OpenAPI offline'], ], - 'tags' => [ - 'Endpoint', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListEndpoints'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'ListInstances' => [ + 'summary' => 'Retrieves a list of dataset acceleration instances.', + 'path' => '/api/v1/instances', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'tags' => ['Instance'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'EndpointId', - 'in' => 'path', + 'name' => 'InstanceIds', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => ['description' => 'A list of instance IDs. Separate multiple instance IDs with commas (,).', 'type' => 'string', 'example' => 'inst-my1tk3jggooi5uwks5, inst-n69468yvjz8d12as7d, inst-tga4omjrepklkg1onn', 'title' => '', 'required' => false], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => ['description' => 'The instance name. Fuzzy matching is supported.', 'type' => 'string', 'example' => 'acc_instance_1', 'title' => '', 'required' => false], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'allowEmptyValue' => true, 'schema' => [ - 'title' => '数据集加速槽挂载点ID。', - 'description' => '', + 'description' => 'The type of the dataset acceleration instance. For more information, see Product specifications. Valid values:'."\n" + ."\n" + .'- basic: Basic Edition.'."\n" + ."\n" + .'- enhanced: Enhanced Edition.', 'type' => 'string', - 'required' => true, - 'example' => 'end-my1tk3jggooi5uwks5', + 'example' => 'basic', + 'enum' => ['basic', 'enhanced'], + 'title' => '', + 'required' => false, + ], + ], + [ + 'name' => 'PaymentType', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'description' => 'The billing method of the dataset acceleration instance. Valid values:'."\n" + ."\n" + .'- PayAsYouGo: pay-as-you-go.'."\n" + ."\n" + .'- Subscription: subscription.', + 'type' => 'string', + 'example' => 'PayAsYouGo', + 'enum' => ['PayAsYouGo', 'Subscription'], + 'title' => '', + 'required' => false, + ], + ], + [ + 'name' => 'Phase', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'description' => 'The status of the dataset acceleration instance. Valid values:'."\n" + ."\n" + .'- Created: initialization.'."\n" + ."\n" + .'- Running: running.'."\n" + ."\n" + .'- Stopped: stopped.', + 'type' => 'string', + 'example' => 'Running', + 'enum' => ['Created', 'Running', 'Stopped'], + 'title' => '', + 'required' => false, ], ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => ['description' => 'The field to sort by.', 'type' => 'string', 'example' => 'GmtCreateTime', 'default' => 'GmtCreateTime', 'title' => '', 'required' => false], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'description' => 'The sort order. Valid values:'."\n" + ."\n" + .'- Desc: descending order.'."\n" + ."\n" + .'- Asc: ascending order.', + 'type' => 'string', + 'example' => 'Desc', + 'default' => 'Desc', + 'enum' => ['Desc', 'Asc'], + 'title' => '', + 'required' => false, + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => ['description' => 'The page number of the dataset acceleration instance list. The value starts from 1. The default value is 1.', 'type' => 'integer', 'format' => 'int32', 'minimum' => '1', 'example' => '1', 'default' => '1', 'title' => '', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => ['description' => 'The number of dataset acceleration instances to display on each page for a paged query. The default value is 10.', 'type' => 'integer', 'format' => 'int32', 'minimum' => '1', 'example' => '10', 'default' => '10', 'title' => '', 'required' => false], + ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ - 'description' => '', + 'title' => '', + 'description' => 'The response that is returned.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', - ], - 'UserId' => [ - 'title' => '数据集加速端点的创建者的Uid,在阿里云内为子账号Id (主账号创建则直接为主账号Id)。', - 'description' => '', - 'type' => 'string', - 'example' => '276065346797410278', - ], - 'OwnerId' => [ - 'title' => '数据集加速端点的资源拥有者的Uid,在阿里云内为主账号Id 。', - 'description' => '', - 'type' => 'string', - 'example' => '1557702098194904', - ], - 'GmtCreateTime' => [ - 'title' => '数据集加速端点创建的时间。格式使用 ISO8601(RFC3339)。', - 'description' => '', - 'type' => 'string', - 'example' => '2014-10-02T15:01:23Z', - ], - 'GmtModifiedTime' => [ - 'title' => '数据集加速端点最后更新的时间。格式使用 ISO8601(RFC3339)。', - 'description' => '', - 'type' => 'string', - 'example' => '2014-10-02T15:01:23Z', - ], - 'Uuid' => [ - 'title' => '挂载点的唯一标识符。', - 'description' => '', - 'type' => 'string', - 'example' => 'end-ivrq92qhbyrg4jctih', - ], - 'Name' => [ - 'title' => '挂载点的名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'endpoint-1', - ], - 'Type' => [ - 'title' => '挂载点的网络类型,根据网络类型不同,下列中需要传入的参数也有所不同。'."\n" - .'VPC:端点机器处于VPC网络', - 'description' => '', - 'type' => 'string', - 'example' => 'VPC', - 'enum' => [ - 'VPC', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'required' => true, 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', 'title' => ''], + 'Instances' => [ + 'title' => '', + 'description' => 'The list of dataset acceleration instances.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'UserId' => ['description' => 'The UID of the creator of the dataset acceleration instance. This is the RAM user ID. If the instance was created by an Alibaba Cloud account, this is the Alibaba Cloud account ID.', 'type' => 'string', 'example' => '276065346797410278', 'title' => ''], + 'OwnerId' => ['description' => 'The UID of the owner of the dataset acceleration instance resource. This is the Alibaba Cloud account ID.', 'type' => 'string', 'example' => '1557702098194904', 'title' => ''], + 'GmtCreateTime' => ['description' => 'The time when the dataset acceleration instance was created. The format follows ISO 8601 (RFC3339).', 'type' => 'string', 'example' => '2014-10-02T15:01:23Z', 'title' => ''], + 'GmtModifiedTime' => ['description' => 'The time when the dataset acceleration instance was last updated. The format follows ISO 8601 (RFC3339).', 'type' => 'string', 'example' => '2014-10-02T15:01:23Z', 'title' => ''], + 'Uuid' => ['description' => 'The unique identifier of the dataset acceleration instance.', 'type' => 'string', 'example' => 'inst-my1tk3jggooi5uwks5', 'title' => ''], + 'Name' => ['description' => 'The name of the dataset acceleration instance.', 'type' => 'string', 'example' => 'acc_instance_1', 'title' => ''], + 'Description' => ['description' => 'The description of the dataset acceleration instance.', 'type' => 'string', 'example' => 'XGBoost dataset acceleration instance', 'title' => ''], + 'Type' => ['description' => 'The type of the dataset acceleration instance. Possible values:'."\n" + ."\n" + .'- Basic: Basic Edition.'."\n" + ."\n" + .'- Advanced: Advanced Edition.'."\n" + ."\n" + .'- Express: Express Edition.', 'type' => 'string', 'example' => 'Basic', 'title' => ''], + 'Tags' => [ + 'title' => '', + 'description' => 'The custom tags that are added to the dataset acceleration instance.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The key of the tag.'."\n" + .'The key can be up to 64 Unicode characters in length.', 'type' => 'string', 'example' => 'dataset_version', 'maxLength' => 64, 'title' => ''], + 'Value' => ['description' => 'The value of the tag.'."\n" + .'The value can be up to 64 Unicode characters in length.', 'type' => 'string', 'example' => 'v0.1.0', 'maxLength' => 64, 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + 'PaymentType' => [ + 'description' => 'The billing method of the dataset acceleration instance. Possible values:'."\n" + ."\n" + .'- PayAsYouGo: pay-as-you-go.'."\n" + ."\n" + .'- Subscription: subscription.', + 'type' => 'string', + 'example' => 'PayAsYouGo', + 'enum' => ['PayAsYouGo', 'Subscription'], + 'title' => '', + ], + 'Capacity' => ['description' => 'The maximum capacity of the dataset acceleration instance.'."\n" + .'The input string must follow the format specified in [Quantity](https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/).', 'type' => 'string', 'example' => '30.0G', 'title' => ''], + 'IoType' => ['title' => '', 'description' => 'The read/write type of the dataset acceleration instance.', 'type' => 'string', 'example' => 'readonly'], + 'MaxSlot' => ['description' => 'The maximum number of acceleration slots for the dataset acceleration instance.', 'type' => 'integer', 'format' => 'int32', 'default' => '20', 'title' => '', 'example' => '20'], + 'MaxEndpoint' => ['title' => '', 'description' => 'The maximum number of mount targets for the dataset acceleration instance.', 'type' => 'integer', 'format' => 'int32', 'default' => '100', 'example' => ''], + 'StorageType' => ['title' => '', 'description' => 'The storage class of the dataset acceleration instance.', 'type' => 'string', 'example' => 'OSS', 'default' => 'OSS'], + 'ProviderType' => ['title' => '', 'description' => 'The resource provider type for the dataset acceleration instance.', 'type' => 'string', 'example' => 'Ecs', 'default' => 'Ecs'], + 'Status' => ['description' => 'The status of the dataset acceleration instance.', '$ref' => '#/components/schemas/InstanceStatus', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'example' => '', ], - 'VpcId' => [ - 'title' => '挂载点使用的专有网络 VPC Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-j6co2fcdsl1q0gnuc3ym3', - ], - 'VswitchId' => [ - 'title' => '挂载点使用的交换机 Vswitch Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-j6cmr00qjyrft6jo2mg7g', - ], - 'Status' => [ - 'title' => '数据集加速槽挂载点的状态。', - 'description' => '', - '$ref' => '#/components/schemas/EndpointStatus', - ], + 'TotalCount' => ['description' => 'The total number of instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], ], + 'example' => '', ], ], 400 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F', - ], - 'Code' => [ - 'title' => '语义化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'Message' => [ - 'title' => '错误消息描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'Dataset Not Found: 1234', - ], + 'RequestId' => ['title' => '', 'description' => 'Request ID. ', 'type' => 'string', 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F'], + 'Code' => ['title' => '', 'description' => 'Semantic error code. ', 'type' => 'string', 'example' => 'ValidationError'], + 'Message' => ['title' => '', 'description' => 'Error message description. ', 'type' => 'string', 'example' => 'Dataset Not Found: 1234'], 'Detail' => [ - 'title' => '错误详细信息。', - 'description' => '', + 'title' => '', + 'description' => 'Detailed error information. ', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'title' => '数字化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '5218847334401572965', - ], + 'ErrorCode' => ['title' => '', 'description' => 'Numeric error code. ', 'type' => 'string', 'example' => '5218847334401572965'], ], 'example' => '-', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\",\\n \\"UserId\\": \\"276065346797410278\\",\\n \\"OwnerId\\": \\"1557702098194904\\",\\n \\"GmtCreateTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"GmtModifiedTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"Uuid\\": \\"end-ivrq92qhbyrg4jctih\\",\\n \\"Name\\": \\"endpoint-1\\",\\n \\"Type\\": \\"VPC\\",\\n \\"VpcId\\": \\"vpc-j6co2fcdsl1q0gnuc3ym3\\",\\n \\"VswitchId\\": \\"vsw-j6cmr00qjyrft6jo2mg7g\\",\\n \\"Status\\": {\\n \\"Phase\\": \\"Ready\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Init Succeed\\",\\n \\"Detail\\": {\\n \\"IpPortMapping\\": {\\n \\"key\\": {\\n \\"Ip\\": \\"10.0.0.5\\",\\n \\"Port\\": \\"3306\\"\\n }\\n }\\n }\\n }\\n}","type":"json"}]', - ], - 'DescribeComponent' => [ - 'summary' => '获取指定数据集加速组件的信息。', - 'path' => '/api/v1/components/{ComponentId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\",\\n \\"Instances\\": [\\n {\\n \\"UserId\\": \\"276065346797410278\\",\\n \\"OwnerId\\": \\"1557702098194904\\",\\n \\"GmtCreateTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"GmtModifiedTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"Uuid\\": \\"inst-my1tk3jggooi5uwks5\\",\\n \\"Name\\": \\"acc_instance_1\\",\\n \\"Description\\": \\"XGBoost dataset acceleration instance\\",\\n \\"Type\\": \\"Basic\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"dataset_version\\",\\n \\"Value\\": \\"v0.1.0\\"\\n }\\n ],\\n \\"PaymentType\\": \\"PayAsYouGo\\",\\n \\"Capacity\\": \\"30.0G\\",\\n \\"IoType\\": \\"readonly\\",\\n \\"MaxSlot\\": 20,\\n \\"MaxEndpoint\\": 0,\\n \\"StorageType\\": \\"OSS\\",\\n \\"ProviderType\\": \\"Ecs\\",\\n \\"Status\\": {\\n \\"Phase\\": \\"Running\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Init Succeed\\",\\n \\"UsedCapacity\\": \\"20.0G\\",\\n \\"SlotNum\\": 10\\n }\\n }\\n ],\\n \\"TotalCount\\": 100\\n}","type":"json"}]', + 'title' => 'Retrieve the list of dataset acceleration instances ', + 'description' => 'The request parameters act as filters. Filters are combined using a logical AND operation. If a parameter is empty, it is ignored.', + 'changeSet' => [ + ['createdAt' => '2023-05-22T12:08:54.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-05-22T12:06:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-10-14T08:37:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-13T09:10:18.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-09-13T09:10:18.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-08-13T16:52:28.000Z', 'description' => 'OpenAPI offline'], ], - 'tags' => [ - 'Component', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListInstances'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'ListSlots' => [ + 'summary' => 'Lists information about dataset acceleration slots.', + 'path' => '/api/v1/slots', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'tags' => ['Slot'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ComponentId', - 'in' => 'path', + 'name' => 'SlotIds', + 'in' => 'query', + 'schema' => ['description' => 'The IDs of the dataset acceleration slots. Separate multiple IDs with a comma (,).', 'type' => 'string', 'example' => 'slot-my1tk3jggooi5u****,slot-n69468yvjz8d12****,slot-tga4omjrepklkg****', 'title' => '', 'required' => false], + ], + [ + 'name' => 'InstanceIds', + 'in' => 'query', + 'schema' => ['description' => 'The unique ID of the dataset acceleration instance to which the slot belongs. For more information, see [ListInstances](~~467899~~).', 'type' => 'string', 'example' => 'inst-my1tk3jggooi5u****', 'title' => '', 'required' => false], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => 'The name of the dataset acceleration slot. Fuzzy matching is supported.', 'type' => 'string', 'example' => 'acc_instance_slot_1', 'title' => '', 'required' => false], + ], + [ + 'name' => 'StorageType', + 'in' => 'query', 'schema' => [ - 'title' => '数据集加速组件ID。', - 'description' => '', + 'description' => 'The data storage type of the dataset acceleration slot. Valid values:'."\n" + ."\n" + .'- OSS: OSS file storage.'."\n" + ."\n" + .'- NAS: NAS file storage.', 'type' => 'string', - 'required' => true, - 'example' => 'cmpt-my1tk3jggooi5uwks5', + 'example' => 'OSS', + 'enum' => ['OSS', 'NAS'], + 'title' => '', + 'required' => false, ], ], [ - 'name' => 'RenderTemplate', + 'name' => 'Phase', 'in' => 'query', 'schema' => [ - 'title' => '是否对组件模板进行渲染并展示。'."\n" - .'如果值为true,则返回中包含模板渲染后的内容。'."\n" - .'注:'."\n" - .'只支持指定组件列表:'."\n" - .' dataset-accelerator'."\n" - .'返回的组件模板内容最大长度为4096,超过最大长度会对模板进行截断。', - 'description' => '', - 'type' => 'boolean', + 'description' => 'The status of the dataset acceleration slot. Valid values:'."\n" + ."\n" + .'- Created: The slot is created.'."\n" + ."\n" + .'- Preparing: Resources are being prepared.'."\n" + ."\n" + .'- Loading: Data is being loaded.'."\n" + ."\n" + .'- Running: The slot is running and providing services.'."\n" + ."\n" + .'- Reloading: Data is being reloaded.'."\n" + ."\n" + .'- Succeed: The operation is successful.'."\n" + ."\n" + .'- Failed: The operation failed.'."\n" + ."\n" + .'- Stopping: The slot is being stopped.'."\n" + ."\n" + .'- Stopped: The slot is stopped.', + 'type' => 'string', + 'example' => 'Running', + 'enum' => ['Created', 'Preparing', 'Loading', 'Running', 'Succeed', 'Failed', 'Stopping', 'Stopped'], + 'title' => '', 'required' => false, - 'example' => 'true', - 'default' => 'false', ], ], [ - 'name' => 'Values', + 'name' => 'SortBy', 'in' => 'query', - 'style' => 'json', + 'allowEmptyValue' => true, + 'schema' => ['description' => 'The field to sort by.', 'type' => 'string', 'example' => 'GmtCreateTime', 'default' => 'GmtCreateTime', 'title' => '', 'required' => false], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'allowEmptyValue' => true, 'schema' => [ - 'title' => '组件模板渲染时使用的参数。', - 'description' => '', - 'type' => 'object', + 'description' => 'The sort order. Valid values:'."\n" + ."\n" + .'- Desc: Descending order.'."\n" + ."\n" + .'- Asc: Ascending order.', + 'type' => 'string', + 'example' => 'Desc', + 'default' => 'Desc', + 'enum' => ['Desc', 'Asc'], + 'title' => '', 'required' => false, - 'additionalProperties' => [ - 'type' => 'any', - 'description' => '', - 'example' => '{\\"frontEndPort\\":\\"24457\\",\\"endpointId\\":\\"end-mlpo5mrygduwl9lm31\\",\\"frontEndAddr\\":\\"192.168.0.3\\",\\"slotId\\":\\"slot-vas3b1ygg22sxbq972\\",\\"region\\":\\"cn-shanghai\\"}', - ], ], ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => ['description' => 'The page number of the slot list. The value starts from 1. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'minimum' => '1', 'example' => '1', 'default' => '1', 'title' => '', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => ['description' => 'The number of slots to return on each page. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'minimum' => '1', 'example' => '10', 'default' => '10', 'title' => '', 'required' => false], + ], + [ + 'name' => 'EndpointIds', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The unique ID of the accelerated mount target that is associated with the slot.', 'type' => 'string', 'example' => 'endp-my1tk3jggooi5uwks5', 'required' => false], + ], + [ + 'name' => 'StorageUri', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The data storage path (URI) of the dataset acceleration slot.', 'type' => 'string', 'required' => false, 'example' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'title' => '', + 'description' => 'The return value.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', - ], - 'UserId' => [ - 'title' => '数据集加速组件的创建者的Uid,在阿里云内为子账号Id (主账号创建则直接为主账号Id)。', - 'description' => '', - 'type' => 'string', - 'example' => '276065346797410278', - ], - 'OwnerId' => [ - 'title' => '数据集加速组件资源拥有者的Uid,在阿里云内为主账号Id 。', - 'description' => '', - 'type' => 'string', - 'example' => '1557702098194904', - ], - 'GmtCreateTime' => [ - 'title' => '数据集加速组件创建的时间。格式使用 ISO8601(RFC3339)。', - 'description' => '', - 'type' => 'string', - 'example' => '2014-10-02T15:01:23Z', - ], - 'GmtModifiedTime' => [ - 'title' => '数据集加速组件最后更新的时间。格式使用 ISO8601(RFC3339)。', - 'description' => '', - 'type' => 'string', - 'example' => '2014-10-02T15:01:23Z', - ], - 'Uuid' => [ - 'title' => '数据集加速组件的唯一标识符。', - 'description' => '', - 'type' => 'string', - 'example' => 'cmpt-5zk866779me51jgu3w', - ], - 'Name' => [ - 'title' => '数据集加速组件名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'dataset-accelerator', - ], - 'Version' => [ - 'title' => '数据集加速组件版本。', - 'description' => '', - 'type' => 'string', - 'example' => 'v1.0.0', - ], - 'Template' => [ - 'title' => '数据集加速组件模板信息。', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'title' => '数据集加速组件模板的类型。'."\n" - .'OSS:从OSS中读取模板Helm包。', - 'description' => '', - 'type' => 'string', - 'example' => 'OSS', - 'enum' => [ - 'OSS', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF1****', 'title' => ''], + 'Slots' => [ + 'title' => '', + 'description' => 'List of dataset accelerators.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'UserId' => ['description' => 'The user ID (UID) of the creator of the slot. If the slot is created by a RAM user, this is the RAM user ID. If the slot is created by an Alibaba Cloud account, this is the Alibaba Cloud account ID.', 'type' => 'string', 'example' => '27606534679741****', 'title' => ''], + 'OwnerId' => ['description' => 'The UID of the resource owner of the slot. This is the ID of the Alibaba Cloud account.', 'type' => 'string', 'example' => '155770209819****', 'title' => ''], + 'GmtCreateTime' => ['description' => 'The time when the slot was created. The time is in the ISO 8601 format (RFC3339).', 'type' => 'string', 'example' => '2014-10-02T15:01:23Z', 'title' => ''], + 'GmtModifiedTime' => ['description' => 'The time when the slot was last updated. The time is in the ISO 8601 format (RFC3339).', 'type' => 'string', 'example' => '2014-10-02T15:01:23Z', 'title' => ''], + 'Uuid' => ['description' => 'The unique ID of the slot.', 'type' => 'string', 'example' => 'slot-5zk866779me51j****', 'title' => ''], + 'InstanceId' => ['description' => 'The unique ID of the dataset acceleration instance to which the slot belongs.', 'type' => 'string', 'example' => 'inst-my1tk3jggooi5u****', 'title' => ''], + 'Name' => ['description' => 'The name of the slot.', 'type' => 'string', 'example' => 'slot_1', 'title' => ''], + 'Description' => ['description' => 'The description of the slot.', 'type' => 'string', 'example' => 'XGBoost dataset acceleration slot', 'title' => ''], + 'Tags' => [ + 'title' => '', + 'description' => 'The custom tags added to the slot.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The key of the tag.', 'type' => 'string', 'example' => 'dataset_version', 'title' => ''], + 'Value' => ['description' => 'The value of the tag.', 'type' => 'string', 'example' => 'v0.1.0', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + 'StorageType' => [ + 'description' => 'The data storage type of the slot. Valid values:'."\n" + ."\n" + .'- OSS: OSS file storage.'."\n" + ."\n" + .'- NAS: NAS file storage.', + 'type' => 'string', + 'example' => 'OSS', + 'enum' => ['OSS', 'NAS'], + 'title' => '', + ], + 'StorageUri' => ['description' => 'The URI of the data in the slot. The format of the URI varies based on the data type.', 'type' => 'string', 'example' => 'oss://examplebucket/data/VOCdevkit/VOC2007/ImageSets/Main/val.txt', 'title' => ''], + 'Capacity' => ['description' => 'The maximum capacity of the slot. The string must be in the format specified in [Quantity](https://kubernetes.io/zh-cn/docs/reference/kubernetes-api/common-definitions/quantity/).', 'type' => 'string', 'example' => '30.0G', 'title' => ''], + 'IoType' => ['title' => '', 'description' => 'The read/write type of the slot.', 'type' => 'string', 'example' => 'readonly'], + 'LifeCycle' => ['description' => 'The lifecycle of the slot.', '$ref' => '#/components/schemas/SlotLifeCycle', 'title' => '', 'example' => ''], + 'Status' => ['description' => 'The status of the slot.', '$ref' => '#/components/schemas/SlotStatus', 'title' => '', 'example' => ''], + 'Endpoints' => [ + 'title' => '', + 'description' => 'A list of endpoints associated with the slot.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'UserId' => ['description' => 'The UID of the creator of the endpoint. If the endpoint is created by a RAM user, this is the RAM user ID. If the endpoint is created by an Alibaba Cloud account, this is the Alibaba Cloud account ID.', 'type' => 'string', 'example' => '27606534679741****', 'title' => ''], + 'OwnerId' => ['description' => 'The UID of the resource owner of the endpoint. This is the ID of the Alibaba Cloud account.', 'type' => 'string', 'example' => '155770209819****', 'title' => ''], + 'GmtCreateTime' => ['description' => 'The time when the endpoint was created. The time is in the ISO 8601 format (RFC3339).', 'type' => 'string', 'example' => '2014-10-02T15:01:23Z', 'title' => ''], + 'GmtModifiedTime' => ['description' => 'The time when the endpoint was last updated. The time is in the ISO 8601 format (RFC3339).', 'type' => 'string', 'example' => '2014-10-02T15:01:23Z', 'title' => ''], + 'Uuid' => ['description' => 'The unique ID of the endpoint.', 'type' => 'string', 'example' => 'end-ivrq92qhbyrg4j****', 'title' => ''], + 'Name' => ['description' => 'The name of the endpoint.', 'type' => 'string', 'example' => 'endpoint-1', 'title' => ''], + 'Type' => [ + 'description' => 'The network type of the endpoint. Valid values:'."\n" + ."\n" + .'- VPC: The endpoint is in a VPC.'."\n" + ."\n" + .'- INNER: The endpoint is on the PAI internal network and can be accessed by other PAI products.', + 'type' => 'string', + 'example' => 'VPC', + 'enum' => ['VPC'], + 'title' => '', + ], + 'VpcId' => ['description' => 'The ID of the VPC that the endpoint uses.', 'type' => 'string', 'example' => 'vpc-j6co2fcdsl1q0gnuc****', 'title' => ''], + 'VswitchId' => ['description' => 'The vSwitch ID that the endpoint uses.', 'type' => 'string', 'example' => 'vsw-j6cmr00qjyrft6jo2****', 'title' => ''], + 'Status' => ['description' => 'The status of the endpoint.', '$ref' => '#/components/schemas/EndpointStatus', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'example' => '', ], ], - 'Uri' => [ - 'title' => '数据集加速组件模板的资源标识符,数据类型不同存在不同格式。', - 'description' => '', - 'type' => 'string', - 'example' => 'data/VOCdevkit/VOC2007/ImageSets/Main/val.txt', - ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'example' => '', ], - 'RenderedContent' => [ - 'title' => '渲染后的数据集加速组件部署文件。', - 'description' => '', - 'type' => 'string', - 'example' => '---\\n# Source: dataset-accelerator/templates/dataset-accelerator\\napiVersion: data.datasetacc.io/v1\\nkind: DataSetAccelerator\\nmetadata:\\n name: dataset-accelerator\\nspec:\\n frontEndAddr: 10.0.0.2\\n frontEndPort: 7001\\n', - ], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], ], + 'example' => '', ], ], 400 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F', - ], - 'Code' => [ - 'title' => '语义化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'Message' => [ - 'title' => '错误消息描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'Dataset Not Found: 1234', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID. ', 'type' => 'string', 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F'], + 'Code' => ['title' => '', 'description' => 'The semantic error code. ', 'type' => 'string', 'example' => 'ValidationError'], + 'Message' => ['title' => '', 'description' => 'The error message description. ', 'type' => 'string', 'example' => 'Dataset Not Found: 1234'], 'Detail' => [ - 'title' => '错误详细信息。', - 'description' => '', + 'title' => '', + 'description' => 'The detailed error information. ', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'title' => '数字化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '5218847334401572965', - ], + 'ErrorCode' => ['title' => '', 'description' => 'Numeric error code.', 'type' => 'string', 'example' => '5218847334401572965'], ], 'example' => '-', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\",\\n \\"UserId\\": \\"276065346797410278\\",\\n \\"OwnerId\\": \\"1557702098194904\\",\\n \\"GmtCreateTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"GmtModifiedTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"Uuid\\": \\"cmpt-5zk866779me51jgu3w\\",\\n \\"Name\\": \\"dataset-accelerator\\",\\n \\"Version\\": \\"v1.0.0\\",\\n \\"Template\\": {\\n \\"Type\\": \\"OSS\\",\\n \\"Uri\\": \\"data/VOCdevkit/VOC2007/ImageSets/Main/val.txt\\"\\n },\\n \\"RenderedContent\\": \\"---\\\\\\\\n# Source: dataset-accelerator/templates/dataset-accelerator\\\\\\\\napiVersion: data.datasetacc.io/v1\\\\\\\\nkind: DataSetAccelerator\\\\\\\\nmetadata:\\\\\\\\n name: dataset-accelerator\\\\\\\\nspec:\\\\\\\\n frontEndAddr: 10.0.0.2\\\\\\\\n frontEndPort: 7001\\\\\\\\n\\"\\n}","type":"json"}]', - 'title' => 'DescribeComponent', - ], - 'ListComponents' => [ - 'summary' => '获取数据集加速组件的信息列表。', - 'path' => '/api/v1/components', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF1****\\",\\n \\"Slots\\": [\\n {\\n \\"UserId\\": \\"27606534679741****\\",\\n \\"OwnerId\\": \\"155770209819****\\",\\n \\"GmtCreateTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"GmtModifiedTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"Uuid\\": \\"slot-5zk866779me51j****\\",\\n \\"InstanceId\\": \\"inst-my1tk3jggooi5u****\\",\\n \\"Name\\": \\"slot_1\\",\\n \\"Description\\": \\"XGBoost dataset acceleration slot\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"dataset_version\\",\\n \\"Value\\": \\"v0.1.0\\"\\n }\\n ],\\n \\"StorageType\\": \\"OSS\\",\\n \\"StorageUri\\": \\"oss://examplebucket/data/VOCdevkit/VOC2007/ImageSets/Main/val.txt\\",\\n \\"Capacity\\": \\"30.0G\\",\\n \\"IoType\\": \\"readonly\\",\\n \\"LifeCycle\\": {\\n \\"Type\\": \\"KeepAlive\\",\\n \\"Config\\": \\"{}\\"\\n },\\n \\"Status\\": {\\n \\"Phase\\": \\"Running\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Init Succeed\\",\\n \\"Detail\\": {\\n \\"LoadedFileNum\\": 1000000,\\n \\"LoadedFileSize\\": \\"200G\\",\\n \\"LoadingTimeCost\\": 1800000\\n }\\n },\\n \\"Endpoints\\": [\\n {\\n \\"UserId\\": \\"27606534679741****\\",\\n \\"OwnerId\\": \\"155770209819****\\",\\n \\"GmtCreateTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"GmtModifiedTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"Uuid\\": \\"end-ivrq92qhbyrg4j****\\",\\n \\"Name\\": \\"endpoint-1\\",\\n \\"Type\\": \\"VPC\\",\\n \\"VpcId\\": \\"vpc-j6co2fcdsl1q0gnuc****\\",\\n \\"VswitchId\\": \\"vsw-j6cmr00qjyrft6jo2****\\",\\n \\"Status\\": {\\n \\"Phase\\": \\"Ready\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Init Succeed\\",\\n \\"Detail\\": {\\n \\"IpPortMapping\\": {\\n \\"key\\": {\\n \\"Ip\\": \\"10.0.0.5\\",\\n \\"Port\\": \\"3306\\"\\n }\\n }\\n }\\n }\\n }\\n ]\\n }\\n ],\\n \\"TotalCount\\": 100\\n}","type":"json"}]', + 'title' => 'List dataset acceleration slots', + 'description' => 'Request parameters act as filters and are combined using a logical AND. If a parameter is left empty, it is ignored.', + 'changeSet' => [ + ['createdAt' => '2023-05-22T11:41:18.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-05-22T06:42:27.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-13T09:10:12.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-13T09:10:12.000Z', 'description' => 'OpenAPI offline'], ], - 'tags' => [ - 'Component', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSlots'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'ListTags' => [ + 'summary' => 'Lists tags.', + 'path' => '/api/v1/tags', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'tags' => ['Tag'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ComponentIds', + 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ - 'title' => '数据集加速组件ID的列表,以逗号分隔。', - 'description' => '', + 'description' => 'The type of the resource to which the tag belongs. Valid values:'."\n" + ."\n" + .'- Instance: A dataset acceleration instance.'."\n" + ."\n" + .'- Slot: A dataset acceleration slot.', 'type' => 'string', + 'example' => 'instance', + 'enum' => ['Instance', 'Slot'], + 'title' => '', 'required' => false, - 'example' => 'cmpt-my1tk3jggooi5uwks5,cmpt-n69468yvjz8d12as7d,cmpt-tga4omjrepklkg1onn', ], ], [ - 'name' => 'Name', + 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'title' => '数据集加速组件名称,支持模糊匹配。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'dataset-accelerator', - ], + 'schema' => ['description' => 'The ID of the resource to which the tag belongs.'."\n" + ."\n" + .'- If you set ResourceType to Instance, set this parameter to the ID of the dataset acceleration instance. For more information about how to obtain the instance ID, see [ListInstances](~~467899~~).'."\n" + ."\n" + .'- If you set ResourceType to Slot, set this parameter to the ID of the dataset acceleration slot. For more information about how to obtain the slot ID, see [ListSlots](~~467905~~).', 'type' => 'string', 'example' => 'inst-my1tk3jggooi5uwks5', 'title' => '', 'required' => false], ], [ - 'name' => 'Version', + 'name' => 'Key', 'in' => 'query', - 'schema' => [ - 'title' => '数据集加速组件版本。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'v1.0.0', - ], + 'schema' => ['description' => 'The key of the tag.'."\n" + .'The key can be up to 64 Unicode characters in length.', 'type' => 'string', 'example' => 'dataset_version', 'maxLength' => 64, 'title' => '', 'required' => false], + ], + [ + 'name' => 'Value', + 'in' => 'query', + 'schema' => ['description' => 'The value of the tag.'."\n" + .'The value can be up to 64 Unicode characters in length.', 'type' => 'string', 'example' => 'v0.1.0', 'maxLength' => 64, 'title' => '', 'required' => false], ], [ 'name' => 'SortBy', 'in' => 'query', 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '排序字段', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'GmtCreateTime', - 'default' => 'GmtCreateTime', - ], + 'schema' => ['description' => 'The field to use for sorting.', 'type' => 'string', 'example' => 'GmtCreateTime', 'default' => 'GmtCreateTime', 'title' => '', 'required' => false], ], [ 'name' => 'Order', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => [ - 'title' => '排列顺序'."\n" - .'Desc: 降序排列'."\n" - .'Asc: 升序排列', - 'description' => '', + 'description' => 'The sort order. Valid values:'."\n" + ."\n" + .'- Desc: Descending order.'."\n" + ."\n" + .'- Asc: Ascending order.', 'type' => 'string', - 'required' => false, 'example' => 'Desc', 'default' => 'Desc', - 'enum' => [ - 'Desc', - 'Asc', - ], + 'enum' => ['Desc', 'Asc'], + 'title' => '', + 'required' => false, ], ], [ 'name' => 'PageNumber', 'in' => 'query', 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '查询第几页数据,最小值1', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => 'The page number of the tag list. The value starts from 1. The default value is 1.', 'type' => 'integer', 'format' => 'int32', 'minimum' => '1', 'example' => '1', 'default' => '1', 'title' => '', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '设置查询的分页大小,最小值为1', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => 'The number of tags to display on each page in a paged query. The default value is 10.', 'type' => 'integer', 'format' => 'int32', 'minimum' => '1', 'example' => '10', 'default' => '10', 'title' => '', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'title' => '', + 'description' => 'Response object.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', - ], - 'Components' => [ - 'title' => '数据集加速槽列表。', - 'description' => '', + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', 'title' => ''], + 'Tags' => [ + 'title' => '', + 'description' => 'Tag list.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'UserId' => [ - 'title' => '数据集加速组件的创建者的Uid,在阿里云内为子账号Id (主账号创建则直接为主账号Id)。', - 'description' => '', - 'type' => 'string', - 'example' => '276065346797410278', - ], - 'OwnerId' => [ - 'title' => '数据集加速组件资源拥有者的Uid,在阿里云内为主账号Id 。', - 'description' => '', - 'type' => 'string', - 'example' => '1557702098194904', - ], - 'GmtCreateTime' => [ - 'title' => '数据集加速组件创建的时间。格式使用 ISO8601(RFC3339)。', - 'description' => '', - 'type' => 'string', - 'example' => '2014-10-02T15:01:23Z', - ], - 'GmtModifiedTime' => [ - 'title' => '数据集加速组件最后更新的时间。格式使用 ISO8601(RFC3339)。', - 'description' => '', - 'type' => 'string', - 'example' => '2014-10-02T15:01:23Z', - ], - 'Uuid' => [ - 'title' => '数据集加速组件的唯一标识符。', - 'description' => '', - 'type' => 'string', - 'example' => 'cmpt-5zk866779me51jgu3w', - ], - 'Name' => [ - 'title' => '数据集加速组件名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'dataset-accelerator', - ], - 'Version' => [ - 'title' => '数据集加速组件版本。', - 'description' => '', + 'UserId' => ['description' => 'User ID of the tag creator. In Alibaba Cloud, this is the RAM user ID. If the tag was created by an Alibaba Cloud account, this is the Alibaba Cloud account ID.', 'type' => 'string', 'example' => '276065346797410278', 'title' => ''], + 'OwnerId' => ['description' => 'User ID of the resource owner. In Alibaba Cloud, this is the Alibaba Cloud account ID.', 'type' => 'string', 'example' => '1557702098194904', 'title' => ''], + 'GmtCreateTime' => ['description' => 'Time when the tag was created. Format follows ISO 8601 (RFC 3339).', 'type' => 'string', 'example' => '2014-10-02T15:01:23Z', 'title' => ''], + 'GmtModifiedTime' => ['description' => 'Time when the tag was last updated. Format follows ISO 8601 (RFC 3339).', 'type' => 'string', 'example' => '2014-10-02T15:01:23Z', 'title' => ''], + 'ResourceType' => [ + 'description' => 'Type of resource that the tag belongs to. Valid values:'."\n" + ."\n" + .'- Instance: Elastic Dataset Accelerator instance.'."\n" + ."\n" + .'- Slot: Dataset acceleration slot.', 'type' => 'string', - 'example' => 'v1.0.0', - ], - 'Template' => [ - 'title' => '数据集加速组件模板信息。', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'title' => '数据集加速组件模板的类型。'."\n" - .'OSS:从OSS中读取模板Helm包。', - 'description' => '', - 'type' => 'string', - 'example' => 'OSS', - 'enum' => [ - 'OSS', - ], - ], - 'Uri' => [ - 'title' => '数据集加速组件模板的资源标识符,数据类型不同存在不同格式。', - 'description' => '', - 'type' => 'string', - 'example' => 'data/VOCdevkit/VOC2007/ImageSets/Main/val.txt', - ], - ], + 'example' => 'Instance', + 'enum' => ['Instance', 'Slot'], + 'title' => '', ], + 'ResourceId' => ['description' => 'ID of the resource that the tag belongs to.', 'type' => 'string', 'example' => 'inst-my1tk3jggooi5uwks', 'title' => ''], + 'Key' => ['description' => 'Tag key. Maximum length: 64 Unicode characters.', 'type' => 'string', 'example' => 'dataset_version', 'maxLength' => 64, 'title' => ''], + 'Value' => ['description' => 'Tag value. Maximum length: 64 Unicode characters.', 'type' => 'string', 'example' => 'v0.1.0', 'maxLength' => 64, 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'example' => '', ], - 'TotalCount' => [ - 'title' => '列表内元素数量总和。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], + 'TotalCount' => ['description' => 'Total number of elements in the list.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], ], + 'example' => '', ], ], 400 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F', - ], - 'Code' => [ - 'title' => '语义化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'Message' => [ - 'title' => '错误消息描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'Dataset Not Found: 1234', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID. ', 'type' => 'string', 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F'], + 'Code' => ['title' => '', 'description' => 'The semantic error code. ', 'type' => 'string', 'example' => 'ValidationError'], + 'Message' => ['title' => '', 'description' => 'The error message description. ', 'type' => 'string', 'example' => 'Dataset Not Found: 1234'], 'Detail' => [ - 'title' => '错误详细信息。', - 'description' => '', + 'title' => '', + 'description' => 'Detailed error information. ', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'title' => '数字化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '5218847334401572965', - ], + 'ErrorCode' => ['title' => '', 'description' => 'The numeric error code. ', 'type' => 'string', 'example' => '5218847334401572965'], ], 'example' => '-', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF1****\\",\\n \\"Components\\": [\\n {\\n \\"UserId\\": \\"27606534679741****\\",\\n \\"OwnerId\\": \\"155770209819****\\",\\n \\"GmtCreateTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"GmtModifiedTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"Uuid\\": \\"cmpt-5zk866779me51j****\\",\\n \\"Name\\": \\"dataset-accelerator\\",\\n \\"Version\\": \\"v1.0.0\\",\\n \\"Template\\": {\\n \\"Type\\": \\"OSS\\",\\n \\"Uri\\": \\"data/VOCdevkit/VOC2007/ImageSets/Main/val.txt\\"\\n }\\n }\\n ],\\n \\"TotalCount\\": 100\\n}","type":"json"}]', - 'title' => 'ListComponents', - ], - 'CreateTag' => [ - 'summary' => '针对一个资源,创建一个标签。', - 'path' => '/api/v1/tags', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\",\\n \\"Tags\\": [\\n {\\n \\"UserId\\": \\"276065346797410278\\",\\n \\"OwnerId\\": \\"1557702098194904\\",\\n \\"GmtCreateTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"GmtModifiedTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"ResourceType\\": \\"Instance\\",\\n \\"ResourceId\\": \\"inst-my1tk3jggooi5uwks\\",\\n \\"Key\\": \\"dataset_version\\",\\n \\"Value\\": \\"v0.1.0\\"\\n }\\n ],\\n \\"TotalCount\\": 100\\n}","type":"json"}]', + 'title' => 'Retrieve the label list', + 'description' => 'Request parameters are used as filters. The filters are joined by a logical AND. If a parameter is left empty, the filter is not applied.', + 'changeSet' => [ + ['createdAt' => '2022-09-13T09:10:12.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-13T09:10:12.000Z', 'description' => 'OpenAPI offline'], ], - 'tags' => [ - 'Tag', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTags'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'QueryInstanceMetrics' => [ + 'summary' => 'Queries the monitoring metrics of a dataset acceleration instance.', + 'path' => '/api/v1/instances/{InstanceId}/metrics/action/query', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'tags' => ['Instance'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['description' => 'The ID of the dataset acceleration instance that owns the metrics. To get an instance ID, see [ListInstances](~~467899~~).', 'type' => 'string', 'required' => true, 'example' => 'inst-abcdefgh12****', 'title' => ''], + ], + [ + 'name' => 'Dimensions', + 'in' => 'query', 'style' => 'json', + 'schema' => ['description' => 'A set of labels for the metric.', 'type' => 'object', 'title' => '', 'required' => false, 'example' => 'SlotIDs: xxx'], + ], + [ + 'name' => 'MetricType', + 'in' => 'query', 'schema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ResourceType' => [ - 'title' => '标签所属的资源的类型。'."\n" - .'Instance:数据集加速实例'."\n" - .'Slot:数据集加速槽', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'Instance', - 'enum' => [ - 'Instance', - 'Slot', - ], - ], - 'ResourceId' => [ - 'title' => '标签所属的资源的Id。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'inst-my1tk3jggooi5uwks', - ], - 'Key' => [ - 'title' => '标签的键值。'."\n" - .'长度限制为 64 Unicode 字符。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'dataset_version', - 'maxLength' => 64, - ], - 'Value' => [ - 'title' => '标签的值。'."\n" - .'长度限制为 64 Unicode 字符。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'v0.1.0', - 'maxLength' => 64, - ], - ], - 'required' => false, + 'description' => 'The type of metric. Valid values:'."\n" + ."\n" + .'- NetworkReceiveBytesPerSecond: Bytes received per second over the network.'."\n" + ."\n" + .'- NetworkTransmitBytesPerSecond: Bytes sent per second over the network.'."\n" + ."\n" + .'- FrontendThroughputBytes: Frontend service throughput in bytes.'."\n" + ."\n" + .'- FrontendLatencyMicrosecond: Frontend service latency in microseconds.'."\n" + ."\n" + .'- FrontendIops: Frontend service read frequency (IOPS).', + 'type' => 'string', + 'required' => true, + 'example' => 'NetworkReceiveBytesPerSecond', + 'enum' => ['NetworkReceiveBytesPerSecond', 'NetworkTransmitBytesPerSecond', 'FrontendThroughputBytes', 'FrontendLatencyMicrosecond', 'FrontendIops'], + 'title' => '', ], ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start time. Default is one hour before now.', 'type' => 'string', 'example' => '2020-11-08T15:00:00Z', 'title' => '', 'required' => false], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time. Default is the current time.', 'type' => 'string', 'example' => '2020-11-08T16:00:00Z', 'title' => '', 'required' => false], + ], + [ + 'name' => 'TimeStep', + 'in' => 'query', + 'schema' => ['description' => 'The time interval, in minutes.', 'type' => 'string', 'example' => '5m', 'default' => '5m', 'title' => '', 'required' => false], + ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ - 'description' => '', + 'title' => '', + 'description' => 'The response object.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'required' => true, 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', 'title' => ''], + 'Metrics' => [ + 'title' => '', + 'description' => 'A list of monitoring metrics.', + 'type' => 'array', + 'items' => ['description' => 'Details about a metric.', '$ref' => '#/components/schemas/Metric', 'title' => '', 'example' => ''], + 'example' => '', ], + 'Period' => ['description' => 'The time interval.', 'type' => 'string', 'example' => '60s', 'title' => ''], ], + 'example' => '', ], ], 400 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F', - ], - 'Code' => [ - 'title' => '语义化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'Message' => [ - 'title' => '错误消息描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'Dataset Not Found: 1234', - ], + 'RequestId' => ['title' => '', 'description' => 'Request ID. ', 'type' => 'string', 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F'], + 'Code' => ['title' => '', 'description' => 'Semantic error code. ', 'type' => 'string', 'example' => 'ValidationError'], + 'Message' => ['title' => '', 'description' => 'Error message description. ', 'type' => 'string', 'example' => 'Dataset Not Found: 1234'], 'Detail' => [ - 'title' => '错误详细信息。', - 'description' => '', + 'title' => '', + 'description' => 'Detailed error information. ', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'title' => '数字化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '5218847334401572965', - ], + 'ErrorCode' => ['title' => '', 'description' => 'Numeric error code. ', 'type' => 'string', 'example' => '5218847334401572965'], ], 'example' => '-', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\",\\n \\"Metrics\\": [\\n {\\n \\"Timestamp\\": \\"1655897743\\",\\n \\"Value\\": 98.35\\n }\\n ],\\n \\"Period\\": \\"60s\\"\\n}","type":"json"}]', + 'title' => 'Retrieve Monitoring Metrics for Dataset Acceleration Instances ', + 'description' => '- Request parameters are used as filters and are combined using a logical AND. If you leave a parameter empty, it is ignored.'."\n" + ."\n" + .'- When you query metrics, the control layer automatically adds the InstanceId to the filter conditions. For a metric to be returned in the query results, it must be associated with an InstanceId during collection.', + 'changeSet' => [ + ['createdAt' => '2022-11-14T03:16:26.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-10-28T02:58:36.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-13T09:10:18.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-13T09:10:18.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryInstanceMetrics'], + ], + ], + 'ramActions' => [], + 'translator' => 'machine', ], - 'DeleteTag' => [ - 'summary' => '删除一个资源上的一个标签。', - 'path' => '/api/v1/tags', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'tags' => [ - 'Tag', - ], + 'QuerySlotMetrics' => [ + 'summary' => 'Queries the monitoring metrics for a dataset acceleration slot.', + 'path' => '/api/v1/slots/{SlotId}/metrics/action/query', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'tags' => ['Slot'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ResourceType', + 'name' => 'SlotId', + 'in' => 'path', + 'schema' => ['description' => 'ID of the dataset acceleration slot that owns the metrics. To get a slot ID, see [ListSlots](~~467905~~).', 'type' => 'string', 'required' => true, 'example' => 'slot-abcdefgh12****', 'title' => ''], + ], + [ + 'name' => 'Dimensions', 'in' => 'query', - 'schema' => [ - 'title' => '标签所属的资源的类型。'."\n" - .'Instance:数据集加速实例'."\n" - .'Slot:数据集加速槽', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'Instance', - 'enum' => [ - 'Instance', - 'Slot', - ], - ], + 'style' => 'json', + 'schema' => ['description' => 'Set of labels for the metric.', 'type' => 'object', 'title' => '', 'required' => false, 'example' => 'SlotIDs: xxx'], ], [ - 'name' => 'ResourceId', + 'name' => 'MetricType', 'in' => 'query', 'schema' => [ - 'title' => '标签所属的资源的Id。', - 'description' => '', + 'description' => 'Type of metric. Valid values:'."\n" + ."\n" + .'- NetworkReceiveBytesPerSecond: Bytes received per second over the network.'."\n" + ."\n" + .'- NetworkTransmitBytesPerSecond: Bytes sent per second over the network.'."\n" + ."\n" + .'- FrontendThroughputBytes: Frontend service throughput in bytes.'."\n" + ."\n" + .'- FrontendLatencyMicrosecond: Frontend service latency in microseconds.'."\n" + ."\n" + .'- FrontendIops: Frontend service read frequency (IOPS).', 'type' => 'string', 'required' => true, - 'example' => 'inst-my1tk3jggooi5uwks', + 'example' => 'NetworkReceiveBytesPerSecond', + 'enum' => ['NetworkTransmitBytesPerSecond', 'NetworkReceiveBytesPerSecond', 'FrontendThroughputBytes', 'FrontendLatencyMicrosecond', 'FrontendIops'], + 'title' => '', ], ], [ - 'name' => 'Key', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'title' => '标签的键值。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'dataset_version', - 'maxLength' => 64, - ], + 'schema' => ['description' => 'Start time. Default is one hour before now.', 'type' => 'string', 'example' => '2020-11-08T15:00:00Z', 'title' => '', 'required' => false], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'End time. Default is the current time.', 'type' => 'string', 'example' => '2020-11-08T16:00:00Z', 'title' => '', 'required' => false], + ], + [ + 'name' => 'TimeStep', + 'in' => 'query', + 'schema' => ['description' => 'Time interval in minutes.', 'type' => 'string', 'example' => '5m', 'default' => '5m', 'title' => '', 'required' => false], ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ - 'description' => '', + 'title' => '', + 'description' => 'Response object.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'required' => true, 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', 'title' => ''], + 'Metrics' => [ + 'title' => '', + 'description' => 'List of monitoring metrics.', + 'type' => 'array', + 'items' => ['description' => 'Metric information.', '$ref' => '#/components/schemas/Metric', 'title' => '', 'example' => ''], + 'example' => '', ], + 'Period' => ['description' => 'Time interval.', 'type' => 'string', 'example' => '60s', 'title' => ''], ], + 'example' => '', ], ], 400 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F', - ], - 'Code' => [ - 'title' => '语义化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'Message' => [ - 'title' => '错误消息描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'Dataset Not Found: 1234', - ], + 'RequestId' => ['title' => '', 'description' => 'Request ID. ', 'type' => 'string', 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F'], + 'Code' => ['title' => '', 'description' => 'Semantic error code. ', 'type' => 'string', 'example' => 'ValidationError'], + 'Message' => ['title' => '', 'description' => 'Error message description. ', 'type' => 'string', 'example' => 'Dataset Not Found: 1234'], 'Detail' => [ - 'title' => '错误详细信息。', - 'description' => '', + 'title' => '', + 'description' => 'Detailed error information. ', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'title' => '数字化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '5218847334401572965', - ], + 'ErrorCode' => ['title' => '', 'description' => 'Numeric error code. ', 'type' => 'string', 'example' => '5218847334401572965'], ], 'example' => '-', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\",\\n \\"Metrics\\": [\\n {\\n \\"Timestamp\\": \\"1655897743\\",\\n \\"Value\\": 98.35\\n }\\n ],\\n \\"Period\\": \\"60s\\"\\n}","type":"json"}]', + 'title' => 'Retrieve Acceleration Slot Monitoring Metrics ', + 'description' => '- Request parameters function as filters and are combined using a logical AND. If a parameter is left empty, it is ignored.'."\n" + ."\n" + .'- When you query metrics, the control plane automatically adds the SlotId to the filter conditions. As a result, only metrics that were associated with a SlotId during collection are returned.', + 'changeSet' => [ + ['createdAt' => '2022-11-14T03:16:27.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-10-28T02:58:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-13T09:10:12.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-13T09:10:12.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QuerySlotMetrics'], + ], + ], + 'ramActions' => [], + 'translator' => 'machine', ], - 'ListTags' => [ - 'summary' => '获取标签列表信息。', - 'path' => '/api/v1/tags', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'tags' => [ - 'Tag', - ], + 'QueryStatistic' => [ + 'summary' => 'Retrieve performance statistics for dataset acceleration in your Alibaba Cloud account.', + 'path' => '/api/v1/statistics/action/query', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'tags' => ['Statistic'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ResourceType', + 'name' => 'Fields', 'in' => 'query', - 'schema' => [ - 'title' => '标签所属的资源的类型。'."\n" - .'Instance:数据集加速实例'."\n" - .'Slot:数据集加速槽', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'instance', - 'enum' => [ - 'Instance', - 'Slot', - ], - ], + 'schema' => ['description' => 'Type of performance statistics to query. Separate multiple types with commas.'."\n" + ."\n" + .'- InstanceCapacityEachType: Total capacity share for each dataset acceleration instance type.'."\n" + ."\n" + .'- InstanceNumEachType: Number of instances for each dataset acceleration instance type.'."\n" + ."\n" + .'- SlotNumEachType: Number of slots for each dataset acceleration slot type.', 'type' => 'string', 'example' => 'InstanceCapacityEachType', 'default' => 'InstanceCapacityEachType', 'title' => '', 'required' => false], ], [ - 'name' => 'ResourceId', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'title' => '标签所属的资源的Id。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'inst-my1tk3jggooi5uwks5', - ], + 'schema' => ['description' => 'Start time. Default is one hour before the current time.', 'type' => 'string', 'example' => '2020-11-08T15:00:00Z', 'title' => '', 'required' => false], ], [ - 'name' => 'Key', + 'name' => 'EndTime', 'in' => 'query', + 'schema' => ['description' => 'End time. Default is the current time.', 'type' => 'string', 'example' => '2020-11-08T16:00:00Z', 'title' => '', 'required' => false], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '标签的键值。'."\n" - .'长度限制为 64 Unicode 字符。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'dataset_version', - 'maxLength' => 64, + 'description' => 'Return value.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', 'title' => ''], + 'InstanceCapacityEachType' => [ + 'title' => '', + 'description' => 'Total capacity share for each dataset acceleration instance type. Keys in this map include all dataset acceleration instance types.', + 'type' => 'object', + 'additionalProperties' => ['description' => 'Capacity share information for each dataset acceleration instance type.', 'type' => 'any', 'example' => '{\'basic\': {\'Usage\': \'0\', \'Total\': \'10T\'}, \'enhanced\': {\'Usage\': \'0\', \'Total\': \'900G\'}}', 'title' => ''], + 'example' => '', + ], + 'InstanceNumEachType' => [ + 'title' => '', + 'description' => 'Number of instances for each dataset acceleration instance type. Keys in this map include all dataset acceleration instance types.', + 'type' => 'object', + 'additionalProperties' => ['description' => 'Instance count information for each dataset acceleration instance type.', 'type' => 'any', 'example' => '{\'basic\': {\'Value\': 1}, \'enhanced\': {\'Value\': 5}}', 'title' => ''], + 'example' => '', + ], + 'SlotNumEachType' => [ + 'title' => '', + 'description' => 'Number of slots for each dataset acceleration slot type. Keys in this map include all dataset acceleration slot types.', + 'type' => 'object', + 'additionalProperties' => ['description' => 'Slot count information for each dataset acceleration slot type.', 'type' => 'any', 'title' => '', 'example' => '{\'OSS\': {\'Value\': 13}}'], + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'Value', - 'in' => 'query', + 400 => [ 'schema' => [ - 'title' => '标签的值。'."\n" - .'长度限制为 64 Unicode 字符。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'Request ID.', 'type' => 'string', 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F'], + 'Code' => ['title' => '', 'description' => 'Semantic error code. ', 'type' => 'string', 'example' => 'ValidationError'], + 'Message' => ['title' => '', 'description' => 'Error message description. ', 'type' => 'string', 'example' => 'Dataset Not Found: 1234'], + 'Detail' => [ + 'title' => '', + 'description' => 'Error details. ', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => ['title' => '', 'description' => 'Numeric error code. ', 'type' => 'string', 'example' => '5218847334401572965'], + ], + 'example' => '-', + ], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'v0.1.0', - 'maxLength' => 64, + 'title' => '', + 'example' => '', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\",\\n \\"InstanceCapacityEachType\\": {\\n \\"key\\": \\"{\'basic\': {\'Usage\': \'0\', \'Total\': \'10T\'}, \'enhanced\': {\'Usage\': \'0\', \'Total\': \'900G\'}}\\"\\n },\\n \\"InstanceNumEachType\\": {\\n \\"key\\": \\"{\'basic\': {\'Value\': 1}, \'enhanced\': {\'Value\': 5}}\\"\\n },\\n \\"SlotNumEachType\\": {\\n \\"key\\": \\"{\'OSS\': {\'Value\': 13}}\\"\\n }\\n}","type":"json"}]', + 'title' => 'Query statistics information ', + 'changeSet' => [ + ['createdAt' => '2022-11-30T04:12:44.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-09-21T08:51:04.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-13T09:10:12.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-13T09:10:12.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryStatistic'], + ], + ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'ReloadSlot' => [ + 'summary' => 'Reloads data in the data acceleration slot.', + 'path' => '/api/v1/slots/{SlotId}/action/reload', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'tags' => ['Slot'], + 'security' => [ [ - 'name' => 'SortBy', - 'in' => 'query', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '排序字段', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'GmtCreateTime', - 'default' => 'GmtCreateTime', - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ [ - 'name' => 'Order', - 'in' => 'query', - 'allowEmptyValue' => true, + 'name' => 'SlotId', + 'in' => 'path', + 'schema' => ['description' => 'The data acceleration slot ID. To get the data acceleration slot ID, see [ListSlots]().', 'type' => 'string', 'required' => true, 'example' => 'slot-my1tk3jggooi5uwks5', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '排列顺序'."\n" - .'Desc: 降序排列'."\n" - .'Asc: 升序排列', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Desc', - 'default' => 'Desc', - 'enum' => [ - 'Desc', - 'Asc', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'allowEmptyValue' => true, + 400 => [ 'schema' => [ - 'title' => '查询第几页数据,最小值1', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'Request ID.', 'type' => 'string', 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F'], + 'Code' => ['title' => '', 'description' => 'Semantic error code.', 'type' => 'string', 'example' => 'ValidationError'], + 'Message' => ['title' => '', 'description' => 'Fault message description.', 'type' => 'string', 'example' => 'Dataset Not Found: 1234'], + 'Detail' => [ + 'title' => '', + 'description' => 'Fault details.', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => ['title' => '', 'description' => 'Numeric error code.', 'type' => 'string', 'example' => '5218847334401572965'], + ], + 'example' => '-', + ], + ], 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '1', - 'default' => '1', + 'title' => '', + 'example' => '', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\"\\n}","type":"json"}]', + 'title' => 'Reload acceleration slot', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReloadSlot'], + ], + ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'StopSlot' => [ + 'summary' => 'Stop a dataset acceleration (slot).', + 'path' => '/api/v1/slots/{SlotId}/action/stop', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'tags' => ['Slot'], + 'security' => [ [ - 'name' => 'PageSize', - 'in' => 'query', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '设置查询的分页大小,最小值为1', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update'], + 'parameters' => [ + [ + 'name' => 'SlotId', + 'in' => 'path', + 'schema' => ['description' => 'Slot ID. For more information about how to get a slot ID, see [ListSlots](~~467905~~).', 'type' => 'string', 'required' => true, 'example' => 'slot-my1tk3jggooi5uwks5', 'title' => ''], ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'description' => 'Return value.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', - ], - 'Tags' => [ - 'title' => '标签列表。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'UserId' => [ - 'title' => '标签的创建者的Uid,在阿里云内为子账号Id (主账号创建则直接为主账号Id)。', - 'description' => '', - 'type' => 'string', - 'example' => '276065346797410278', - ], - 'OwnerId' => [ - 'title' => '标签的资源拥有者的Uid,在阿里云内为主账号Id 。', - 'description' => '', - 'type' => 'string', - 'example' => '1557702098194904', - ], - 'GmtCreateTime' => [ - 'title' => '标签创建的时间。格式使用 ISO8601(RFC3339)。', - 'description' => '', - 'type' => 'string', - 'example' => '2014-10-02T15:01:23Z', - ], - 'GmtModifiedTime' => [ - 'title' => '标签最后更新的时间。格式使用 ISO8601(RFC3339)。', - 'description' => '', - 'type' => 'string', - 'example' => '2014-10-02T15:01:23Z', - ], - 'ResourceType' => [ - 'title' => '标签所属的资源的类型。'."\n" - .'Instance:数据集加速实例'."\n" - .'Slot:数据集加速槽', - 'description' => '', - 'type' => 'string', - 'example' => 'Instance', - 'enum' => [ - 'Instance', - 'Slot', - ], - ], - 'ResourceId' => [ - 'title' => '标签所属的资源的Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'inst-my1tk3jggooi5uwks', - ], - 'Key' => [ - 'title' => '标签的键值。'."\n" - .'长度限制为 64 Unicode 字符。', - 'description' => '', - 'type' => 'string', - 'example' => 'dataset_version', - 'maxLength' => 64, - ], - 'Value' => [ - 'title' => '标签的值。'."\n" - .'长度限制为 64 Unicode 字符。', - 'description' => '', - 'type' => 'string', - 'example' => 'v0.1.0', - 'maxLength' => 64, - ], - ], - ], - ], - 'TotalCount' => [ - 'title' => '列表内元素数量总和。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], 400 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F', - ], - 'Code' => [ - 'title' => '语义化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'Message' => [ - 'title' => '错误消息描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'Dataset Not Found: 1234', - ], + 'RequestId' => ['title' => '', 'description' => 'Request ID.', 'type' => 'string', 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F'], + 'Code' => ['title' => '', 'description' => 'Semantic error code.', 'type' => 'string', 'example' => 'ValidationError'], + 'Message' => ['title' => '', 'description' => 'Error message description.', 'type' => 'string', 'example' => 'Dataset Not Found: 1234'], 'Detail' => [ - 'title' => '错误详细信息。', - 'description' => '', + 'title' => '', + 'description' => 'Detailed error information.', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'title' => '数字化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '5218847334401572965', - ], + 'ErrorCode' => ['title' => '', 'description' => 'Numeric error code.', 'type' => 'string', 'example' => '5218847334401572965'], ], 'example' => '-', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\",\\n \\"Tags\\": [\\n {\\n \\"UserId\\": \\"276065346797410278\\",\\n \\"OwnerId\\": \\"1557702098194904\\",\\n \\"GmtCreateTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"GmtModifiedTime\\": \\"2014-10-02T15:01:23Z\\",\\n \\"ResourceType\\": \\"Instance\\",\\n \\"ResourceId\\": \\"inst-my1tk3jggooi5uwks\\",\\n \\"Key\\": \\"dataset_version\\",\\n \\"Value\\": \\"v0.1.0\\"\\n }\\n ],\\n \\"TotalCount\\": 100\\n}","type":"json"}]', - ], - 'QueryStatistic' => [ - 'summary' => '查询当前账号下数据集加速相关的统计信息。', - 'path' => '/api/v1/statistics/action/query', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\"\\n}","type":"json"}]', + 'title' => 'Stop Dataset Acceleration Slot', + 'description' => '- This is an asynchronous interface that returns immediately after the request. The return value indicates whether the operation was successful. You can obtain the slot\'s stopped status using the DescribeSlot interface.'."\n" + ."\n" + .'- After invoking the StopSlot interface, you cannot recover or restart the slot. All cached resources are deleted.', + 'changeSet' => [ + ['createdAt' => '2022-09-13T09:10:12.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-13T09:10:12.000Z', 'description' => 'OpenAPI offline'], ], - 'tags' => [ - 'Statistic', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopSlot'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'UnbindEndpoint' => [ + 'summary' => 'You can remove the association between mount points and specified dataset acceleration slots.', + 'path' => '/api/v1/endpoints/{EndpointId}/slots/{SlotId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'tags' => ['Endpoint', 'Slot'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'Fields', - 'in' => 'query', - 'schema' => [ - 'title' => '需要查询的统计信息类型,以逗号分割。'."\n" - .'InstanceTypeCapacity:每个数据集加速实例类别所对应的总容量占比。'."\n" - .'InstanceTypeNum:每个数据集加速实例类别的数量。'."\n" - .'SlotTypeNum:每个数据集加速槽类别的数量。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'InstanceCapacityEachType', - 'default' => 'InstanceCapacityEachType', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'title' => '起始时间.默认是1小时前。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2020-11-08T15:00:00Z', - ], + 'name' => 'EndpointId', + 'in' => 'path', + 'schema' => ['description' => 'The ID of the dataset acceleration slot mount target. For information about how to obtain the mount target ID, see [ListEndpoints]().', 'type' => 'string', 'required' => true, 'example' => 'end-my1tk3jggooi5uwks5', 'title' => ''], ], [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'title' => '截止时间.默认是当前。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2020-11-08T16:00:00Z', - ], + 'name' => 'SlotId', + 'in' => 'path', + 'schema' => ['description' => 'The ID of the dataset acceleration slot. For information about how to obtain the dataset acceleration slot ID, see [ListSlots]().', 'type' => 'string', 'required' => true, 'example' => 'slot-my1tk3jggooi5uwks5', 'title' => ''], ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ - 'description' => '', + 'description' => 'Return value.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', - ], - 'InstanceCapacityEachType' => [ - 'title' => '每个数据集加速实例类别所对应的总容量占比,Map中的Key包含所有数据集加速实例的类别。', - 'description' => '', - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'any', - 'description' => '', - 'example' => '{\'basic\': {\'Usage\': \'0\', \'Total\': \'10T\'}, \'enhanced\': {\'Usage\': \'0\', \'Total\': \'900G\'}}', - ], - ], - 'InstanceNumEachType' => [ - 'title' => '每个数据集加速实例类别的数量,Map中的Key包含所有数据集加速实例的类别。', - 'description' => '', - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'any', - 'description' => '', - 'example' => '{\'basic\': {\'Value\': 1}, \'enhanced\': {\'Value\': 5}}', - ], - ], - 'SlotNumEachType' => [ - 'title' => '每个数据集加速槽类别的数量,Map中的Key包含所有数据集加速槽的类别。', - 'description' => '', - 'type' => 'object', - 'additionalProperties' => [ - 'title' => '每个数据集加速槽类别的数量,Map中的Key包含所有数据集加速槽的类别。', - 'type' => 'any', - 'description' => '', - 'example' => '{\'OSS\': {\'Value\': 13}}', - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], 400 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F', - ], - 'Code' => [ - 'title' => '语义化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'Message' => [ - 'title' => '错误消息描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'Dataset Not Found: 1234', - ], + 'RequestId' => ['title' => '', 'description' => 'Request ID.', 'type' => 'string', 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F'], + 'Code' => ['title' => '', 'description' => 'Semantic error code.', 'type' => 'string', 'example' => 'ValidationError'], + 'Message' => ['title' => '', 'description' => 'Error message description.', 'type' => 'string', 'example' => 'Dataset Not Found: 1234'], 'Detail' => [ - 'title' => '错误详细信息。', - 'description' => '', + 'title' => '', + 'description' => 'Detailed error information.', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'title' => '数字化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '5218847334401572965', - ], + 'ErrorCode' => ['title' => '', 'description' => 'Numeric error code.', 'type' => 'string', 'example' => '5218847334401572965'], ], 'example' => '-', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\",\\n \\"InstanceCapacityEachType\\": {\\n \\"key\\": \\"{\'basic\': {\'Usage\': \'0\', \'Total\': \'10T\'}, \'enhanced\': {\'Usage\': \'0\', \'Total\': \'900G\'}}\\"\\n },\\n \\"InstanceNumEachType\\": {\\n \\"key\\": \\"{\'basic\': {\'Value\': 1}, \'enhanced\': {\'Value\': 5}}\\"\\n },\\n \\"SlotNumEachType\\": {\\n \\"key\\": \\"{\'OSS\': {\'Value\': 13}}\\"\\n }\\n}","type":"json"}]', - ], - 'ReloadSlot' => [ - 'summary' => '重载数据加速槽的数据', - 'path' => '/api/v1/slots/{SlotId}/action/reload', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\"\\n}","type":"json"}]', + 'title' => 'Disassociate Dataset Acceleration Endpoint', + 'changeSet' => [ + ['createdAt' => '2022-09-13T09:10:18.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-13T09:10:18.000Z', 'description' => 'OpenAPI offline'], ], - 'tags' => [ - 'Slot', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UnbindEndpoint'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'UpdateInstance' => [ + 'summary' => 'Update the configuration of a dataset acceleration instance.', + 'path' => '/api/v1/instances/{InstanceId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], + 'tags' => ['Instance'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'SlotId', + 'name' => 'InstanceId', 'in' => 'path', + 'schema' => ['description' => 'The ID of the dataset acceleration instance. To get an instance ID, see [ListInstances](~~467899~~).', 'type' => 'string', 'required' => true, 'example' => 'inst-my1tk3jggooi5uwks5', 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => '数据集加速槽Id。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'slot-my1tk3jggooi5uwks5', + 'description' => 'Request parameters.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the dataset acceleration instance. The name must meet the following requirements:'."\n" + ."\n" + .'- It can be up to 64 Unicode characters in length.'."\n" + ."\n" + .'- If you specify an empty value (including an empty string), the system uses the value of the Uuid field as the default name.', 'type' => 'string', 'example' => 'acc_instance_1', 'maxLength' => 64, 'title' => '', 'required' => false], + 'Description' => ['description' => 'A description of the dataset acceleration instance. The description can be up to 1024 Unicode characters in length.', 'type' => 'string', 'example' => 'XGBoost dataset acceleration instance', 'maxLength' => 1024, 'title' => '', 'required' => false], + 'MaxSlot' => ['description' => 'The maximum number of acceleration slots for the dataset acceleration instance.', 'type' => 'string', 'example' => '20', 'default' => '20', 'title' => '', 'required' => false], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'Return value.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], 400 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F', - ], - 'Code' => [ - 'title' => '语义化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'Message' => [ - 'title' => '错误消息描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'Dataset Not Found: 1234', - ], + 'RequestId' => ['title' => '', 'description' => 'Request ID.', 'type' => 'string', 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F'], + 'Code' => ['title' => '', 'description' => 'Semantic error code.', 'type' => 'string', 'example' => 'ValidationError'], + 'Message' => ['title' => '', 'description' => 'Error message description.', 'type' => 'string', 'example' => 'Dataset Not Found: 1234'], 'Detail' => [ - 'title' => '错误详细信息。', - 'description' => '', + 'title' => '', + 'description' => 'Detailed error information.', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'title' => '数字化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '5218847334401572965', - ], + 'ErrorCode' => ['title' => '', 'description' => 'Numeric error code.', 'type' => 'string', 'example' => '5218847334401572965'], ], 'example' => '-', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\"\\n}","type":"json"}]', - ], - 'CreateSlots' => [ - 'summary' => '同时创建并注册多个数据集加速槽,并使用相同的一组数据加速槽挂载点。', - 'path' => '/api/v1/batch/slots/create', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'Update Dataset Acceleration Instance', + 'description' => 'Note: This API performs a full update of the instance configuration.', + 'changeSet' => [ + ['createdAt' => '2022-09-13T09:10:18.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-13T09:10:18.000Z', 'description' => 'OpenAPI offline'], ], - 'tags' => [ - 'Slot', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateInstance'], + ], ], + 'ramActions' => [], + 'translator' => 'machine', + ], + 'UpdateSlot' => [ + 'summary' => 'Updates the information for a dataset acceleration slot.', + 'path' => '/api/v1/slots/{SlotId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], + 'tags' => ['Slot'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ + 'name' => 'SlotId', + 'in' => 'path', + 'schema' => ['description' => 'The slot ID. For more information, see [ListSlots](~~467905~~).', 'type' => 'string', 'required' => true, 'example' => 'slot-my1tk3jggooi5uwks5', 'title' => ''], + ], + [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'Request body parameters.', 'type' => 'object', 'properties' => [ - 'Slots' => [ - 'description' => '', + 'Name' => ['description' => 'The name of the slot.'."\n" + .'The name can be up to 64 characters long.', 'type' => 'string', 'example' => 'slot_1', 'maxLength' => 64, 'title' => '', 'required' => false], + 'Description' => ['description' => 'The description of the slot.'."\n" + .'The description can be up to 1,024 characters long.', 'type' => 'string', 'example' => 'XGBoost dataset acceleration slot', 'maxLength' => 1024, 'title' => '', 'required' => false], + 'Tags' => [ + 'title' => '', + 'description' => 'The custom tags for the slot.', 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'InstanceId' => [ - 'title' => '数据集加速槽所对应的数据集加速实例的唯一标识符。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'inst-my1tk3jggooi5uwks5', - ], - 'Name' => [ - 'title' => '数据集加速槽名称。'."\n" - .'长度限制为64 Unicode 字符。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'slot_1', - 'maxLength' => 64, - ], - 'Description' => [ - 'title' => '数据集加速槽的描述与解释。'."\n" - .'长度限制为1024 Unicode 字符。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xgboost数据集加速槽', - 'maxLength' => 1024, - ], - 'Tags' => [ - 'title' => '用户为数据集加速槽添加的自定义标签。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'title' => '标签的键值。'."\n" - .'长度限制为 64 Unicode 字符。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'dataset_version', - 'maxLength' => 64, - ], - 'Value' => [ - 'title' => 'v0.1.0 标签的值。'."\n" - .'长度限制为 64 Unicode 字符。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'v0.1.0', - 'maxLength' => 64, - ], - ], - 'required' => false, - ], - 'required' => false, - ], - 'LifeCycle' => [ - 'title' => '数据集加速槽的生命周期。', - 'description' => '', - 'required' => false, - '$ref' => '#/components/schemas/SlotLifeCycle', - ], - 'IoType' => [ - 'type' => 'string', - ], - 'StorageType' => [ - 'title' => '数据集加速槽的数据存储类型。'."\n" - .'OSS:OSS文件存储'."\n" - .'NAS:NAS文件存储', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'OSS', - 'enum' => [ - 'OSS', - 'NAS', - 'CPFS', - ], - ], - 'StorageUri' => [ - 'title' => '数据集加速槽的数据的资源标识符,数据类型不同存在不同格式。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'oss://pai-vision-data-hz2.oss-cn-hangzhou-internal.aliyuncs.com/data/VOCdevkit/VOC2007/ImageSets/Main/val.txt', - ], - 'Capacity' => [ - 'title' => '数据集加速槽的最大容量。'."\n" - .'输入字符串的格式需要满足以下规范:Quantity', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '30.0G', - ], - 'EndpointIds' => [ - 'title' => '创建数据集加速槽时,同时挂载的数据集加速槽挂载点Id的列表,以逗号分隔。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'end-my1tk3jggooi5uwks5,end-n69468yvjz8d12as7d,end-tga4omjrepklkg1onn', - ], + 'Key' => ['description' => 'The key of the tag.'."\n" + .'The key can be up to 64 characters long.', 'type' => 'string', 'example' => 'dataset_version', 'maxLength' => 64, 'title' => '', 'required' => false], + 'Value' => ['description' => 'The value of the tag.'."\n" + .'The value can be up to 64 characters long.', 'type' => 'string', 'example' => 'v0.1.0', 'maxLength' => 64, 'title' => '', 'required' => false], ], 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', ], 'required' => false, + 'example' => '', ], - 'DryRun' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'default' => 'false', + 'StorageType' => [ + 'description' => 'The data storage type for the slot. Valid values:'."\n" + ."\n" + .'- OSS: OSS file storage.'."\n" + ."\n" + .'- NAS: NAS file storage.', + 'type' => 'string', + 'required' => true, + 'example' => 'OSS', + 'enum' => ['OSS', 'NAS'], + 'title' => '', ], + 'StorageUri' => ['description' => 'The resource identifier for the data in the slot. The format varies based on the data type.', 'type' => 'string', 'required' => true, 'example' => 'oss://pai-vision-data-hz2.oss-cn-hangzhou-internal.aliyuncs.com/data/VOCdevkit/VOC2007/ImageSets/Main/val.txt', 'title' => ''], + 'Capacity' => ['description' => 'The maximum capacity of the slot.'."\n" + .'The string must be in the format specified in [Quantity](https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/).', 'type' => 'string', 'required' => true, 'example' => '30.0G', 'title' => ''], + 'LifeCycle' => ['description' => 'The lifecycle of the slot.', '$ref' => '#/components/schemas/SlotLifeCycle', 'title' => '', 'required' => false, 'example' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The return value.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', - ], - 'SlotIds' => [ - 'title' => '数据集加速槽Id。', - 'description' => '', - 'type' => 'string', - 'example' => 'slot-5zk866779me51jgu3w', - ], - 'Summary' => [ - 'description' => '', - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'description' => '', - 'example' => '{\'SlotsTotalSize\': \'0.0Gi\', \'SlotsTotalNum\': \'1\', \'DataSourceTotalSize\': \'0\'}', - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], 400 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求Id。', - 'description' => '', - 'type' => 'string', - 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F', - ], - 'Code' => [ - 'title' => '语义化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ValidationError', - ], - 'Message' => [ - 'title' => '错误消息描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'Dataset Not Found: 1234', - ], + 'RequestId' => ['title' => '', 'description' => 'Request ID.', 'type' => 'string', 'example' => '9C5AEC16-CBD1-5E68-A92C-75D1D346E57F'], + 'Code' => ['title' => '', 'description' => 'Semantic error code.', 'type' => 'string', 'example' => 'ValidationError'], + 'Message' => ['title' => '', 'description' => 'Error message description.', 'type' => 'string', 'example' => 'Dataset Not Found: 1234'], 'Detail' => [ - 'title' => '错误详细信息。', - 'description' => '', + 'title' => '', + 'description' => 'Detailed error information.', 'type' => 'object', 'properties' => [ - 'ErrorCode' => [ - 'title' => '数字化错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '5218847334401572965', - ], + 'ErrorCode' => ['title' => '', 'description' => 'Numeric error code.', 'type' => 'string', 'example' => '5218847334401572965'], ], 'example' => '-', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\"\\n}","type":"json"}]', + 'title' => 'Update Dataset Acceleration Slot', + 'description' => 'Note: This is a full update operation. All fields except read-only fields are updated with the provided values.', + 'changeSet' => [ + ['createdAt' => '2022-09-13T09:10:12.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-09-13T09:10:12.000Z', 'description' => 'OpenAPI offline'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A731A84D-55C9-44F7-99BB-E1CF0CF19197\\",\\n \\"SlotIds\\": \\"slot-5zk866779me51j****\\",\\n \\"Summary\\": {\\n \\"key\\": \\"{\'SlotsTotalSize\': \'0.0Gi\', \'SlotsTotalNum\': \'1\', \'DataSourceTotalSize\': \'0\'}\\"\\n }\\n}","type":"json"}]', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateSlot'], + ], + ], + 'ramActions' => [], + 'translator' => 'machine', ], ], 'endpoints' => [ + ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'paidatasetacc.cn-beijing.aliyuncs.com', 'endpoint' => 'paidatasetacc.cn-beijing.aliyuncs.com', 'vpc' => 'paidatasetacc-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'paidatasetacc.cn-hangzhou.aliyuncs.com', 'endpoint' => 'paidatasetacc.cn-hangzhou.aliyuncs.com', 'vpc' => 'paidatasetacc-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'paidatasetacc.cn-shanghai.aliyuncs.com', 'endpoint' => 'paidatasetacc.cn-shanghai.aliyuncs.com', 'vpc' => 'paidatasetacc-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'paidatasetacc.cn-shenzhen.aliyuncs.com', 'endpoint' => 'paidatasetacc.cn-shenzhen.aliyuncs.com', 'vpc' => 'paidatasetacc-vpc.cn-shenzhen.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => 'BadRequestError', 'message' => 'Bad request', 'http_code' => 400, 'description' => 'An error occurs in the user request. Modify the request based on the error message.'], + ['code' => 'EcsAuthorizeSecurityGroupEgressError', 'message' => 'Ecs authorize securityGroup egress failed', 'http_code' => 400, 'description' => 'Failed to grant permissions to the outbound rules of the ECS security group. Check whether the API operation for granting permissions to the outbound rules of ECS security groups is valid and contact the administrator for troubleshooting.'], + ['code' => 'EcsAuthorizeSecurityGroupError', 'message' => 'Ecs authorize securityGroup ingress failed', 'http_code' => 400, 'description' => 'Failed to grant permissions to the inbound rules of the ECS security group. Check whether the API operation for granting permissions to the inbound rules of ECS security groups is valid and contact the administrator for troubleshooting.'], + ['code' => 'EcsCreateSecurityGroupError', 'message' => 'Ecs create security group failed', 'http_code' => 400, 'description' => 'Failed to create the ECS security group. Check whether the API operation for creating ECS security groups is valid and contact the administrator for troubleshooting.'], + ['code' => 'EcsDeleteSecurityGroupError', 'message' => 'Ecs delete security group failed', 'http_code' => 400, 'description' => 'Failed to delete the ECS security group. Check whether the API operation for deleting ECS security groups is valid and contact the administrator for troubleshooting.'], + ['code' => 'EcsDescribeSecurityGroupsError', 'message' => 'Ecs describe security group failed', 'http_code' => 400, 'description' => 'Failed to query information about ECS security groups. Check whether the API operation for querying ECS security groups is valid and contact the administrator for troubleshooting.'], + ['code' => 'InternalServerError', 'message' => 'Unexpected error occur when processing this request, please try again later.', 'http_code' => 500, 'description' => 'An internal error occurs in the service. Send the error message to the administrator for troubleshooting.'], + ['code' => 'InvalidParameterError', 'message' => 'Invalid parameter', 'http_code' => 400, 'description' => 'An error occurs in the request parameter. Modify the request parameter based on the error message.'], + ['code' => 'JsonMarshalError', 'message' => 'Json marshal failed', 'http_code' => 400, 'description' => 'A JSON serialization error occurs in the request. Check whether the request struct is valid.'], + ['code' => 'JsonUnmarshalError', 'message' => 'Json unmarshal failed', 'http_code' => 400, 'description' => 'A JSON deserialization error occurs in the request. Check whether the request struct is valid.'], + ['code' => 'NoPermissionError', 'message' => 'No permission for this action', 'http_code' => 403, 'description' => 'You do not have the permissions to perform this operation. Contact the Alibaba Cloud account or administrator.'], + ['code' => 'NotFoundError', 'message' => 'Object not found', 'http_code' => 404, 'description' => 'The request object does not exist. Check whether the request parameters are valid.'], + ['code' => 'QuantityParseError', 'message' => 'Quantity parsed failed', 'http_code' => 400, 'description' => 'The system fails to parse the amount of resources in the request parameter. Check whether the request parameter meets the Quantity standard.'], + ['code' => 'RamRoleNotExistsError', 'message' => 'Ram role not exist', 'http_code' => 400, 'description' => 'The RAM role does not exist. Check the RAM role.'], + ['code' => 'SlotCapacityExceedQuotaError', 'message' => 'Slot capacity allocation exceeds instance quota', 'http_code' => 400, 'description' => 'The capacity of the clot is greater than the capacity of the accelerator to which the slot belongs.'], + ['code' => 'SlotNotInFinalStateError', 'message' => 'Slot is not in final state', 'http_code' => 400, 'description' => 'The slot is not in the desired state. Check the status of the slot. You can perform this operation only if the slot is in the desired state.'], + ['code' => 'SlotNumExceedQuotaError', 'message' => 'Slot exceeds instance max slot num', 'http_code' => 400, 'description' => 'The number of slots is greater than the maximum number that is specified for the accelerator to which the slots belong.'], + ['code' => 'StsAssumeRoleError', 'message' => 'Sts assume role failed', 'http_code' => 400, 'description' => 'The service failed to assume the role. Check whether the role exist or whether the role has the required permissions.'], + ['code' => 'UpstreamServiceError', 'message' => 'Upstream service failed', 'http_code' => 400, 'description' => 'The upstream service failed. Check whether the upstream service is available based on the error message.'], + ['code' => 'UserNotExistsError', 'message' => 'User not exist with userId', 'http_code' => 400, 'description' => 'The user does not exist. The system cannot find the user that makes the request. Check whether the request header is valid and contact the administrator for troubleshooting.'], + ['code' => 'VpcDescribeInfoError', 'message' => 'Vpc describe info failed', 'http_code' => 400, 'description' => 'Failed to query information about VPCs. Check whether the API operation for querying VPCs is valid and contact the administrator for troubleshooting.'], + ['code' => 'ZoneIDNotInWhiteListError', 'message' => 'ZoneID is not in white list', 'http_code' => 400, 'description' => 'The zone is not included in the whitelist. The service is available only in specific zones of different regions.'], + ], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateSlot'], + ['description' => 'Request parameters changed', 'api' => 'CreateSlots'], + ], + 'createdAt' => '2024-02-26T07:51:11.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeInstance'], + ['description' => 'Response parameters changed', 'api' => 'ListInstances'], + ], + 'createdAt' => '2023-05-22T12:08:49.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateInstance'], + ['description' => 'Response parameters changed', 'api' => 'DescribeInstance'], + ['description' => 'Response parameters changed', 'api' => 'ListInstances'], + ], + 'createdAt' => '2023-05-22T12:06:07.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeSlot'], + ['description' => 'Response parameters changed', 'api' => 'ListSlots'], + ], + 'createdAt' => '2023-05-22T11:41:13.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateEndpoint'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListEndpoints'], + ['description' => 'Request parameters changed', 'api' => 'ListSlots'], + ], + 'createdAt' => '2023-05-22T06:42:22.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateEndpoint'], + ['description' => 'Response parameters changed, Response parameters changed', 'api' => 'CreateSlot'], + ['description' => 'Request parameters changed', 'api' => 'DeleteSlot'], + ], + 'createdAt' => '2023-01-03T13:27:32.000Z', + 'description' => '创建加速槽返回增加挂载点ID信息。支持创建内部类型挂载点。', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'QueryStatistic'], + ], + 'createdAt' => '2022-11-30T04:13:57.000Z', + 'description' => '增加说明。', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'QueryInstanceMetrics'], + ['description' => 'Request parameters changed', 'api' => 'QuerySlotMetrics'], + ], + 'createdAt' => '2022-11-14T03:17:49.000Z', + 'description' => '更新Metric相关API', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'QueryInstanceMetrics'], + ['description' => 'Request parameters changed', 'api' => 'QuerySlotMetrics'], + ], + 'createdAt' => '2022-10-28T02:59:05.000Z', + 'description' => '增加查询指标', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateInstance'], + ['description' => 'Response parameters changed', 'api' => 'DescribeInstance'], + ['description' => 'Request parameters changed', 'api' => 'ListInstances'], + ], + 'createdAt' => '2022-10-14T08:37:54.000Z', + 'description' => '更新加速实例枚举值', + ], [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'paidatasetacc.cn-beijing.aliyuncs.com', + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'CreateEndpoint'], + ], + 'createdAt' => '2022-09-22T06:16:28.000Z', + 'description' => '增加资源类型', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeComponent'], + ['description' => 'Response parameters changed', 'api' => 'ListComponents'], + ], + 'createdAt' => '2022-09-21T12:59:30.000Z', + 'description' => '增加Uuid返回参数', ], [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'paidatasetacc.cn-hangzhou.aliyuncs.com', + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'BindEndpoint'], + ['description' => 'OpenAPI offline', 'api' => 'BindEndpoint'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateEndpoint'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateEndpoint'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateInstance'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateInstance'], + ['description' => 'OpenAPI offline', 'api' => 'CreateSlot'], + ['description' => 'OpenAPI offline', 'api' => 'CreateSlot'], + ['description' => 'OpenAPI offline', 'api' => 'CreateTag'], + ['description' => 'OpenAPI offline', 'api' => 'CreateTag'], + ], + 'createdAt' => '2022-09-13T09:11:10.000Z', + 'description' => 'API更新', ], [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'paidatasetacc.cn-shanghai.aliyuncs.com', + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'CreateInstance'], + ['description' => 'OpenAPI offline', 'api' => 'ListInstances'], + ], + 'createdAt' => '2022-08-13T16:52:58.000Z', + 'description' => '新增API', ], [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'paidatasetacc.cn-shenzhen.aliyuncs.com', + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'CreateEndpoint'], + ], + 'createdAt' => '2022-08-12T07:23:43.000Z', + 'description' => 'CreateEndpoint初始化发布', ], ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryInstanceMetrics'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UnbindEndpoint'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTag'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateInstance'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSlot'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopSlot'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReloadSlot'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListInstances'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BindEndpoint'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSlot'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSlot'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSlots'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateEndpoint'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QuerySlotMetrics'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListComponents'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteTag'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryStatistic'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEndpoint'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateInstance'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSlots'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateSlot'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeComponent'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteEndpoint'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstance'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListEndpoints'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTags'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteInstance'], + ], + ], + 'ram' => [ + 'productCode' => 'PAI', + 'productName' => 'Platform for AI', + 'ramCodes' => ['paiplugin', 'eas', 'pai', 'datasetacc', 'featurestore', 'paidlc', 'paiitag', 'paidesigner', 'paitraining', 'paiartlab', 'paicomponentmanagement'], + 'ramLevel' => 'SERVICE', + 'ramConditions' => [], + 'ramActions' => [], + 'resourceTypes' => [], + ], ]; |
