Migrate Vdc Storage
Migrate all entities from selected source org VDC storage policy to target org VDC storage policy for the selected entity types.
Request
URI
POST
https://{api_host}/cloudapi/1.0.0/orgVdcStoragePolicies/{orgVdcStoragePolicyUrn}/migrateStorage
COPY
Path Parameters
string
orgVdcStoragePolicyUrn
Required
orgVdcStoragePolicyUrn
Request Body
VdcStorageMigrationParams
of type(s)
application/json
Required
{
"targetVdcStoragePolicy": {
"name": "string",
"id": "string"
},
"entityTypes": [
{
"name": "urn:vcloud:type:vmware:vm"
}
]
}
object
targetVdcStoragePolicy
Optional
Entity reference used to describe VCD entities
array of
object
entityTypes
Optional
List of entity types that should be migrated
Responses
202
The request have been accepted and the task to monitor the request is in the Location header.
Operation doesn't return any data structure
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/cloudapi/1.0.0/orgVdcStoragePolicies/{orgVdcStoragePolicyUrn}/migrateStorage
Availability
Added in 38.1
On This Page
Org Vdc Storage Policy Operations
GET
Get Org Vdc Storage Policies
GET
Get Org Vdc Storage Policy
GET
Get Org Vdc Storage Policy Supported Entity Types
POST
Migrate Vdc Storage
GET
Get Org Vdc Storage Policy Consumers
GET
Get Org Vdc Storage Policy Distributed Catalogs