BuildContext Class
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
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.BuildContextTypeConverter))]
public class BuildContext : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IBuildContext
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.BuildContextTypeConverter))>]
type BuildContext = class
interface IBuildContext
interface IJsonSerializable
Public Class BuildContext
Implements IBuildContext
- Inheritance
-
BuildContext
- Attributes
- Implements
Constructors
BuildContext() |
Creates an new BuildContext instance. |
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. https://docs.docker.com/engine/reference/commandline/build/#extended-description |
DockerfilePath |
Path to the Dockerfile in the build context. https://docs.docker.com/engine/reference/builder/ |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of BuildContext. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of BuildContext. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IBuildContext. |
FromJsonString(String) |
Creates a new instance of BuildContext, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of BuildContext into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |