Update V Sphere Storage Profile
Update vSphere storage profile
The ID of the storage profile.
The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
StorageProfileVsphereSpecification instance
Show optional properties
{
"name": "string",
"defaultItem": true,
"regionId": "31186"
}
{
"name": "string",
"description": "string",
"defaultItem": true,
"supportsEncryption": false,
"tags": [
{
"key": "tier",
"value": "silver"
}
],
"datastoreId": "08d28",
"storagePolicyId": "6b59743af31d",
"provisioningType": "thin / thick / eagerZeroedThick",
"limitIops": "1000",
"diskMode": "undefined / independent-persistent / independent-nonpersistent",
"regionId": "31186",
"diskType": "standard / firstClass",
"priority": 2,
"storageFilterType": "MANUAL",
"tagsToMatch": [
{
"key": "tag1",
"value": "value1"
}
],
"computeHostId": "8c4ba7aa-3520-344d-b118-4a2108aaabb8",
"storageProfileAssociations": [
{
"requestType": "CREATE",
"associations": [
{
"dataStoreId": "a42d016e-6b0e-4265-9881-692e90b76684",
"priority": "3"
}
]
}
]
}
A human-friendly name used as an identifier in APIs that support this option.
A human-friendly description.
Indicates if a storage profile acts as a default storage profile for a disk.
Indicates whether this storage profile supports encryption or not.
A list of tags that represent the capabilities of this storage profile.
Id of the vSphere Datastore for placing disk and VM. Deprecated, instead use 'storageProfileAssociations' parameter to associate datastores with the storage profile.
Id of the vSphere Storage Policy to be applied.
Type of provisioning policy for the disk.
The upper bound for the I/O operations per second allocated for each virtual disk.
Type of mode for the disk
The Id of the region that is associated with the storage profile.
Disk types are specified as
Standard - Simple vSphere virtual disks which cannot be managed independently without an attached VM.
First Class - Improved version of standard virtual disks, designed to be fully mananged independent storage objects.
Empty value is considered as Standard
Defines the priority of the storage profile with the highest priority being 0. Defaults to the value of 1.
Defines filter type for adding storage objects (data stores) to the storage profile. Defaults to INCLUDE_ALL.
A set of tag keys and optional values to be set on data stores to be included in this storage profile based on the storageFilterType: TAG_BASED.
The compute host Id to be associated with the storage profile.
Defines a specification of Storage Profile datastore associations.
Successful operation
"VsphereStorageProfile Object"
The id of this resource instance
Date when the entity was created. The date is in ISO 8601 and UTC.
Date when the entity was last updated. The date is ISO 8601 and UTC.
Email of the user or display name of the group that owns the entity.
Type of a owner(user/ad_group) that owns the entity.
The id of the organization this entity belongs to.
HATEOAS of the entity
A human-friendly name used as an identifier in APIs that support this option.
A human-friendly description.
Indicates if a storage profile contains default storage properties.
Indicates whether this storage profile should support encryption or not.
A list of tags that represent the capabilities of this storage profile
Type of format for the disk.
The upper bound for the I/O operations per second allocated for each disk.
Type of mode for the disk
The id of the region for which this profile is defined
Id of the cloud account this storage profile belongs to.
Disk types are specified as Standard - Simple vSphere virtual disks which cannot be managed independently without an attached VM. First Class - Improved version of standard virtual disks, designed to be fully mananged independent storage objects. Empty value is considered as Standard
Defines the priority of the storage profile with the highest priority being 0. Defaults to the value of 1.
Defines filter type for adding storage objects (datastores) to the storage profile. Defaults to INCLUDE_ALL.
The compute host Id to be associated with the storage profile.
A set of tag keys and optional values to be set on datastores to be included in this storage profile based on the storageFilterType: TAG_BASED.
invalid request - bad data
"ServiceErrorResponse Object"
message
messageId
stackTrace
statusCode
errorCode
details
serverErrorId
documentKind
internalErrorCode
Forbidden
"ServiceErrorResponse Object"
message
messageId
stackTrace
statusCode
errorCode
details
serverErrorId
documentKind
internalErrorCode
curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"defaultItem:"boolean","name:"string","regionId:"string"}'