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

Microsoft.HDInsight 群集

Bicep 资源定义

可将群集资源类型部署到:

有关每个 API 版本中更改的属性的列表,请参阅 更改日志

资源格式

若要创建 Microsoft.HDInsight/clusters 资源,请将以下 Bicep 添加到模板。

resource symbolicname 'Microsoft.HDInsight/clusters@2021-06-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  identity: {
    type: 'string'
    userAssignedIdentities: {}
  }
  properties: {
    clusterDefinition: {
      blueprint: 'string'
      componentVersion: {}
      configurations: any()
      kind: 'string'
    }
    clusterVersion: 'string'
    computeIsolationProperties: {
      enableComputeIsolation: bool
      hostSku: 'string'
    }
    computeProfile: {
      roles: [
        {
          autoscale: {
            capacity: {
              maxInstanceCount: int
              minInstanceCount: int
            }
            recurrence: {
              schedule: [
                {
                  days: [
                    'string'
                  ]
                  timeAndCapacity: {
                    maxInstanceCount: int
                    minInstanceCount: int
                    time: 'string'
                  }
                }
              ]
              timeZone: 'string'
            }
          }
          dataDisksGroups: [
            {
              disksPerNode: int
            }
          ]
          encryptDataDisks: bool
          hardwareProfile: {
            vmSize: 'string'
          }
          minInstanceCount: int
          name: 'string'
          osProfile: {
            linuxOperatingSystemProfile: {
              password: 'string'
              sshProfile: {
                publicKeys: [
                  {
                    certificateData: 'string'
                  }
                ]
              }
              username: 'string'
            }
          }
          scriptActions: [
            {
              name: 'string'
              parameters: 'string'
              uri: 'string'
            }
          ]
          targetInstanceCount: int
          virtualNetworkProfile: {
            id: 'string'
            subnet: 'string'
          }
          VMGroupName: 'string'
        }
      ]
    }
    diskEncryptionProperties: {
      encryptionAlgorithm: 'string'
      encryptionAtHost: bool
      keyName: 'string'
      keyVersion: 'string'
      msiResourceId: 'string'
      vaultUri: 'string'
    }
    encryptionInTransitProperties: {
      isEncryptionInTransitEnabled: bool
    }
    kafkaRestProperties: {
      clientGroupInfo: {
        groupId: 'string'
        groupName: 'string'
      }
      configurationOverride: {}
    }
    minSupportedTlsVersion: 'string'
    networkProperties: {
      privateLink: 'string'
      resourceProviderConnection: 'string'
    }
    osType: 'string'
    privateLinkConfigurations: [
      {
        name: 'string'
        properties: {
          groupId: 'string'
          ipConfigurations: [
            {
              name: 'string'
              properties: {
                primary: bool
                privateIPAddress: 'string'
                privateIPAllocationMethod: 'string'
                subnet: {
                  id: 'string'
                }
              }
            }
          ]
        }
      }
    ]
    securityProfile: {
      aaddsResourceId: 'string'
      clusterUsersGroupDNs: [
        'string'
      ]
      directoryType: 'ActiveDirectory'
      domain: 'string'
      domainUsername: 'string'
      domainUserPassword: 'string'
      ldapsUrls: [
        'string'
      ]
      msiResourceId: 'string'
      organizationalUnitDN: 'string'
    }
    storageProfile: {
      storageaccounts: [
        {
          container: 'string'
          fileshare: 'string'
          fileSystem: 'string'
          isDefault: bool
          key: 'string'
          msiResourceId: 'string'
          name: 'string'
          resourceId: 'string'
          saskey: 'string'
        }
      ]
    }
    tier: 'string'
  }
  zones: [
    'string'
  ]
}

属性值

clusters

名称 说明
name 资源名称 字符串 (必需)

字符限制:3-59

有效字符:
字母数字和连字符

以字母或数字开头和结尾。

资源名称在 Azure 中必须是唯一的。
location 群集的位置。 字符串
标记 资源标记。 标记名称和值的字典。 请参阅 模板中的标记
标识 群集的标识(如果已配置)。 ClusterIdentity
properties 群集创建参数。 ClusterCreatePropertiesOrClusterGetProperties
zones 可用性区域。 string[]

ClusterIdentity

名称 说明 Value
type 用于群集的标识类型。 类型“SystemAssigned ,UserAssigned”包含隐式创建的标识和一组用户分配的标识。 “None”
“SystemAssigned”
“SystemAssigned,UserAssigned”
“UserAssigned”
userAssignedIdentities 与群集关联的用户标识列表。 用户标识字典密钥引用将是 ARM 资源 ID,格式为:“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。 对象 (object)

ClusterCreatePropertiesOrClusterGetProperties

名称 说明
clusterDefinition 群集定义。 ClusterDefinition
clusterVersion 群集的版本。 字符串
computeIsolationProperties 计算隔离属性。 ComputeIsolationProperties
computeProfile 计算配置文件。 ComputeProfile
diskEncryptionProperties 磁盘加密属性。 DiskEncryptionProperties
encryptionInTransitProperties 传输中加密属性。 EncryptionInTransitProperties
kafkaRestProperties 群集 kafka rest 代理配置。 KafkaRestProperties
minSupportedTlsVersion 支持的最低 tls 版本。 字符串
networkProperties 网络属性。 NetworkProperties
osType 操作系统的类型。 “Linux”
“Windows”
privateLinkConfigurations 专用链接配置。 PrivateLinkConfiguration[]
securityProfile 安全配置文件。 SecurityProfile
storageProfile 存储配置文件。 StorageProfile
群集层。 “Premium”
'Standard'

ClusterDefinition

名称 说明
蓝图 指向蓝图的链接。 字符串
componentVersion 群集中不同服务的版本。 对象 (object)
配置 群集配置。 对于 Bicep,可以使用 任何 () 函数。
kind 群集的类型。 字符串

ComputeIsolationProperties

名称 说明
enableComputeIsolation 标志指示是否启用计算隔离。 bool
hostSku 主机 SKU。 字符串

ComputeProfile

名称 说明
角色 群集中的角色列表。 角色[]

角色

