全部產品
Search
文件中心

CloudOps Orchestration Service:ACS::ECS::DownloadFile

更新時間:Jul 01, 2024

動作描述

到ECS執行個體中下載檔案

文法

Action: ACS::ECS::DownloadFile
Properties:
 regionId: String
 instanceId: String
 sourceType: String
 sourcePath: String
 tokenInfo: String
 destinationDir: String
 timeout: Number
 fileOwner: String
 fileGroup: String
 fileMode: String
 overwrite: Boolean

屬性

屬性名稱

描述

類型

是否必填

預設值

約束

regionId

地區ID

String

{{ ACS::RegionId }}

instanceId

ECS執行個體ID

String

sourceType

檔案儲存體方式

String

sourcePath

您必須指定一個用於隱藏檔的URL

String

tokenInfo

指定一個token來下載檔案,只有從GitHub下載檔案時會用到

String

""

destinationDir

檔案在執行個體中的下載目錄

String

timeout

檔案下載逾時時間

Number

600

fileOwner

檔案所有者

String

""

fileGroup

檔案所屬組

String

""

fileMode

檔案許可權

String

""

overwrite

覆蓋已存在的檔案

Boolean

True

傳回值

傳回值名稱

描述

類型

commandOutput

String

詳情

ACS::ECS::DownloadFile詳情