共用方式為


MachineLearningDatastoreProperties Constructor

Definition

Initializes a new instance of MachineLearningDatastoreProperties.

public MachineLearningDatastoreProperties (Azure.ResourceManager.MachineLearning.Models.MachineLearningDatastoreCredentials credentials);
new Azure.ResourceManager.MachineLearning.Models.MachineLearningDatastoreProperties : Azure.ResourceManager.MachineLearning.Models.MachineLearningDatastoreCredentials -> Azure.ResourceManager.MachineLearning.Models.MachineLearningDatastoreProperties
Public Sub New (credentials As MachineLearningDatastoreCredentials)

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.

Exceptions

credentials is null.

Applies to