名称 说明
自动缩放 自动缩放配置。 自动缩放
dataDisksGroups 角色的数据磁盘组。 DataDisksGroups[]
encryptDataDisks 指示是否加密数据磁盘。 bool
hardwareProfile 硬件配置文件。 HardwareProfile
minInstanceCount 群集的最小实例计数。 int
name 角色的名称。 字符串
osProfile 操作系统配置文件。 OsProfile
scriptActions 角色上的脚本操作列表。 ScriptAction[]
targetInstanceCount 群集的实例计数。 int
virtualNetworkProfile 虚拟网络配置文件。 VirtualNetworkProfile
VMGroupName 虚拟机组的名称。 字符串

自动缩放

名称 说明
容量 基于负载的自动缩放的参数 AutoscaleCapacity
recurrence 基于计划的自动缩放的参数 AutoscaleRecurrence

AutoscaleCapacity

名称 说明
maxInstanceCount 群集的最大实例计数 int
minInstanceCount 群集的最小实例计数 int

AutoscaleRecurrence

名称 说明
schedule 基于计划的自动缩放规则数组 AutoscaleSchedule[]
timezone 自动缩放计划时间的时区 字符串

AutoscaleSchedule

名称 说明
days 基于计划的自动缩放规则的星期几 包含任意项的字符串数组:
“Friday”
“Monday”
“Saturday”
“星期日”
“星期四”
“Tuesday”
“星期三”
timeAndCapacity 基于计划的自动缩放规则的时间和容量 AutoscaleTimeAndCapacity

AutoscaleTimeAndCapacity

名称 说明
maxInstanceCount 群集的最大实例计数 int
minInstanceCount 群集的最小实例计数 int
time 24 小时时间,格式为 xx:xx 字符串

DataDisksGroups

名称 说明
disksPerNode 每个节点的磁盘数。 int

HardwareProfile

名称 说明
vmSize VM 的大小 字符串

OsProfile

名称 说明
linuxOperatingSystemProfile Linux OS 配置文件。 LinuxOperatingSystemProfile

LinuxOperatingSystemProfile

名称 说明
password 密码。 字符串
sshProfile SSH 配置文件。 SshProfile
username 用户名。 字符串

SshProfile

名称 说明
publicKeys SSH 公钥的列表。 SshPublicKey[]

SshPublicKey

名称 说明
certificateData SSH 证书。 字符串

ScriptAction

名称 说明
name 脚本操作的名称。 字符串 (必需)
parameters 提供的脚本的参数。 字符串 (必需)
uri 脚本的 URI。 字符串 (必需)

VirtualNetworkProfile

名称 说明 Value
id 虚拟网络的 ID。 字符串
子网 子网的名称。 字符串

DiskEncryptionProperties

名称 说明
encryptionAlgorithm 加密的算法标识符,默认 RSA-OAEP。 “RSA-OAEP”
“RSA-OAEP-256”
“RSA1_5”
encryptionAtHost 指示是否启用资源磁盘加密。 bool
keyName 用于启用磁盘加密的密钥名称。 字符串
keyVersion 用于启用磁盘加密的特定密钥版本。 字符串
msiResourceId 用于访问密钥保管库的托管标识的资源 ID。 字符串
vaultUri 客户密钥所在的基密钥保管库 URI,例如。 https://myvault.vault.azure.net 字符串

EncryptionInTransitProperties

名称 说明
isEncryptionInTransitEnabled 指示群集节点间通信在传输过程中是否加密。 bool

KafkaRestProperties

名称 说明
clientGroupInfo AAD 安全组的信息。 ClientGroupInfo
configurationOverride 需要重写的配置。 对象 (object)

ClientGroupInfo

名称 说明
groupId AAD 安全组 ID。 字符串
groupName AAD 安全组名称。 字符串

NetworkProperties

名称 说明
privateLink 指示是否启用专用链接。 “Disabled”
“已启用”
resourceProviderConnection 资源提供程序连接的方向。 “Inbound”
“出站”

PrivateLinkConfiguration

名称 说明
name 专用链接配置的名称。 字符串 (必需)
properties 专用链接配置属性。 PrivateLinkConfigurationProperties (必需)

PrivateLinkConfigurationProperties

名称 说明
groupId 要向其应用专用链接配置的 HDInsight 专用可链接子资源名称。 例如,“headnode”、“gateway”、“edgenode”。 字符串 (必需)
ipConfigurations 专用链接服务的 IP 配置。 IPConfiguration[] (必需的)

IPConfiguration

名称 说明
name 专用链接 IP 配置的名称。 字符串 (必需)
properties 专用链接 IP 配置属性。 IPConfigurationProperties

IPConfigurationProperties

名称 说明
角色实体 指示此 IP 配置是否是相应 NIC 的主配置。 bool
privateIPAddress IP 地址。 字符串
privateIPAllocationMethod 分配专用 IP 地址的方法。 “dynamic”
“static”
子网 子网资源 ID。 ResourceId

ResourceId

名称 说明 Value
id Azure 资源 ID。 字符串

SecurityProfile

名称 说明
aaddsResourceId 用户的 Azure Active Directory 域服务的资源 ID。 字符串
clusterUsersGroupDN 可选。 群集用户组的可分辨名称 string[]
directoryType 目录类型。 “ActiveDirectory”
组织的 Active Directory 域。 字符串
domainUsername 将在群集上具有管理员权限的域用户帐户。 字符串
domainUserPassword 域管理员密码。 字符串
ldapsUrls 要与 Active Directory 通信的 LDAPS 协议 URL。 string[]
msiResourceId 用户分配的标识,该标识有权在用户的 AADDS 中读取和创建与群集相关的项目。 字符串
organizationUnitDN 用于放置群集和服务帐户的 Active Directory 中的组织单位。 字符串

StorageProfile

名称 说明
storageaccounts 群集中的存储帐户列表。 StorageAccount[]

StorageAccount

名称 说明
container 存储帐户中的容器,仅用于为 WASB 存储帐户指定。 字符串
文件共享 文件共享名称。 字符串
fileSystem 文件系统,仅为 Azure Data Lake Storage Gen 2 指定。 字符串
isDefault 存储帐户是否为默认存储帐户。 bool
key 存储帐户访问密钥。 字符串
msiResourceId 允许访问存储帐户的托管标识 (MSI) ,仅针对第 2 代Azure Data Lake Storage指定。 字符串
name 存储帐户的名称。 字符串
ResourceId 存储帐户的资源 ID,仅为 Azure Data Lake Storage Gen 2 指定。 字符串
saskey 共享访问签名密钥。 字符串

快速入门模板

以下快速入门模板部署此资源类型。

