Microsoft.IoTOperations 實例

Bicep 資源定義

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

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

資源格式

若要建立 Microsoft.IoTOperations/instances 資源,請將下列 Bicep 新增至範本。

resource symbolicname 'Microsoft.IoTOperations/instances@2026-11-01-preview' = {
  extendedLocation: {
    name: 'string'
    type: 'string'
  }
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  location: 'string'
  name: 'string'
  properties: {
    adrNamespaceRef: {
      resourceId: 'string'
    }
    defaultSecretProviderClassRef: {
      resourceId: 'string'
    }
    description: 'string'
    features: {
      {customized property}: {
        mode: 'string'
        settings: {
          {customized property}: 'string'
        }
      }
    }
    schemaRegistryRef: {
      resourceId: 'string'
    }
  }
  sku: {
    name: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

屬性值

Microsoft.IoTOperations/instances

Name Description Value
extendedLocation 資源的邊緣位置。 ExtendedLocation (必填)
身分識別 指派給此資源的受控服務識別。 ManagedServiceIdentity
位置 資源所在的地理位置 字串 (必要)
name 資源名稱 string

Constraints:
最小長度 = 3
最大長度 = 63
模式 = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (必要)
properties 此資源的資源特定屬性。 InstanceProperties
sku AIO 實例的計費 SKU。 預設為標準模式。 實例軟體
tags 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤

AzureDeviceRegistryNamespaceRef

Name Description Value
resourceId Azure 設備註冊表命名空間的資源ID。 字串 (必要)

ExtendedLocation

Name Description Value
name 擴充位置的名稱。 字串 (必要)
型別 ExtendedLocation 的類型。 'CustomLocation'(必填)

InstanceFeature

Name Description Value
mode 功能的狀態。 'Disabled'
'Preview'
'Stable'
設定 功能的設定。 InstanceFeatureSettings

InstanceFeatureSettings

Name Description Value

InstanceProperties

Name Description Value
adr命名空間參考 資產、發現的資產和設備使用的 Azure 設備註冊表命名空間 AzureDeviceRegistryNamespaceRef
預設秘密提供者類別參考 對 AIO Secret 提供程式類的引用。 SecretProviderClassRef
description 實例的詳細描述。 字串
features AIO 實例的功能。 InstancePropertiesFeatures
schemaRegistryRef 這個 AIO 實例之架構登錄的參考。 SchemaRegistryRef (必要)

InstancePropertiesFeatures

Name Description Value

實例軟體

Name Description Value
name SKU 的名稱。 決定此實例所適用的計費計量表。 「必備」
'Standard' (必要)

ManagedServiceIdentity

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

SchemaRegistryRef

Name Description Value
resourceId 架構登錄的資源識別碼。 字串 (必要)

SecretProviderClassRef

Name Description Value
resourceId AIO 金鑰提供者類的資源 ID。 字串 (必要)

TrackedResourceTags

Name Description Value

UserAssignedIdentities

Name Description Value

UserAssignedIdentity

Name Description Value

ARM 樣本資源定義

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

使用範例

資源格式

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

{
  "type": "Microsoft.IoTOperations/instances",
  "apiVersion": "2026-11-01-preview",
  "name": "string",
  "extendedLocation": {
    "name": "string",
    "type": "string"
  },
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {
      }
    }
  },
  "location": "string",
  "properties": {
    "adrNamespaceRef": {
      "resourceId": "string"
    },
    "defaultSecretProviderClassRef": {
      "resourceId": "string"
    },
    "description": "string",
    "features": {
      "{customized property}": {
        "mode": "string",
        "settings": {
          "{customized property}": "string"
        }
      }
    },
    "schemaRegistryRef": {
      "resourceId": "string"
    }
  },
  "sku": {
    "name": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

屬性值

Microsoft.IoTOperations/instances

Name Description Value
apiVersion API 版本 『2026-11-01-預覽』
extendedLocation 資源的邊緣位置。 ExtendedLocation (必填)
身分識別 指派給此資源的受控服務識別。 ManagedServiceIdentity
位置 資源所在的地理位置 字串 (必要)
name 資源名稱 string

Constraints:
最小長度 = 3
最大長度 = 63
模式 = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (必要)
properties 此資源的資源特定屬性。 InstanceProperties
sku AIO 實例的計費 SKU。 預設為標準模式。 實例軟體
tags 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤
型別 資源類型 'Microsoft.IoTOperations/instances'

AzureDeviceRegistryNamespaceRef

Name Description Value
resourceId Azure 設備註冊表命名空間的資源ID。 字串 (必要)

ExtendedLocation

Name Description Value
name 擴充位置的名稱。 字串 (必要)
型別 ExtendedLocation 的類型。 'CustomLocation'(必填)

InstanceFeature

Name Description Value
mode 功能的狀態。 'Disabled'
'Preview'
'Stable'
設定 功能的設定。 InstanceFeatureSettings

InstanceFeatureSettings

Name Description Value

InstanceProperties

Name Description Value
adr命名空間參考 資產、發現的資產和設備使用的 Azure 設備註冊表命名空間 AzureDeviceRegistryNamespaceRef
預設秘密提供者類別參考 對 AIO Secret 提供程式類的引用。 SecretProviderClassRef
description 實例的詳細描述。 字串
features AIO 實例的功能。 InstancePropertiesFeatures
schemaRegistryRef 這個 AIO 實例之架構登錄的參考。 SchemaRegistryRef (必要)

InstancePropertiesFeatures

Name Description Value

實例軟體

Name Description Value
name SKU 的名稱。 決定此實例所適用的計費計量表。 「必備」
'Standard' (必要)

ManagedServiceIdentity

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

SchemaRegistryRef

Name Description Value
resourceId 架構登錄的資源識別碼。 字串 (必要)

SecretProviderClassRef

Name Description Value
resourceId AIO 金鑰提供者類的資源 ID。 字串 (必要)

TrackedResourceTags

Name Description Value

UserAssignedIdentities

Name Description Value

UserAssignedIdentity

Name Description Value

Terraform (AzAPI 提供者) 資源定義

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

  • 資源團體 關於每個 API 版本變更屬性的清單,請參見 變更日誌。

資源格式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.IoTOperations/instances@2026-11-01-preview"
  name = "string"
  parent_id = "string"
  identity {
    type = "string"
    identity_ids = [
      "string"
    ]
  }
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    extendedLocation = {
      name = "string"
      type = "string"
    }
    properties = {
      adrNamespaceRef = {
        resourceId = "string"
      }
      defaultSecretProviderClassRef = {
        resourceId = "string"
      }
      description = "string"
      features = {
        {customized property} = {
          mode = "string"
          settings = {
            {customized property} = "string"
          }
        }
      }
      schemaRegistryRef = {
        resourceId = "string"
      }
    }
    sku = {
      name = "string"
    }
  }
}

