ncloud_create_block_storage
Create a block storage instance with specified size and volume type. Optionally attach to a server (XEN) or preview via dryRun.
Instructions
Create a new block storage instance. Requires zoneCode + blockStorageVolumeTypeCode + blockStorageSize. For XEN: also provide serverInstanceNo to attach at creation. For KVM: cannot attach at creation — use ncloud_attach_block_storage after. Use dryRun=true to preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true, returns a preview without actually creating | |
| zoneCode | No | Zone code (e.g. KR-1, KR-2). Required when serverInstanceNo is not provided. | |
| blockStorageName | No | Block storage name | |
| blockStorageSize | Yes | Block storage size in GB (XEN: 10~2000, KVM: 10~16380, in 10GB increments) | |
| serverInstanceNo | No | Server instance number (XEN only — creates and attaches to this server. NOT available for KVM) | |
| isReturnProtection | No | Whether to enable return protection | |
| blockStorageDescription | No | Block storage description | |
| blockStorageVolumeTypeCode | Yes | Volume type code. Valid values: SSD, HDD, CB1, CB2, FB1, FB2. Use ncloud_get_block_storage_volume_types to check available types. | |
| blockStorageSnapshotInstanceNo | No | Snapshot instance number to create block storage from |