Share via


EnvironmentVersion Class

Definition

Azure Resource Manager resource envelope.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.EnvironmentVersionTypeConverter))]
public class EnvironmentVersion : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IEnvironmentVersion, Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.EnvironmentVersionTypeConverter))>]
type EnvironmentVersion = class
    interface IEnvironmentVersion
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class EnvironmentVersion
Implements IEnvironmentVersion, IValidates
Inheritance
EnvironmentVersion
Attributes
Implements

Constructors

EnvironmentVersion()

Creates an new EnvironmentVersion 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

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

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.

Name

The name of the resource

OSType

The OS type of the environment.

ReadinessRoutePath

[Required] The path for the route.

ReadinessRoutePort

[Required] The port for the route.

ResourceBaseProperty

The asset property dictionary.

ResourceGroupName

Gets the resource group name

ScoringRoutePath

[Required] The path for the route.

ScoringRoutePort

[Required] The port for the route.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

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

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EnvironmentVersion.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EnvironmentVersion.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of EnvironmentVersion into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to