Dela via


SparkResourceConfiguration Class

Definition

The SparkResourceConfiguration.

public class SparkResourceConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MachineLearning.Models.SparkResourceConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MachineLearning.Models.SparkResourceConfiguration>
public class SparkResourceConfiguration
type SparkResourceConfiguration = class
    interface IJsonModel<SparkResourceConfiguration>
    interface IPersistableModel<SparkResourceConfiguration>
type SparkResourceConfiguration = class
Public Class SparkResourceConfiguration
Implements IJsonModel(Of SparkResourceConfiguration), IPersistableModel(Of SparkResourceConfiguration)
Public Class SparkResourceConfiguration
Inheritance
SparkResourceConfiguration
Implements

Constructors

SparkResourceConfiguration()

Initializes a new instance of SparkResourceConfiguration.

Properties

InstanceType

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

RuntimeVersion

Version of spark runtime used for the job.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SparkResourceConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SparkResourceConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SparkResourceConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SparkResourceConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SparkResourceConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to