共用方式為


Microsoft.DeviceUpdate 帳戶 2020-03-01-preview

Bicep 資源定義

帳戶資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔

資源格式

若要建立 Microsoft.DeviceUpdate/accounts 資源,請將下列 Bicep 新增至您的範本。

resource symbolicname 'Microsoft.DeviceUpdate/accounts@2020-03-01-preview' = {
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  location: 'string'
  name: 'string'
  properties: {
    privateEndpointConnections: [
      {
        properties: {
          groupIds: [
            'string'
          ]
          privateEndpoint: {}
          privateLinkServiceConnectionState: {
            actionsRequired: 'string'
            description: 'string'
            status: 'string'
          }
        }
      }
    ]
    publicNetworkAccess: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

屬性值

AccountProperties

名字 描述 價值
privateEndpointConnections 與帳戶相關聯的私人端點連線清單。 PrivateEndpointConnection[]
publicNetworkAccess 帳戶是否允許公用網路存取。 'Disabled'
'Enabled'

ManagedServiceIdentity

名字 描述 價值
類型 受控服務識別的類型(允許 SystemAssigned 和 UserAssigned 類型)。 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned' (必要)
userAssignedIdentities 與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中的空白物件({})。 UserAssignedIdentities

Microsoft.DeviceUpdate/accounts

名字 描述 價值
身份 用於資源的身分識別類型。 ManagedServiceIdentity
位置 資源所在的地理位置 字串 (必要)
名字 資源名稱 字串

約束:
最小長度 = 3
最大長度 = 24
模式 = ^[A-Za-z0-9]+(-[A-Za-z0-9]+)*$ (必要)
性能 裝置更新帳戶屬性。 AccountProperties
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤

PrivateEndpoint

名字 描述 價值

PrivateEndpointConnection

名字 描述 價值
性能 資源屬性。 PrivateEndpointConnectionProperties (必要)

PrivateEndpointConnectionProperties

名字 描述 價值
groupIds 群組標識碼的陣列。 string[]
privateEndpoint 私人端點的資源。 PrivateEndpoint
privateLinkServiceConnectionState 服務取用者與提供者之間連線狀態的相關信息集合。 PrivateLinkServiceConnectionState (必要)

PrivateLinkServiceConnectionState

名字 描述 價值
actionsRequired 訊息,指出服務提供者上的變更是否需要取用者的任何更新。 字串
描述 核准/拒絕連線的原因。 字串
地位 指出服務擁有者是否已核准/拒絕/移除連線。 「已核准」
'Pending'
'Rejected'

TrackedResourceTags

名字 描述 價值

UserAssignedIdentities

名字 描述 價值

UserAssignedIdentity

名字 描述 價值

快速入門範例

下列快速入門範例會部署此資源類型。

Bicep 檔案 描述
建立IoT中樞帳戶的裝置更新 此範本會建立一個帳戶,提供公用 DNS 記錄,並允許對數據平面進行 REST API 呼叫。 然後,用戶必須在帳戶下建立實例,並將它與IoT中樞連結以開始使用服務。
建立IoT中樞帳戶、實例、IoT 中樞 的裝置更新 此範本會建立帳戶,以及實例和中樞來鏈接實例。 它會使用必要的存取原則、路由和取用者群組來設定中樞。

ARM 樣本資源定義

帳戶資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔

資源格式

若要建立 Microsoft.DeviceUpdate/accounts 資源,請將下列 JSON 新增至範本。

{
  "type": "Microsoft.DeviceUpdate/accounts",
  "apiVersion": "2020-03-01-preview",
  "name": "string",
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {
      }
    }
  },
  "location": "string",
  "properties": {
    "privateEndpointConnections": [
      {
        "properties": {
          "groupIds": [ "string" ],
          "privateEndpoint": {
          },
          "privateLinkServiceConnectionState": {
            "actionsRequired": "string",
            "description": "string",
            "status": "string"
          }
        }
      }
    ],
    "publicNetworkAccess": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

屬性值

AccountProperties

名字 描述 價值
privateEndpointConnections 與帳戶相關聯的私人端點連線清單。 PrivateEndpointConnection[]
publicNetworkAccess 帳戶是否允許公用網路存取。 'Disabled'
'Enabled'

ManagedServiceIdentity

名字 描述 價值
類型 受控服務識別的類型(允許 SystemAssigned 和 UserAssigned 類型)。 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned' (必要)
userAssignedIdentities 與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中的空白物件({})。 UserAssignedIdentities

Microsoft.DeviceUpdate/accounts

名字 描述 價值
apiVersion API 版本 '2020-03-01-preview'
身份 用於資源的身分識別類型。 ManagedServiceIdentity
位置 資源所在的地理位置 字串 (必要)
名字 資源名稱 字串

約束:
最小長度 = 3
最大長度 = 24
模式 = ^[A-Za-z0-9]+(-[A-Za-z0-9]+)*$ (必要)
性能 裝置更新帳戶屬性。 AccountProperties
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤
類型 資源類型 'Microsoft.DeviceUpdate/accounts'

PrivateEndpoint

名字 描述 價值

PrivateEndpointConnection

名字 描述 價值
性能 資源屬性。 PrivateEndpointConnectionProperties (必要)

PrivateEndpointConnectionProperties

名字 描述 價值
groupIds 群組標識碼的陣列。 string[]
privateEndpoint 私人端點的資源。 PrivateEndpoint
privateLinkServiceConnectionState 服務取用者與提供者之間連線狀態的相關信息集合。 PrivateLinkServiceConnectionState (必要)

PrivateLinkServiceConnectionState

名字 描述 價值
actionsRequired 訊息,指出服務提供者上的變更是否需要取用者的任何更新。 字串
描述 核准/拒絕連線的原因。 字串
地位 指出服務擁有者是否已核准/拒絕/移除連線。 「已核准」
'Pending'
'Rejected'

TrackedResourceTags

名字 描述 價值

UserAssignedIdentities

名字 描述 價值

UserAssignedIdentity

名字 描述 價值

快速入門範本

下列快速入門範本會部署此資源類型。

範本 描述
建立IoT中樞帳戶的裝置更新

部署至 Azure
此範本會建立一個帳戶,提供公用 DNS 記錄,並允許對數據平面進行 REST API 呼叫。 然後,用戶必須在帳戶下建立實例,並將它與IoT中樞連結以開始使用服務。
建立IoT中樞帳戶、實例、IoT 中樞 的裝置更新

部署至 Azure
此範本會建立帳戶,以及實例和中樞來鏈接實例。 它會使用必要的存取原則、路由和取用者群組來設定中樞。

Terraform (AzAPI 提供者) 資源定義

帳戶資源類型可以使用目標作業來部署:

  • 資源群組

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔

資源格式

若要建立 Microsoft.DeviceUpdate/accounts 資源,請將下列 Terraform 新增至範本。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DeviceUpdate/accounts@2020-03-01-preview"
  name = "string"
  identity = {
    type = "string"
    userAssignedIdentities = {
      {customized property} = {
      }
    }
  }
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = jsonencode({
    properties = {
      privateEndpointConnections = [
        {
          properties = {
            groupIds = [
              "string"
            ]
            privateEndpoint = {
            }
            privateLinkServiceConnectionState = {
              actionsRequired = "string"
              description = "string"
              status = "string"
            }
          }
        }
      ]
      publicNetworkAccess = "string"
    }
  })
}

屬性值

AccountProperties

名字 描述 價值
privateEndpointConnections 與帳戶相關聯的私人端點連線清單。 PrivateEndpointConnection[]
publicNetworkAccess 帳戶是否允許公用網路存取。 'Disabled'
'Enabled'

ManagedServiceIdentity

名字 描述 價值
類型 受控服務識別的類型(允許 SystemAssigned 和 UserAssigned 類型)。 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned' (必要)
userAssignedIdentities 與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中的空白物件({})。 UserAssignedIdentities

Microsoft.DeviceUpdate/accounts

名字 描述 價值
身份 用於資源的身分識別類型。 ManagedServiceIdentity
位置 資源所在的地理位置 字串 (必要)
名字 資源名稱 字串

約束:
最小長度 = 3
最大長度 = 24
模式 = ^[A-Za-z0-9]+(-[A-Za-z0-9]+)*$ (必要)
性能 裝置更新帳戶屬性。 AccountProperties
標籤 資源標籤 標記名稱和值的字典。
類型 資源類型 “Microsoft.DeviceUpdate/accounts@2020-03-01-preview”

PrivateEndpoint

名字 描述 價值

PrivateEndpointConnection

名字 描述 價值
性能 資源屬性。 PrivateEndpointConnectionProperties (必要)

PrivateEndpointConnectionProperties

名字 描述 價值
groupIds 群組標識碼的陣列。 string[]
privateEndpoint 私人端點的資源。 PrivateEndpoint
privateLinkServiceConnectionState 服務取用者與提供者之間連線狀態的相關信息集合。 PrivateLinkServiceConnectionState (必要)

PrivateLinkServiceConnectionState

名字 描述 價值
actionsRequired 訊息,指出服務提供者上的變更是否需要取用者的任何更新。 字串
描述 核准/拒絕連線的原因。 字串
地位 指出服務擁有者是否已核准/拒絕/移除連線。 「已核准」
'Pending'
'Rejected'

TrackedResourceTags

名字 描述 價值

UserAssignedIdentities

名字 描述 價值

UserAssignedIdentity

名字 描述 價值