The id and contents keys are mutually exclusive, and exactly
one of them must be set.
When id is set it must be the id of an existing file. In this case,
when path is also set, the path of the existing file is updated.
When contents is set, path is also required, and a new file will
be created with the given contents which will be available at the given
path in the VM.
Input data for a single uploaded file.
The
id
andcontents
keys are mutually exclusive, and exactly one of them must be set.When
id
is set it must be the id of an existing file. In this case, whenpath
is also set, the path of the existing file is updated.When
contents
is set,path
is also required, and a new file will be created with the given contents which will be available at the given path in the VM.