Sdílet prostřednictvím


ArmMachineLearningModelFactory.MachineLearningEnvironmentVersionProperties Method

Definition

Initializes a new instance of MachineLearningEnvironmentVersionProperties.

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningEnvironmentVersionProperties MachineLearningEnvironmentVersionProperties (string description = default, System.Collections.Generic.IDictionary<string,string> properties = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.MachineLearning.Models.AutoDeleteSetting autoDeleteSetting = default, bool? isAnonymous = default, bool? isArchived = default, Azure.ResourceManager.MachineLearning.Models.AutoRebuildSetting? autoRebuild = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningBuildContext build = default, string condaFile = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningEnvironmentType? environmentType = default, string image = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningInferenceContainerProperties inferenceConfig = default, Azure.ResourceManager.MachineLearning.Models.IntellectualProperty intellectualProperty = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningOperatingSystemType? osType = default, Azure.ResourceManager.MachineLearning.Models.RegistryAssetProvisioningState? provisioningState = default, string stage = default);
static member MachineLearningEnvironmentVersionProperties : string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.MachineLearning.Models.AutoDeleteSetting * Nullable<bool> * Nullable<bool> * Nullable<Azure.ResourceManager.MachineLearning.Models.AutoRebuildSetting> * Azure.ResourceManager.MachineLearning.Models.MachineLearningBuildContext * string * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningEnvironmentType> * string * Azure.ResourceManager.MachineLearning.Models.MachineLearningInferenceContainerProperties * Azure.ResourceManager.MachineLearning.Models.IntellectualProperty * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningOperatingSystemType> * Nullable<Azure.ResourceManager.MachineLearning.Models.RegistryAssetProvisioningState> * string -> Azure.ResourceManager.MachineLearning.Models.MachineLearningEnvironmentVersionProperties
Public Shared Function MachineLearningEnvironmentVersionProperties (Optional description As String = Nothing, Optional properties As IDictionary(Of String, String) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional autoDeleteSetting As AutoDeleteSetting = Nothing, Optional isAnonymous As Nullable(Of Boolean) = Nothing, Optional isArchived As Nullable(Of Boolean) = Nothing, Optional autoRebuild As Nullable(Of AutoRebuildSetting) = Nothing, Optional build As MachineLearningBuildContext = Nothing, Optional condaFile As String = Nothing, Optional environmentType As Nullable(Of MachineLearningEnvironmentType) = Nothing, Optional image As String = Nothing, Optional inferenceConfig As MachineLearningInferenceContainerProperties = Nothing, Optional intellectualProperty As IntellectualProperty = Nothing, Optional osType As Nullable(Of MachineLearningOperatingSystemType) = Nothing, Optional provisioningState As Nullable(Of RegistryAssetProvisioningState) = Nothing, Optional stage As String = Nothing) As MachineLearningEnvironmentVersionProperties

Parameters

description
String

The asset description text.

properties
IDictionary<String,String>

The asset property dictionary.

tags
IDictionary<String,String>

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

autoDeleteSetting
AutoDeleteSetting

Specifies the lifecycle setting of managed data asset.

isAnonymous
Nullable<Boolean>

If the name version are system generated (anonymous registration). For types where Stage is defined, when Stage is provided it will be used to populate IsAnonymous.

isArchived
Nullable<Boolean>

Is the asset archived? For types where Stage is defined, when Stage is provided it will be used to populate IsArchived.

autoRebuild
Nullable<AutoRebuildSetting>

Defines if image needs to be rebuilt based on base image changes.

build
MachineLearningBuildContext

Configuration settings for Docker build context.

condaFile
String

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

environmentType
Nullable<MachineLearningEnvironmentType>

Environment type is either user managed or curated by the Azure ML service <see href="https://docs.microsoft.com/en-us/azure/machine-learning/resource-curated-environments" />

image
String

Name of the image that will be used for the environment. <seealso href="https://docs.microsoft.com/en-us/azure/machine-learning/how-to-deploy-custom-docker-image#use-a-custom-base-image" />

inferenceConfig
MachineLearningInferenceContainerProperties

Defines configuration specific to inference.

intellectualProperty
IntellectualProperty

Intellectual Property details. Used if environment is an Intellectual Property.

osType
Nullable<MachineLearningOperatingSystemType>

The OS type of the environment.

provisioningState
Nullable<RegistryAssetProvisioningState>

Provisioning state for the environment version.

stage
String

Stage in the environment lifecycle assigned to this environment.

Returns

A new MachineLearningEnvironmentVersionProperties instance for mocking.

Applies to