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

Microsoft.AzureStackHCI 群集

Bicep 资源定义

可以使用目标操作部署群集资源类型:

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

用法示例

Azure verified modules

以下 Azure 验证模块可用于部署该资源类型。

模块 描述
Azure Stack HCI 集群 Azure Stack HCI 群集的 AVM 资源模块

资源格式

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

resource symbolicname 'Microsoft.AzureStackHCI/clusters@2026-11-01-preview' = {
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  kind: 'string'
  location: 'string'
  name: 'string'
  properties: {
    aadApplicationObjectId: 'string'
    aadClientId: 'string'
    aadServicePrincipalObjectId: 'string'
    aadTenantId: 'string'
    cloudManagementEndpoint: 'string'
    desiredProperties: {
      diagnosticLevel: 'string'
      windowsServerSubscription: 'string'
    }
    localAvailabilityZones: [
      {
        localAvailabilityZoneName: 'string'
        nodes: [
          'string'
        ]
      }
    ]
    logCollectionProperties: {}
    remoteSupportProperties: {}
    secretsLocations: [
      {
        secretsLocation: 'string'
        secretsType: 'string'
      }
    ]
    softwareAssuranceProperties: {
      softwareAssuranceIntent: 'string'
    }
  }
  tags: {
    {customized property}: 'string'
  }
}

属性值

Microsoft.AzureStackHCI/群集

名字 描述 价值
标识 分配给此资源的托管服务标识。 ManagedServiceIdentity
kind 该属性表明集群部署的目的。 例如,一个有效的值是AzureLocal string

约束:
图案 = ^[-\w\._,\(\\\)]+$
位置 资源所在的地理位置 string (必需)
名字 资源名称 string (必需)
性能 群集属性。 ClusterProperties
标签 资源标记 标记名称和值的字典。 请参见模板中的标签

ClusterDesiredProperties

名字 描述 价值
diagnosticLevel 群集发出的所需诊断数据级别。 “Basic”
“增强”
“关闭”
windowsServerSubscription Windows Server 订阅的所需状态。 “Disabled”
“Enabled”

ClusterProperties

名字 描述 价值
aadApplicationObjectId 群集 AAD 标识的对象 ID。 字符串
aadClientId 群集 AAD 标识的应用 ID。 字符串
aadServicePrincipalObjectId 群集标识服务主体的 ID。 字符串
aadTenantId 群集 AAD 标识的租户 ID。 字符串
cloudManagementEndpoint 从 Azure 门户为管理配置的终结点。 字符串
desiredProperties (所需属性) 群集的所需属性。 ClusterDesiredProperties
本地可用区 HCI集群的本地可用区信息 本地可用性区[]
logCollectionProperties 群集的日志收集属性。 LogCollectionProperties
remoteSupportProperties 群集的 RemoteSupport 属性。 RemoteSupportProperties
秘密地点 秘密地点列表。 秘密地点详情[]
softwareAssuranceProperties 群集的软件保障属性。 SoftwareAssuranceProperties

LocalAvailabilityZones

名字 描述 价值
localAvailabilityZoneName HCI集群的本地可用性区名称 字符串
nodes 属于特定区域的节点 字符串[]

LogCollectionProperties

名字 描述 价值

ManagedServiceIdentity

名字 描述 价值
类型 托管服务标识的类型(其中允许 SystemAssigned 和 UserAssigned 类型)。 “None”
“SystemAssigned”
“SystemAssigned,UserAssigned”
“UserAssigned”(必需)
用户分配的标识 与资源关联的用户分配标识集。 userAssignedIdentities 字典密钥将为 ARM 资源 ID,格式为“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。 字典值可以是请求中的空对象({})。 ManagedServiceIdentityUserAssignedIdentities

ManagedServiceIdentityUserAssignedIdentities

名字 描述 价值

RemoteSupportProperties

名字 描述 价值

秘密地点详情

名字 描述 价值
secrets位置 秘密位置 string (必需)
secretsType 存储秘密类型 “备份秘密”(必填)

SoftwareAssuranceProperties

名字 描述 价值
softwareAssuranceIntent 软件保证意图 软件保障权益的客户意向。 “禁用”
“Enable”

TrackedResourceTags

名字 描述 价值

UserAssignedIdentity

名字 描述 价值

