Vslm V Storage Object Manager Vslm Rename V Storage Object
Rename a virtual storage object.
VslmSyncFault is thrown when the underlying rename operation of the FCD succeeded, however, there was a issue with syncing the datastore or FCD. Rename operation of the FCD is not idempotent, implying, any attempt to rename the FCD with it's current name would result in a error. The sync fault can be ignored with the risk of Pandora DB having stale name, consequently, affecting the return of VslmListVStorageObjectForSpec and VslmRetrieveVStorageObjects APIs.
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 VslmVStorageObjectManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"VslmRenameVStorageObjectRequestType Object"
The ID of the virtual storage object to be renamed.
The new name for the virtual storage object.
No Content
FileFault: If an error occurs while renaming the virtual storage object.
NotFound: If the specified virtual storage object cannot be found.
InvalidDatastore: If the operation cannot be performed on the datastore.
VslmSyncFault: If an error occurs during datastore synchornization, implies the renameVStorageObject completed successfully, however, there was an exception during datastore synchornization.
VslmFault: If a VSLM internal server error occurred.
"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}/vslm/VslmVStorageObjectManager/{moId}/VslmRenameVStorageObject