ArmMachineLearningModelFactory.MachineLearningCodeVersionProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
MachineLearningCodeVersionProperties(String, IDictionary<String, String>, IDictionary<String,String>, Nullable<Boolean>, Nullable<Boolean>, Uri, Nullable<RegistryAssetProvisioningState>)
Initializes a new instance of MachineLearningCodeVersionProperties.
public static Azure.ResourceManager.MachineLearning.Models.MachineLearningCodeVersionProperties MachineLearningCodeVersionProperties (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, Uri codeUri = default, Azure.ResourceManager.MachineLearning.Models.RegistryAssetProvisioningState? provisioningState = default);
static member MachineLearningCodeVersionProperties : string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * Nullable<bool> * Nullable<bool> * Uri * Nullable<Azure.ResourceManager.MachineLearning.Models.RegistryAssetProvisioningState> -> Azure.ResourceManager.MachineLearning.Models.MachineLearningCodeVersionProperties
Public Shared Function MachineLearningCodeVersionProperties (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 codeUri As Uri = Nothing, Optional provisioningState As Nullable(Of RegistryAssetProvisioningState) = Nothing) As MachineLearningCodeVersionProperties
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.
- codeUri
- Uri
Uri where code is located.
- provisioningState
- Nullable<RegistryAssetProvisioningState>
Provisioning state for the code version.
Returns
A new MachineLearningCodeVersionProperties instance for mocking.
Applies to
MachineLearningCodeVersionProperties(String, IDictionary<String, String>, IDictionary<String,String>, AutoDeleteSetting, Nullable<Boolean>, Nullable<Boolean>, Uri, Nullable<RegistryAssetProvisioningState>)
Initializes a new instance of MachineLearningCodeVersionProperties.
public static Azure.ResourceManager.MachineLearning.Models.MachineLearningCodeVersionProperties MachineLearningCodeVersionProperties (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, Uri codeUri = default, Azure.ResourceManager.MachineLearning.Models.RegistryAssetProvisioningState? provisioningState = default);
static member MachineLearningCodeVersionProperties : string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.MachineLearning.Models.AutoDeleteSetting * Nullable<bool> * Nullable<bool> * Uri * Nullable<Azure.ResourceManager.MachineLearning.Models.RegistryAssetProvisioningState> -> Azure.ResourceManager.MachineLearning.Models.MachineLearningCodeVersionProperties
Public Shared Function MachineLearningCodeVersionProperties (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 codeUri As Uri = Nothing, Optional provisioningState As Nullable(Of RegistryAssetProvisioningState) = Nothing) As MachineLearningCodeVersionProperties
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.
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.
Is the asset archived? For types where Stage is defined, when Stage is provided it will be used to populate IsArchived.
- codeUri
- Uri
Uri where code is located.
- provisioningState
- Nullable<RegistryAssetProvisioningState>
Provisioning state for the code version.
Returns
A new MachineLearningCodeVersionProperties instance for mocking.
Applies to
Azure SDK for .NET