Update Azure Storage Profile

Update Azure Storage Profile

Update Azure storage profile

Request
URI
PATCH
https://api.mgmt.cloud.vmware.com//iaas/api/storage-profiles-azure/{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
StorageProfileAzureSpecification of type(s) application/json
Optional
{
    "storageAccountId": "aaa82",
    "supportsEncryption": false,
    "regionId": "31186",
    "name": "string",
    "description": "string",
    "defaultItem": true,
    "diskType": "Standard_LRS / Premium_LRS",
    "dataDiskCaching": "None / ReadOnly / ReadWrite",
    "osDiskCaching": "None / ReadOnly / ReadWrite",
    "tags": [
        {
            "value": "string",
            "key": "string"
        }
    ]
}
string
storageAccountId
Optional

Id of a storage account where in the disk is placed.

boolean
supportsEncryption
Optional

Indicates whether this storage policy should support encryption or not.

string
regionId
Required

The If of 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
description
Optional

A human-friendly description.

boolean
defaultItem
Optional

Indicates if a storage policy contains default storage properties.

string
diskType
Optional

Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed.

string
dataDiskCaching
Optional

Indicates the caching mechanism for additional disk.

string
osDiskCaching
Optional

Indicates the caching mechanism for OS disk. Default policy for OS disks is Read/Write.

array of Tag
tags
Optional

A set of tag keys and optional values for a storage policy which define set of specifications for creating a disk.

Responses
200

successful operation

Returns AzureStorageProfile of type(s) application/json
{
    "owner": "csp@vmware.com",
    "supportsEncryption": false,
    "externalRegionId": "uswest",
    "description": "my-description",
    "dataDiskCaching": "None / ReadOnly / ReadWrite",
    "orgId": "9e49",
    "tags": [
        {
            "value": "string",
            "key": "string"
        }
    ],
    "organizationId": "deprecated",
    "createdAt": "2012-09-27",
    "name": "my-name",
    "id": "9e49",
    "defaultItem": false,
    "diskType": "Standard_LRS / Premium_LRS",
    "osDiskCaching": "None / ReadOnly / ReadWrite",
    "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
description
Optional

A human-friendly description.

string
dataDiskCaching
Optional

Indicates the caching mechanism for additional 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
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
id
Required

The id of this resource instance

boolean
defaultItem
Required

Indicates if a storage profile contains default storage properties.

string
diskType
Optional

Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed.

string
osDiskCaching
Optional

Indicates the caching mechanism for OS disk. Default policy for OS disks is Read/Write.

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