更新块资源实例
更新块资源实例
Path Parameters
订阅名称
资源组
可用区
存储块资源名称
Query Parameters
更新标记
Request Body required
Possible values: non-empty
and <= 63 characters
块存储资源别名
块存储资源描述
- 200
- default
OK
Schema
块存储资源 id
块存储资源名称
Possible values: <= 63 characters
块存储资源别名
块存储资源描述
块存储资源的uuid
Default value: storage.abs.v1.disk
块存储资源的资源类型
创建DiskStorage resource的用户id
拥有DiskStorage resource的用户id
租户id
可用区
Possible values: [CREATING
, UPDATING
, ACTIVE
, DELETING
, DELETED
, FAILED
, EXPIREDOWNGRADING
, EXPIREDOWNGRADED
, RENEWUPGRADING
, EXPIRESTOPPING
, EXPIRESTOPPED
, RENEWSTARTING
, DOWNGRADING
, DOWNGRADE
, RESTORING
, ATTACHING
, INUSE
, DETACHING
, DETACHFAILED
, ATTACHFAILED
, DELETEDFAILED
, RESIZING
, RESIZEFAILED
, ARREARSTOPPING
, ARREARSTOPPED
, RECHARGESTARTING
, RESIZECANCELING
]
Default value: ACTIVE
块存储资源状态
最小库存单元id
tags object
块存储资源的标签
properties object
块存储资源属性
resources object
资源规格属性
billing_items object
计费项
创建块存储资源容量
Possible values: [EB
, PB
, TB
, GB
, MB
]
Default value: GB
创建块存储资源容量单位
Possible values: [CLOUDEFFICIENCY
, CLOUDSSD
]
Default value: CLOUDSSD
资源包存储类型
Default value: false
是否是系统盘
Default value: false
是否随ecs实例释放
根据指定的快照id进行盘的创建
根据指定的镜像id进行盘的创建
order_info object
订单信息
Default value: 1
购买时长
Default value: false
自动续费
Default value: CNY
货币代码
Possible values: [PC_UNSPECIFIED
, PC_BALANCE
, PC_CREDIT
, PC_FROZENACCOUNT
, PC_REMIT_OFFLINE
, PC_ALIPAY
, PC_UNIONPAY
, PC_REMIT_ONLINE
, PC_CONTRACT
]
Default value: PC_BALANCE
支付方式
订单备注
Possible values: [OT_UNSPECIFIED
, OT_ORIGINAL
, OT_RENEW
, OT_UPGRADED
, OT_DOWNGRADED
, OT_CONTRACT
, OT_UNSUBSCRIBE
, OT_RESIZE
, OT_MUTATIO
, OT_CONTRACT_RENEW
]
Default value: OT_ORIGINAL
订单类型
订单id
订单生效日期
Possible values: [PM_UNSPECIFIED
, PM_PREPAID
, PM_POSTPAID
]
Default value: PM_PREPAID
付费类型
Possible values: [BM_UNSPECIFIED
, BM_USAGE
, BM_MONTHLY
, BM_YEARLY
]
Default value: BM_MONTHLY
计费类型
合同包ID
订单结束时间
预付费自动转后付费
是否删除块存储资源
创建块存储资源资源的时间
上一次更新DiskStorage resource的时间
{
"id": "string",
"name": "string",
"display_name": "string",
"description": "string",
"uid": "string",
"resource_type": "storage.abs.v1.disk",
"creator_id": "string",
"owner_id": "string",
"tenant_id": "string",
"zone": "string",
"state": "ACTIVE",
"sku_id": "string",
"tags": {},
"properties": {
"resources": {
"billing_items": {
"capacity": 0,
"capacity_unit": "GB"
},
"disk_type": "CLOUDSSD",
"system_disk": false,
"ecs_lifecycle": false,
"snapshot_id": "string",
"image_id": "string"
}
},
"order_info": {
"billing_cycle_number": 1,
"auto_renew": false,
"currency_code": "CNY",
"payment_channel": "PC_BALANCE",
"note": "string",
"order_type": "OT_ORIGINAL",
"order_id": "string",
"start_time": "2024-11-04T06:28:49.488Z",
"payment_model": "PM_PREPAID",
"billing_model": "BM_MONTHLY",
"original_id": "string",
"end_time": "2024-11-04T06:28:49.488Z",
"auto_convert_postpaid": true
},
"deleted": true,
"create_time": "2024-11-04T06:28:49.488Z",
"update_time": "2024-11-04T06:28:49.488Z"
}
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"
}
]
}