List Skus - List Skus
列出具有关联功能的所有 SKU
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces/skus?api-version=2021-01-01
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
subscription
|
path | True |
string |
Azure 订阅标识符。 |
api-version
|
query | True |
string |
Azure 机器学习资源提供程序 API 的版本。 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
请求成功;请求格式正确,已正确接收。 |
|
Other Status Codes |
描述操作失败的原因的错误响应。 |
安全性
azure_auth
Azure Active Directory OAuth2 Flow。
类型:
oauth2
流向:
implicit
授权 URL:
https://login.microsoftonline.com/common/oauth2/authorize
作用域
名称 | 说明 |
---|---|
user_impersonation | 模拟用户帐户 |
示例
List Skus
示例请求
GET https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.MachineLearningServices/workspaces/skus?api-version=2021-01-01
示例响应
{
"value": [
{
"resourceType": "workspaces",
"name": "Basic",
"tier": "Basic",
"locations": [
"westus"
],
"locationInfo": [
{
"location": "westus",
"zones": [
"westus-AZ02",
"westus-AZ01"
]
}
],
"capabilities": [
{
"name": "automatedml_readhyperdrivesdk",
"value": "{\n \"id\": \"automatedml_ readhyperdrivesdk\",\n \"name\": \"Read hyperdrive SDK\",\n \"description\": \"Read only access to Hyperdrive in the SDK\"\n}"
},
{
"name": "workspace_upgradeworkspacesdk",
"value": "{\n \"id\": \"workspace_upgradeworkspacesdk\",\n \"name\": \"Upgrade workspace SDK\",\n \"description\": \"Upgrade workspace from Basic to enterprise from the SDK\"\n}"
}
],
"restrictions": []
},
{
"resourceType": "workspaces",
"name": "Enterprise",
"tier": "Enterprise",
"locations": [
"westus"
],
"locationInfo": [
{
"location": "westus",
"zones": [
"westus-AZ01"
],
"zoneDetails": [
{
"name": [
"westus-AZ01"
],
"capabilities": [
{
"name": "automatedml_createeditexperimentssdk",
"value": "{\n \"id\": \"automatedml_createeditexperimentssdk\",\n \"name\": \"Create edit experiments SDK\",\n \"description\": \"Create, edit or delete AutoML experiments in the SDK\"\n}"
}
]
}
]
}
],
"capabilities": [
{
"name": "automatedml_createeditexperimentssdk",
"value": "{\n \"id\": \"automatedml_createeditexperimentssdk\",\n \"name\": \"Create edit experiments SDK\",\n \"description\": \"Create, edit or delete AutoML experiments in the SDK\"\n}"
}
],
"restrictions": []
}
],
"nextLink": null
}
定义
名称 | 说明 |
---|---|
Error |
错误详细信息信息。 |
Error |
错误响应信息。 |
Machine |
遵循 ARM 准则的错误响应包装器。 |
Reason |
限制的原因。 |
Resource |
|
Resource |
介绍 SKU 的区域性功能。 |
Restriction |
由于无法使用 SKU,因此存在此限制。 |
SKUCapability |
与 SKU 关联的功能/用户功能 |
Sku |
包含功能的 SKU 列表 |
Workspace |
介绍工作区 SKU 详细信息和功能 |
ErrorDetail
错误详细信息信息。
名称 | 类型 | 说明 |
---|---|---|
code |
string |
错误代码。 |
message |
string |
错误信息。 |
ErrorResponse
错误响应信息。
名称 | 类型 | 说明 |
---|---|---|
code |
string |
错误代码。 |
details |
错误详细信息对象的数组。 |
|
message |
string |
错误信息。 |
MachineLearningServiceError
遵循 ARM 准则的错误响应包装器。
名称 | 类型 | 说明 |
---|---|---|
error |
错误响应。 |
ReasonCode
限制的原因。
值 | 说明 |
---|---|
NotAvailableForRegion | |
NotAvailableForSubscription | |
NotSpecified |
ResourceSkuLocationInfo
名称 | 类型 | 说明 |
---|---|---|
location |
string |
SKU 的位置 |
zoneDetails |
特定区域中 SKU 可用的功能的详细信息。 |
|
zones |
string[] |
支持 SKU 的可用性区域列表。 |
ResourceSkuZoneDetails
介绍 SKU 的区域性功能。
名称 | 类型 | 说明 |
---|---|---|
capabilities |
指定区域列表中的 SKU 可用的功能列表。 |
|
name |
string[] |
SKU 在指定功能中可用的区域集。 |
Restriction
由于无法使用 SKU,因此存在此限制。
名称 | 类型 | 说明 |
---|---|---|
reasonCode |
限制的原因。 |
|
type |
string |
限制的类型。 到目前为止,只有此位置的可能值。 |
values |
string[] |
限制的值。 如果限制类型设置为位置。 这是 SKU 受限的不同位置。 |
SKUCapability
与 SKU 关联的功能/用户功能
名称 | 类型 | 说明 |
---|---|---|
name |
string |
功能/功能 ID |
value |
string |
有关功能/功能的详细信息 |
SkuListResult
包含功能的 SKU 列表
名称 | 类型 | 说明 |
---|---|---|
nextLink |
string |
用于提取工作区 SKU 的下一页的 URI。 使用此 URI 调用 ListNext()以提取工作区 SKU 的下一页 |
value |
介绍工作区 SKU 详细信息和功能 |
WorkspaceSku
介绍工作区 SKU 详细信息和功能
名称 | 类型 | 说明 |
---|---|---|
capabilities |
与 SKU 关联的功能/用户功能列表 |
|
locationInfo |
SKU 可用位置中位置和可用性区域的列表。 |
|
locations |
string[] |
SKU 可用的位置集。 这将得到支持和注册的 Azure 地理区域(例如美国西部、美国东部、东南亚等)。 |
name |
string |
|
resourceType |
string |
|
restrictions |
由于无法使用 SKU,因此存在限制。 如果没有限制,则为空。 |
|
tier |
string |
Sku 层(例如基本层或企业层) |