- About Veeam Backup & Replication REST API
- Overview
- How To
- Changelog
- Login
- Service
- Services
- Credentials
- getGet All Credentials
- postAdd Credentials Record
- getGet Credentials Record
- putEdit Credentials Record
- delRemove Credentials Record
- postChange Password
- postChange Linux Private Key
- postChange Linux Root Password
- getGet All Cloud Credentials
- postAdd Cloud Credentials Record
- postGet Verification Code
- postRegister Azure AD Application
- getGet Cloud Credentials Record
- putEdit Cloud Credentials Record
- delRemove Cloud Credentials Record
- postChange Secret Key
- postChange Certificate
- getGet All Helper Appliances
- postAdd or Edit Helper Appliance
- getGet Helper Appliance
- delRemove Helper Appliance
- Encryption
- Connection
- Cloud Browser
- Inventory Browser
- Traffic Rules
- General Options
- Configuration Backup
- Managed Servers
- Repositories
- getGet All Repositories
- postAdd Repository
- getGet All Repository States
- getGet Repository
- putEdit Repository
- delRemove Repository
- getGet All Scale-Out Backup Repositories
- postAdd Scale-Out Backup Repository
- getGet Scale-Out Backup Repository
- putEdit Scale-Out Backup Repository
- delRemove Scale-Out Backup Repository
- postEnable Sealed Mode
- postDisable Sealed Mode
- postEnable Maintenance Mode
- postDisable Maintenance Mode
- Proxies
- Jobs
- Backups
- Backup Objects
- Object Restore Points
- Restore
- Sessions
- Agents
- Automation
- postImport Jobs
- postExport Jobs
- postImport Credentials
- postExport Credentials
- postImport Cloud Credentials
- postExport Cloud Credentials
- postImport Proxies
- postExport Proxies
- postImport Servers
- postExport Servers
- postImport Repositories
- postExport Repositories
- postImport Encryption Passwords
- postExport Encryption Passwords
- getGet All Automation Sessions
- getGet Automation Session
- getGet Automation Session Logs
- postStop Automation Session
The Restore section defines paths and operations for performing restore.
In the current version, the REST API supports the following recovery operations:
- Instant Recovery of a VMware vSphere VM to VMware vSphere
- Entire VM restore of a VMware vSphere VM to VMware vSphere
- Restore of disks that will be registered as First Class Disks (FCD) — a type of virtual disks that can be managed independent of any VM.
Get All VM Mounts
The HTTP GET request to the /api/v1/restore/instantRecovery/vmware/vm
path allows you to get an array of VM mounts.
query Parameters
skip | integer <int32> Number of mounts to skip. |
limit | integer <int32> Maximum number of mounts to return. |
orderColumn | string (EInstantViVMRecoveryMountsFiltersOrderColumn) Sorts mounts by one of the mount parameters. |
orderAsc | boolean Sorts mounts in the ascending order by the |
stateFilter | string (EInstantRecoveryMountState) Filters mounts by mount state. |
header Parameters
x-api-version required | string Default: 1.1-rev0 Version and revision of the client REST API. Must be in the following format: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 404
- 500
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459",
- "state": "Failed",
- "spec": {
- "objectRestorePointId": "267bb0bf-ecd3-4a69-add1-b9a94bf6cb3c",
- "type": "OriginalLocation",
- "VmTagsRestoreEnabled": true,
- "secureRestore": {
- "enableAntivirusScan": true,
- "virusDetectionAction": "DisableNetwork",
- "enableEntireVolumeScan": true
}, - "nicsEnabled": true,
- "powerUp": true,
- "reason": "string"
}, - "vmName": "string",
- "errorMessage": "string"
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "skip": 0,
- "limit": 0
}
}
Start Instant Recovery
The HTTP POST request to the /api/v1/restore/instantRecovery/vmware/vm/
path allows you to start Instant Recovery of a VMware vSphere VM to VMware vSphere. You can recover a VM from the specified restore point to the original location with initial VM settings, or to any location but with different settings.
header Parameters
x-api-version required | string Default: 1.1-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
objectRestorePointId required | string <uuid> ID of the restore point. |
type required | string (EInstantVMRecoveryModeType) Restore mode. |
required | object (SecureRestoreSpec) Secure restore settings. |
VmTagsRestoreEnabled | boolean If true, Veeam Backup & Replication restores tags that were assigned to the original VM, and assign them to the restored VM. |
nicsEnabled | boolean If true, the restored VM is connected to the network. |
powerUp | boolean If true, Veeam Backup & Replication starts the restored VM on the target host. |
reason | string Reason for restoring the VM. |
Instant Recovery to VMware vSphere has been started.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "objectRestorePointId": "267bb0bf-ecd3-4a69-add1-b9a94bf6cb3c",
- "type": "OriginalLocation",
- "VmTagsRestoreEnabled": true,
- "secureRestore": {
- "enableAntivirusScan": true,
- "virusDetectionAction": "DisableNetwork",
- "enableEntireVolumeScan": true
}, - "nicsEnabled": true,
- "powerUp": true,
- "reason": "string"
}
- 201
- 400
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "activityId": "bdfd0655-55e6-45e6-8bbc-6ed31d3820b5",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0
}
Get VM Mount
The HTTP GET request to the /api/v1/restore/instantRecovery/vmware/vm/{mountId}
path allows you to get a VM mount that has the specified mountID
.
path Parameters
mountId required | string <uuid> Mount ID. |
header Parameters
x-api-version required | string Default: 1.1-rev0 Version and revision of the client REST API. Must be in the following format: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459",
- "state": "Failed",
- "spec": {
- "objectRestorePointId": "267bb0bf-ecd3-4a69-add1-b9a94bf6cb3c",
- "type": "OriginalLocation",
- "VmTagsRestoreEnabled": true,
- "secureRestore": {
- "enableAntivirusScan": true,
- "virusDetectionAction": "DisableNetwork",
- "enableEntireVolumeScan": true
}, - "nicsEnabled": true,
- "powerUp": true,
- "reason": "string"
}, - "vmName": "string",
- "errorMessage": "string"
}
Stop VM Publishing
The HTTP POST request to the /api/v1/restore/instantRecovery/vmware/vm/{mountId}/unmount
path allows you to stop publishing the recovered VM and remove it from the destination host.
path Parameters
mountId required | string <uuid> Mount ID. |
header Parameters
x-api-version required | string Default: 1.1-rev0 Version and revision of the client REST API. Must be in the following format: |
VM has been unpublished.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "activityId": "bdfd0655-55e6-45e6-8bbc-6ed31d3820b5",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0
}
Start VM Migration
The HTTP POST request to the /api/v1/restore/instantRecovery/vmware/vm/{mountId}/migrate
path allows you to start VM migration from the specified mount.
path Parameters
mountId required | string <uuid> Mount ID. |
header Parameters
x-api-version required | string Default: 1.1-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
required | object (VmwareObjectModel) VMware vSphere object. |
object (VmwareObjectModel) VMware vSphere object. | |
object (VmwareObjectModel) VMware vSphere object. | |
object (VmwareObjectModel) VMware vSphere object. | |
sourceProxyIds | Array of strings <uuid> Array of source backup proxies. |
targetProxyIds | Array of strings <uuid> Array of target backup proxies. |
VeeamQMEnabled | boolean If true, the Veeam Quick Migration mechanism is used. Otherwise, Veeam Backup & Replication will use VMware vMotion for migration. |
DeleteSourceVmsFiles | boolean If true, Veeam Backup & Replication will delete source VM files upon successful migration. |
VM Migration has been started. To check the progress, track the session state
.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "destinationHost": {
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string"
}, - "resourcePool": {
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string"
}, - "folder": {
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string"
}, - "datastore": {
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string"
}, - "sourceProxyIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "targetProxyIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "VeeamQMEnabled": true,
- "DeleteSourceVmsFiles": true
}
- 200
- 400
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "activityId": "bdfd0655-55e6-45e6-8bbc-6ed31d3820b5",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0
}
Start Entire VM Restore
The HTTP POST request to the /api/v1/restore/vmRestore/vmware/
path allows you to perform entire VM restore of a VMware vSphere VM to VMware vSphere. You can restore a VM from the specified restore point to the original location with initial VM settings, or to any location but with different settings.
header Parameters
x-api-version required | string Default: 1.1-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
objectRestorePointId required | string <uuid> ID of the restore point. |
type required | string (EEntireVMRestoreModeType) Restore mode. |
object (RestoreProxySpec) Backup proxies for VM data transport. | |
object (SecureRestoreSpec) Secure restore settings. | |
powerUp | boolean If true, Veeam Backup & Replication starts the restored VM on the target host. |
reason | string Reason for restoring the VM. |
quickRollback | boolean If true, Veeam Backup & Replication performs incremental restore. |
Restore session has been created. To check the progress, track the session state
.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "objectRestorePointId": "267bb0bf-ecd3-4a69-add1-b9a94bf6cb3c",
- "type": "OriginalLocation",
- "restoreProxies": {
- "autoSelection": true,
- "proxyIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "secureRestore": {
- "enableAntivirusScan": true,
- "virusDetectionAction": "DisableNetwork",
- "enableEntireVolumeScan": true
}, - "powerUp": true,
- "reason": "string",
- "quickRollback": true
}
- 201
- 400
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "activityId": "bdfd0655-55e6-45e6-8bbc-6ed31d3820b5",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0
}
Get All FCD Mounts
The HTTP GET request to the /api/v1/restore/instantRecovery/vmware/fcd
path allows you to get an array of FCD mounts.
query Parameters
skip | integer <int32> Number of mounts to skip. |
limit | integer <int32> Maximum number of mounts to return. |
orderColumn | string (EVmwareFcdInstantRecoveryMountsFiltersOrderColumn) Sorts mounts by one of the mount parameters. |
orderAsc | boolean Sorts mounts in the ascending order by the |
stateFilter | string (EInstantRecoveryMountState) Filters mounts by mount state. |
header Parameters
x-api-version required | string Default: 1.1-rev0 Version and revision of the client REST API. Must be in the following format: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 404
- 500
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459",
- "state": "Failed",
- "spec": {
- "objectRestorePointId": "267bb0bf-ecd3-4a69-add1-b9a94bf6cb3c",
- "destinationCluster": {
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string"
}, - "disksMapping": [
- {
- "nameInBackup": "string",
- "mountedDiskName": "string",
- "registeredFcdName": "string"
}
], - "writeCache": {
- "redirectIsEnabled": true,
- "cacheDatastore": {
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string"
}, - "storagePolicy": {
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string"
}
}
}, - "errorMessage": "string",
- "mountedDisks": [
- {
- "nameInBackup": "string",
- "mountedDiskName": "string",
- "registeredFcdName": "string",
- "objectId": "string"
}
]
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "skip": 0,
- "limit": 0
}
}
Start Instant FCD Recovery
The HTTP POST request to the /api/v1/restore/instantRecovery/vmware/fcd/
path allows you to start Instant FCD Recovery from the restore point to the destination cluster.
Specify the destination cluster in the destinationCluster
parameter of the request body as a model of the VMware vSphere object. For details on how to get the cluster model, see Get VMware vSphere Server Objects.
header Parameters
x-api-version required | string Default: 1.1-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
objectRestorePointId required | string <uuid> ID of the restore point. |
required | object (VmwareObjectModel) VMware vSphere object. |
required | Array of objects (VmwareFcdInstantRecoveryDiskSpec) Array of disks for restore. |
object (VmwareFcdWriteCacheSpec) Write cache for recovered disks. |
Instant FCD Recovery has been started. To check the progress, track the session state
.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "objectRestorePointId": "267bb0bf-ecd3-4a69-add1-b9a94bf6cb3c",
- "destinationCluster": {
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string"
}, - "disksMapping": [
- {
- "nameInBackup": "string",
- "mountedDiskName": "string",
- "registeredFcdName": "string"
}
], - "writeCache": {
- "redirectIsEnabled": true,
- "cacheDatastore": {
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string"
}, - "storagePolicy": {
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string"
}
}
}
- 201
- 400
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "activityId": "bdfd0655-55e6-45e6-8bbc-6ed31d3820b5",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0
}
Get FCD Mount
The HTTP GET request to the /api/v1/restore/instantRecovery/vmware/fcd/{mountId}
path allows you to get information about the mounted vPower NFS datastore, such as restore session ID, mount state, instant FCD recovery settings and disks that will be recovered.
path Parameters
mountId required | string <uuid> Mount ID. |
header Parameters
x-api-version required | string Default: 1.1-rev0 Version and revision of the client REST API. Must be in the following format: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459",
- "state": "Failed",
- "spec": {
- "objectRestorePointId": "267bb0bf-ecd3-4a69-add1-b9a94bf6cb3c",
- "destinationCluster": {
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string"
}, - "disksMapping": [
- {
- "nameInBackup": "string",
- "mountedDiskName": "string",
- "registeredFcdName": "string"
}
], - "writeCache": {
- "redirectIsEnabled": true,
- "cacheDatastore": {
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string"
}, - "storagePolicy": {
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string"
}
}
}, - "errorMessage": "string",
- "mountedDisks": [
- {
- "nameInBackup": "string",
- "mountedDiskName": "string",
- "registeredFcdName": "string",
- "objectId": "string"
}
]
}
Stop FCD Publishing
The HTTP POST request to the /api/v1/restore/instantRecovery/vmware/fcd/{mountId}/dismount
path allows you to stop publishing the recovered FCDs and remove the disks from the datastore.
path Parameters
mountId required | string <uuid> Mount ID. |
header Parameters
x-api-version required | string Default: 1.1-rev0 Version and revision of the client REST API. Must be in the following format: |
Disks has been unmounted. To check the progress, track the session state
.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "activityId": "bdfd0655-55e6-45e6-8bbc-6ed31d3820b5",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0
}
Start FCD Migration
The HTTP POST request to the /api/v1/restore/instantRecovery/vmware/fcd/{mountId}/migrate
path allows you to start migration of FCDs from the specified mount.
In the request body specify FCD migration configuration:
- Disks for migration
- Target datastore
- Storage policy that will be applied to the migrated disks
path Parameters
mountId required | string <uuid> Mount ID. |
header Parameters
x-api-version required | string Default: 1.1-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
required | object (VmwareObjectModel) VMware vSphere object. |
mountedDiskNames | Array of strings Array of disks that will be migrated to the |
object (VmwareObjectModel) VMware vSphere object. |
FCD Migration has been started. To check the progress, track the session state
.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "mountedDiskNames": [
- "string"
], - "targetDatastore": {
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string"
}, - "storagePolicy": {
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string"
}
}
- 200
- 400
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "activityId": "bdfd0655-55e6-45e6-8bbc-6ed31d3820b5",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0
}