Sms Storage Manager Query Drs Migration Capability For Performance
Deprecated as of SMS API 3.0, use QueryDrsMigrationCapabilityForPerformanceEx.
Query the provider to figure out whether Storage DRS should migrate VMDKs between the two given datastores.
Required privileges: StorageViews.View
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case SmsStorageManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"QueryDrsMigrationCapabilityForPerformanceRequestType Object"
Reference to the source Datastore
Reference to the destination Datastore
true if VM migration is recommended from srcDatastore to dstDatastore. false if VM migration is not recommended from srcDatastore to dstDatastore.
NotFound: if the specified entity does not exist.
QueryExecutionFault: if an error is encountered while processing the query request.
"MethodFault Object"
Fault which is the cause of this fault.
Message which has details about the error Message can also contain a key to message catalog which can be used to generate better localized messages.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/sms/SmsStorageManager/{moId}/QueryDrsMigrationCapabilityForPerformance