Create Cloud Storage Type

Details

API Details
Name

Create Cloud Storage Type

Description
MethodPOST
URIv1/tenants/tenantId/clouds/cloudId/regions/cloudRegionId/storageTypes
CloudCenter Release
  • Introduced in CloudCenter 4.7.0
Notes

API Notes:

Cloud Storage Types Notes:

  • At least one valid entry in the storage attribute is required for this API call to succeed.
  • The id attribute is required for each cloudStorageType listed in the mappings array.
ESB Headeraction: create.tenants.tenantId.clouds.cloudId.regions.cloudRegionId.storageTypes

Example

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"

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
  • DescriptionUnique, system-generated identifier for the tenant organization. A tenant admin must belong to this tenant to invoke any APIs for this tenant. See Add Sub-Tenants > Tenant ID and Tenant Name Dependency.

  • Type: String

Required

cloudId
  • Description: Unique, system-generated identifier for a cloud representation (see View Deployment Environments for additional details)

  • Type: String

Required

cloudRegionId
  • Description: Unique, system-generated identifier for a cloud region
  • Type: String

Required

type
  • DescriptionThe type of resource
  • Type: String
name
  • DescriptionThe name assigned for this CloudCenter ResourceValid characters are letters, numbers, underscores, and spaces.

  • Type: String

description
  • DescriptionA brief description for this CloudCenter Resource.

  • Type: String
 costPerMonth 
  • Description: Identifies the monthly billing cost for the storage type.
  • Type: Float
minVolumeSize
  • Description: Identifies the minimum supported volume size for the storage type.
  • Type: Integer
maxVolumeSize
  • Description: Identifies the maximum supported volume size for the storage type.
  • Type: Integer
provisionedIOPS
  • Description: Identifies if the storage type supports IOPS.
  • Type: Boolean
    • true = The storage type supports IOPS.
    • false = Default. The storage type does not support IOPS.
maxIOPS
  • Description: Identifies the maximum number of Input/Output Operations Per Second (allowed IOPS limit). If provisionedIOPS = true, then you must provide this limit for the storage type.
  • Type: Integer
 iopsCostPerMonth  
  • Description: Identifies the monthly billing IOPS cost for the storage type. Storage has two costs associated with it:
    • The storage size cost
    • The IOPS dependency cost — if provisionedIOPS = true, then based on the provisioned IOPS cost is calculated.
  • Type: Float
maxThroughput
  • Description: Identifies maximum throughput rate for the storage device. It is a property of the storage type and is not used in the storage cost calculation.
  • Type: Integer

Response Attributes

id
  • DescriptionUnique, system-generated identifier for this CloudCenter Resource.

  • Type: String

resource
  • Description: Unique URL to access this resource
  • Type: String
name
  • DescriptionThe name assigned for this CloudCenter ResourceValid characters are letters, numbers, underscores, and spaces.

  • Type: String

description
  • DescriptionA brief description for this CloudCenter Resource.

  • Type: String
type
  • DescriptionThe type of resource
  • Type: String
regionId
  • DescriptionUnique, system-generated identifier for the cloud region 
  • Type: String
 costPerMonth 
  • Description: Identifies the monthly billing cost for the storage type.
  • Type: Float
minVolumeSize
  • Description: Identifies the minimum supported volume size for the storage type.
  • Type: Integer
maxVolumeSize
  • Description: Identifies the maximum supported volume size for the storage type.
  • Type: Integer
maxIOPS
  • Description: Identifies the maximum number of Input/Output Operations Per Second (allowed IOPS limit). If provisionedIOPS = true, then you must provide this limit for the storage type.
  • Type: Integer
maxThroughput
  • Description: Identifies maximum throughput rate for the storage device. It is a property of the storage type and is not used in the storage cost calculation.
  • Type: Integer
provisionedIOPS
  • Description: Identifies if the storage type supports IOPS.
  • Type: Boolean
    • true = The storage type supports IOPS.
    • false = Default. The storage type does not support IOPS.
 iopsCostPerMonth  
  • Description: Identifies the monthly billing IOPS cost for the storage type. Storage has two costs associated with it:
    • The storage size cost
    • The IOPS dependency cost — if provisionedIOPS = true, then based on the provisioned IOPS cost is calculated.
  • Type: Float