Skip to content

Commit 9d98378

Browse files
author
Miltiadis Orfanos
committed
Sort attributes in cloudstack compute offerings
1 parent 2308d28 commit 9d98378

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

source/includes/cloudstack/_compute_offerings.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ curl -X GET \
1111

1212
# The above command returns JSON structured like this:
1313
```
14+
1415
```json
1516
{
1617
"data": [
@@ -44,12 +45,12 @@ Attributes |  
4445
---------- | -----
4546
`id`<br/>*UUID* | The id of the compute offering
4647
`name`<br/>*string* | The name of the compute offering
47-
`memoryInMB`<br/>*int* | The amount of provisioned memory in MB
48-
`cpuCount`<br/>*int* | The number of vCPUs available to the created [instance](#cloudstack-instances)
49-
`custom`<br/>*boolean* | If true, the `cpuCount` and `memoryInMB` fields will be missing from the response and will be required on [instance create](#cloudstack-create-an-instance)
5048
`availableCpuCountValues`<br/>*Array[integer]* | The list of valid cpu counts when used in the [create instance operation](#cloudstack-create-an-instance). Only present for custom offerings
5149
`availableMemoryInMBValues`<br/>*Array[integer]* | The list of valid amounts of memory (in MB) that can be used in the [create instance operation](#cloudstack-create-an-instance). Only present for custom offerings
50+
`cpuCount`<br/>*int* | The number of vCPUs available to the created [instance](#cloudstack-instances)
51+
`custom`<br/>*boolean* | If true, the `cpuCount` and `memoryInMB` fields will be missing from the response and will be required on [instance create](#cloudstack-create-an-instance)
5252
`maxMemoryInMBToCpuRatio`<br/>*integer* | The maximum ratio of memory (in MB) to number of CPU of an [instance](#cloudstack-instances) created with this offering. Only present for custom offerings.
53+
`memoryInMB`<br/>*int* | The amount of provisioned memory in MB
5354

5455
#### Retrieve a compute offering
5556

@@ -60,6 +61,7 @@ curl -X GET \
6061

6162
# The above command returns JSON structured like this:
6263
```
64+
6365
```json
6466
{
6567
"data": {

0 commit comments

Comments
 (0)