ComputeRuntime Class

Spark compute runtime configuration.

Inheritance
azure.ai.ml.entities._mixins.RestTranslatableMixin
ComputeRuntime

Constructor

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

Keyword-Only Parameters

Name Description
spark_runtime_version

Spark runtime version.

Examples

Creating a ComputeRuntime object.


   from azure.ai.ml.entities import ComputeRuntime

   compute_runtime = ComputeRuntime(spark_runtime_version="3.2.0")