Share via


SparkResourceConfiguration Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.SparkResourceConfigurationTypeConverter))]
public class SparkResourceConfiguration : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ISparkResourceConfiguration
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.SparkResourceConfigurationTypeConverter))>]
type SparkResourceConfiguration = class
    interface ISparkResourceConfiguration
    interface IJsonSerializable
Public Class SparkResourceConfiguration
Implements ISparkResourceConfiguration
Inheritance
SparkResourceConfiguration
Attributes
Implements

Constructors

SparkResourceConfiguration()

Creates an new SparkResourceConfiguration instance.

Properties

InstanceType

Optional type of VM used as supported by the compute target.

RuntimeVersion

Version of spark runtime used for the job.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SparkResourceConfiguration.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SparkResourceConfiguration.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ISparkResourceConfiguration.

FromJsonString(String)

Creates a new instance of SparkResourceConfiguration, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of SparkResourceConfiguration into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to