共用方式為


Microsoft.IoTOperations 實例 2024-09-15-preview

Bicep 資源定義

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

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

資源格式

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

resource symbolicname 'Microsoft.IoTOperations/instances@2024-09-15-preview' = {
  extendedLocation: {
    name: 'string'
    type: 'string'
  }
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  location: 'string'
  name: 'string'
  properties: {
    description: 'string'
    schemaRegistryRef: {
      resourceId: 'string'
    }
  }
  tags: {
    {customized property}: 'string'
  }
}

屬性值

ExtendedLocation

名字 描述 價值
名字 擴充位置的名稱。 字串 (必要)
類型 ExtendedLocation 的類型。 'CustomLocation' (必要)

InstanceProperties

名字 描述 價值
描述 實例的詳細描述。 字串
schemaRegistryRef 這個 AIO 實例之架構登錄的參考。 SchemaRegistryRef (必要)

ManagedServiceIdentity

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

Microsoft.IoTOperations/instances

名字 描述 價值
extendedLocation 資源的邊緣位置。 ExtendedLocation (必要)
身份 指派給此資源的受控服務識別。 ManagedServiceIdentity
位置 資源所在的地理位置 字串 (必要)
名字 資源名稱 字串

約束:
最小長度 = 3
最大長度 = 63
模式 = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (必要)
性能 此資源的資源特定屬性。 InstanceProperties
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤

SchemaRegistryRef

名字 描述 價值
resourceId 架構登錄的資源識別碼。 字串 (必要)

TrackedResourceTags

名字 描述 價值

UserAssignedIdentities

名字 描述 價值

UserAssignedIdentity

名字 描述 價值

ARM 樣本資源定義

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

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

資源格式

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

{
  "type": "Microsoft.IoTOperations/instances",
  "apiVersion": "2024-09-15-preview",
  "name": "string",
  "extendedLocation": {
    "name": "string",
    "type": "string"
  },
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {
      }
    }
  },
  "location": "string",
  "properties": {
    "description": "string",
    "schemaRegistryRef": {
      "resourceId": "string"
    }
  },
  "tags": {
    "{customized property}": "string"
  }
}

屬性值

ExtendedLocation

名字 描述 價值
名字 擴充位置的名稱。 字串 (必要)
類型 ExtendedLocation 的類型。 'CustomLocation' (必要)

InstanceProperties

名字 描述 價值
描述 實例的詳細描述。 字串
schemaRegistryRef 這個 AIO 實例之架構登錄的參考。 SchemaRegistryRef (必要)

ManagedServiceIdentity

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

Microsoft.IoTOperations/instances

名字 描述 價值
apiVersion API 版本 '2024-09-15-preview'
extendedLocation 資源的邊緣位置。 ExtendedLocation (必要)
身份 指派給此資源的受控服務識別。 ManagedServiceIdentity
位置 資源所在的地理位置 字串 (必要)
名字 資源名稱 字串

約束:
最小長度 = 3
最大長度 = 63
模式 = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (必要)
性能 此資源的資源特定屬性。 InstanceProperties
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤
類型 資源類型 'Microsoft.IoTOperations/instances'

SchemaRegistryRef

名字 描述 價值
resourceId 架構登錄的資源識別碼。 字串 (必要)

TrackedResourceTags

名字 描述 價值

UserAssignedIdentities

名字 描述 價值

UserAssignedIdentity

名字 描述 價值

Terraform (AzAPI 提供者) 資源定義

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

  • 資源群組

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

資源格式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.IoTOperations/instances@2024-09-15-preview"
  name = "string"
  identity = {
    type = "string"
    userAssignedIdentities = {
      {customized property} = {
      }
    }
  }
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = jsonencode({
    extendedLocation = {
      name = "string"
      type = "string"
    }
    properties = {
      description = "string"
      schemaRegistryRef = {
        resourceId = "string"
      }
    }
  })
}

屬性值

ExtendedLocation

名字 描述 價值
名字 擴充位置的名稱。 字串 (必要)
類型 ExtendedLocation 的類型。 'CustomLocation' (必要)

InstanceProperties

名字 描述 價值
描述 實例的詳細描述。 字串
schemaRegistryRef 這個 AIO 實例之架構登錄的參考。 SchemaRegistryRef (必要)

ManagedServiceIdentity

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

Microsoft.IoTOperations/instances

名字 描述 價值
extendedLocation 資源的邊緣位置。 ExtendedLocation (必要)
身份 指派給此資源的受控服務識別。 ManagedServiceIdentity
位置 資源所在的地理位置 字串 (必要)
名字 資源名稱 字串

約束:
最小長度 = 3
最大長度 = 63
模式 = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (必要)
性能 此資源的資源特定屬性。 InstanceProperties
標籤 資源標籤 標記名稱和值的字典。
類型 資源類型 “Microsoft.IoTOperations/instances@2024-09-15-preview”

SchemaRegistryRef

名字 描述 價值
resourceId 架構登錄的資源識別碼。 字串 (必要)

TrackedResourceTags

名字 描述 價值

UserAssignedIdentities

名字 描述 價值

UserAssignedIdentity

名字 描述 價值