Datastore Namespace Manager Convert Namespace Path To Uuid Path
Convert the namespace path to the namespace UUID path.
Required privileges: System.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 DatastoreNamespaceManager/{moId}.
The vSphere release schema. The current specification covers vSphere 9.1.0.0 APIs.
Show optional properties
{
"namespaceUrl": "string"
}
{
"datacenter": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"namespaceUrl": "string"
}
The datacenter of the namespace path. Needs to be set when making the call to VC; ignored when the call is made to ESX.
Namespace URL of the form
[ds://]/vmfs/volumes/[datastore-uuid]/[directory-name]/...
the URL path with namespace object UUID, of the form
[ds://]/vmfs/volumes/[datastore-uuid]/[directory-uuid]/...
InvalidDatastore: if the given datastore is not supported by the DatastoreNamespaceManager
InvalidDatastorePath: if the given path is not a top-level directory
{
"_typeName": "string",
"faultCause": {
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
},
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
],
"datastore": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"name": "string"
}
The datastore that is invalid.
The name of the datastore that is invalid.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"namespaceUrl":"string"}' https://{api_host}/sdk/vim25/{release}/DatastoreNamespaceManager/{moId}/ConvertNamespacePathToUuidPath