Dela via


MonitorServerlessSparkCompute Constructor

Definition

Initializes a new instance of MonitorServerlessSparkCompute.

public MonitorServerlessSparkCompute (Azure.ResourceManager.MachineLearning.Models.MonitorComputeIdentityBase computeIdentity, string instanceType, string runtimeVersion);
new Azure.ResourceManager.MachineLearning.Models.MonitorServerlessSparkCompute : Azure.ResourceManager.MachineLearning.Models.MonitorComputeIdentityBase * string * string -> Azure.ResourceManager.MachineLearning.Models.MonitorServerlessSparkCompute
Public Sub New (computeIdentity As MonitorComputeIdentityBase, instanceType As String, runtimeVersion As String)

Parameters

computeIdentity
MonitorComputeIdentityBase

[Required] The identity scheme leveraged to by the spark jobs running on serverless Spark. Please note MonitorComputeIdentityBase is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AmlTokenComputeIdentity and ManagedComputeIdentity.

instanceType
String

[Required] The instance type running the Spark job.

runtimeVersion
String

[Required] The Spark runtime version.

Exceptions

computeIdentity, instanceType or runtimeVersion is null.

Applies to