创建缓存资源
创建缓存资源
Path Parameters
订阅
资源组
可用区
Possible values: <= 63 characters
缓存资源名称
Request Body required
Possible values: <= 63 characters
缓存资源别名
缓存资源描述
缓存资源的资源类型
最小库存单元id
tags object
缓存资源的标签
properties object
缓存属性
resources object
资源规格属性
billing_items object
计费项
创建缓存资源容量
Possible values: [EB
, PB
, TB
, GB
, MB
]
创建缓存资源容量单位
缓存的对象存储路径
缓存的跨租户对象存储路径
缓存的第三方云存储路径
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
订单结束时间
预付费自动转后付费
- 200
- default
OK
Schema
Possible values: <= 63 characters
缓存资源别名
缓存资源描述
缓存资源的资源类型
最小库存单元id
tags object
缓存资源的标签
properties object
缓存属性
resources object
资源规格属性
billing_items object
计费项
创建缓存资源容量
Possible values: [EB
, PB
, TB
, GB
, MB
]
创建缓存资源容量单位
缓存的对象存储路径
缓存的跨租户对象存储路径
缓存的第三方云存储路径
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"
}
},
"bucket_path": [
"string"
],
"other_bucket_path": [
"string"
],
"third_party_bucket_path": [
"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-11-04T06:28:48.841Z",
"payment_model": "PM_UNSPECIFIED",
"billing_model": "BM_UNSPECIFIED",
"original_id": "string",
"end_time": "2024-11-04T06:28:48.841Z",
"auto_convert_postpaid": true
},
"deleted": true,
"create_time": "2024-11-04T06:28:48.841Z",
"update_time": "2024-11-04T06:28:48.841Z"
}
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"
}
]
}