| ||
detail: element | attribute | value |
Data Structure { "typeId": "com.tintri.api.rest.v310.dto.domain.beans.generic.FileObject", "path": <String>, "snapshotPath": <String>, "protocol": 'NFS' | 'SMB' | 'ASM' | 'UNKNOWN', } |
Name | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
protocol | NFS | SMB | ASM | UNKNOWN | Data path protocol used for this file's operations.
All files in a given InstanceObject must have the same protocol.
|
Name | Type | Description |
---|---|---|
path | xsd:string | Path of the file. The path must be a normalized path, which does not contain '.' or '..' It must begin with '/'.
There should only be one file with a given path in a given InstanceObject. Notes on NFS: The path should not include the root /tintri folder. Also, in NFS the folder /.tintri is reserved for internal use and cannot be included in a file path. Notes on SMB: Paths should still be represented using '/' like Linux paths. If you use \, it may be accepted but as in Linux, this will not map to a directory operation, it will simply go in as part of a file name. SMB is not case sensitive, so paths must be unique ignoring case for SMB files. Valid examples: /myfile.dat /foo/bar/somefile.vhd Invalid examples: myfile.dat ./blah /foo/../bar.dat \bob\boo /.tintri/dooda |
snapshotPath | xsd:string | The snapshot path of a file is used to identify the file during the clone operation. This allows an integration to canonicalize the names of files in a snapshot at snapshot time. If omitted or "", the file will not be snapshotted when the object is snapshotted. If present, the snapshot path must be a valid absolute path string (same as the normal file path), and must be unique within the owning InstanceObject. |
| ||
detail: element | attribute | value |