Share via


EnvironmentVersionProperties Class

Definition

Environment version details.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.EnvironmentVersionPropertiesTypeConverter))]
public class EnvironmentVersionProperties : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IEnvironmentVersionProperties, Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.EnvironmentVersionPropertiesTypeConverter))>]
type EnvironmentVersionProperties = class
    interface IEnvironmentVersionProperties
    interface IJsonSerializable
    interface IAssetBase
    interface IResourceBase
    interface IValidates
Public Class EnvironmentVersionProperties
Implements IEnvironmentVersionProperties, IValidates
Inheritance
EnvironmentVersionProperties
Attributes
Implements

Constructors

EnvironmentVersionProperties()

Creates an new EnvironmentVersionProperties instance.

Properties

BuildContextUri

[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

BuildDockerfilePath

Path to the Dockerfile in the build context. https://docs.docker.com/engine/reference/builder/

CondaFile

Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages. https://repo2docker.readthedocs.io/en/latest/config_files.html#environment-yml-install-a-conda-environment

Description

The asset description text.

EnvironmentType

Environment type is either user managed or curated by the Azure ML service https://learn.microsoft.com/en-us/azure/machine-learning/resource-curated-environments

Image

Name of the image that will be used for the environment. https://learn.microsoft.com/en-us/azure/machine-learning/how-to-deploy-custom-docker-image#use-a-custom-base-image

IsAnonymou

If the name version are system generated (anonymous registration).

IsArchived

Is the asset archived?

LivenessRoutePath

[Required] The path for the route.

LivenessRoutePort

[Required] The port for the route.

OSType

The OS type of the environment.

Property

The asset property dictionary.

ReadinessRoutePath

[Required] The path for the route.

ReadinessRoutePort

[Required] The port for the route.

ScoringRoutePath

[Required] The path for the route.

ScoringRoutePort

[Required] The port for the route.

Tag

Tag dictionary. Tags can be added, removed, and updated.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EnvironmentVersionProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EnvironmentVersionProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IEnvironmentVersionProperties.

FromJsonString(String)

Creates a new instance of EnvironmentVersionProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of EnvironmentVersionProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to