ComputeRuntime Class

Spark compute runtime configuration.

Constructor

Python
ComputeRuntime(*, spark_runtime_version: str | None = None)

Keyword-Only Parameters

Name Description
spark_runtime_version

Spark runtime version.

Examples

Creating a ComputeRuntime object.

Python

   from azure.ai.ml.entities import ComputeRuntime

   compute_runtime = ComputeRuntime(spark_runtime_version="3.3.0")