List of available configurations for volumes
When creating data volume or upsizing a volume you need to provide the desired volume size. Different cloud providers offer various configurations in different data centers. Therefore, before creating or editing a volume, you need to verify the available configurations.
Use this endpoint as a reference for available volume configurations.
To search configurations for data volumes specify isBootable: false and needed filters in parameters: provider, location, data center, volume size, volume type.
To search configurations for system volume resize specify isBootable: true and vmId. You can also set the volumeGbMin to filter configurations that have not enough size.
When you find an appropriate configuration, provide its parameters in the endpoint for creating or resizing a volume.
Request
- Base URLhttps://api.emma.ms/external
- AuthHTTP bearer
Query parameters
If the volume is bootable
ID of the virtual machine
ID of the cloud provider
ID of the geographic location
ID of the cloud provider's data center
Minimum volume size of the compute instance in gigabytes
Volume type of the data volume
Page number
Query size
Unused, created for future API extention. Will be ignored if used.
Response
Successful operation
Example response
{
"content": [
{
"providerId": 5,
"providerName": "GCP",
"locationId": 6,
"locationName": "London",
"dataCenterId": "aws-us-west-1",
"dataCenterName": "europe-west2",
"volumeGb": 500,
"volumeType": "ssd",
"cost": {
"unit": "MONTHS",
"currency": "EUR",
"pricePerUnit": 5.479952
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.