MachineLearningAzureFileDatastore Constructor

Definition

Initializes a new instance of MachineLearningAzureFileDatastore.

public MachineLearningAzureFileDatastore (Azure.ResourceManager.MachineLearning.Models.MachineLearningDatastoreCredentials credentials, string accountName, string fileShareName);
new Azure.ResourceManager.MachineLearning.Models.MachineLearningAzureFileDatastore : Azure.ResourceManager.MachineLearning.Models.MachineLearningDatastoreCredentials * string * string -> Azure.ResourceManager.MachineLearning.Models.MachineLearningAzureFileDatastore
Public Sub New (credentials As MachineLearningDatastoreCredentials, accountName As String, fileShareName 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, MachineLearningNoneDatastoreCredentials, MachineLearningSasDatastoreCredentials and MachineLearningServicePrincipalDatastoreCredentials.

accountName
String

[Required] Storage account name.

fileShareName
String

[Required] The name of the Azure file share that the datastore points to.

Exceptions

credentials, accountName or fileShareName is null.

Applies to