根据资源组获取计费账户信息
根据资源组获取计费账户信息
Path Parameters
subscription_name string required
订阅标识
name string required
Possible values: <= 63 characters
资源组标识
Responses
- 200
- default
OK
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
billing_accounts object[]
计费账户信息
billing_account_id string
计费帐号ID
billing_account_display_name string
计费账户名称
distribution_ratio int32
当前计费账户分配比例
available_balance object
价格
currency_code string
货币代码, 参考ISO 4217
units int64
价格整数部分
nanos int32
价格小数部分
{
"billing_accounts": [
{
"billing_account_id": "string",
"billing_account_display_name": "string",
"distribution_ratio": 0,
"available_balance": {
"currency_code": "string",
"units": 0,
"nanos": 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...