获取订阅列表
获取订阅列表
Query Parameters
filter string
支持订阅名称和创建时间过滤
order_by string
支持更新时间和创建时间排序
page_size int32
每页数量
page_token string
分页标识
Responses
- 200
- default
OK
application/json
Schema
Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
subscriptions object[]
订阅列表
name string required
Possible values: <= 63 characters
订阅标识
display_name string
Possible values: <= 63 characters
订阅名称
management_group_name string required
管理组标识
billing_account string
计费帐号ID(930弃用)
billing_accounts object[] required
计费帐号列表
billing_account_id string required
计费帐号ID
apply_ratio int32 required
计费账户申请分配比例
next_page_token string
分页标识
total_size int32
订阅总数
{
"subscriptions": [
{
"id": "string",
"rid": "string",
"name": "string",
"display_name": "string",
"tenant_id": "string",
"management_group_name": "string",
"billing_account": "string",
"create_time": "2024-11-04T06:28:48.253Z",
"update_time": "2024-11-04T06:28:48.253Z",
"management_group_display_name": "string",
"state": "UNAVAILABLE",
"billing_accounts": [
{
"id": "string",
"billing_account_id": "string",
"distribution_ratio": 0,
"apply_ratio": 0,
"state": "BINDING"
}
]
}
],
"next_page_token": "string",
"total_size": 0
}
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...