Get Guest Local Filesystem
Returns details of the local file systems in the guest operating system.
Request
URLURL
Path Parameters
Path Parameters
Identifier of the virtual machine. The parameter must be an identifier for the resource type: VirtualMachine.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Response
Response BodyResponse Body
map
of
VmGuestLocalFilesystemInfo
of type application/json
Information about the local file systems configured in the guest operating system.
{
"capacity": 0,
"filesystem": "string",
"free_space": 0,
"mappings": [
{
"disk": "string"
}
]
}
Total capacity of the file system, in bytes.
Free space on the file system, in bytes.
Filesystem type, if known. For example, ext3 or NTFS. set if VMware Tools reports a value.
VirtualDisks backing the guest partition, if known. This field is optional because it was added in a newer version than its parent node.
Errors
com.vmware.vapi.std.errors.error : if the system reports an error while responding to the request.
com.vmware.vapi.std.errors.service_unavailable : if VMware Tools is not running. if VMware Tools has not provided any data.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-deprecated-method: get
x-vmw-doc-deprecated-path: /rest/vcenter/vm/{vm}/guest/local-filesystem
x-vmw-doc-operation: get