Aracılığıyla paylaş


BuildContext Class

Definition

Configuration settings for Docker build context

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.BuildContextTypeConverter))]
public class BuildContext : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IBuildContext
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.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.Api20220501.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()

Applies to