Delen via


MachineLearningBuildContext Class

Definition

Configuration settings for Docker build context.

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

Constructors

MachineLearningBuildContext(Uri)

Initializes a new instance of MachineLearningBuildContext.

Properties

ContextUri

[Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs. <seealso href="https://docs.docker.com/engine/reference/commandline/build/#extended-description" />

DockerfilePath

Path to the Dockerfile in the build context. <seealso href="https://docs.docker.com/engine/reference/builder/" />

Explicit Interface Implementations

IJsonModel<MachineLearningBuildContext>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MachineLearningBuildContext>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MachineLearningBuildContext>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MachineLearningBuildContext>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MachineLearningBuildContext>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to