获取对象存储资源包
获取对象存储资源包
Path Parameters
订阅.
资源组.
可用区.
Possible values: <= 63 characters
, Value must match regular expression ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$
资源包名称.
- 200
- default
OK
Schema
Possible values: <= 63 characters
, Value must match regular expression ^[a-z0-9A-Z\x{4e00}-\x{9fa5}]([a-z0-9A-Z\x{4e00}-\x{9fa5}_]{0,62})$
对象存储资源包别名.
资源包描述.
资源类型.
最小库存单元id.
tags object
资源包的标签.
properties object
资源包的属性.
resources object
资源包详情.
billing_items object
资源包详情计费项.
capacity容量.
Possible values: [EB
, PB
, TB
, GB
, MB
]
capacity容量单位.
请求次数 /次.
外网下行流量数.
Possible values: [EB
, PB
, TB
, GB
, MB
]
外网下行流量单位.
回源流量包数.
Possible values: [EB
, PB
, TB
, GB
, MB
]
回源流量包数单位.
全球加速流量数.
Possible values: [EB
, PB
, TB
, GB
, MB
]
全球加速流量容量单位
Possible values: [STANDARD
, ARCHIVE
, POWERPC
, ALLFLASHTWOCOPIES
, STANDARDTWOCOPIES
]
资源包存储类型.
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.
订单结束时间.
{
"id": "string",
"name": "string",
"display_name": "string",
"description": "string",
"uid": "string",
"resource_type": "string",
"creator_id": "string",
"owner_id": "string",
"tenant_id": "string",
"zone": "string",
"state": "CREATING",
"sku_id": "string",
"tags": {},
"properties": {
"resources": {
"billing_items": {
"capacity": 0,
"capacity_unit": "EB",
"requests": 0,
"get_flow": 0,
"get_flow_unit": "EB",
"cdn_flow": 0,
"cdn_flow_unit": "EB",
"global_flow": 0,
"global_flow_unit": "EB"
}
},
"storage_class": "STANDARD"
},
"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:59.198Z",
"payment_model": "PM_UNSPECIFIED",
"billing_model": "BM_UNSPECIFIED",
"original_id": "string",
"end_time": "2024-12-05T02:41:59.198Z"
},
"deleted": true,
"create_time": "2024-12-05T02:41:59.198Z",
"update_time": "2024-12-05T02:41:59.198Z"
}
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"
}
]
}