CreateDisks
CreateDisks
1. API Description
This API is used to create one or more disks.
Note
If you create a subscription disk, the amount required will be pre-deducted. If the balance is insufficient, the request will fail. If you create a pay-as-you-go disk, please ensure your account balance is sufficient before calling this API.
This API is an async API. A disk ID list is returned after the creation request is sent. However, it does not mean the creation has been completed. You can use
DescribeDisks
to query the status of the disk. If disk has been queried with theAvailable
status, it means that the disk has been created successfully; if disk has been attached to a certain instance while creating, theIN_USE
status means attaching successfully.
2. Input Parameters
The following request parameter list only provides API request parameters.
3. Output Parameters
4. Code Example
Create one or more disks.
5. Developer Resources
Zenlayer Cloud API 2.0 integrates SDKs to make it easier for you to call APIs. More programming languages will be supported.
6. Error Codes
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Last updated