iaas_create_block_device
Create a block device with specified capacity, project, and disk properties such as datastore, storage policy, provisioning type, and Azure resource group.
Instructions
Create BlockDevice Following disk custom properties can be passed while creating a block device: 1. dataStore: Defines name of the datastore in which the disk has to be provisioned. 2. storagePolicy: Defines name of the storage policy in which the disk has to be provisioned. If name of the datastore is specified in the custom properties then, datastore takes precedence. 3. provisioningType: Defines the type of provisioning. For eg. thick/thin. 4. resourceGroupName: Defines the Azure resource group name where the disk needs to be provisioned. POST /iaas/api/block-devices
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Disk Specification instance | |
| apiVersion | No | The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about |