Datastore Access
(/folder)
An HTTP request for datastore access uses
the following syntax:
http-method
http[s]://server/folder[[/path]?dcPath=path[&dsName=name]]
http-method
| One of the methods
GET ,
HEAD ,
PUT , or
DELETE .
|
http:// or https://
| Access protocol (standard
access or secure access).
|
server
| ESXi or vCenter Server
target system. The server value can be an IP address or a DNS name.
|
/ folder | Specifies datastore
access on an ESXi or vCenter Server system. The datastore URL can include the
following optional elements:
|
The following examples illustrate the syntax. If
the target server is an ESXi system,
dcPath=DCPATH&
is optional
and defaults to
dcPath=ha-datacenter
.
Example
| Description
|
---|---|
| Directory listing of
known datacenters on this server.
|
| Directory listing of all
datastores available at the specified datacenter.
|
| Top-level directory
listing of the datastore.
|
| Directory listing of all
files in a datastore directory.
|
| Access individual files.
|