屬性值

Microsoft.IoTOperations/instances

Name Description Value
extendedLocation 資源的邊緣位置。 ExtendedLocation (必填)
身分識別 指派給此資源的受控服務識別。 ManagedServiceIdentity
位置 資源所在的地理位置 字串 (必要)
name 資源名稱 string

Constraints:
最小長度 = 3
最大長度 = 63
模式 = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (必要)
properties 此資源的資源特定屬性。 InstanceProperties
sku AIO 實例的計費 SKU。 預設為標準模式。 實例軟體
tags 資源標籤 標記名稱和值的字典。
型別 資源類型 「Microsoft。IoTOperations/instances@2026-11-01-預覽」

AzureDeviceRegistryNamespaceRef

Name Description Value
resourceId Azure 設備註冊表命名空間的資源ID。 字串 (必要)

ExtendedLocation

Name Description Value
name 擴充位置的名稱。 字串 (必要)
型別 ExtendedLocation 的類型。 'CustomLocation'(必填)

InstanceFeature

Name Description Value
mode 功能的狀態。 'Disabled'
'Preview'
'Stable'
設定 功能的設定。 InstanceFeatureSettings

InstanceFeatureSettings

Name Description Value

InstanceProperties

Name Description Value
adr命名空間參考 資產、發現的資產和設備使用的 Azure 設備註冊表命名空間 AzureDeviceRegistryNamespaceRef
預設秘密提供者類別參考 對 AIO Secret 提供程式類的引用。 SecretProviderClassRef
description 實例的詳細描述。 字串
features AIO 實例的功能。 InstancePropertiesFeatures
schemaRegistryRef 這個 AIO 實例之架構登錄的參考。 SchemaRegistryRef (必要)

InstancePropertiesFeatures

Name Description Value

實例軟體

Name Description Value
name SKU 的名稱。 決定此實例所適用的計費計量表。 「必備」
'Standard' (必要)

ManagedServiceIdentity

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

SchemaRegistryRef

Name Description Value
resourceId 架構登錄的資源識別碼。 字串 (必要)

SecretProviderClassRef

Name Description Value
resourceId AIO 金鑰提供者類的資源 ID。 字串 (必要)

TrackedResourceTags

Name Description Value

UserAssignedIdentities

Name Description Value

UserAssignedIdentity

Name Description Value