模板 说明
创建运行 Apache Spark 1.4.1 的 HDInsight 群集

部署到 Azure
创建运行 Apache Spark 1.4.1 的 HDInsight Linux 群集。
创建运行 ADAM 的 HDInsight 群集

部署到 Azure
创建运行基因组学分析平台 ADAM 的 HDInsight Linux 群集
创建 HDInsight Linux 群集并运行脚本操作

部署到 Azure
模板在虚拟网络中创建 HDInsight Linux 群集,然后在每个节点上运行自定义脚本操作并设置环境 var。
启用了基于负载的自动缩放的 HDInsight

部署到 Azure
此模板允许创建启用了基于负载的自动缩放的 HDInsight Spark 群集。
启用了基于计划的自动缩放的 HDInsight

部署到 Azure
通过此模板,可以创建启用了基于计划的自动缩放的 HDInsight Spark 群集。
在 VNET 中使用自定义 Ambari + Hive 元存储 DB 的 HDInsight

部署到 Azure
此模板允许在现有虚拟网络中创建 HDInsight 群集,其中包含同时充当自定义 Ambari DB 和 Hive 元存储的新 SQL 数据库。 必须具有现有的 SQL Sever、存储帐户和 VNET。
在新的 Data Lake Store 和存储上部署 HDInsight

部署到 Azure
通过此模板,可以使用新的 Data Lake Store 和存储帐户部署新的 Linux HDInsight 群集。
在 HDInsight 中部署具有增强写入的 Linux HBase 群集

部署到 Azure
此模板允许在 Azure HDInsight 中创建具有增强写入的基于 Linux 的 HBase 群集。
在 HDInsight 中部署基于 Linux 的 HBase 群集

部署到 Azure
此模板允许在 Azure HDInsight 中创建基于 Linux 的 HBase 群集。
在 VNet 中部署 VNet 和 HBase 群集

部署到 Azure
使用此模板可以在 VNet 中创建运行 Linux 的 Azure VNet 和 HDInsight HBase 群集。
在 VNet 中部署一个 Azure VNet 和两个 HBase 群集

部署到 Azure
此模板允许在 VNet 中使用两个 HBase 群集配置 HBase 环境,以配置 HBase 复制。
在一个区域中部署具有两个 VNet 的 HBase 复制

部署到 Azure
此模板允许在同一区域中的两个 VNet 中配置具有两个 HBase 群集的N HBase 环境,以配置 HBase 复制。
在 HDInsight 中部署 Interative Hive 群集

部署到 Azure
此模板允许在 HDInsight 和依赖的 Azure 存储帐户中创建一个 interative Hive (LLAP) 群集。 群集的 SSH 身份验证方法是用户名和密码。 有关使用 SSH 公钥身份验证的模板,请参阅 /samples/azure/azure-quickstart-templates/hdinsight-linux-ssh-publickey/
在虚拟网络中部署 Kafka on HDInsight

部署到 Azure
此模板允许在虚拟网络中创建 Azure 虚拟网络和 Kafka on HDInsight 群集。 群集的 SSH 身份验证方法是用户名和密码。 有关使用 SSH 公钥身份验证的模板,请参阅 /samples/azure/azure-quickstart-templates/hdinsight-linux-ssh-publickey/
部署 HDInsight 群集 + Confluent 架构注册表节点

部署到 Azure
使用此模板可以创建运行 Linux 的 HDInsight 群集,其中包含架构注册表边缘节点。 有关详细信息,请参阅 /azure/hdinsight/hdinsight-apps-use-edge-node
使用存储和 SSH 密码部署 HDInsight 群集

