CodeConfiguration interface

Code-based deployment configuration for a hosted agent.

Properties

content_hash

The SHA-256 hex digest of the uploaded code zip. Set by the service from the x-ms-code-zip-sha256 request header; read-only in responses and never accepted in request payloads.

dependency_resolution

How package dependencies are resolved at deployment time. Defaults to bundled, where the caller bundles all dependencies into the uploaded zip and the service performs no remote build. remote_build instructs the service to build dependencies remotely from the manifest included in the uploaded zip.

entry_point

The entry point command and arguments for the code execution.

runtime

The runtime identifier for code execution ('python_3_14').

Property Details

content_hash

The SHA-256 hex digest of the uploaded code zip. Set by the service from the x-ms-code-zip-sha256 request header; read-only in responses and never accepted in request payloads.

content_hash?: string

Property Value

string

dependency_resolution

How package dependencies are resolved at deployment time. Defaults to bundled, where the caller bundles all dependencies into the uploaded zip and the service performs no remote build. remote_build instructs the service to build dependencies remotely from the manifest included in the uploaded zip.

dependency_resolution: CodeDependencyResolution

Property Value

entry_point

The entry point command and arguments for the code execution.

entry_point: string[]

Property Value

string[]

runtime

The runtime identifier for code execution ('python_3_14').

runtime: string

Property Value

string