Scripting Object - VcDatastoreNamespaceManager

Scripting-object corresponding to
DatastoreNamespaceManager
Attribute of
VcServiceContent

Scripting Object Description

The DatastoreNamespaceManager managed object exposes APIs for manipulating top-level directories of datastores which do not support the traditional top-level directory creation.

Attributes

Name Type Description
idString

@since Unknown
morefVcManagedObjectReference

returns the ManagedObjectReference of this ManagedObject @since Unknown
sdkConnectionVcSdkConnection

@since Unknown
sdkIdString

@since Unknown
typeStringDeprecated.

Returns the name for the this managed object's vim type @since Unknown
vimHostVcSdkConnection

@since Unknown
vimIdString

@since Unknown
vimTypeString

@since Unknown

Methods

Methods defined in this Scripting Object
_getRef, convertNamespacePathToUuidPath, createDirectory, createTrigger, deleteDirectory

deleteDirectory

Deletes the given top-level directory from a datastore.

The top-level directory must be a full path of the form

/vmfs/volumes/[datastore-uuid]/[directory-uuid]
as returned by {@link vim.DatastoreNamespaceManager#CreateDirectory}. @since vSphere API 5.5

Parameters

NameTypeDescription
arg0VcDatacenter

arg1String


Return Value

Type Description
None

_getRef

@since Unknown

Parameters

NameTypeDescription
None

Return Value

Type Description
VcManagedObjectReference

createTrigger

@since Unknown

Parameters

NameTypeDescription
timeoutNumber

filterString

conditionString

filterToSyncString


Return Value

Type Description
Trigger

convertNamespacePathToUuidPath

Convert the namespace path to the namespace UUID path. @since vSphere API 6.5

Parameters

NameTypeDescription
arg0VcDatacenter

arg1String


Return Value

Type Description
String

createDirectory

Creates a top-level directory on the given datastore, using the given user display name hint and opaque storage policy.

The optional given display name hint may be used by the underlying storage system for user display purposes, but it may not be relied upon for future directory references.

Clients must use the returned stable path for future directory references. @since vSphere API 5.5

Parameters

NameTypeDescription
arg0VcDatastore

arg1String

arg2String


Return Value

Type Description
String