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,调用者将所有依赖捆绑到上传的压缩包中,服务不进行远程构建。
remote_build 指示服务从上传的zip中包含的清单远程构建依赖。
dependency_resolution: CodeDependencyResolution
属性值
entry_point
进入点命令和代码执行的参数。
entry_point: string[]
属性值
string[]
runtime
代码执行的运行时标识符(“python_3_14”)。
runtime: string
属性值
string