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

ArmHDInsightContainersModelFactory.ClusterServiceConfigResult 方法

定义

初始化 ClusterServiceConfigResult 的新实例。

public static Azure.ResourceManager.HDInsight.Containers.Models.ClusterServiceConfigResult ClusterServiceConfigResult (string serviceName = default, string fileName = default, string content = default, string componentName = default, string serviceConfigListResultPropertiesType = default, string path = default, System.Collections.Generic.IReadOnlyDictionary<string,string> customKeys = default, System.Collections.Generic.IReadOnlyDictionary<string,Azure.ResourceManager.HDInsight.Containers.Models.ClusterServiceConfigValueEntity> defaultKeys = default);
static member ClusterServiceConfigResult : string * string * string * string * string * string * System.Collections.Generic.IReadOnlyDictionary<string, string> * System.Collections.Generic.IReadOnlyDictionary<string, Azure.ResourceManager.HDInsight.Containers.Models.ClusterServiceConfigValueEntity> -> Azure.ResourceManager.HDInsight.Containers.Models.ClusterServiceConfigResult
Public Shared Function ClusterServiceConfigResult (Optional serviceName As String = Nothing, Optional fileName As String = Nothing, Optional content As String = Nothing, Optional componentName As String = Nothing, Optional serviceConfigListResultPropertiesType As String = Nothing, Optional path As String = Nothing, Optional customKeys As IReadOnlyDictionary(Of String, String) = Nothing, Optional defaultKeys As IReadOnlyDictionary(Of String, ClusterServiceConfigValueEntity) = Nothing) As ClusterServiceConfigResult

参数

serviceName
String

服务配置名称。

fileName
String

文件名。

content
String

服务配置文件中的内容。

componentName
String

组件名称。

serviceConfigListResultPropertiesType
String

配置类型。

path
String

配置文件路径。

customKeys
IReadOnlyDictionary<String,String>

自定义键。

返回

用于模拟的新 ClusterServiceConfigResult 实例。

适用于