ARM 模板资源定义

可以使用目标操作部署群集资源类型:

用法示例

资源格式

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

{
  "type": "Microsoft.AzureStackHCI/clusters",
  "apiVersion": "2026-11-01-preview",
  "name": "string",
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {
      }
    }
  },
  "kind": "string",
  "location": "string",
  "properties": {
    "aadApplicationObjectId": "string",
    "aadClientId": "string",
    "aadServicePrincipalObjectId": "string",
    "aadTenantId": "string",
    "cloudManagementEndpoint": "string",
    "desiredProperties": {
      "diagnosticLevel": "string",
      "windowsServerSubscription": "string"
    },
    "localAvailabilityZones": [
      {
        "localAvailabilityZoneName": "string",
        "nodes": [ "string" ]
      }
    ],
    "logCollectionProperties": {
    },
    "remoteSupportProperties": {
    },
    "secretsLocations": [
      {
        "secretsLocation": "string",
        "secretsType": "string"
      }
    ],
    "softwareAssuranceProperties": {
      "softwareAssuranceIntent": "string"
    }
  },
  "tags": {
    "{customized property}": "string"
  }
}

属性值

Microsoft.AzureStackHCI/群集

名字 描述 价值
apiVersion API 版本 '2026-11-01-预览'
标识 分配给此资源的托管服务标识。 ManagedServiceIdentity
kind 该属性表明集群部署的目的。 例如,一个有效的值是AzureLocal string

约束:
图案 = ^[-\w\._,\(\\\)]+$
位置 资源所在的地理位置 string (必需)
名字 资源名称 string (必需)
性能 群集属性。 ClusterProperties
标签 资源标记 标记名称和值的字典。 请参见模板中的标签
类型 资源类型 “Microsoft.AzureStackHCI/clusters”

ClusterDesiredProperties

名字 描述 价值
diagnosticLevel 群集发出的所需诊断数据级别。 “Basic”
“增强”
“关闭”
windowsServerSubscription Windows Server 订阅的所需状态。 “Disabled”
“Enabled”

ClusterProperties

名字 描述 价值
aadApplicationObjectId 群集 AAD 标识的对象 ID。 字符串
aadClientId 群集 AAD 标识的应用 ID。 字符串
aadServicePrincipalObjectId 群集标识服务主体的 ID。 字符串
aadTenantId 群集 AAD 标识的租户 ID。 字符串
cloudManagementEndpoint 从 Azure 门户为管理配置的终结点。 字符串
desiredProperties (所需属性) 群集的所需属性。 ClusterDesiredProperties
本地可用区 HCI集群的本地可用区信息 本地可用性区[]
logCollectionProperties 群集的日志收集属性。 LogCollectionProperties
remoteSupportProperties 群集的 RemoteSupport 属性。 RemoteSupportProperties
秘密地点 秘密地点列表。 秘密地点详情[]
softwareAssuranceProperties 群集的软件保障属性。 SoftwareAssuranceProperties

LocalAvailabilityZones

名字 描述 价值
localAvailabilityZoneName HCI集群的本地可用性区名称 字符串
nodes 属于特定区域的节点 字符串[]

LogCollectionProperties

名字 描述 价值

ManagedServiceIdentity

名字 描述 价值
类型 托管服务标识的类型(其中允许 SystemAssigned 和 UserAssigned 类型)。 “None”
“SystemAssigned”
“SystemAssigned,UserAssigned”
“UserAssigned”(必需)
用户分配的标识 与资源关联的用户分配标识集。 userAssignedIdentities 字典密钥将为 ARM 资源 ID,格式为“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。 字典值可以是请求中的空对象({})。 ManagedServiceIdentityUserAssignedIdentities

ManagedServiceIdentityUserAssignedIdentities

名字 描述 价值

RemoteSupportProperties

名字 描述 价值

秘密地点详情

名字 描述 价值
secrets位置 秘密位置 string (必需)
secretsType 存储秘密类型 “备份秘密”(必填)

SoftwareAssuranceProperties

名字 描述 价值
softwareAssuranceIntent 软件保证意图 软件保障权益的客户意向。 “禁用”
“Enable”

TrackedResourceTags

名字 描述 价值

UserAssignedIdentity

名字 描述 价值

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

可以使用目标操作部署群集资源类型:

  • 资源组 关于每个API版本中变更属性的列表,请参见 更改日志。

用法示例

Azure verified modules

以下 Azure 验证模块可用于部署该资源类型。

模块 描述
Azure Stack HCI 集群 Azure Stack HCI 群集的 AVM 资源模块

资源格式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.AzureStackHCI/clusters@2026-11-01-preview"
  name = "string"
  parent_id = "string"
  identity {
    type = "string"
    identity_ids = [
      "string"
    ]
  }
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    kind = "string"
    properties = {
      aadApplicationObjectId = "string"
      aadClientId = "string"
      aadServicePrincipalObjectId = "string"
      aadTenantId = "string"
      cloudManagementEndpoint = "string"
      desiredProperties = {
        diagnosticLevel = "string"
        windowsServerSubscription = "string"
      }
      localAvailabilityZones = [
        {
          localAvailabilityZoneName = "string"
          nodes = [
            "string"
          ]
        }
      ]
      logCollectionProperties = {
      }
      remoteSupportProperties = {
      }
      secretsLocations = [
        {
          secretsLocation = "string"
          secretsType = "string"
        }
      ]
      softwareAssuranceProperties = {
        softwareAssuranceIntent = "string"
      }
    }
  }
}

属性值

Microsoft.AzureStackHCI/群集

名字 描述 价值
标识 分配给此资源的托管服务标识。 ManagedServiceIdentity
kind 该属性表明集群部署的目的。 例如,一个有效的值是AzureLocal string

约束:
图案 = ^[-\w\._,\(\\\)]+$
位置 资源所在的地理位置 string (必需)
名字 资源名称 string (必需)
性能 群集属性。 ClusterProperties
标签 资源标记 标记名称和值的字典。
类型 资源类型 “Microsoft.AzureStackHCI/clusters@2026-11-01-preview”

ClusterDesiredProperties

名字 描述 价值
diagnosticLevel 群集发出的所需诊断数据级别。 “Basic”
“增强”
“关闭”
windowsServerSubscription Windows Server 订阅的所需状态。 “Disabled”
“Enabled”

ClusterProperties

名字 描述 价值
aadApplicationObjectId 群集 AAD 标识的对象 ID。 字符串
aadClientId 群集 AAD 标识的应用 ID。 字符串
aadServicePrincipalObjectId 群集标识服务主体的 ID。 字符串
aadTenantId 群集 AAD 标识的租户 ID。 字符串
cloudManagementEndpoint 从 Azure 门户为管理配置的终结点。 字符串
desiredProperties (所需属性) 群集的所需属性。 ClusterDesiredProperties
本地可用区 HCI集群的本地可用区信息 本地可用性区[]
logCollectionProperties 群集的日志收集属性。 LogCollectionProperties
remoteSupportProperties 群集的 RemoteSupport 属性。 RemoteSupportProperties
秘密地点 秘密地点列表。 秘密地点详情[]
softwareAssuranceProperties 群集的软件保障属性。 SoftwareAssuranceProperties

LocalAvailabilityZones

名字 描述 价值
localAvailabilityZoneName HCI集群的本地可用性区名称 字符串
nodes 属于特定区域的节点 字符串[]

LogCollectionProperties

名字 描述 价值

ManagedServiceIdentity

名字 描述 价值
类型 托管服务标识的类型(其中允许 SystemAssigned 和 UserAssigned 类型)。 “None”
“SystemAssigned”
“SystemAssigned,UserAssigned”
“UserAssigned”(必需)
用户分配的标识 与资源关联的用户分配标识集。 userAssignedIdentities 字典密钥将为 ARM 资源 ID,格式为“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。 字典值可以是请求中的空对象({})。 ManagedServiceIdentityUserAssignedIdentities

ManagedServiceIdentityUserAssignedIdentities

名字 描述 价值

RemoteSupportProperties

名字 描述 价值

秘密地点详情

名字 描述 价值
secrets位置 秘密位置 string (必需)
secretsType 存储秘密类型 “备份秘密”(必填)

SoftwareAssuranceProperties

名字 描述 价值
softwareAssuranceIntent 软件保证意图 软件保障权益的客户意向。 “禁用”
“Enable”

TrackedResourceTags

名字 描述 价值

UserAssignedIdentity

名字 描述 价值