部署到 Azure
通过此模板,可以在 HDInsight 和依赖的 Azure 存储帐户中创建基于 Linux 的 Hadoop 群集。 群集的 SSH 身份验证方法是用户名和密码。 有关使用 SSH 公钥身份验证的模板,请参阅 /samples/azure/azure-quickstart-templates/hdinsight-linux-ssh-publickey/
在 Linux (部署 HDInsight, (Azure 存储、SSH 密钥)

部署到 Azure
使用此模板可以创建运行 Linux 的 HDInsight 群集。 此模板还会创建 Azure 存储帐户。 群集的 SSH 身份验证方法是用户名/公钥。
现有 Hive 元存储、SSH、vnet) 上的 HDInsight (Linux

部署到 Azure
此模板允许在现有 Hive 元存储和虚拟网络上创建运行 Linux 的 HDInsight 群集。 群集的 SSH 身份验证方法是用户名/密码。
使用边缘节点部署 HDInsight 群集

部署到 Azure
通过此模板,可以创建运行 Linux 的 HDInsight 群集,其中包含一个空边缘节点。 有关详细信息,请参阅 /azure/hdinsight/hdinsight-apps-use-edge-node
使用现有默认存储部署 HDInsight 群集

部署到 Azure
此模板允许在 HDInsight 中创建 Hadoop 群集。 群集使用现有存储帐户作为默认存储帐户。
使用现有链接存储部署 HDInsight 群集

部署到 Azure
此模板允许在 HDInsight 中创建 Hadoop 群集和依赖的默认存储帐户。 该模板还链接了现有的存储帐户。 链接的存储帐户通常包含业务数据。
部署 HDInsight 群集和 SQL 数据库

部署到 Azure
使用此模板可以创建 HDInsight 群集和用于测试 Sqoop 的SQL 数据库。
TLS 版本 1.2 或更高版本的 HDInsight 群集

部署到 Azure
通过此模板,可以创建强制执行到 1.2 或更高版本的 TLS 协议的 HDInsight 群集。
部署 R 服务器 HDInsight 群集

部署到 Azure
通过此模板,可以创建运行 Linux 的 HDInsight 群集以及 R Server for HDInsight。 此模板还会创建 Azure 存储帐户。 群集的 SSH 身份验证方法是用户名/密码。
在 VNet 中部署安全 VNet 和 HDInsight 群集

部署到 Azure
使用此模板可以在 VNet 中创建运行 Linux 的 Azure VNet 和 HDInsight Hadoop 群集。
在 Azure HDInsight 中部署 Spark 群集

部署到 Azure
此模板允许在 Azure HDInsight 中创建 Spark 群集。
在 VNet 中部署 Spark 群集

部署到 Azure
此模板允许在 VNet 中创建 Azure VNet 和 HDInsight Spark 群集。

ARM 模板资源定义

可将群集资源类型部署到:

有关每个 API 版本中已更改属性的列表,请参阅 更改日志

资源格式

若要创建 Microsoft.HDInsight/clusters 资源,请将以下 JSON 添加到模板。

{
  "type": "Microsoft.HDInsight/clusters",
  "apiVersion": "2021-06-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "identity": {
    "type": "string",
    "userAssignedIdentities": {}
  },
  "properties": {
    "clusterDefinition": {
      "blueprint": "string",
      "componentVersion": {},
      "configurations": {},
      "kind": "string"
    },
    "clusterVersion": "string",
    "computeIsolationProperties": {
      "enableComputeIsolation": "bool",
      "hostSku": "string"
    },
    "computeProfile": {
      "roles": [
        {
          "autoscale": {
            "capacity": {
              "maxInstanceCount": "int",
              "minInstanceCount": "int"
            },
            "recurrence": {
              "schedule": [
                {
                  "days": [ "string" ],
                  "timeAndCapacity": {
                    "maxInstanceCount": "int",
                    "minInstanceCount": "int",
                    "time": "string"
                  }
                }
              ],
              "timeZone": "string"
            }
          },
          "dataDisksGroups": [
            {
              "disksPerNode": "int"
            }
          ],
          "encryptDataDisks": "bool",
          "hardwareProfile": {
            "vmSize": "string"
          },
          "minInstanceCount": "int",
          "name": "string",
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "password": "string",
              "sshProfile": {
                "publicKeys": [
                  {
                    "certificateData": "string"
                  }
                ]
              },
              "username": "string"
            }
          },
          "scriptActions": [
            {
              "name": "string",
              "parameters": "string",
              "uri": "string"
            }
          ],
          "targetInstanceCount": "int",
          "virtualNetworkProfile": {
            "id": "string",
            "subnet": "string"
          },
          "VMGroupName": "string"
        }
      ]
    },
    "diskEncryptionProperties": {
      "encryptionAlgorithm": "string",
      "encryptionAtHost": "bool",
      "keyName": "string",
      "keyVersion": "string",
      "msiResourceId": "string",
      "vaultUri": "string"
    },
    "encryptionInTransitProperties": {
      "isEncryptionInTransitEnabled": "bool"
    },
    "kafkaRestProperties": {
      "clientGroupInfo": {
        "groupId": "string",
        "groupName": "string"
      },
      "configurationOverride": {}
    },
    "minSupportedTlsVersion": "string",
    "networkProperties": {
      "privateLink": "string",
      "resourceProviderConnection": "string"
    },
    "osType": "string",
    "privateLinkConfigurations": [
      {
        "name": "string",
        "properties": {
          "groupId": "string",
          "ipConfigurations": [
            {
              "name": "string",
              "properties": {
                "primary": "bool",
                "privateIPAddress": "string",
                "privateIPAllocationMethod": "string",
                "subnet": {
                  "id": "string"
                }
              }
            }
          ]
        }
      }
    ],
    "securityProfile": {
      "aaddsResourceId": "string",
      "clusterUsersGroupDNs": [ "string" ],
      "directoryType": "ActiveDirectory",
      "domain": "string",
      "domainUsername": "string",
      "domainUserPassword": "string",
      "ldapsUrls": [ "string" ],
      "msiResourceId": "string",
      "organizationalUnitDN": "string"
    },
    "storageProfile": {
      "storageaccounts": [
        {
          "container": "string",
          "fileshare": "string",
          "fileSystem": "string",
          "isDefault": "bool",
          "key": "string",
          "msiResourceId": "string",
          "name": "string",
          "resourceId": "string",
          "saskey": "string"
        }
      ]
    },
    "tier": "string"
  },
  "zones": [ "string" ]
}

属性值

clusters

名称 说明 Value
type 资源类型 “Microsoft.HDInsight/clusters”
apiVersion 资源 API 版本 '2021-06-01'
name 资源名称 字符串 (必需)

字符限制:3-59

有效字符:
字母数字和连字符

以字母或数字开头和结尾。

资源名称在 Azure 中必须是唯一的。
location 群集的位置。 字符串
标记 资源标记。 标记名称和值的字典。 请参阅 模板中的标记
标识 群集的标识(如果已配置)。 ClusterIdentity
properties 群集创建参数。 ClusterCreatePropertiesOrClusterGetProperties
zones 可用性区域。 string[]

ClusterIdentity

名称 说明 Value
type 用于群集的标识类型。 类型“SystemAssigned ,UserAssigned”包含隐式创建的标识和一组用户分配的标识。 “None”
“SystemAssigned”
“SystemAssigned, UserAssigned”
“UserAssigned”
userAssignedIdentities 与群集关联的用户标识列表。 用户标识字典键引用将是 ARM 资源 ID,格式为:“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。 对象 (object)

ClusterCreatePropertiesOrClusterGetProperties

名称 说明
clusterDefinition 群集定义。 ClusterDefinition
clusterVersion 群集的版本。 字符串
computeIsolationProperties 计算隔离属性。 ComputeIsolationProperties
computeProfile 计算配置文件。 ComputeProfile
diskEncryptionProperties 磁盘加密属性。 DiskEncryptionProperties
encryptionInTransitProperties 传输中加密属性。 EncryptionInTransitProperties
kafkaRestProperties 群集 kafka rest 代理配置。 KafkaRestProperties
minSupportedTlsVersion 支持的最低 tls 版本。 字符串
networkProperties 网络属性。 NetworkProperties
osType 操作系统的类型。 'Linux'
“Windows”
privateLinkConfigurations 专用链接配置。 PrivateLinkConfiguration[]
securityProfile 安全配置文件。 SecurityProfile
storageProfile 存储配置文件。 StorageProfile
群集层。 “Premium”
'Standard'

ClusterDefinition

名称 说明
蓝图 指向蓝图的链接。 字符串
componentVersion 群集中不同服务的版本。 对象 (object)
配置 群集配置。
kind 群集的类型。 字符串

ComputeIsolationProperties

名称 说明
enableComputeIsolation 标志指示是否启用计算隔离。 bool
hostSku 主机 SKU。 字符串

ComputeProfile

名称 说明
角色 群集中的角色列表。 角色[]

角色

名称 说明
自动缩放 自动缩放配置。 自动缩放
dataDisksGroups 角色的数据磁盘组。 DataDisksGroups[]
encryptDataDisks 指示是否加密数据磁盘。 bool
hardwareProfile 硬件配置文件。 HardwareProfile
minInstanceCount 群集的最小实例计数。 int
name 角色的名称。 字符串
osProfile 操作系统配置文件。 OsProfile
scriptActions 角色上的脚本操作列表。 ScriptAction[]
targetInstanceCount 群集的实例计数。 int
virtualNetworkProfile 虚拟网络配置文件。 VirtualNetworkProfile
VMGroupName 虚拟机组的名称。 字符串

自动缩放

名称 说明
容量 基于负载的自动缩放的参数 AutoscaleCapacity
recurrence 基于计划的自动缩放的参数 AutoscaleRecurrence

AutoscaleCapacity

名称 说明
maxInstanceCount 群集的最大实例计数 int
minInstanceCount 群集的最小实例计数 int

AutoscaleRecurrence

名称 说明
schedule 基于计划的自动缩放规则数组 AutoscaleSchedule[]
timezone 自动缩放计划时间的时区 字符串

AutoscaleSchedule

名称 说明
days 基于计划的自动缩放规则的星期几 包含任何一项的字符串数组:
“Friday”
“Monday”
“Saturday”
“星期日”
“星期四”
“Tuesday”
“Wednesday”
timeAndCapacity 基于计划的自动缩放规则的时间和容量 AutoscaleTimeAndCapacity

AutoscaleTimeAndCapacity

名称 说明
maxInstanceCount 群集的最大实例计数 int
minInstanceCount 群集的最小实例计数 int
time 24 小时时间,格式为 xx:xx 字符串

DataDisksGroups

名称 说明
disksPerNode 每个节点的磁盘数。 int

HardwareProfile

名称 说明
vmSize VM 的大小 字符串

OsProfile

名称 说明
linuxOperatingSystemProfile Linux OS 配置文件。 LinuxOperatingSystemProfile

LinuxOperatingSystemProfile

名称 说明
password 密码。 字符串
sshProfile SSH 配置文件。 SshProfile
username 用户名。 字符串

SshProfile

名称 说明
publicKeys SSH 公钥的列表。 SshPublicKey[]

SshPublicKey

名称 说明
certificateData SSH 证书。 字符串

ScriptAction

名称 说明
name 脚本操作的名称。 字符串 (必需)
parameters 提供的脚本的参数。 字符串 (必需)
uri 脚本的 URI。 字符串 (必需)

VirtualNetworkProfile

名称 说明 Value
id 虚拟网络的 ID。 字符串
子网 子网的名称。 字符串

DiskEncryptionProperties

名称 说明
encryptionAlgorithm 加密的算法标识符,默认 RSA-OAEP。 'RSA-OAEP'
'RSA-OAEP-256'
“RSA1_5”
encryptionAtHost 指示是否启用资源磁盘加密。 bool
keyName 用于启用磁盘加密的密钥名称。 字符串
keyVersion 用于启用磁盘加密的特定密钥版本。 字符串
msiResourceId 用于访问密钥保管库的托管标识的资源 ID。 字符串
vaultUri 客户密钥所在的基本密钥保管库 URI,例如 https://myvault.vault.azure.net 字符串

EncryptionInTransitProperties

名称 说明
isEncryptionInTransitEnabled 指示是否在传输过程中加密群集节点之间的通信。 bool

KafkaRestProperties

名称 说明
clientGroupInfo AAD 安全组的信息。 ClientGroupInfo
configurationOverride 需要重写的配置。 对象 (object)

ClientGroupInfo

名称 说明
groupId AAD 安全组 ID。 字符串
groupName AAD 安全组名称。 字符串

NetworkProperties

名称 说明
privateLink 指示是否启用专用链接。 'Disabled'
'Enabled'
resourceProviderConnection 资源提供程序连接的方向。 'Inbound'
'Outbound'

PrivateLinkConfiguration

名称 说明
name 专用链接配置的名称。 字符串 (必需)
properties 专用链接配置属性。 PrivateLinkConfigurationProperties (必需)

PrivateLinkConfigurationProperties

名称 说明
groupId 要向其应用专用链接配置的 HDInsight 专用可链接子资源名称。 例如,“headnode”、“gateway”、“edgenode”。 字符串 (必需)
ipConfigurations 专用链接服务的 IP 配置。 IPConfiguration[] (所需的)

IPConfiguration

名称 说明
name 专用链接 IP 配置的名称。 字符串 (必需)
properties 专用链接 IP 配置属性。 IPConfigurationProperties

IPConfigurationProperties

名称 说明
角色实体 指示此 IP 配置是否是相应 NIC 的主配置。 bool
privateIPAddress IP 地址。 字符串
privateIPAllocationMethod 分配专用 IP 地址的方法。 'dynamic'
'static'
子网 子网资源 ID。 ResourceId

ResourceId

名称 说明 Value
id Azure 资源 ID。 字符串

SecurityProfile

名称 说明
aaddsResourceId 用户的 Azure Active Directory 域服务的资源 ID。 字符串
clusterUsersGroupDN 可选。 群集用户组的可分辨名称 string[]
directoryType 目录类型。 “ActiveDirectory”
组织的 Active Directory 域。 字符串
domainUsername 将在群集上拥有管理员权限的域用户帐户。 字符串
domainUserPassword 域管理员密码。 字符串
ldapsUrls 要与 Active Directory 通信的 LDAPS 协议 URL。 string[]
msiResourceId 用户分配的标识,该标识有权在用户的 AADDS 中读取和创建与群集相关的项目。 字符串
organizationUnitDN 用于放置群集和服务帐户的 Active Directory 中的组织单位。 字符串

StorageProfile

名称 说明
storageaccounts 群集中的存储帐户列表。 StorageAccount[]

StorageAccount

名称 说明
container 存储帐户中的容器,仅为 WASB 存储帐户指定。 字符串
fileshare 文件共享名称。 字符串
fileSystem 文件系统,仅为第 2 代Azure Data Lake Storage指定。 字符串
isDefault 存储帐户是否为默认存储帐户。 bool
key 存储帐户访问密钥。 字符串
msiResourceId 允许访问存储帐户的托管标识 (MSI) ,仅为第 2 代Azure Data Lake Storage指定。 字符串
name 存储帐户的名称。 字符串
ResourceId 存储帐户的资源 ID,仅为第 2 代Azure Data Lake Storage指定。 字符串
saskey 共享访问签名密钥。 字符串

快速入门模板

以下快速入门模板部署此资源类型。

模板 说明
创建运行 Apache Spark 1.4.1 的 HDInsight 群集

部署到 Azure
创建运行 Apache Spark 1.4.1 的 HDInsight linux 群集。
创建运行 ADAM 的 HDInsight 群集

部署到 Azure
创建运行基因组学分析平台 ADAM 的 HDInsight linux 群集
创建 HDInsight Linux 群集并运行脚本操作

部署到 Azure
模板在虚拟网络中创建 HDInsight Linux 群集,然后在每个节点上运行自定义脚本操作并设置环境 var。
启用了基于负载的自动缩放的 HDInsight

部署到 Azure
此模板允许创建启用了基于负载的自动缩放的 HDInsight Spark 群集。
启用了基于计划的自动缩放的 HDInsight

部署到 Azure
通过此模板,可以创建启用了基于计划的自动缩放的 HDInsight Spark 群集。
在 VNET 中使用自定义 Ambari + Hive 元存储 DB 的 HDInsight

部署到 Azure
此模板允许在现有虚拟网络中创建 HDInsight 群集,其中包含同时充当自定义 Ambari DB 和 Hive 元存储的新 SQL 数据库。 必须具有现有的 SQL Sever、存储帐户和 VNET。
在新的 Data Lake Store 和存储上部署 HDInsight

部署到 Azure
通过此模板,可以使用新的 Data Lake Store 和存储帐户部署新的 Linux HDInsight 群集。
在 HDInsight 中部署具有增强写入的 Linux HBase 群集

部署到 Azure
此模板允许在 Azure HDInsight 中创建具有增强写入的基于 Linux 的 HBase 群集。
在 HDInsight 中部署基于 Linux 的 HBase 群集

部署到 Azure
此模板允许在 Azure HDInsight 中创建基于 Linux 的 HBase 群集。
在 VNet 中部署 VNet 和 HBase 群集

部署到 Azure
使用此模板可以在 VNet 中创建运行 Linux 的 Azure VNet 和 HDInsight HBase 群集。
在 VNet 中部署一个 Azure VNet 和两个 HBase 群集

部署到 Azure
此模板允许在 VNet 中使用两个 HBase 群集配置 HBase 环境,以配置 HBase 复制。
在一个区域中部署具有两个 VNet 的 HBase 复制

部署到 Azure
此模板允许在同一区域中的两个 VNet 中配置具有两个 HBase 群集的N HBase 环境,以配置 HBase 复制。
在 HDInsight 中部署 Interative Hive 群集

部署到 Azure
此模板允许在 HDInsight 和依赖的 Azure 存储帐户中创建一个 interative Hive (LLAP) 群集。 群集的 SSH 身份验证方法是用户名和密码。 有关使用 SSH 公钥身份验证的模板,请参阅 /samples/azure/azure-quickstart-templates/hdinsight-linux-ssh-publickey/
在虚拟网络中部署 Kafka on HDInsight

部署到 Azure
此模板允许在虚拟网络中创建 Azure 虚拟网络和 Kafka on HDInsight 群集。 群集的 SSH 身份验证方法是用户名和密码。 有关使用 SSH 公钥身份验证的模板,请参阅 /samples/azure/azure-quickstart-templates/hdinsight-linux-ssh-publickey/
部署 HDInsight 群集 + Confluent 架构注册表节点

部署到 Azure
使用此模板可以创建运行 Linux 的 HDInsight 群集,其中包含架构注册表边缘节点。 有关详细信息,请参阅 /azure/hdinsight/hdinsight-apps-use-edge-node
使用存储和 SSH 密码部署 HDInsight 群集

部署到 Azure
通过此模板,可以在 HDInsight 和依赖的 Azure 存储帐户中创建基于 Linux 的 Hadoop 群集。 群集的 SSH 身份验证方法是用户名和密码。 有关使用 SSH 公钥身份验证的模板,请参阅 /samples/azure/azure-quickstart-templates/hdinsight-linux-ssh-publickey/
在 Linux (部署 HDInsight, (Azure 存储、SSH 密钥)

部署到 Azure
使用此模板可以创建运行 Linux 的 HDInsight 群集。 此模板还会创建 Azure 存储帐户。 群集的 SSH 身份验证方法是用户名/公钥。
现有 Hive 元存储、SSH、vnet) 上的 HDInsight (Linux

部署到 Azure
此模板允许在现有 Hive 元存储和虚拟网络上创建运行 Linux 的 HDInsight 群集。 群集的 SSH 身份验证方法是用户名/密码。
使用边缘节点部署 HDInsight 群集

部署到 Azure
通过此模板,可以创建运行 Linux 的 HDInsight 群集,其中包含一个空边缘节点。 有关详细信息,请参阅 /azure/hdinsight/hdinsight-apps-use-edge-node
使用现有默认存储部署 HDInsight 群集

部署到 Azure
此模板允许在 HDInsight 中创建 Hadoop 群集。 群集使用现有存储帐户作为默认存储帐户。
使用现有链接存储部署 HDInsight 群集

部署到 Azure
此模板允许在 HDInsight 中创建 Hadoop 群集和依赖的默认存储帐户。 该模板还链接了现有的存储帐户。 链接的存储帐户通常包含业务数据。
部署 HDInsight 群集和 SQL 数据库

部署到 Azure
使用此模板可以创建 HDInsight 群集和用于测试 Sqoop 的SQL 数据库。
TLS 版本 1.2 或更高版本的 HDInsight 群集

部署到 Azure
通过此模板,可以创建强制执行到 1.2 或更高版本的 TLS 协议的 HDInsight 群集。
部署 R 服务器 HDInsight 群集

部署到 Azure
通过此模板,可以创建运行 Linux 的 HDInsight 群集以及 R Server for HDInsight。 此模板还会创建 Azure 存储帐户。 群集的 SSH 身份验证方法是用户名/密码。
在 VNet 中部署安全 VNet 和 HDInsight 群集

部署到 Azure
使用此模板可以在 VNet 中创建运行 Linux 的 Azure VNet 和 HDInsight Hadoop 群集。
在 Azure HDInsight 中部署 Spark 群集

部署到 Azure
此模板允许在 Azure HDInsight 中创建 Spark 群集。
在 VNet 中部署 Spark 群集

部署到 Azure
此模板允许在 VNet 中创建 Azure VNet 和 HDInsight Spark 群集。

Terraform (AzAPI 提供程序) 资源定义

可将群集资源类型部署到:

  • 资源组

有关每个 API 版本中更改的属性的列表,请参阅 更改日志

资源格式

若要创建 Microsoft.HDInsight/clusters 资源,请将以下 Terraform 添加到模板。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.HDInsight/clusters@2021-06-01"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  identity {
    type = "string"
    identity_ids = []
  }
  body = jsonencode({
    properties = {
      clusterDefinition = {
        blueprint = "string"
        componentVersion = {}
        kind = "string"
      }
      clusterVersion = "string"
      computeIsolationProperties = {
        enableComputeIsolation = bool
        hostSku = "string"
      }
      computeProfile = {
        roles = [
          {
            autoscale = {
              capacity = {
                maxInstanceCount = int
                minInstanceCount = int
              }
              recurrence = {
                schedule = [
                  {
                    days = [
                      "string"
                    ]
                    timeAndCapacity = {
                      maxInstanceCount = int
                      minInstanceCount = int
                      time = "string"
                    }
                  }
                ]
                timeZone = "string"
              }
            }
            dataDisksGroups = [
              {
                disksPerNode = int
              }
            ]
            encryptDataDisks = bool
            hardwareProfile = {
              vmSize = "string"
            }
            minInstanceCount = int
            name = "string"
            osProfile = {
              linuxOperatingSystemProfile = {
                password = "string"
                sshProfile = {
                  publicKeys = [
                    {
                      certificateData = "string"
                    }
                  ]
                }
                username = "string"
              }
            }
            scriptActions = [
              {
                name = "string"
                parameters = "string"
                uri = "string"
              }
            ]
            targetInstanceCount = int
            virtualNetworkProfile = {
              id = "string"
              subnet = "string"
            }
            VMGroupName = "string"
          }
        ]
      }
      diskEncryptionProperties = {
        encryptionAlgorithm = "string"
        encryptionAtHost = bool
        keyName = "string"
        keyVersion = "string"
        msiResourceId = "string"
        vaultUri = "string"
      }
      encryptionInTransitProperties = {
        isEncryptionInTransitEnabled = bool
      }
      kafkaRestProperties = {
        clientGroupInfo = {
          groupId = "string"
          groupName = "string"
        }
        configurationOverride = {}
      }
      minSupportedTlsVersion = "string"
      networkProperties = {
        privateLink = "string"
        resourceProviderConnection = "string"
      }
      osType = "string"
      privateLinkConfigurations = [
        {
          name = "string"
          properties = {
            groupId = "string"
            ipConfigurations = [
              {
                name = "string"
                properties = {
                  primary = bool
                  privateIPAddress = "string"
                  privateIPAllocationMethod = "string"
                  subnet = {
                    id = "string"
                  }
                }
              }
            ]
          }
        }
      ]
      securityProfile = {
        aaddsResourceId = "string"
        clusterUsersGroupDNs = [
          "string"
        ]
        directoryType = "ActiveDirectory"
        domain = "string"
        domainUsername = "string"
        domainUserPassword = "string"
        ldapsUrls = [
          "string"
        ]
        msiResourceId = "string"
        organizationalUnitDN = "string"
      }
      storageProfile = {
        storageaccounts = [
          {
            container = "string"
            fileshare = "string"
            fileSystem = "string"
            isDefault = bool
            key = "string"
            msiResourceId = "string"
            name = "string"
            resourceId = "string"
            saskey = "string"
          }
        ]
      }
      tier = "string"
    }
    zones = [
      "string"
    ]
  })
}

属性值

clusters

名称 说明 Value
type 资源类型 “Microsoft.HDInsight/clusters@2021-06-01”
name 资源名称 字符串 (必需)

字符限制:3-59

有效字符:
字母数字和连字符

以字母或数字开头和结尾。

资源名称在 Azure 中必须是唯一的。
location 群集的位置。 字符串
parent_id 若要部署到资源组,请使用该资源组的 ID。 字符串 (必需)
标记 资源标记。 标记名称和值的字典。
标识 群集的标识(如果已配置)。 ClusterIdentity
properties 群集创建参数。 ClusterCreatePropertiesOrClusterGetProperties
zones 可用性区域。 string[]

ClusterIdentity

名称 说明 Value
type 用于群集的标识类型。 类型“SystemAssigned ,UserAssigned”包含隐式创建的标识和一组用户分配的标识。 “SystemAssigned”
“SystemAssigned,UserAssigned”
“UserAssigned”
identity_ids 与群集关联的用户标识列表。 用户标识字典密钥引用将是 ARM 资源 ID,格式为:“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。 用户标识 ID 数组。

ClusterCreatePropertiesOrClusterGetProperties

名称 说明
clusterDefinition 群集定义。 ClusterDefinition
clusterVersion 群集的版本。 字符串
computeIsolationProperties 计算隔离属性。 ComputeIsolationProperties
computeProfile 计算配置文件。 ComputeProfile
diskEncryptionProperties 磁盘加密属性。 DiskEncryptionProperties
encryptionInTransitProperties 传输中加密属性。 EncryptionInTransitProperties
kafkaRestProperties 群集 kafka rest 代理配置。 KafkaRestProperties
minSupportedTlsVersion 支持的最低 tls 版本。 字符串
networkProperties 网络属性。 NetworkProperties
osType 操作系统的类型。 “Linux”
“Windows”
privateLinkConfigurations 专用链接配置。 PrivateLinkConfiguration[]
securityProfile 安全配置文件。 SecurityProfile
storageProfile 存储配置文件。 StorageProfile
群集层。 “Premium”
“Standard”

ClusterDefinition

名称 说明
蓝图 指向蓝图的链接。 字符串
componentVersion 群集中不同服务的版本。 对象 (object)
配置 群集配置。
kind 群集的类型。 字符串

ComputeIsolationProperties

名称 说明
enableComputeIsolation 标志指示是否启用计算隔离。 bool
hostSku 主机 SKU。 字符串

ComputeProfile

名称 说明
角色 群集中的角色列表。 角色[]

角色

