Create Aws Storage Profile

Create Aws Storage Profile

Create AWS storage profile

Request
URI
POST
https://api.mgmt.cloud.vmware.com//iaas/api/storage-profiles-aws
COPY
Query Parameters
string
apiVersion
Optional

The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about


Request Body

StorageProfileAwsSpecification instance

StorageProfileAwsSpecification of type(s) application/json
Required
{
    "deviceType": "ebs / instance-store",
    "volumeType": "gp2 / io1 / sc1 / st1 / standard",
    "supportsEncryption": false,
    "regionId": "31186",
    "name": "string",
    "iops": "2000",
    "description": "string",
    "defaultItem": true,
    "tags": [
        {
            "value": "string",
            "key": "string"
        }
    ]
}
string
deviceType
Required

Indicates the type of storage.

string
volumeType
Optional

Indicates the type of volume associated with type of storage.

boolean
supportsEncryption
Optional

Indicates whether this storage profile supports encryption or not.

string
regionId
Required

A link to the region that is associated with the storage profile.

string
name
Required

A human-friendly name used as an identifier in APIs that support this option.

string
iops
Optional

Indicates maximum I/O operations per second in range(1-20,000).

string
description
Optional

A human-friendly description.

boolean
defaultItem
Optional

Indicates if a storage profile is default or not.

array of Tag
tags
Optional

A list of tags that represent the capabilities of this storage profile

Responses
201

successful operation

Returns AwsStorageProfile of type(s) application/json
{
    "owner": "csp@vmware.com",
    "deviceType": "ebs / instance-store",
    "volumeType": "gp2 / io1 / sc1 / st1 / standard",
    "supportsEncryption": false,
    "externalRegionId": "us-east-1",
    "description": "my-description",
    "orgId": "9e49",
    "tags": [
        {
            "value": "string",
            "key": "string"
        }
    ],
    "organizationId": "deprecated",
    "createdAt": "2012-09-27",
    "name": "my-name",
    "iops": "2000",
    "id": "9e49",
    "defaultItem": false,
    "updatedAt": "2012-09-27"
}
string
owner
Optional

Email of the user that owns the entity.

string
deviceType
Optional

Indicates the type of storage device.

string
volumeType
Optional

Indicates the type of volume associated with type of storage device.

object
_links
Required

HATEOAS of the entity

boolean
supportsEncryption
Optional

Indicates whether this storage profile supports encryption or not.

string
externalRegionId
Optional

The id of the region for which this profile is defined

string
description
Optional

A human-friendly description.

string
orgId
Optional

The id of the organization this entity belongs to.

array of Tag
tags
Optional

A list of tags that represent the capabilities of this storage profile

string
organizationId
Optional

This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.

string
createdAt
Optional

Date when the entity was created. The date is in ISO 8601 and UTC.

string
name
Optional

A human-friendly name used as an identifier in APIs that support this option.

string
iops
Optional

Indicates maximum I/O operations per second in range(1-20,000).

string
id
Required

The id of this resource instance

boolean
defaultItem
Required

Indicates whether this storage profile is default or not..

string
updatedAt
Optional

Date when the entity was last updated. The date is ISO 8601 and UTC.


400

Invalid Request - bad data

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure