Sdílet prostřednictvím


ArmMachineLearningModelFactory.OneLakeDatastore Method

Definition

Initializes a new instance of OneLakeDatastore.

public static Azure.ResourceManager.MachineLearning.Models.OneLakeDatastore OneLakeDatastore (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, Azure.ResourceManager.MachineLearning.Models.IntellectualProperty intellectualProperty = default, bool? isDefault = default, Azure.ResourceManager.MachineLearning.Models.OneLakeArtifact artifact = default, string endpoint = default, string oneLakeWorkspaceName = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningServiceDataAccessAuthIdentity? serviceDataAccessAuthIdentity = default);
static member OneLakeDatastore : string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.MachineLearning.Models.MachineLearningDatastoreCredentials * Azure.ResourceManager.MachineLearning.Models.IntellectualProperty * Nullable<bool> * Azure.ResourceManager.MachineLearning.Models.OneLakeArtifact * string * string * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningServiceDataAccessAuthIdentity> -> Azure.ResourceManager.MachineLearning.Models.OneLakeDatastore
Public Shared Function OneLakeDatastore (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 intellectualProperty As IntellectualProperty = Nothing, Optional isDefault As Nullable(Of Boolean) = Nothing, Optional artifact As OneLakeArtifact = Nothing, Optional endpoint As String = Nothing, Optional oneLakeWorkspaceName As String = Nothing, Optional serviceDataAccessAuthIdentity As Nullable(Of MachineLearningServiceDataAccessAuthIdentity) = Nothing) As OneLakeDatastore

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.

intellectualProperty
IntellectualProperty

Intellectual Property details.

isDefault
Nullable<Boolean>

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

artifact
OneLakeArtifact

[Required] OneLake artifact backing the datastore. Please note OneLakeArtifact 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 LakeHouseArtifact.

endpoint
String

OneLake endpoint to use for the datastore.

oneLakeWorkspaceName
String

[Required] OneLake workspace name.

serviceDataAccessAuthIdentity
Nullable<MachineLearningServiceDataAccessAuthIdentity>

Indicates which identity to use to authenticate service data access to customer's storage.

Returns

A new OneLakeDatastore instance for mocking.

Applies to