Create Cloud Storage Type
Details
API Details | Release-Specific Information | |||
---|---|---|---|---|
CloudCenter Platform 4x | CloudCenter Suite 5x | |||
Name | Create Cloud Storage Type | |||
Description | Creates a new storage type for the specified cloud region | |||
Allowed Role(s) | WM_USER, WM_ADMIN | |||
Method | POST | |||
URI | v1/tenants/tenantId/clouds/cloudId/regions/cloudRegionId/storageTypes | cloudcenter-cloud-setup/api/v1/tenants/tenantId/clouds/cloudId/regions/cloudRegionId/storageTypes | ||
Sample Request | curl -k -X POST -H "Accept: application/json" -H "Content-Type: application/json" -u cliqradmin:40E45DBE57E35ECB "https://<HOST>:<PORT>/v1/tenants/1/clouds/1/regions/1/storageTypes" | curl -k -X POST -H "Accept: application/json" -H "Content-Type: application/json" -u cliqradmin:40E45DBE57E35ECB "https://<HOST>:<PORT>/cloudcenter-cloud-setup/api/v1/tenants/1/clouds/1/regions/1/storageTypes" | ||
Release |
| Modified in CloudCenter Suite 5.0.0 | ||
Notes |
| |||
Back To Links | CloudCenter Platform 4x API | Workload Manager API | ||
ESB Header | action: create.tenants.tenantId.clouds.cloudId.regions.cloudRegionId.storageTypes See the Enterprise Service Bus (ESB) section for additional context. | Not applicable |
Sample Request Body
{ "type": "st3", "name": "Storage Type 01", "description": "Storage Type 01", "costPerMonth": 1.32, "minVolumeSize": 1, "maxVolumeSize": 1600, "provisionedIOPS" : true, "maxIOPS": 1000, "iopsCostPerMonth": 0.34, "maxThroughput": 100, "regionId": 1 }
Response
{ "id": "5", "resource": "https://<HOST>:<PORT>/v1/tenants/1/clouds/1/region/1/storageTypes/5", "name": "Storage Type 01", "description": "Storage Type 01", "type": "st3", "regionId": "1", "costPerMonth": 1.32, "minVolumeSize": 1, "maxVolumeSize": 1600, "maxIOPS": 1000, "maxThroughput": 100, "provisionedIOPS": true, "iopsCostPerMonth": 0.34 }
Request Attributes
tenantId
Required |
cloudId
Required |
cloudRegionId
Required |
type
|
name
|
description
|
costPerMonth
|
minVolumeSize
|
maxVolumeSize
|
provisionedIOPS
|
maxIOPS
|
iopsCostPerMonth
|
maxThroughput
|
Response Attributes
id
|
resource
|
name
|
description
|
type
|
regionId
|
costPerMonth
|
minVolumeSize
|
maxVolumeSize
|
maxIOPS
|
maxThroughput
|
provisionedIOPS
|
iopsCostPerMonth
|