Replace Storage Profile

Replace Storage Profile

Replace storage profile with a given id

Request
URI
PUT
https://{api_host}/iaas/api/storage-profiles/{id}
COPY
Path Parameters
string
id
Required

The ID of the storage profile.

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

StorageProfileSpecification

StorageProfileSpecification of type(s) application/json
Required
{
    "name": "string",
    "description": "string",
    "defaultItem": false,
    "supportsEncryption": false,
    "tags": [
        {
            "key": "string",
            "value": "string"
        }
    ],
    "regionId": "31186"
}
string
name
Required

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

string
description
Optional

A human-friendly description.

boolean
defaultItem
Required

Indicates if a storage profile is a default profile.

boolean
supportsEncryption
Optional

Indicates whether this storage profile supports encryption or not.

array of Tag
tags
Optional

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

object
diskProperties
Optional

Map of storage properties that are to be applied on disk while provisioning.

object
diskTargetProperties
Optional

Map of storage placements to know where the disk is provisioned.

string
regionId
Required

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

Responses
200

successful operation

Returns StorageProfile of type(s) application/json
{
    "id": "9e49",
    "createdAt": "2012-09-27",
    "updatedAt": "2012-09-27",
    "owner": "[email protected]",
    "organizationId": "deprecated",
    "orgId": "9e49",
    "name": "my-name",
    "description": "my-description",
    "defaultItem": false,
    "supportsEncryption": false,
    "tags": [
        {
            "key": "string",
            "value": "string"
        }
    ],
    "externalRegionId": "us-east-1"
}
string
id
Required

The id of this resource instance

string
createdAt
Optional

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

string
updatedAt
Optional

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

string
owner
Optional

Email of the user that owns the entity.

string
organizationId
Optional

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

string
orgId
Optional

The id of the organization this entity belongs to.

object
_links
Required

HATEOAS of the entity

string
name
Optional

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

string
description
Optional

A human-friendly description.

boolean
defaultItem
Required

Indicates if a storage profile is default profile or not.

boolean
supportsEncryption
Optional

Indicates whether this storage profile supports encryption or not.

array of Tag
tags
Optional

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

object
diskProperties
Optional

Map of storage properties that are to be applied on disk while provisioning.

string
externalRegionId
Optional

The id of the region for which this profile is defined


400

Invalid Request - bad data

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure