Indexes - List Latest
列出每个索引的最新版本。 Latest 由最近创建的日期定义。
GET {endpoint}/genericasset/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/indexes?api-version=2024-04-01-preview
GET {endpoint}/genericasset/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/indexes?api-version=2024-04-01-preview&top={top}&skip={skip}&maxpagesize={maxpagesize}
URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
endpoint
|
path | True |
string (uri) |
支持 Azure-AI 资产终结点。 |
|
resource
|
path | True |
string |
资源组的名称。 |
|
subscription
|
path | True |
string |
目标订阅的 ID。 |
|
workspace
|
path | True |
string |
AzureML 工作区或 AI 项目的名称。 |
|
api-version
|
query | True |
string minLength: 1 |
用于此作的 API 版本。 |
|
maxpagesize
|
query |
integer (int32) |
每个页面的结果项的最大数目。 |
|
|
skip
|
query |
integer (int32) |
要跳过的结果项数。 |
|
|
top
|
query |
integer (int32) |
要返回的结果项数。 |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| 200 OK |
请求已成功。 |
|
| Other Status Codes |
意外的错误响应。 标头 x-ms-error-code: string |
安全性
OAuth2Auth
类型:
oauth2
流向:
implicit
授权 URL:
https://login.microsoftonline.com/common/oauth2/v2.0/authorize
作用域
| 名称 | 说明 |
|---|---|
| https://ml.azure.com/.default |
示例
Indexes_ListLatest - generated by [MaximumSet] rule
示例请求
GET {endpoint}/genericasset/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/ergihga/indexes?api-version=2024-04-01-preview&top=13&skip=10&maxpagesize=24
示例响应
{
"value": [
{
"stage": "xsjjrkichkl",
"systemData": {
"createdAt": "2024-02-23T17:43:10.246Z",
"createdBy": "wpptdszccfqvk",
"createdByType": "fzkgqxclzaiyqnalegovlcsnne",
"lastModifiedAt": "2024-02-23T17:43:10.247Z"
},
"tags": {},
"properties": {},
"storageUri": "dlvlmnwf",
"id": "exr",
"description": "izwslsfziaecbzkywc"
}
],
"nextLink": "https://microsoft.com/abtorrra"
}
定义
| 名称 | 说明 |
|---|---|
|
Azure. |
错误对象。 |
|
Azure. |
包含错误详细信息的响应。 |
|
Azure. |
包含有关错误的更具体信息的对象。 根据 Azure REST API 准则 - https://aka.ms/AzureRestApiGuidelines#handling-errors。 |
| Index |
索引资源定义 |
|
Paged |
IndexVersion 项的分页集合。 |
|
System |
与创建和上次修改资源相关的元数据。 |
Azure.Core.Foundations.Error
错误对象。
| 名称 | 类型 | 说明 |
|---|---|---|
| code |
string |
服务器定义的错误代码集之一。 |
| details |
导致此报告错误的特定错误的详细信息数组。 |
|
| innererror |
包含与当前对象有关错误的更具体信息的对象。 |
|
| message |
string |
错误的人工可读表示形式。 |
| target |
string |
错误的目标。 |
Azure.Core.Foundations.ErrorResponse
包含错误详细信息的响应。
| 名称 | 类型 | 说明 |
|---|---|---|
| error |
错误对象。 |
Azure.Core.Foundations.InnerError
包含有关错误的更具体信息的对象。 根据 Azure REST API 准则 - https://aka.ms/AzureRestApiGuidelines#handling-errors。
| 名称 | 类型 | 说明 |
|---|---|---|
| code |
string |
服务器定义的错误代码集之一。 |
| innererror |
内部错误。 |
Index
索引资源定义
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| description |
string |
资产的说明信息。 |
|
| id |
string |
完全限定的资源 ID:azureml://workspace/{workspaceName}/indexes/{name}/versions/{version} 索引。 |
|
| properties |
object |
资产的属性。 与标记不同,属性是仅添加属性。 添加后,无法删除属性。 |
|
| stage |
string |
Development |
将阶段更新为“存档”以存档资产。 默认值为“开发”,这意味着资产正在开发中。 |
| storageUri |
string |
默认工作区 Blob 存储 URI。 应跨存储类型和身份验证方案工作。 |
|
| systemData |
包含 createdBy 和 modifiedBy 信息的元数据。 |
||
| tags |
object |
资产的标记。 与属性不同,标记完全可变。 |
PagedIndex
IndexVersion 项的分页集合。
| 名称 | 类型 | 说明 |
|---|---|---|
| nextLink |
string (uri) |
指向下一页项的链接 |
| value |
Index[] |
索引列表。 |
SystemData
与创建和上次修改资源相关的元数据。
| 名称 | 类型 | 说明 |
|---|---|---|
| createdAt |
string (date-time) |
创建资源的时间戳。 |
| createdBy |
string |
创建资源的标识。 |
| createdByType |
string |
创建资源的标识类型。 |
| lastModifiedAt |
string (date-time) |
上次修改的资源时间戳(UTC) |