Managed Object - FileManager

Property of
ServiceContent
See also
Datacenter
Since
VI API 2.5


Managed Object Description

Properties

Name Type Description
None

Methods

Methods defined in this Managed Object
ChangeOwner, CopyDatastoreFile_Task, DeleteDatastoreFile_Task, MakeDirectory, MoveDatastoreFile_Task

ChangeOwner

Required Privileges
None
Since
vSphere API 4.0

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the FileManager used to make the method call.
name Pxsd:string

Since vSphere API 4.0
datacenter* PManagedObjectReference
to a Datacenter

Since vSphere API 4.0
owner Pxsd:string

Since vSphere API 4.0
*Need not be set PRequired privilege - see tooltip for details

Return Value

Type Description
None

Faults

Type Description
FileFault
InvalidDatastore
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
UserNotFound

Events

Type
None



CopyDatastoreFile_Task

Required Privileges
None

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the FileManager used to make the method call.
sourceName Pxsd:string

Since VI API 2.5
sourceDatacenter* PManagedObjectReference
to a Datacenter

Since VI API 2.5
destinationName Pxsd:string

Since VI API 2.5
destinationDatacenter* PManagedObjectReference
to a Datacenter

Since VI API 2.5
force* Pxsd:boolean

Since VI API 2.5
*Need not be set PRequired privilege - see tooltip for details

Return Value

Type Description
ManagedObjectReference
to a ConverterTask

Faults

Type Description
FileFault
InvalidDatastore
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None



DeleteDatastoreFile_Task

Required Privileges
None

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the FileManager used to make the method call.
name Pxsd:string

Since VI API 2.5
datacenter* PManagedObjectReference
to a Datacenter

Since VI API 2.5
*Need not be set PRequired privilege - see tooltip for details

Return Value

Type Description
ManagedObjectReference
to a ConverterTask

Faults

Type Description
FileFault
InvalidDatastore
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None



MakeDirectory

Required Privileges
None

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the FileManager used to make the method call.
name Pxsd:string

Since VI API 2.5
datacenter* PManagedObjectReference
to a Datacenter

Since VI API 2.5
createParentDirectories* Pxsd:boolean

Since VI API 2.5
*Need not be set PRequired privilege - see tooltip for details

Return Value

Type Description
None

Faults

Type Description
FileFault
InvalidDatastore
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None



MoveDatastoreFile_Task

Required Privileges
None

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the FileManager used to make the method call.
sourceName Pxsd:string

Since VI API 2.5
sourceDatacenter* PManagedObjectReference
to a Datacenter

Since VI API 2.5
destinationName Pxsd:string

Since VI API 2.5
destinationDatacenter* PManagedObjectReference
to a Datacenter

Since VI API 2.5
force* Pxsd:boolean

Since VI API 2.5
*Need not be set PRequired privilege - see tooltip for details

Return Value

Type Description
ManagedObjectReference
to a ConverterTask

Faults

Type Description
FileFault
InvalidDatastore
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None