更新裸金属实例属性
更新裸金属实例属性
Path Parameters
订阅
资源组
可用区
裸金属实例唯一标识
Query Parameters
更新裸金属实例属性的掩码
Request Body required
- Array [
- ]
- Array [
- ]
- Array [
- ]
裸金属实例资源id
裸金属实例唯一标识
Possible values: <= 63 characters
裸金属实例名称
裸金属实例资源描述
裸金属实例资源唯一id
裸金属实例资源类型
创建裸金属实例的用户id
占用裸金属实例的用户id
租户id
可用区
Possible values: [PENDING
, RUNNING
, STOPPING
, STOP
, BOOTING
, REBOOTING
, RESETTING
, DELETING
, DELETED
, ERROR
, FAILED
]
裸金属实例的状态
Sku id
tags object
裸金属实例标签
properties object
裸金属实例属性
部署系统镜像
cloud_init object
cloud-init配置
ntp服务器
主机名
GPU卡数
CPU核数
内存大小
GPU型号
CPU型号
CPU频率
网络属性
subnets object[]
子网配置
子网名称
子网无类别域间路由
子网uid
子网范围
子网提供者
子网网络类型
VPC id
私有ip
eip object[]
弹性公网ip
弹性公网uuid
弹性公网id
规则id
协议
私有端口
SSH用户名
SSH密码
硬盘属性
裸金属实例类型
裸金属实例bond1 ip 地址
volume_mounts object[]
挂载存储
存储卷名称
宿主机路径
挂载路径
只读
volume_attributes object
存储卷特性
卷id
卷空间
卷宿主
卷端口
卷网址
密钥对
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
- Array [
- ]
- Array [
- ]
- Array [
- ]
裸金属实例资源id
裸金属实例唯一标识
Possible values: <= 63 characters
裸金属实例名称
裸金属实例资源描述
裸金属实例资源唯一id
裸金属实例资源类型
创建裸金属实例的用户id
占用裸金属实例的用户id
租户id
可用区
Possible values: [PENDING
, RUNNING
, STOPPING
, STOP
, BOOTING
, REBOOTING
, RESETTING
, DELETING
, DELETED
, ERROR
, FAILED
]
裸金属实例的状态
Sku id
tags object
裸金属实例标签
properties object
裸金属实例属性
部署系统镜像
cloud_init object
cloud-init配置
ntp服务器
主机名
GPU卡数
CPU核数
内存大小
GPU型号
CPU型号
CPU频率
网络属性
subnets object[]
子网配置
子网名称
子网无类别域间路由
子网uid
子网范围
子网提供者
子网网络类型
VPC id
私有ip
eip object[]
弹性公网ip
弹性公网uuid
弹性公网id
规则id
协议
私有端口
SSH用户名
SSH密码
硬盘属性
裸金属实例类型
裸金属实例bond1 ip 地址
volume_mounts object[]
挂载存储
存储卷名称
宿主机路径
挂载路径
只读
volume_attributes object
存储卷特性
卷id
卷空间
卷宿主
卷端口
卷网址
密钥对
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": "PENDING",
"sku_id": "string",
"tags": {},
"properties": {
"image": "string",
"cloud_init": {
"ntp": "string",
"hostname": "string"
},
"gpu": "string",
"cpu": "string",
"memory": "string",
"gpu_type": "string",
"cpu_type": "string",
"cpu_frequency": "string",
"network": "string",
"subnets": [
{
"name": "string",
"cidr": "string",
"id": "string",
"scope": "string",
"provider": "string",
"network_type": "string"
}
],
"vpc_id": "string",
"private_ip": "string",
"eip": [
{
"uuid": "string",
"eip_id": "string",
"rule_id": "string",
"protocol": "string",
"private_port": "string"
}
],
"ssh_user": "string",
"ssh_password": "string",
"disk": "string",
"compute_type": "string",
"bond1_ip": "string",
"volume_mounts": [
{
"name": "string",
"host_path": "string",
"mount_path": "string",
"read_only": true,
"volume_attributes": {
"volume_id": "string",
"zone": "string",
"host": "string",
"port": "string",
"uri": "string"
}
}
],
"key_pairs": [
"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.636Z",
"payment_model": "PM_UNSPECIFIED",
"billing_model": "BM_UNSPECIFIED",
"original_id": "string",
"end_time": "2024-11-04T06:28:48.636Z",
"auto_convert_postpaid": true
},
"deleted": true,
"create_time": "2024-11-04T06:28:48.636Z",
"update_time": "2024-11-04T06:28:48.636Z"
}
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"
}
]
}