查看工作空间关联的集群列表
查看工作空间关联的集群列表
Path Parameters
subscription_name string required
订阅
resource_group_name string required
资源组
zone string required
可用区
workspace_name string required
工作空间
Query Parameters
page_size int32
可选,单页结果数
page_token string
可选,指定要使用的页码,非正值返回错误
Responses
- 200
- default
OK
application/json
Schema
Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
aec2s object[]
[beta]AEC2 属性
uid string
aec2 Uid
id string
aec2 Rid
name string
AEC2 名字
display_name string
aec2 别名
state string
AEC2 状态
reserved_cpu string
[beta]剩余vCPU
reserved_number string
[beta]剩余卡数
reserved_memory string
[beta]剩余内存
vpc_id string
虚拟专有网络ID
spot_status object[]
spot状态
spot_name string
spot名称
spot_quota object
spot额度
cpu string
CPU
device string
卡数
memory string
内存
quota_type enum
Possible values: [ALL
, SPOT
]
资源配额类型
total_size int32
符合当前查询条件的后台数据总数(不是当前返回数据总数)
next_page_token string
(暂不支持)下一页的token,用户需将该值作为下一次请求的page_token透传回来
{
"aec2s": [
{
"uid": "string",
"id": "string",
"name": "string",
"display_name": "string",
"state": "string",
"reserved_cpu": "string",
"reserved_number": "string",
"reserved_memory": "string",
"vpc_id": "string",
"type": "string",
"spot_status": [
{
"spot_name": "string",
"spot_quota": {
"cpu": "string",
"device": "string",
"memory": "string"
}
}
],
"quota_type": "ALL"
}
],
"total_size": 0,
"next_page_token": "string"
}
Default error response
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
code int32
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
message string
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
@type string
The type of the serialized message.
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Loading...