Update Storage Profile Associations

Update Storage Profile Associations

Update storage profile associations

Request
URI
PATCH
https://vra-interop-222-139.lvn.broadcom.net/iaas/api/storage-profiles/{id}/storage-profile-associations
COPY
Path Parameters
string
id
Required

The ID of the storage profile.

Query Parameters
string
apiVersion
Optional
Constraints: default: 2021-07-15

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


Request Body

UpdateStorageProfileAssociationsSpecification instance

Required
{
    "regionId": "31186",
    "storageProfileAssociations": [
        {
            "requestType": "CREATE",
            "associations": [
                {
                    "dataStoreId": "a42d016e-6b0e-4265-9881-692e90b76684",
                    "priority": "3"
                }
            ]
        }
    ]
}
string
regionId
Required

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

array of object
storageProfileAssociations
Required

Defines a specification of Storage Profile datastore associations.

Authentication
This operation uses the following authentication methods.
Responses
200

Successful operation

Returns StorageProfileAssociationsResponse of type(s) application/json
"StorageProfileAssociationsResponse Object"
object
associationsLink
Required

Represents an HTTP url


400

invalid request - bad data

Returns ServiceErrorResponse of type(s) application/json
"ServiceErrorResponse Object"
string
message
Optional

message

string
messageId
Optional

messageId

array of string
stackTrace
Optional

stackTrace

integer As int32 As int32
statusCode
Optional

statusCode

integer As int32 As int32
errorCode
Optional

errorCode

array of string
details
Optional

details

string
serverErrorId
Optional

serverErrorId

string
documentKind
Optional

documentKind

integer As int32 As int32
internalErrorCode
Optional

internalErrorCode


403

Forbidden

Returns ServiceErrorResponse of type(s) application/json
"ServiceErrorResponse Object"
string
message
Optional

message

string
messageId
Optional

messageId

array of string
stackTrace
Optional

stackTrace

integer As int32 As int32
statusCode
Optional

statusCode

integer As int32 As int32
errorCode
Optional

errorCode

array of string
details
Optional

details

string
serverErrorId
Optional

serverErrorId

string
documentKind
Optional

documentKind

integer As int32 As int32
internalErrorCode
Optional

internalErrorCode


Code Samples
COPY
                    curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"regionId:"string","storageProfileAssociations":["object"]}'