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

Microsoft。ManagedNetworkFabric networkBootstrapDevices

Bicep资源定义

networkBootstrapDevices 资源类型可部署针对以下操作:

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

资源格式

去创造一个Microsoft。ManagedNetworkFabric/networkBootstrapDevices 资源,将以下 Bicep 添加到你的模板中。

resource symbolicname 'Microsoft.ManagedNetworkFabric/networkBootstrapDevices@2025-07-15' = {
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  location: 'string'
  name: 'string'
  properties: {
    annotation: 'string'
    hostName: 'string'
    networkDeviceSku: 'string'
    serialNumber: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

属性值

Microsoft。ManagedNetworkFabric/networkBootstrapDevices

名称 说明 价值
标识 分配给此资源的托管服务标识。 ManagedServiceIdentity
位置 资源所在的地理位置 string (必需)
名字 资源名称 string

约束:
模式 = ^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$ (必需)
性能 NetworkBootstrapDevice 属性 NetworkBootstrapDeviceProperties (required)
标记 资源标记 标记名称和值的字典。 请参阅模板 中的 标记

ManagedServiceIdentity

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

NetworkBootstrapDeviceProperties(网络引导器设备属性)

名称 说明 价值
注释 切换配置说明。 字符串
hostName 设备的主机名。 string

约束:
最小长度 = 1
networkDeviceSku Network Bootstrap 设备 SKU 名称。 字符串
serialNumber 设备的序列号。 序列号的格式 - Make;型;HardwareRevisionId;SerialNumber。 string

约束:
最小长度 = 1

TrackedResourceTags

名称 说明 价值

UserAssignedIdentities

名称 说明 价值

UserAssignedIdentity

名称 说明 价值

ARM 模板资源定义

networkBootstrapDevices 资源类型可部署针对以下操作:

用法示例

资源格式

去创造一个Microsoft。ManagedNetworkFabric/networkBootstrapDevices 资源,向你的模板添加以下 JSON 代码。

{
  "type": "Microsoft.ManagedNetworkFabric/networkBootstrapDevices",
  "apiVersion": "2025-07-15",
  "name": "string",
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {
      }
    }
  },
  "location": "string",
  "properties": {
    "annotation": "string",
    "hostName": "string",
    "networkDeviceSku": "string",
    "serialNumber": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

属性值

Microsoft。ManagedNetworkFabric/networkBootstrapDevices

名称 说明 价值
apiVersion API 版本 '2025-07-15'
标识 分配给此资源的托管服务标识。 ManagedServiceIdentity
位置 资源所在的地理位置 string (必需)
名字 资源名称 string

约束:
模式 = ^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$ (必需)
性能 NetworkBootstrapDevice 属性 NetworkBootstrapDeviceProperties (required)
标记 资源标记 标记名称和值的字典。 请参阅模板 中的 标记
类型 资源类型 “Microsoft。ManagedNetworkFabric/networkBootstrapDevices'

ManagedServiceIdentity

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

NetworkBootstrapDeviceProperties(网络引导器设备属性)

名称 说明 价值
注释 切换配置说明。 字符串
hostName 设备的主机名。 string

约束:
最小长度 = 1
networkDeviceSku Network Bootstrap 设备 SKU 名称。 字符串
serialNumber 设备的序列号。 序列号的格式 - Make;型;HardwareRevisionId;SerialNumber。 string

约束:
最小长度 = 1

TrackedResourceTags

名称 说明 价值

UserAssignedIdentities

名称 说明 价值

UserAssignedIdentity

名称 说明 价值

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

networkBootstrapDevices 资源类型可部署针对以下操作:

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

资源格式

去创造一个Microsoft。ManagedNetworkFabric/networkBootstrapDevices 资源,将以下 Terraform 添加到你的模板中。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.ManagedNetworkFabric/networkBootstrapDevices@2025-07-15"
  name = "string"
  parent_id = "string"
  identity {
    type = "string"
    identity_ids = [
      "string"
    ]
  }
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      annotation = "string"
      hostName = "string"
      networkDeviceSku = "string"
      serialNumber = "string"
    }
  }
}

属性值

Microsoft。ManagedNetworkFabric/networkBootstrapDevices

名称 说明 价值
标识 分配给此资源的托管服务标识。 ManagedServiceIdentity
位置 资源所在的地理位置 string (必需)
名字 资源名称 string

约束:
模式 = ^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$ (必需)
性能 NetworkBootstrapDevice 属性 NetworkBootstrapDeviceProperties (required)
标记 资源标记 标记名称和值的字典。
类型 资源类型 “Microsoft。ManagedNetworkFabric/networkBootstrapDevices@2025-07-15”

ManagedServiceIdentity

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

NetworkBootstrapDeviceProperties(网络引导器设备属性)

名称 说明 价值
注释 切换配置说明。 字符串
hostName 设备的主机名。 string

约束:
最小长度 = 1
networkDeviceSku Network Bootstrap 设备 SKU 名称。 字符串
serialNumber 设备的序列号。 序列号的格式 - Make;型;HardwareRevisionId;SerialNumber。 string

约束:
最小长度 = 1

TrackedResourceTags

名称 说明 价值

UserAssignedIdentities

名称 说明 价值

UserAssignedIdentity

名称 说明 价值