Compartilhar via


ArmMachineLearningModelFactory.MachineLearningDatastoreProperties Method

Definition

Overloads

MachineLearningDatastoreProperties(String, IDictionary<String, String>, IDictionary<String,String>, MachineLearningDatastoreCredentials, String, IntellectualProperty, Nullable<Boolean>)

Initializes a new instance of MachineLearningDatastoreProperties.

MachineLearningDatastoreProperties(String, IDictionary<String, String>, IDictionary<String,String>, String, Nullable<Boolean>, MachineLearningDatastoreCredentials)

Initializes a new instance of MachineLearningDatastoreProperties.

MachineLearningDatastoreProperties(String, IDictionary<String, String>, IDictionary<String,String>, MachineLearningDatastoreCredentials, String, IntellectualProperty, Nullable<Boolean>)

Source:
ArmMachineLearningModelFactory.cs

Initializes a new instance of MachineLearningDatastoreProperties.

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningDatastoreProperties MachineLearningDatastoreProperties (string description = default, System.Collections.Generic.IDictionary<string,string> properties = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningDatastoreCredentials credentials = default, string datastoreType = "Unknown", Azure.ResourceManager.MachineLearning.Models.IntellectualProperty intellectualProperty = default, bool? isDefault = default);
static member MachineLearningDatastoreProperties : string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.MachineLearning.Models.MachineLearningDatastoreCredentials * string * Azure.ResourceManager.MachineLearning.Models.IntellectualProperty * Nullable<bool> -> Azure.ResourceManager.MachineLearning.Models.MachineLearningDatastoreProperties
Public Shared Function MachineLearningDatastoreProperties (Optional description As String = Nothing, Optional properties As IDictionary(Of String, String) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional credentials As MachineLearningDatastoreCredentials = Nothing, Optional datastoreType As String = "Unknown", Optional intellectualProperty As IntellectualProperty = Nothing, Optional isDefault As Nullable(Of Boolean) = Nothing) As MachineLearningDatastoreProperties

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.

credentials
MachineLearningDatastoreCredentials

[Required] Account credentials. Please note MachineLearningDatastoreCredentials is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MachineLearningAccountKeyDatastoreCredentials, MachineLearningCertificateDatastoreCredentials, KerberosKeytabCredentials, KerberosPasswordCredentials, MachineLearningNoneDatastoreCredentials, MachineLearningSasDatastoreCredentials and MachineLearningServicePrincipalDatastoreCredentials.

datastoreType
String

[Required] Storage type backing the datastore.

intellectualProperty
IntellectualProperty

Intellectual Property details.

isDefault
Nullable<Boolean>

Readonly property to indicate if datastore is the workspace default datastore.

Returns

A new MachineLearningDatastoreProperties instance for mocking.

Applies to

MachineLearningDatastoreProperties(String, IDictionary<String, String>, IDictionary<String,String>, String, Nullable<Boolean>, MachineLearningDatastoreCredentials)

Source:
ArmMachineLearningModelFactory.cs

Initializes a new instance of MachineLearningDatastoreProperties.

public static Azure.ResourceManager.MachineLearning.Models.MachineLearningDatastoreProperties MachineLearningDatastoreProperties (string description = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IDictionary<string,string> properties = default, string datastoreType = default, bool? isDefault = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningDatastoreCredentials credentials = default);
static member MachineLearningDatastoreProperties : string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * string * Nullable<bool> * Azure.ResourceManager.MachineLearning.Models.MachineLearningDatastoreCredentials -> Azure.ResourceManager.MachineLearning.Models.MachineLearningDatastoreProperties
Public Shared Function MachineLearningDatastoreProperties (Optional description As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional properties As IDictionary(Of String, String) = Nothing, Optional datastoreType As String = Nothing, Optional isDefault As Nullable(Of Boolean) = Nothing, Optional credentials As MachineLearningDatastoreCredentials = Nothing) As MachineLearningDatastoreProperties

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.

datastoreType
String

[Required] Storage type backing the datastore.

isDefault
Nullable<Boolean>

Readonly property to indicate if datastore is the workspace default datastore.

credentials
MachineLearningDatastoreCredentials

[Required] Account credentials. Please note MachineLearningDatastoreCredentials is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MachineLearningAccountKeyDatastoreCredentials, MachineLearningCertificateDatastoreCredentials, MachineLearningNoneDatastoreCredentials, MachineLearningSasDatastoreCredentials and MachineLearningServicePrincipalDatastoreCredentials.

Returns

A new MachineLearningDatastoreProperties instance for mocking.

Applies to