名称 说明
自动缩放 自动缩放配置。 自动缩放
dataDisksGroups 角色的数据磁盘组。 DataDisksGroups[]
encryptDataDisks 指示是否加密数据磁盘。 bool
hardwareProfile 硬件配置文件。 HardwareProfile
minInstanceCount 群集的最小实例计数。 int
name 角色的名称。 字符串
osProfile 操作系统配置文件。 OsProfile
scriptActions 角色上的脚本操作列表。 ScriptAction[]
targetInstanceCount 群集的实例计数。 int
virtualNetworkProfile 虚拟网络配置文件。 VirtualNetworkProfile
VMGroupName 虚拟机组的名称。 字符串

自动缩放

名称 说明
容量 基于负载的自动缩放的参数 AutoscaleCapacity
recurrence 基于计划的自动缩放的参数 AutoscaleRecurrence

AutoscaleCapacity

名称 说明
maxInstanceCount 群集的最大实例计数 int
minInstanceCount 群集的最小实例计数 int

AutoscaleRecurrence

名称 说明
schedule 基于计划的自动缩放规则数组 AutoscaleSchedule[]
timezone 自动缩放计划时间的时区 字符串

AutoscaleSchedule

名称 说明
days 基于计划的自动缩放规则的星期几 包含任何一项的字符串数组:
"Friday"
“星期一”
“星期六”
"Sunday"
"Thursday"
"Tuesday"
"Wednesday"
timeAndCapacity 基于计划的自动缩放规则的时间和容量 AutoscaleTimeAndCapacity

AutoscaleTimeAndCapacity

名称 说明
maxInstanceCount 群集的最大实例计数 int
minInstanceCount 群集的最小实例计数 int
time 24 小时时间,格式为 xx:xx 字符串

DataDisksGroups

名称 说明
disksPerNode 每个节点的磁盘数。 int

HardwareProfile

名称 说明
vmSize VM 的大小 字符串

OsProfile

名称 说明
linuxOperatingSystemProfile Linux OS 配置文件。 LinuxOperatingSystemProfile

LinuxOperatingSystemProfile

名称 说明
password 密码。 字符串
sshProfile SSH 配置文件。 SshProfile
username 用户名。 字符串

SshProfile

名称 说明
publicKeys SSH 公钥的列表。 SshPublicKey[]

SshPublicKey

名称 说明
certificateData SSH 证书。 字符串

ScriptAction

名称 说明
name 脚本操作的名称。 字符串 (必需)
parameters 提供的脚本的参数。 字符串 (必需)
uri 脚本的 URI。 字符串 (必需)

VirtualNetworkProfile

名称 说明 Value
id 虚拟网络的 ID。 字符串
子网 子网的名称。 字符串

DiskEncryptionProperties

名称 说明
encryptionAlgorithm 加密的算法标识符,默认 RSA-OAEP。 “RSA-OAEP”
“RSA-OAEP-256”
“RSA1_5”
encryptionAtHost 指示是否启用资源磁盘加密。 bool
keyName 用于启用磁盘加密的密钥名称。 字符串
keyVersion 用于启用磁盘加密的特定密钥版本。 字符串
msiResourceId 用于访问密钥保管库的托管标识的资源 ID。 字符串
vaultUri 客户密钥所在的基本密钥保管库 URI,例如 https://myvault.vault.azure.net 字符串

EncryptionInTransitProperties

名称 说明
isEncryptionInTransitEnabled 指示是否在传输过程中加密群集节点之间的通信。 bool

KafkaRestProperties

名称 说明
clientGroupInfo AAD 安全组的信息。 ClientGroupInfo
configurationOverride 需要重写的配置。 对象 (object)

ClientGroupInfo

名称 说明
groupId AAD 安全组 ID。 字符串
groupName AAD 安全组名称。 字符串

NetworkProperties

名称 说明
privateLink 指示是否启用专用链接。 “Disabled”
“Enabled”
resourceProviderConnection 资源提供程序连接的方向。 “入站”
“出站”

PrivateLinkConfiguration

名称 说明
name 专用链接配置的名称。 字符串 (必需)
properties 专用链接配置属性。 PrivateLinkConfigurationProperties (必需)

PrivateLinkConfigurationProperties

名称 说明
groupId 要向其应用专用链接配置的 HDInsight 专用可链接子资源名称。 例如,“headnode”、“gateway”、“edgenode”。 字符串 (必需)
ipConfigurations 专用链接服务的 IP 配置。 IPConfiguration[] (所需的)

IPConfiguration

名称 说明
name 专用链接 IP 配置的名称。 字符串 (必需)
properties 专用链接 IP 配置属性。 IPConfigurationProperties

IPConfigurationProperties

名称 说明
角色实体 指示此 IP 配置是否是相应 NIC 的主配置。 bool
privateIPAddress IP 地址。 字符串
privateIPAllocationMethod 分配专用 IP 地址的方法。 “dynamic”
“static”
子网 子网资源 ID。 ResourceId

ResourceId

名称 说明 Value
id Azure 资源 ID。 字符串

SecurityProfile

名称 说明
aaddsResourceId 用户的 Azure Active Directory 域服务的资源 ID。 字符串
clusterUsersGroupDN 可选。 群集用户组的可分辨名称 string[]
directoryType 目录类型。 “ActiveDirectory”
组织的 Active Directory 域。 字符串
domainUsername 将在群集上具有管理员权限的域用户帐户。 字符串
domainUserPassword 域管理员密码。 字符串
ldapsUrls 要与 Active Directory 通信的 LDAPS 协议 URL。 string[]
msiResourceId 用户分配的标识,该标识有权在用户的 AADDS 中读取和创建与群集相关的项目。 字符串
organizationUnitDN 用于放置群集和服务帐户的 Active Directory 中的组织单位。 字符串

StorageProfile

名称 说明
storageaccounts 群集中的存储帐户列表。 StorageAccount[]

StorageAccount

名称 说明
container 存储帐户中的容器,仅用于为 WASB 存储帐户指定。 字符串
文件共享 文件共享名称。 字符串
fileSystem 文件系统,仅为 Azure Data Lake Storage Gen 2 指定。 字符串
isDefault 存储帐户是否为默认存储帐户。 bool
key 存储帐户访问密钥。 字符串
msiResourceId 允许访问存储帐户的托管标识 (MSI) ,仅针对第 2 代Azure Data Lake Storage指定。 字符串
name 存储帐户的名称。 字符串
ResourceId 存储帐户的资源 ID,仅为 Azure Data Lake Storage Gen 2 指定。 字符串
saskey 共享访问签名密钥。 字符串