Volume Types¶
List volume types¶
$volumeTypes = $service->volumeTypeList();
foreach ($volumeTypes as $volumeType) {
/** @param $volumeType OpenCloud\Volume\Resource\VolumeType */
}
Describe a volume type¶
If you know the ID of a volume type, use the volumeType method to
retrieve information on it:
$volumeType = $service->volumeType(1);
A volume type has three attributes:
idthe volume type identifiernameits nameextra_specsadditional information for the provider