Datacenter Get Vm Folder

Datacenter Get Vm Folder

A reference to the folder hierarchy that contains VirtualMachine virtual machine templates (identified by the template property, and VirtualApp objects for this datacenter.

Note that a VirtualApp that is a child of a ResourcePool may also be visible in this folder. VirtualApp objects can be nested, but only the parent VirtualApp can be visible in the folder.

This folder is guaranteed to exist.

Required privileges: System.View

Request
URI
GET
https://{vcenter-host}/sdk/vim25/{release}/Datacenter/{moId}/vmFolder
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the property attaches; the serialized managed object reference for a request has the form moType/moId, in this case Datacenter/{moId}.

string
release
Required

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


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns MoRefFolder of type(s) application/json
This response body class contains all of the following: MoRefManagedEntity
{
    "_typeName": "string",
    "type": "string",
    "value": "string"
}