平台 | 存储类型 | 中文 | 数据盘 | 系统盘 | 可否扩容 | 可否单独创建 | 扩容步长 | 说明 |
---|---|---|---|---|---|---|---|---|
Esxi | local | 本地盘 | 1-500GB | 30~500GB | 是 | 否 | 1G | |
Esxi | nas | NAS盘 | 30-3072GB | 30~500GB | 是 | 否 | 1G | |
Esxi | vsan | VSAN盘 | 30-3072GB | 30~500GB | 是 | 否 | 1G | |
KVM | local | 本地盘盘 | 1-500GB | 30~500GB | 是 | 否 | 1G | |
KVM | rbd | 云硬盘 | 1-3072GB | 30~500GB | 是 | 是 | 1G | |
Azure | standard_lrs | 标准 HDD | 1-4095GB | 30~4095GB | 是 | 是 | 1G | |
Azure | standardssd_lrs | 标准 SSD | 1-4095GB | 30~4095GB | 是 | 是 | 1G | |
Azure | premium_lrs | 高级SSD | 1-4095GB | 30~4095GB | 是 | 是 | 1G | |
AWS | gp2 | 通用型SSD | 1-16384GB | 20~16384GB | 是 | 是 | 1G | |
AWS | io1 | 预配置 IOPS SSD | 4-16384GB | 20-16384GB | 是 | 是 | 1G | |
AWS | st1 | 吞吐优化HDD | 500-16384GB | 不支持 | 是 | 是 | 1G | |
AWS | sc1 | Cold HDD | 500-16384GB | 不支持 | 是 | 是 | 1G | |
AWS | standard | 磁介质 | 1-1024GB | 20-1024GB | 是 | 是 | 1G | |
腾讯云 | cloud_ssd | SSD云硬盘 | 10-16000GB | 50~500GB | 是 | 是 | 10G | |
腾讯云 | cloud_basic | 普通云硬盘 | 10-16000GB | 50~500GB | 是 | 是 | 10G | |
腾讯云 | cloud_preium | 高性能云硬盘 | 10-16000GB | 50~1024GB | 是 | 是 | 10G | |
腾讯云 | local_basic | 普通本地盘 | 10-1600GB | 不支持 | 否 | 否 | ||
腾讯云 | local_ssd | SSD本地盘 | 10-7000GB | 部分区域套餐支持 | 否 | 否 | ||
腾讯云 | local_pro | HDD本地盘 | 跟随套餐 | 部分区域套餐支持 | 否 | 否 | ||
华为云或天翼云 | SSD | 超高IO云硬盘 | 10-32768GB | 40~1024GB | 是 | 是 | 1G | |
华为云或天翼云 | SAS | 高IO云硬盘 | 10-32768GB | 40~1024GB | 是 | 是 | 1G | |
华为云或天翼云 | SATA | 普通IO云硬盘 | 10-32768GB | 40~1024GB | 是 | 是 | 1G | |
OpenStack | nova | nova | 不支持 | 30-500GB | 否 | 否 | ||
OpenStack | 自定义 | ... | 无限制 | 无限制 | 是 | 是 | 1G | |
Ucloud | CLOUD_NORMAL | 普通云盘 | 20-8000GB | 不支持 | 是 | 是 | 1G | |
Ucloud | CLOUD_SSD | SSD云盘 | 20-4000GB | 20-500GB | 是 | 是 | 1G | |
Ucloud | LOCAL_NORMAL | 普通本地盘 | 是 | 是 | 1G | |||
Ucloud | LOCAL_SSD | SSD本地盘 | 是 | 是 | 1G | |||
Ucloud | EXCLUSIVE_LOCAL_DISK | 独享本地盘 | 是 | 是 | 1G | |||
ZStack | localstorage | 本地盘 | 是 | 是 | 1G | |||
ZStack | ceph | 云硬盘 | 是 | 是 | 1G | |||
local-ssd | 本地SSD暂存盘 | 375GB | 不支持 | 否 | 否 | 跟随实例创建,一次最多添加8个 | ||
pd-standard | 标准永久性磁盘 | 10-65536GB | 10-65536GB | 是 | 是 | 1G | ||
pd-ssd | SSD永久性磁盘 | 10-65536GB | 10-65536GB | 是 | 是 | 1G |
{
"count": 1,
"disk": {
"__meta__": {
"user:rd": "op"
},
"auto_reset": true,
"backend": "string",
"backup_id": "string",
"boot_index": 0,
"cache": "writeback",
"description": "test create network",
"disk_type": "sys",
"driver": "virtio",
"dry_run": false,
"encrypt_key_alg": "string",
"encrypt_key_id": "string",
"encrypt_key_new": true,
"encrypt_key_user_id": "string",
"format": "qcow2",
"fs": "swap",
"fs_features": {
"ext4": {
"case_insensitive": true,
"reserved_blocks_percentage": 0
}
},
"generate_name": "test###",
"hypervisor": "kvm",
"image_encrypt_key_id": "string",
"image_id": "string",
"index": -1,
"iops": 0,
"is_emulated": true,
"is_system": true,
"medium": "hybird",
"mountpoint": "string",
"name": "test-network",
"nvme_device": {
"dev_type": "string",
"device_path": "string",
"disk_index": 0,
"id": "string",
"index": 0,
"model": "string",
"network_index": 0,
"vendor": "string",
"wire_id": "string"
},
"os_arch": "string",
"preallocation": "off",
"prefer_host_id": "string",
"prefer_manager_id": "string",
"prefer_region_id": "string",
"prefer_zone_id": "string",
"project_domain_id": "string",
"project_id": "string",
"schedtags": [
{
"resource_type": "string",
"strategy": "string"
}
],
"size": 0,
"snapshot_id": "snapshot-3140cecb-ccc4-4865-abae-3a5ba8c69d9b",
"status": "string",
"storage_id": "string",
"throughput": 0
}
}
curl --location --request POST 'https://example.com:30888/disks' \
--header 'Content-Type: application/json' \
--data-raw '{
"count": 1,
"disk": {
"__meta__": {
"user:rd": "op"
},
"auto_reset": true,
"backend": "string",
"backup_id": "string",
"boot_index": 0,
"cache": "writeback",
"description": "test create network",
"disk_type": "sys",
"driver": "virtio",
"dry_run": false,
"encrypt_key_alg": "string",
"encrypt_key_id": "string",
"encrypt_key_new": true,
"encrypt_key_user_id": "string",
"format": "qcow2",
"fs": "swap",
"fs_features": {
"ext4": {
"case_insensitive": true,
"reserved_blocks_percentage": 0
}
},
"generate_name": "test###",
"hypervisor": "kvm",
"image_encrypt_key_id": "string",
"image_id": "string",
"index": -1,
"iops": 0,
"is_emulated": true,
"is_system": true,
"medium": "hybird",
"mountpoint": "string",
"name": "test-network",
"nvme_device": {
"dev_type": "string",
"device_path": "string",
"disk_index": 0,
"id": "string",
"index": 0,
"model": "string",
"network_index": 0,
"vendor": "string",
"wire_id": "string"
},
"os_arch": "string",
"preallocation": "off",
"prefer_host_id": "string",
"prefer_manager_id": "string",
"prefer_region_id": "string",
"prefer_zone_id": "string",
"project_domain_id": "string",
"project_id": "string",
"schedtags": [
{
"resource_type": "string",
"strategy": "string"
}
],
"size": 0,
"snapshot_id": "snapshot-3140cecb-ccc4-4865-abae-3a5ba8c69d9b",
"status": "string",
"storage_id": "string",
"throughput": 0
}
}'
{
"disk": {
"access_path": "string",
"account": "google-account",
"account_health_status": "string",
"account_id": "4d3c8979-9dd0-439b-8d78-36fe1ab1666c",
"account_read_only": true,
"account_status": "string",
"auto_delete": false,
"auto_delete_at": "2019-08-24T14:15:22Z",
"auto_renew": true,
"auto_reset": true,
"backup_id": "string",
"backup_storage_id": "string",
"billing_cycle": "string",
"billing_type": "postpaid",
"brand": "Google",
"can_delete": true,
"can_update": true,
"cloud_env": "public",
"cloudregion": "string",
"cloudregion_id": "string",
"created_at": "2019-08-24T14:15:22Z",
"delete_fail_reason": {
"class": "string",
"code": 0,
"details": "string"
},
"deleted": true,
"deleted_at": "2019-08-24T14:15:22Z",
"description": "string",
"disk_format": "qcow2",
"disk_size": 10240,
"disk_type": "sys",
"domain_id": "string",
"encrypt_alg": "string",
"encrypt_key": "string",
"encrypt_key_id": "string",
"encrypt_key_user": "string",
"encrypt_key_user_domain": "string",
"encrypt_key_user_domain_id": "string",
"encrypt_key_user_id": "string",
"environment": "string",
"expired_at": "2019-08-24T14:15:22Z",
"external_id": "string",
"freezed": true,
"fs_features": {
"ext4": {
"case_insensitive": true,
"reserved_blocks_percentage": 0
}
},
"fs_format": "string",
"guest": "string",
"guest_count": 0,
"guest_status": "string",
"guests": [
{
"bps": 0,
"cache_mode": "string",
"driver": "string",
"id": "string",
"index": 0,
"iops": 0,
"name": "string",
"status": "string"
}
],
"id": "string",
"imported_at": "2019-08-24T14:15:22Z",
"iops": 0,
"is_emulated": true,
"is_ssd": true,
"is_system": true,
"manager": "google-account",
"manager_domain": "Default",
"manager_domain_id": "default",
"manager_id": "string",
"manager_project": "system",
"manager_project_id": "4d3c8979-9dd0-439b-8d78-36fe1ab1666c",
"medium_type": "string",
"metadata": {
"property1": "string",
"property2": "string"
},
"name": "string",
"nonpersistent": true,
"os_arch": "x86 arm",
"pending_deleted": true,
"pending_deleted_at": "2019-08-24T14:15:22Z",
"preallocation": "string",
"progress": 0,
"project": "string",
"project_domain": "string",
"project_id": "string",
"project_metadata": {
"property1": "string",
"property2": "string"
},
"project_src": "local",
"provider": "Google",
"region": "Default",
"region_ext_id": "59e7bc87-a6b3-4c39-8f02-c68e8243d4e4",
"region_external_id": "ZStack/59e7bc87-a6b3-4c39-8f02-c68e8243d4e4",
"region_id": "default",
"snapshot_id": "string",
"snapshotpolicies": [
{
"id": "string",
"name": "string",
"repeat_weekdays": [
0
],
"time_points": [
0
]
}
],
"snapshotpolicy_status": "string",
"source": "string",
"status": "string",
"storage": "string",
"storage_id": "string",
"storage_status": "string",
"storage_type": "string",
"template_id": "string",
"tenant": "string",
"tenant_id": "string",
"throughput": 0,
"update_fail_reason": {
"class": "string",
"code": 0,
"details": "string"
},
"update_version": 0,
"updated_at": "2019-08-24T14:15:22Z",
"zone": "北京一区",
"zone_ext_id": "string",
"zone_id": "string"
}
}