[Disks] editDisk

editDisk

Process Overview of the Function

The disk size and automatic backup setting for the specified disk is edited.
The build for the target disk needs to be complete.

Request Parameters

Specify the following parameters when executing this function.

ParameterDescriptionRequired
disk_id

Disk ID

Specify ID allocated to a disk.
The disk ID can be obtained from the 5.1. listDisks function.
In the 5.1. listDisks function response object, the corresponding field is, id.

disk_size

Disk Size [GB]

Specify the disk size (disk space) of the disk to be changed.
Decreasing the disk size is not allowed.

Unit is in GB (GigaByte).

has_autobackups

Automatic Backup Specification

Specify whether to automatically backup the target disk.

true : Execute automatic backup
false : Do not execute automatic backup

Response Object

If the request to edit the settings of the specified disk is successful then true is returned.
If the request to edit the settings of the specified disk failed then the resulting error message is returned.

Request Sample

https://api.gmocloud.com/Cloud-Zone-ID/?Action=editDisk&AccessKeyId=AccessKeyId&Version=1.0&disk_id=ID_of_Disk&disk_size=2&has_autobackups=true&Signature=Signature

Response Sample

true

Note: GMO CLOUD AMERICA INC. does not make any guarantee with regard to the content of this manual and will not be held responsible for any damages resulting from customers or third parties.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk