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

Microsoft.HDInsight 群集/应用程序 2021-06-01

Bicep 资源定义

可将群集/应用程序资源类型部署到:

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

资源格式

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

resource symbolicname 'Microsoft.HDInsight/clusters/applications@2021-06-01' = {
  name: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  parent: resourceSymbolicName
  etag: 'string'
  properties: {
    applicationType: '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'
        }
      ]
    }
    errors: [
      {
        code: 'string'
        message: 'string'
      }
    ]
    httpsEndpoints: [
      {
        accessModes: [
          'string'
        ]
        destinationPort: int
        disableGatewayAuth: bool
        privateIPAddress: 'string'
        subDomainSuffix: 'string'
      }
    ]
    installScriptActions: [
      {
        name: 'string'
        parameters: 'string'
        roles: [
          'string'
        ]
        uri: 'string'
      }
    ]
    privateLinkConfigurations: [
      {
        name: 'string'
        properties: {
          groupId: 'string'
          ipConfigurations: [
            {
              name: 'string'
              properties: {
                primary: bool
                privateIPAddress: 'string'
                privateIPAllocationMethod: 'string'
                subnet: {
                  id: 'string'
                }
              }
            }
          ]
        }
      }
    ]
    sshEndpoints: [
      {
        destinationPort: int
        location: 'string'
        privateIPAddress: 'string'
        publicPort: int
      }
    ]
    uninstallScriptActions: [
      {
        name: 'string'
        parameters: 'string'
        roles: [
          'string'
        ]
        uri: 'string'
      }
    ]
  }
}

属性值

clusters/applications

名称 说明
name 资源名称

了解如何在 Bicep 中为子资源设置名称和类型。
字符串 (必需)
标记 应用程序的标记。 标记名称和值的字典。 请参阅 模板中的标记
父级 (parent) 在 Bicep 中,可以为子资源指定父资源。 仅当子资源在父资源外部声明时,才需要添加此属性。

有关详细信息,请参阅 父资源之外的子资源
类型为资源的符号名称: clusters
etag 应用程序的 ETag string
properties 应用程序的属性。 ApplicationProperties

ApplicationProperties

名称 说明
applicationType 应用程序类型。 字符串
computeProfile 群集中的角色列表。 ComputeProfile
错误 错误列表。 Errors[]
httpsEndpoints 应用程序 HTTPS 终结点的列表。 ApplicationGetHttpsEndpoint[]
installScriptActions 安装脚本操作的列表。 RuntimeScriptAction[]
privateLinkConfigurations 专用链接配置。 PrivateLinkConfiguration[]
sshEndpoints 应用程序 SSH 终结点的列表。 ApplicationGetEndpoint[]
uninstallScriptActions 卸载脚本操作的列表。 RuntimeScriptAction[]

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。 字符串
子网 子网的名称。 字符串

错误

名称 说明
code 错误代码。 字符串
message 错误消息。 字符串

ApplicationGetHttpsEndpoint

名称 说明
accessModes 应用程序的访问模式列表。 string[]
destinationPort 要连接到的目标端口。 int
disableGatewayAuth 值指示是否禁用 GatewayAuth。 bool
privateIPAddress 终结点的专用 IP 地址。 字符串
subDomainSuffix 应用程序的子域后缀。 字符串

RuntimeScriptAction

名称 说明
name 脚本操作的名称。 字符串 (必需)
parameters 脚本的参数 字符串
角色 将执行脚本的角色列表。 string[] (必需的)
uri 脚本的 URI。 字符串 (必需)

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。 字符串

ApplicationGetEndpoint

名称 说明
destinationPort 要连接到的目标端口。 int
location 终结点的位置。 字符串
privateIPAddress 终结点的专用 IP 地址。 字符串
publicPort 要连接到的公共端口。 int

快速入门模板

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

模板 说明
部署 HDInsight 群集 + Confluent 架构注册表节点

部署到 Azure
通过此模板,可以使用架构注册表边缘节点创建运行 Linux 的 HDInsight 群集。 有关详细信息,请参阅 /azure/hdinsight/hdinsight-apps-use-edge-node
将边缘节点部署到现有 HDInsight 群集

部署到 Azure
此模板允许创建一个空边缘节点,并将其添加到现有的 HDInsight 群集。 有关详细信息,请参阅 /azure/hdinsight/hdinsight-apps-use-edge-node
部署具有边缘节点的 HDInsight 群集

部署到 Azure
此模板允许创建运行 Linux 且边缘节点为空的 HDInsight 群集。 有关详细信息,请参阅 /azure/hdinsight/hdinsight-apps-use-edge-node

ARM 模板资源定义

可将群集/应用程序资源类型部署到:

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

资源格式

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

{
  "type": "Microsoft.HDInsight/clusters/applications",
  "apiVersion": "2021-06-01",
  "name": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "etag": "string",
  "properties": {
    "applicationType": "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"
        }
      ]
    },
    "errors": [
      {
        "code": "string",
        "message": "string"
      }
    ],
    "httpsEndpoints": [
      {
        "accessModes": [ "string" ],
        "destinationPort": "int",
        "disableGatewayAuth": "bool",
        "privateIPAddress": "string",
        "subDomainSuffix": "string"
      }
    ],
    "installScriptActions": [
      {
        "name": "string",
        "parameters": "string",
        "roles": [ "string" ],
        "uri": "string"
      }
    ],
    "privateLinkConfigurations": [
      {
        "name": "string",
        "properties": {
          "groupId": "string",
          "ipConfigurations": [
            {
              "name": "string",
              "properties": {
                "primary": "bool",
                "privateIPAddress": "string",
                "privateIPAllocationMethod": "string",
                "subnet": {
                  "id": "string"
                }
              }
            }
          ]
        }
      }
    ],
    "sshEndpoints": [
      {
        "destinationPort": "int",
        "location": "string",
        "privateIPAddress": "string",
        "publicPort": "int"
      }
    ],
    "uninstallScriptActions": [
      {
        "name": "string",
        "parameters": "string",
        "roles": [ "string" ],
        "uri": "string"
      }
    ]
  }
}

属性值

clusters/applications

名称 说明 Value
type 资源类型 “Microsoft.HDInsight/clusters/applications”
apiVersion 资源 API 版本 '2021-06-01'
name 资源名称

了解如何在 JSON ARM 模板中设置子资源的名称和类型。
字符串 (必需)
标记 应用程序的标记。 标记名称和值的字典。 请参阅 模板中的标记
etag 应用程序的 ETag string
properties 应用程序的属性。 ApplicationProperties

ApplicationProperties

名称 说明
applicationType 应用程序类型。 字符串
computeProfile 群集中的角色列表。 ComputeProfile
错误 错误列表。 Errors[]
httpsEndpoints 应用程序 HTTPS 终结点的列表。 ApplicationGetHttpsEndpoint[]
installScriptActions 安装脚本操作的列表。 RuntimeScriptAction[]
privateLinkConfigurations 专用链接配置。 PrivateLinkConfiguration[]
sshEndpoints 应用程序 SSH 终结点的列表。 ApplicationGetEndpoint[]
uninstallScriptActions 卸载脚本操作的列表。 RuntimeScriptAction[]

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。 字符串
子网 子网的名称。 字符串

错误

名称 说明
code 错误代码。 字符串
message 错误消息。 字符串

ApplicationGetHttpsEndpoint

名称 说明
accessModes 应用程序的访问模式列表。 string[]
destinationPort 要连接到的目标端口。 int
disableGatewayAuth 值指示是否禁用 GatewayAuth。 bool
privateIPAddress 终结点的专用 IP 地址。 字符串
subDomainSuffix 应用程序的子域后缀。 字符串

RuntimeScriptAction

名称 说明
name 脚本操作的名称。 字符串 (必需)
parameters 脚本的参数 字符串
角色 将执行脚本的角色列表。 string[] (必需)
uri 脚本的 URI。 字符串 (必需)

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。 字符串

ApplicationGetEndpoint

名称 说明
destinationPort 要连接到的目标端口。 int
location 终结点的位置。 字符串
privateIPAddress 终结点的专用 IP 地址。 字符串
publicPort 要连接到的公共端口。 int

快速入门模板

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

模板 说明
部署 HDInsight 群集 + Confluent 架构注册表节点

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

部署到 Azure
使用此模板可以创建一个空边缘节点,并将其添加到现有的 HDInsight 群集。 有关详细信息,请参阅 /azure/hdinsight/hdinsight-apps-use-edge-node
使用边缘节点部署 HDInsight 群集

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

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

可将群集/应用程序资源类型部署到:

  • 资源组

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

资源格式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.HDInsight/clusters/applications@2021-06-01"
  name = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      applicationType = "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"
          }
        ]
      }
      errors = [
        {
          code = "string"
          message = "string"
        }
      ]
      httpsEndpoints = [
        {
          accessModes = [
            "string"
          ]
          destinationPort = int
          disableGatewayAuth = bool
          privateIPAddress = "string"
          subDomainSuffix = "string"
        }
      ]
      installScriptActions = [
        {
          name = "string"
          parameters = "string"
          roles = [
            "string"
          ]
          uri = "string"
        }
      ]
      privateLinkConfigurations = [
        {
          name = "string"
          properties = {
            groupId = "string"
            ipConfigurations = [
              {
                name = "string"
                properties = {
                  primary = bool
                  privateIPAddress = "string"
                  privateIPAllocationMethod = "string"
                  subnet = {
                    id = "string"
                  }
                }
              }
            ]
          }
        }
      ]
      sshEndpoints = [
        {
          destinationPort = int
          location = "string"
          privateIPAddress = "string"
          publicPort = int
        }
      ]
      uninstallScriptActions = [
        {
          name = "string"
          parameters = "string"
          roles = [
            "string"
          ]
          uri = "string"
        }
      ]
    }
    etag = "string"
  })
}

属性值

clusters/applications

名称 说明 Value
type 资源类型 “Microsoft.HDInsight/clusters/applications@2021-06-01”
name 资源名称 字符串 (必需)
parent_id 此资源的父资源 ID。 类型为“群集”的资源的 ID
标记 应用程序的标记。 标记名称和值的字典。
etag 应用程序的 ETag string
properties 应用程序的属性。 ApplicationProperties

ApplicationProperties

名称 说明
applicationType 应用程序类型。 字符串
computeProfile 群集中的角色列表。 ComputeProfile
错误 错误列表。 Errors[]
httpsEndpoints 应用程序 HTTPS 终结点的列表。 ApplicationGetHttpsEndpoint[]
installScriptActions 安装脚本操作的列表。 RuntimeScriptAction[]
privateLinkConfigurations 专用链接配置。 PrivateLinkConfiguration[]
sshEndpoints 应用程序 SSH 终结点的列表。 ApplicationGetEndpoint[]
uninstallScriptActions 卸载脚本操作的列表。 RuntimeScriptAction[]

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。 字符串
子网 子网的名称。 字符串

错误

名称 说明
code 错误代码。 字符串
message 错误消息。 字符串

ApplicationGetHttpsEndpoint

名称 说明
accessModes 应用程序的访问模式列表。 string[]
destinationPort 要连接到的目标端口。 int
disableGatewayAuth 值指示是否禁用 GatewayAuth。 bool
privateIPAddress 终结点的专用 IP 地址。 字符串
subDomainSuffix 应用程序的子域后缀。 字符串

RuntimeScriptAction

名称 说明
name 脚本操作的名称。 字符串 (必需)
parameters 脚本的参数 字符串
角色 将执行脚本的角色列表。 string[] (必需)
uri 脚本的 URI。 字符串 (必需)

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。 字符串

ApplicationGetEndpoint

名称 说明
destinationPort 要连接到的目标端口。 int
location 终结点的位置。 字符串
privateIPAddress 终结点的专用 IP 地址。 字符串
publicPort 要连接到的公共端口。 int