Share via


OneLakeDatastore Constructor

Definition

Initializes a new instance of OneLakeDatastore.

public OneLakeDatastore (Azure.ResourceManager.MachineLearning.Models.MachineLearningDatastoreCredentials credentials, Azure.ResourceManager.MachineLearning.Models.OneLakeArtifact artifact, string oneLakeWorkspaceName);
new Azure.ResourceManager.MachineLearning.Models.OneLakeDatastore : Azure.ResourceManager.MachineLearning.Models.MachineLearningDatastoreCredentials * Azure.ResourceManager.MachineLearning.Models.OneLakeArtifact * string -> Azure.ResourceManager.MachineLearning.Models.OneLakeDatastore
Public Sub New (credentials As MachineLearningDatastoreCredentials, artifact As OneLakeArtifact, oneLakeWorkspaceName As String)

Parameters

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.

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.

oneLakeWorkspaceName
String

[Required] OneLake workspace name.

Exceptions

credentials, artifact or oneLakeWorkspaceName is null.

Applies to