共用方式為


ArmMachineLearningModelFactory.MachineLearningEnvironmentVersionProperties Method

Definition

Overloads

MachineLearningEnvironmentVersionProperties(String, IDictionary<String, String>, IDictionary<String,String>, AutoDeleteSetting, Nullable<Boolean>, Nullable<Boolean>, Nullable<AutoRebuildSetting>, MachineLearningBuildContext, String, Nullable<MachineLearningEnvironmentType>, String, MachineLearningInferenceContainerProperties, IntellectualProperty, Nullable<MachineLearningOperatingSystemType>, Nullable<RegistryAssetProvisioningState>, String)

Initializes a new instance of MachineLearningEnvironmentVersionProperties.

MachineLearningEnvironmentVersionProperties(String, IDictionary<String, String>, IDictionary<String,String>, Nullable<Boolean>, Nullable<Boolean>, Nullable<MachineLearningEnvironmentType>, String, String, MachineLearningBuildContext, Nullable<MachineLearningOperatingSystemType>, MachineLearningInferenceContainerProperties, Nullable<AutoRebuildSetting>, Nullable<RegistryAssetProvisioningState>, String)

Initializes a new instance of MachineLearningEnvironmentVersionProperties.

MachineLearningEnvironmentVersionProperties(String, IDictionary<String, String>, IDictionary<String,String>, AutoDeleteSetting, Nullable<Boolean>, Nullable<Boolean>, Nullable<AutoRebuildSetting>, MachineLearningBuildContext, String, Nullable<MachineLearningEnvironmentType>, String, MachineLearningInferenceContainerProperties, IntellectualProperty, Nullable<MachineLearningOperatingSystemType>, Nullable<RegistryAssetProvisioningState>, String)

Source:
ArmMachineLearningModelFactory.cs

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

MachineLearningEnvironmentVersionProperties(String, IDictionary<String, String>, IDictionary<String,String>, Nullable<Boolean>, Nullable<Boolean>, Nullable<MachineLearningEnvironmentType>, String, String, MachineLearningBuildContext, Nullable<MachineLearningOperatingSystemType>, MachineLearningInferenceContainerProperties, Nullable<AutoRebuildSetting>, Nullable<RegistryAssetProvisioningState>, String)

Initializes a new instance of MachineLearningEnvironmentVersionProperties.

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

Parameters

description
String

The asset description text.

tags
IDictionary<String,String>

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

properties
IDictionary<String,String>

The asset property dictionary.

isArchived
Nullable<Boolean>

Is the asset archived?.

isAnonymous
Nullable<Boolean>

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

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" />

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" />

build
MachineLearningBuildContext

Configuration settings for Docker build context.

osType
Nullable<MachineLearningOperatingSystemType>

The OS type of the environment.

inferenceConfig
MachineLearningInferenceContainerProperties

Defines configuration specific to inference.

autoRebuild
Nullable<AutoRebuildSetting>

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

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