Update Storage Profile Associations
Update storage profile associations
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
UpdateStorageProfileAssociationsSpecification instance
{
"regionId": "31186",
"storageProfileAssociations": [
{
"requestType": "CREATE",
"associations": [
{
"dataStoreId": "a42d016e-6b0e-4265-9881-692e90b76684",
"priority": "3"
}
]
}
]
}
The Id of the region that is associated with the storage class.
Defines a specification of Storage Class datastore associations.
Successful operation
{
"associationsLink": {
"rel": "self",
"href": "https://<hostname>/iaas/machines/32we"
}
}
Represents an HTTP url
invalid request - bad data
{
"message": "string",
"messageId": "string",
"stackTrace": [
"string"
],
"statusCode": 0,
"errorCode": 0,
"details": [
"string"
],
"serverErrorId": "string",
"documentKind": "string",
"internalErrorCode": 0
}
message
messageId
stackTrace
statusCode
errorCode
details
serverErrorId
documentKind
internalErrorCode
Forbidden
{
"message": "string",
"messageId": "string",
"stackTrace": [
"string"
],
"statusCode": 0,
"errorCode": 0,
"details": [
"string"
],
"serverErrorId": "string",
"documentKind": "string",
"internalErrorCode": 0
}
message
messageId
stackTrace
statusCode
errorCode
details
serverErrorId
documentKind
internalErrorCode
curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"regionId":"string","storageProfileAssociations":["object"]}'