你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmMachineLearningModelFactory.HdfsDatastore 方法

定义

初始化 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

参数

description
String

资产说明文本。

properties
IDictionary<String,String>

资产属性字典。

tags
IDictionary<String,String>

标记字典。 可以添加、删除和更新标记。

credentials
MachineLearningDatastoreCredentials

[必需]帐户凭据。 请注意 MachineLearningDatastoreCredentials , 是基类。 根据方案,可能需要在此处分配基类的派生类,或者需要将此属性强制转换为可能的派生类之一。 可用的派生类包括 MachineLearningAccountKeyDatastoreCredentials、、MachineLearningCertificateDatastoreCredentialsKerberosKeytabCredentialsKerberosPasswordCredentialsMachineLearningNoneDatastoreCredentialsMachineLearningSasDatastoreCredentialsMachineLearningServicePrincipalDatastoreCredentials

intellectualProperty
IntellectualProperty

知识产权详细信息。

isDefault
Nullable<Boolean>

只读属性,用于指示数据存储是否为工作区默认数据存储。

hdfsServerCertificate
String

HDFS 服务器的 TLS 证书。 必须是 base64 编码的字符串。 如果选择“Https”协议,则为必需。

nameNodeAddress
String

[必需]IP 地址或 DNS 主机名。

protocol
String

用于 (Https/Http) 与存储帐户通信的协议。

返回

用于模拟的新 HdfsDatastore 实例。

适用于