Datastore Namespace Manager Convert Namespace Path To Uuid Path

Datastore Namespace Manager Convert Namespace Path To Uuid Path

Convert the namespace path to the namespace UUID path.

Required privileges: System.View

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/DatastoreNamespaceManager/{moId}/ConvertNamespacePathToUuidPath
COPY
Path Parameters
string
moId
Required

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}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.


Request Body
Required
{
    "datacenter": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "namespaceUrl": "string"
}
datacenter
Optional

Reference to an instance of the Datacenter managed object.

string
namespaceUrl
Required

Namesapce URL of the form

[ds://]/vmfs/volumes/[datastore-uuid]/[directory-name]/...

Authentication
This operation uses the following authentication methods.
Responses
200

the URL path with namespace object UUID, of the form

[ds://]/vmfs/volumes/[datastore-uuid]/[directory-uuid]/...

Returns string of type(s) application/json
Operation doesn't return any data structure

500

InvalidDatastore: if the given datastore is not supported by the DatastoreNamespaceManager

InvalidDatastorePath: if the given path is not a top-level directory

Returns InvalidDatastore of type(s) application/json
This response body class contains all of the following: VimFault
{
    "_typeName": "string",
    "faultCause": "MethodFault Object",
    "faultMessage": [
        {
            "_typeName": "string",
            "key": "string",
            "arg": [
                {
                    "_typeName": "string",
                    "key": "string",
                    "value": {
                        "_typeName": "string"
                    }
                }
            ],
            "message": "string"
        }
    ],
    "datastore": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "name": "string"
}
datastore
Optional

Reference to an instance of the Datastore managed object.

string
name
Optional

The name of the datastore that is invalid.