'1.0', 'info' => [ 'style' => 'ROA', 'product' => 'PAIElasticDatasetAccelerator', 'version' => '2022-08-01', ], 'directories' => [ [ 'id' => 176543, 'title' => 'Dataset acceleration instance', 'type' => 'directory', 'children' => [ 'CreateInstance', 'DeleteInstance', 'UpdateInstance', 'ListInstances', 'QueryInstanceMetrics', 'DescribeInstance', ], ], [ 'id' => 176550, 'title' => 'Data Set Acceleration Slot', 'type' => 'directory', 'children' => [ 'CreateSlot', 'DeleteSlot', 'StopSlot', 'UpdateSlot', 'QuerySlotMetrics', 'ListSlots', 'DescribeSlot', ], ], [ 'id' => 176558, 'title' => 'Dataset Acceleration Endpoint', 'type' => 'directory', 'children' => [ 'CreateEndpoint', 'DeleteEndpoint', 'BindEndpoint', 'UnbindEndpoint', 'ListEndpoints', 'DescribeEndpoint', ], ], [ 'id' => 176565, 'title' => 'Components', 'type' => 'directory', 'children' => [ 'DescribeComponent', 'ListComponents', ], ], [ 'id' => 176568, 'title' => 'Label', 'type' => 'directory', 'children' => [ 'CreateTag', 'DeleteTag', 'ListTags', ], ], [ 'id' => 176572, 'title' => 'Statistics', 'type' => 'directory', 'children' => [ 'QueryStatistic', ], ], [ 'id' => 190126, 'title' => 'Other', 'type' => 'directory', 'children' => [ 'ReloadSlot', 'CreateSlots', ], ], ], 'components' => [ 'schemas' => [ 'EndpointStatus' => [ 'description' => '', 'properties' => [ 'Phase' => [ 'backendName' => 'Phase', 'description' => '', 'enumValues' => [ 'Created', 'ResourceAllocating', 'ResourceAllocated', 'Ready', 'Stopping', 'Failed', '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', ], ], 'title' => '', 'type' => 'object', 'visibility' => 'public', ], 'EndpointStatusDetail' => [ 'description' => '', 'properties' => [ 'IpPortMapping' => [ 'backendName' => 'IpPortMapping', 'description' => '', 'example' => '{ "slot-j6co2fcd": { "Ip": "10.0.0.2", "Port": 7001 }, "slot-asdgys4d": { "Ip": "10.0.0.3", "Port": 7002 } }', 'title' => '', 'type' => 'object', 'visibility' => 'public', ], ], 'title' => '', 'type' => 'object', 'visibility' => 'public', ], 'InstanceLifeCycle' => [ 'description' => '', 'properties' => [ 'Type' => [ 'backendName' => 'Type', 'description' => '', 'example' => 'Running', 'title' => '', 'type' => 'string', 'visibility' => 'public', ], 'Config' => [ 'backendName' => 'Config', 'description' => '', 'title' => '', 'type' => 'string', 'visibility' => 'public', ], ], 'title' => '', 'type' => 'object', 'visibility' => 'public', ], 'InstanceStatus' => [ 'description' => '', 'properties' => [ 'Phase' => [ 'backendName' => 'Phase', 'description' => '', 'enumValues' => [ 'Created', 'Running', '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', ], ], 'title' => '', 'type' => 'object', 'visibility' => 'public', ], 'Metric' => [ 'description' => '', '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', ], ], 'title' => '', 'type' => 'object', 'visibility' => 'public', ], 'SlotLifeCycle' => [ 'description' => '', 'properties' => [ 'Type' => [ 'backendName' => 'Type', 'description' => '', 'enumValues' => [ 'KeepAlive', 'RelativeTime', 'AbsoluteTime', 'MaximumIdleTime', ], 'example' => 'KeepAlive', 'title' => '', 'type' => 'string', 'visibility' => 'public', ], 'Config' => [ 'backendName' => 'Config', 'description' => '', 'example' => '{}', 'title' => '', 'type' => 'string', 'visibility' => 'public', ], ], 'title' => '', 'type' => 'object', 'visibility' => 'public', ], 'SlotStatus' => [ 'description' => '', 'properties' => [ 'Phase' => [ 'backendName' => 'Phase', 'description' => '', 'enumValues' => [ 'Created', 'Preparing', 'Loading', 'Running', 'Succeed', 'Failed', 'Stopping', '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', ], ], 'title' => '', 'type' => 'object', 'visibility' => 'public', ], 'SlotStatusDetail' => [ 'description' => '', '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', ], ], 'title' => '', 'type' => 'object', 'visibility' => 'public', ], ], ], 'apis' => [ 'CreateInstance' => [ 'summary' => '创建数据集加速实例', 'path' => '/api/v1/instances', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'tags' => [ 'Instance', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', ], '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' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', 'schema' => [ 'title' => '数据集加速实例Id。', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'inst-my1tk3jggooi5uwks5', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => '请求Id。', 'description' => '', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', ], ], ], ], 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}","type":"json"}]', ], 'UpdateInstance' => [ 'summary' => '更新一个数据集加速实例的信息。', 'path' => '/api/v1/instances/{InstanceId}', 'methods' => [ 'put', ], 'schemes' => [ 'http', 'https', ], 'tags' => [ 'Instance', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', 'schema' => [ 'title' => '数据集加速实例Id。', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'inst-my1tk3jggooi5uwks5', ], ], [ '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, ], 'MaxSlot' => [ 'title' => '数据集加速实例的最大加速槽个数。', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '20', 'default' => '20', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => '请求Id。', 'description' => '', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', ], ], ], ], 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}","type":"json"}]', ], 'ListInstances' => [ 'summary' => '获取数据集加速实例信息列表。', 'path' => '/api/v1/instances', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'tags' => [ 'Instance', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], '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' => [], 'schema' => [ 'title' => 'Schema of Response', 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => '请求Id。', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', ], 'Instances' => [ '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' => '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', ], ], ], ], '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' => '', '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 \\"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', ], ], ], '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', ], 'Metrics' => [ 'title' => '监控指标信息列表。', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', '$ref' => '#/components/schemas/Metric', ], ], 'Period' => [ 'title' => '时间间隔。', 'description' => '', 'type' => 'string', 'example' => '60s', ], ], ], ], 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 \\"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', ], '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-my1tk3jggooi5uwks5', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '', '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', ], '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' => '100', ], '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', ], ], ], ], 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-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', ], 'tags' => [ 'Slot', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ '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' => [ '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' => '', 'type' => 'array', 'items' => [ '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', ], ], 'required' => false, ], 'required' => false, ], 'EndpointIds' => [ 'title' => '创建数据集加速槽时,同时挂载的数据集加速槽挂载点Id的列表,以逗号分隔。', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'end-my1tk3jggooi5uwks5,end-n69468yvjz8d12as7d,end-tga4omjrepklkg1onn', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '', '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', ], ], ], ], 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 \\"SlotId\\": \\"slot-5zk866779me51jgu3w\\",\\n \\"EndpointIds\\": \\"end-5zk866779me51jgu3w,end-5zk866779me51jgu3w\\"\\n}","type":"json"}]', ], 'DeleteSlot' => [ 'summary' => '删除一个数据集加速槽。', 'path' => '/api/v1/slots/{SlotId}', 'methods' => [ 'delete', ], 'schemes' => [ 'http', 'https', ], 'tags' => [ 'Slot', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', ], 'parameters' => [ [ 'name' => 'SlotId', 'in' => 'path', 'schema' => [ 'title' => '数据集加速槽Id。', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'slot-my1tk3jggooi5uwks5', ], ], [ 'name' => 'Force', 'in' => 'query', 'schema' => [ 'title' => '是否不等待加速槽停止,强制删除。', 'description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false', ], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => '请求Id。', 'description' => '', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', ], ], ], ], 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}","type":"json"}]', ], 'StopSlot' => [ 'summary' => '停止一个数据集加速槽。', 'path' => '/api/v1/slots/{SlotId}/action/stop', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'tags' => [ 'Slot', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', ], 'parameters' => [ [ 'name' => 'SlotId', 'in' => 'path', 'schema' => [ 'title' => '数据集加速槽Id。', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'slot-my1tk3jggooi5uwks5', ], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => '请求Id。', 'description' => '', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', ], ], ], ], 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}","type":"json"}]', ], 'UpdateSlot' => [ 'summary' => '更新一个数据集加速槽的信息。', 'path' => '/api/v1/slots/{SlotId}', 'methods' => [ 'put', ], 'schemes' => [ 'http', 'https', ], 'tags' => [ 'Slot', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', ], 'parameters' => [ [ 'name' => 'SlotId', '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, ], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => '请求Id。', 'description' => '', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', ], ], ], ], 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}","type":"json"}]', ], 'QuerySlotMetrics' => [ 'summary' => '查询并获取监控指标信息', 'path' => '/api/v1/slots/{SlotId}/metrics/action/query', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'tags' => [ 'Slot', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], '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', ], ], [ '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', 'in' => 'query', 'schema' => [ 'title' => '时间间隔。', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '5m', 'default' => '5m', ], ], ], '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', ], 'Metrics' => [ 'title' => '监控指标信息列表。', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', '$ref' => '#/components/schemas/Metric', ], ], 'Period' => [ 'title' => '时间间隔。', 'description' => '', 'type' => 'string', 'example' => '60s', ], ], ], ], 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 \\"Metrics\\": [\\n {\\n \\"Timestamp\\": \\"1655897743\\",\\n \\"Value\\": 98.35\\n }\\n ],\\n \\"Period\\": \\"60s\\"\\n}","type":"json"}]', ], 'ListSlots' => [ 'summary' => '获取数据集加速槽的信息列表。', 'path' => '/api/v1/slots', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'tags' => [ 'Slot', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], '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', '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', ], ], [ 'name' => 'EndpointIds', 'in' => 'query', 'schema' => [ 'title' => '加速槽所对应的数据集加速挂载点的唯一标识符。', 'description' => '加速槽所对应的数据集加速挂载点的唯一标识符。', 'type' => 'string', 'required' => false, 'example' => 'endp-my1tk3jggooi5uwks5', ], ], [ 'name' => 'StorageUri', 'in' => 'query', 'schema' => [ 'title' => '数据集加速槽的数据存储路径(URI)。', 'description' => '数据集加速槽的数据存储路径(URI)。', 'type' => 'string', 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => '', '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', ], ], ], ], 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-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', ], 'tags' => [ 'Slot', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'SlotId', 'in' => 'path', 'schema' => [ 'title' => '数据集加速槽ID。', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'slot-my1tk3jggooi5uwks5', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '', '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', ], ], ], ], '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', ], ], ], ], 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-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', ], 'tags' => [ 'Endpoint', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', ], '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, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => '请求Id。', 'description' => '', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', ], 'EndpointId' => [ 'title' => '数据集加速端点Id。', 'description' => '', 'type' => 'string', 'example' => 'end-5zk866779me51jgu3w', ], ], ], ], 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-E1CF0CF1****\\",\\n \\"EndpointId\\": \\"end-5zk866779me51j****\\"\\n}","type":"json"}]', 'title' => 'CreateEndpoint', ], 'DeleteEndpoint' => [ 'summary' => '删除一个数据集加速槽挂载点。', 'path' => '/api/v1/endpoints/{EndpointId}', 'methods' => [ 'delete', ], 'schemes' => [ 'http', 'https', ], 'tags' => [ 'Endpoint', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'EndpointId', 'in' => 'path', 'schema' => [ 'title' => '数据集加速槽挂载点Id。', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'end-my1tk3jggooi5uwks5', ], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => '请求Id。', 'description' => '', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', ], ], ], ], 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}","type":"json"}]', 'title' => 'DeleteEndpoint', ], 'BindEndpoint' => [ 'summary' => '将一个挂载点关联到一个数据集加速槽上。', 'path' => '/api/v1/endpoints/{EndpointId}/slots/{SlotId}', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'tags' => [ 'Endpoint', 'Slot', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', ], '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', ], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => '请求Id。', 'description' => '', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', ], ], ], ], 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}","type":"json"}]', ], 'UnbindEndpoint' => [ 'summary' => '取消挂载点关联和指定数据集加速槽的关联关系。', 'path' => '/api/v1/endpoints/{EndpointId}/slots/{SlotId}', 'methods' => [ 'delete', ], 'schemes' => [ 'http', 'https', ], 'tags' => [ 'Endpoint', 'Slot', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', ], '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', ], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => '请求Id。', 'description' => '', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', ], ], ], ], 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}","type":"json"}]', ], 'ListEndpoints' => [ 'summary' => '获取数据集加速槽挂载点的信息列表。', 'path' => '/api/v1/endpoints', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'tags' => [ 'Endpoint', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'EndpointIds', 'in' => 'query', 'schema' => [ 'title' => '数据集加速槽挂载点Id的列表,以逗号分隔。', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'end-my1tk3jggooi5uwks5,end-n69468yvjz8d12as7d,end-tga4omjrepklkg1onn', ], ], [ 'name' => 'SlotIds', 'in' => 'query', 'schema' => [ 'title' => '所属的数据集加速槽Id。', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'slot-my1tk3jggooi5uwks5', ], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => [ 'title' => '数据集加速槽挂载点名称,支持模糊匹配。', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'acc_instance_slot_mount_1', ], ], [ 'name' => 'Type', 'in' => 'query', 'schema' => [ 'title' => '挂载点的网络类型,根据网络类型不同,下列中需要传入的参数也有所不同。'."\n" .'VPC:端点机器处于VPC网络', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'VPC', 'enum' => [ 'VPC', ], ], ], [ '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', ], ], [ 'name' => 'InstanceIds', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => [ 'title' => '所属加速实例的ID。', 'description' => '所属加速实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'inst-ivrq92qhbyrg4jctih', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => '请求Id。', 'description' => '', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', ], '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', ], 'InstanceId' => [ 'title' => '所属加速实例的ID。', 'description' => '所属加速实例的ID。', 'type' => 'string', 'example' => 'inst-ivrq92qhbyrg4jctih', ], ], ], ], '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' => '', '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-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', ], 'tags' => [ 'Endpoint', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'EndpointId', 'in' => 'path', 'schema' => [ 'title' => '数据集加速槽挂载点ID。', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'end-my1tk3jggooi5uwks5', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '', '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', ], ], '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', ], ], ], ], 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 \\"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', ], 'tags' => [ 'Component', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'ComponentId', 'in' => 'path', 'schema' => [ 'title' => '数据集加速组件ID。', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'cmpt-my1tk3jggooi5uwks5', ], ], [ 'name' => 'RenderTemplate', 'in' => 'query', 'schema' => [ 'title' => '是否对组件模板进行渲染并展示。'."\n" .'如果值为true,则返回中包含模板渲染后的内容。'."\n" .'注:'."\n" .'只支持指定组件列表:'."\n" .' dataset-accelerator'."\n" .'返回的组件模板内容最大长度为4096,超过最大长度会对模板进行截断。', 'description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'false', ], ], [ 'name' => 'Values', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '组件模板渲染时使用的参数。', 'description' => '', 'type' => 'object', 'required' => false, 'additionalProperties' => [ 'type' => 'any', 'description' => '', 'example' => '{\\"frontEndPort\\":\\"24457\\",\\"endpointId\\":\\"end-mlpo5mrygduwl9lm31\\",\\"frontEndAddr\\":\\"192.168.0.3\\",\\"slotId\\":\\"slot-vas3b1ygg22sxbq972\\",\\"region\\":\\"cn-shanghai\\"}', ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', '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', ], ], 'Uri' => [ 'title' => '数据集加速组件模板的资源标识符,数据类型不同存在不同格式。', 'description' => '', 'type' => 'string', 'example' => 'data/VOCdevkit/VOC2007/ImageSets/Main/val.txt', ], ], ], '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', ], ], ], ], 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 \\"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', ], 'tags' => [ 'Component', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'ComponentIds', 'in' => 'query', 'schema' => [ 'title' => '数据集加速组件ID的列表,以逗号分隔。', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'cmpt-my1tk3jggooi5uwks5,cmpt-n69468yvjz8d12as7d,cmpt-tga4omjrepklkg1onn', ], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => [ 'title' => '数据集加速组件名称,支持模糊匹配。', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'dataset-accelerator', ], ], [ 'name' => 'Version', 'in' => 'query', 'schema' => [ 'title' => '数据集加速组件版本。', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'v1.0.0', ], ], [ '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 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => '请求Id。', 'description' => '', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', ], 'Components' => [ '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' => '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', ], ], 'Uri' => [ 'title' => '数据集加速组件模板的资源标识符,数据类型不同存在不同格式。', 'description' => '', 'type' => 'string', 'example' => 'data/VOCdevkit/VOC2007/ImageSets/Main/val.txt', ], ], ], ], ], ], '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' => '', '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-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', ], 'tags' => [ 'Tag', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', '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, ], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => '请求Id。', 'description' => '', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', ], ], ], ], 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}","type":"json"}]', ], 'DeleteTag' => [ 'summary' => '删除一个资源上的一个标签。', 'path' => '/api/v1/tags', 'methods' => [ 'delete', ], 'schemes' => [ 'http', 'https', ], 'tags' => [ 'Tag', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'title' => '标签所属的资源的类型。'."\n" .'Instance:数据集加速实例'."\n" .'Slot:数据集加速槽', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'Instance', 'enum' => [ 'Instance', 'Slot', ], ], ], [ 'name' => 'ResourceId', 'in' => 'query', 'schema' => [ 'title' => '标签所属的资源的Id。', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'inst-my1tk3jggooi5uwks', ], ], [ 'name' => 'Key', 'in' => 'query', 'schema' => [ 'title' => '标签的键值。', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'dataset_version', 'maxLength' => 64, ], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => '请求Id。', 'description' => '', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', ], ], ], ], 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}","type":"json"}]', ], 'ListTags' => [ 'summary' => '获取标签列表信息。', 'path' => '/api/v1/tags', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'tags' => [ 'Tag', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'title' => '标签所属的资源的类型。'."\n" .'Instance:数据集加速实例'."\n" .'Slot:数据集加速槽', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'instance', 'enum' => [ 'Instance', 'Slot', ], ], ], [ 'name' => 'ResourceId', 'in' => 'query', 'schema' => [ 'title' => '标签所属的资源的Id。', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'inst-my1tk3jggooi5uwks5', ], ], [ 'name' => 'Key', 'in' => 'query', 'schema' => [ 'title' => '标签的键值。'."\n" .'长度限制为 64 Unicode 字符。', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'dataset_version', 'maxLength' => 64, ], ], [ 'name' => 'Value', 'in' => 'query', 'schema' => [ 'title' => '标签的值。'."\n" .'长度限制为 64 Unicode 字符。', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'v0.1.0', 'maxLength' => 64, ], ], [ '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 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '', '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', ], ], ], ], 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 \\"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', ], 'tags' => [ 'Statistic', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], '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' => 'EndTime', 'in' => 'query', 'schema' => [ 'title' => '截止时间.默认是当前。', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '2020-11-08T16:00:00Z', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '', '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}}', ], ], ], ], ], 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 \\"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', ], 'tags' => [ 'Slot', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', ], 'parameters' => [ [ 'name' => 'SlotId', 'in' => 'path', 'schema' => [ 'title' => '数据集加速槽Id。', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'slot-my1tk3jggooi5uwks5', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => '请求Id。', 'description' => '', 'type' => 'string', 'example' => 'A731A84D-55C9-44F7-99BB-E1CF0CF19197', ], ], ], ], 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}","type":"json"}]', ], 'CreateSlots' => [ 'summary' => '同时创建并注册多个数据集加速槽,并使用相同的一组数据加速槽挂载点。', 'path' => '/api/v1/batch/slots/create', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'tags' => [ 'Slot', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Slots' => [ 'description' => '', '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', ], ], 'required' => false, ], 'required' => false, ], 'DryRun' => [ 'description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'false', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', '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\'}', ], ], ], ], ], 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' => '-', ], ], ], ], ], '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"}]', ], ], 'endpoints' => [ [ 'regionId' => 'cn-beijing', 'endpoint' => 'paidatasetacc.cn-beijing.aliyuncs.com', ], [ 'regionId' => 'cn-hangzhou', 'endpoint' => 'paidatasetacc.cn-hangzhou.aliyuncs.com', ], [ 'regionId' => 'cn-shanghai', 'endpoint' => 'paidatasetacc.cn-shanghai.aliyuncs.com', ], [ 'regionId' => 'cn-shenzhen', 'endpoint' => 'paidatasetacc.cn-shenzhen.aliyuncs.com', ], ], ];