Sdílet prostřednictvím


ArmMachineLearningModelFactory.HdfsDatastore Method

Definition

Initializes a new instance of HdfsDatastore.

public static Azure.ResourceManager.MachineLearning.Models.HdfsDatastore HdfsDatastore (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, string hdfsServerCertificate = default, string nameNodeAddress = default, string protocol = default);
static member HdfsDatastore : 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> * string * string * string -> Azure.ResourceManager.MachineLearning.Models.HdfsDatastore
Public Shared Function HdfsDatastore (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 hdfsServerCertificate As String = Nothing, Optional nameNodeAddress As String = Nothing, Optional protocol As String = Nothing) As HdfsDatastore

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.

hdfsServerCertificate
String

The TLS cert of the HDFS server. Needs to be a base64 encoded string. Required if "Https" protocol is selected.

nameNodeAddress
String

[Required] IP Address or DNS HostName.

protocol
String

Protocol used to communicate with the storage account (Https/Http).

Returns

A new HdfsDatastore instance for mocking.

Applies to