获取任意权限资源列表
获取任意权限资源列表
Query Parameters
指定权限
Filter 过滤支持资源类型,状态,UID,创建时间
支持更新时间和创建时间排序
每页数目
分页标识
- 200
- default
OK
Schema
- Array [
- ]
resources object[]
资源列表
资源标识
资源名称
资源类型
资源状态
资源可用区
资源特有属性
最小库存单元ID
order_info object
订单信息
购买时长
自动续费
货币代码
Possible values: [PC_UNSPECIFIED
, PC_BALANCE
, PC_CREDIT
, PC_FROZENACCOUNT
, PC_REMIT_OFFLINE
, PC_ALIPAY
, PC_UNIONPAY
, PC_REMIT_ONLINE
, PC_CONTRACT
]
支付方式
订单备注
Possible values: [OT_UNSPECIFIED
, OT_ORIGINAL
, OT_RENEW
, OT_UPGRADED
, OT_DOWNGRADED
, OT_CONTRACT
, OT_UNSUBSCRIBE
, OT_RESIZE
]
订单类型
订单id
订单生效日期
Possible values: [PM_UNSPECIFIED
, PM_PREPAID
, PM_POSTPAID
]
付费类型
Possible values: [BM_UNSPECIFIED
, BM_USAGE
, BM_MONTHLY
, BM_YEARLY
]
计费类型
合同包ID
订单结束时间
预付费自动转后付费
总记录
从上一个List请求返回的next_page_token值(如果有的话)
{
"resources": [
{
"id": "string",
"rid": "string",
"name": "string",
"display_name": "string",
"type": "string",
"state": "string",
"zone": "string",
"properties": "string",
"sku_id": "string",
"subscription_name": "string",
"resource_group_name": "string",
"resource_group_id": "string",
"resource_group_display_name": "string",
"resource_group_rid": "string",
"creator_id": "string",
"owner_id": "string",
"order_info": {
"billing_cycle_number": 0,
"auto_renew": true,
"currency_code": "string",
"payment_channel": "PC_UNSPECIFIED",
"note": "string",
"order_type": "OT_UNSPECIFIED",
"order_id": "string",
"start_time": "2024-12-05T02:41:58.332Z",
"payment_model": "PM_UNSPECIFIED",
"billing_model": "BM_UNSPECIFIED",
"original_id": "string",
"end_time": "2024-12-05T02:41:58.332Z",
"auto_convert_postpaid": true
},
"deleted": true,
"create_time": "2024-12-05T02:41:58.332Z",
"update_time": "2024-12-05T02:41:58.332Z"
}
],
"total_size": 0,
"next_page_token": "string"
}
Default error response
Schema
- Array [
- ]
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
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.
The type of the serialized message.
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}