Create V Sphere Storage Profile

Create V Sphere Storage Profile

Create vSphere storage profile

Request
URI
POST
https://api.mgmt.cloud.vmware.com//iaas/api/storage-profiles-vsphere
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
StorageProfileVsphereSpecification of type(s) application/json
Optional
{
    "supportsEncryption": false,
    "sharesLevel": "low / normal / high / custom",
    "description": "string",
    "diskMode": "undefined / independent-persistent / independent-nonpersistent",
    "storagePolicyId": "6b59743af31d",
    "tags": [
        {
            "value": "string",
            "key": "string"
        }
    ],
    "shares": "2000",
    "provisioningType": "thin / thick / eagerZeroedThick",
    "regionId": "31186",
    "limitIops": "1000",
    "name": "string",
    "defaultItem": true,
    "datastoreId": "08d28"
}
boolean
supportsEncryption
Optional

Indicates whether this storage profile supports encryption or not.

string
sharesLevel
Optional

Shares are specified as High, Normal, Low or Custom and these values specify share values with a 4:2:1 ratio, respectively.

string
description
Optional

A human-friendly description.

string
diskMode
Optional

Type of mode for the disk

string
storagePolicyId
Optional

Id of the vSphere Storage Policy to be applied.

array of Tag
tags
Optional

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

string
shares
Optional

A specific number of shares assigned to each virtual machine.

string
provisioningType
Optional

Type of provisioning policy for the disk.

string
regionId
Required

The Id of the region that is associated with the storage profile.

string
limitIops
Optional

The upper bound for the I/O operations per second allocated for each virtual disk.

string
name
Required

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

boolean
defaultItem
Required

Indicates if a storage profile acts as a default storage profile for a disk.

string
datastoreId
Optional

Id of the vSphere Datastore for placing disk and VM.

Responses
201

successful operation

Returns VsphereStorageProfile of type(s) application/json
{
    "owner": "[email protected]",
    "supportsEncryption": false,
    "externalRegionId": "Datacenter:datacenter-2",
    "sharesLevel": "low / normal / high / custom",
    "description": "my-description",
    "diskMode": "undefined / independent-persistent / independent-nonpersistent",
    "orgId": "9e49",
    "tags": [
        {
            "value": "string",
            "key": "string"
        }
    ],
    "organizationId": "deprecated",
    "shares": "2000",
    "createdAt": "2012-09-27",
    "provisioningType": "thin / thick / eagerZeroedThick",
    "limitIops": "1000",
    "name": "my-name",
    "id": "9e49",
    "defaultItem": false,
    "updatedAt": "2012-09-27"
}
string
owner
Optional

Email of the user that owns the entity.

object
_links
Required

HATEOAS of the entity

boolean
supportsEncryption
Optional

Indicates whether this storage profile should support encryption or not.

string
externalRegionId
Optional

The id of the region for which this profile is defined

string
sharesLevel
Optional

Shares level are specified as High, Normal, Low or Custom.

string
description
Optional

A human-friendly description.

string
diskMode
Optional

Type of mode for the disk

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
shares
Optional

A specific number of shares assigned to each virtual machine.

string
createdAt
Optional

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

string
provisioningType
Optional

Type of format for the disk.

string
limitIops
Optional

The upper bound for the I/O operations per second allocated for each disk.

string
name
Optional

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

string
id
Required

The id of this resource instance

boolean
defaultItem
Required

Indicates if a storage profile contains default storage properties.

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