ArmMachineLearningModelFactory.MachineLearningBuildContext Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configuration settings for Docker build context.
public static Azure.ResourceManager.MachineLearning.Models.MachineLearningBuildContext MachineLearningBuildContext(Uri contextUri = default, string dockerfilePath = default);
static member MachineLearningBuildContext : Uri * string -> Azure.ResourceManager.MachineLearning.Models.MachineLearningBuildContext
Public Shared Function MachineLearningBuildContext (Optional contextUri As Uri = Nothing, Optional dockerfilePath As String = Nothing) As MachineLearningBuildContext
Parameters
- contextUri
- Uri
[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
- String
Path to the Dockerfile in the build context. <seealso href="https://docs.docker.com/engine/reference/builder/" />
Returns
A new MachineLearningBuildContext instance for mocking.