全部產品
Search
文件中心

CloudOps Orchestration Service:ACS::ESS::DownloadFileAndRunCommand

更新時間:Jul 01, 2024

動作描述

下載檔案到執行個體並執行命令

文法

Action: ACS::ESS::DownloadFileAndRunCommand
Properties:
 regionId: String
 instanceId: String
 sourceType: String
 sourcePath: String
 tokenInfo: String
 destinationDir: String
 whetherSaveToFile: Boolean
 commandContent: String
 workingDir: String
 timeout: Number

屬性

屬性名稱

描述

類型

是否必填

預設值

約束

regionId

地區ID

String

{{ ACS::RegionId }}

instanceId

ECS執行個體ID

String

sourceType

檔案類型

String

sourcePath

選擇檔案

String

tokenInfo

GitHubToken

String

destinationDir

檔案儲存路徑

String

whetherSaveToFile

是否將內容下載到特定檔案

Boolean

True

commandContent

命令內容

String

最大長度 : 16384

workingDir

運行目錄

String

timeout

逾時時間

Number

600

傳回值

傳回值名稱

描述

類型

downloadFileCommandOutput

String

runCommandOutput

String

詳情

ACS::ESS::DownloadFileAndRunCommand詳情