CodeConfiguration interface
託管代理的程式碼部署配置。
屬性
| content_hash | 上傳代碼的 SHA-256 十六進位摘要。 由服務從 |
| dependency_resolution | 套件相依性如何在部署時被解決。 預設為 |
| entry_point | 進入點指令與程式碼執行的參數。 |
| runtime | 執行時代碼識別碼('python_3_14')。 |
屬性詳細資料
content_hash
上傳代碼的 SHA-256 十六進位摘要。 由服務從 x-ms-code-zip-sha256 請求標頭設定;回應時唯讀,請求有效載荷中從未接受。
content_hash?: string
屬性值
string
dependency_resolution
套件相依性如何在部署時被解決。 預設為 bundled,呼叫者會將所有相依整合到上傳的 zip 檔中,服務不會遠端建置。
remote_build 指示服務從上傳的 zip 中附帶的清單遠端建立相依關係。
dependency_resolution: CodeDependencyResolution
屬性值
entry_point
進入點指令與程式碼執行的參數。
entry_point: string[]
屬性值
string[]
runtime
執行時代碼識別碼('python_3_14')。
runtime: string
屬性值
string