UploadFileToVm

Uploads files to VM instances. For example,
UploadFileToVm vmInstanceUuids=358310f6b6b23b9f9bdcf8d34b03719f fileContent=ZWNobyBoZWxsb3dvcmxkCg\u003d\u003d remotePath=/var/lib/zstack/uploadfile
Name Description Optional Valid Values Starting Version
vmInstanceUuids The VM instances that the files are uploaded to. 5.2.0
fileContent The files to be uploaded, which are encoded using Base64. 5.2.0
remotePath The path that the files are uploaded to. The path includes the file name. 5.2.0
userTags The user tags. For more information, see CreateUserTag. Yes 4.7.0
systemTags The system tags. For more information, see CreateSystemTag. Yes 4.7.0
timeout Yes
CLI Command Manual | 5.5.30 | ZStack Cloud · ZCF | ZStack Resource Center