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'
}
}
屬性值
Microsoft.IoTOperations/instances
名稱 | 說明 | 價值觀 |
---|---|---|
extendedLocation | 資源的邊緣位置。 | ExtendedLocation (必要) |
身分認同 | 指派給此資源的受控服務識別。 | ManagedServiceIdentity |
地點 | 資源所在的地理位置 | 字串 (必要) |
名稱 | 資源名稱 | 字串 約束: 最小長度 = 3 最大長度 = 63 模式 = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (必要) |
屬性 | 此資源的資源特定屬性。 | 實例屬性 |
標記 | 資源標籤 | 標記名稱和值的字典。 請參閱範本中的 標籤 |
擴展位置
名稱 | 說明 | 價值觀 |
---|---|---|
名稱 | 擴充位置的名稱。 | 字串 (必要) |
類型 | ExtendedLocation 的類型。 | 'CustomLocation' (必要) |
實例屬性
名稱 | 說明 | 價值觀 |
---|---|---|
說明 | 實例的詳細描述。 | 字符串 |
schemaRegistryRef 的 | 這個 AIO 實例之架構登錄的參考。 | SchemaRegistryRef (必要) |
ManagedServiceIdentity
名稱 | 說明 | 價值觀 |
---|---|---|
類型 | 受控服務識別的類型(允許 SystemAssigned 和 UserAssigned 類型)。 | “無” “系統分配” 'SystemAssigned,UserAssigned' 'UserAssigned' (必要) |
使用者指派的身份 | 與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中的空白物件({})。 | UserAssignedIdentities |
SchemaRegistryRef
名稱 | 說明 | 價值觀 |
---|---|---|
資源ID | 架構登錄的資源識別碼。 | 字串 (必要) |
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"
}
}
屬性值
Microsoft.IoTOperations/instances
名稱 | 說明 | 價值觀 |
---|---|---|
apiVersion | API 版本 | “2024-09-15-預覽” |
extendedLocation | 資源的邊緣位置。 | ExtendedLocation (必要) |
身分認同 | 指派給此資源的受控服務識別。 | ManagedServiceIdentity |
地點 | 資源所在的地理位置 | 字串 (必要) |
名稱 | 資源名稱 | 字串 約束: 最小長度 = 3 最大長度 = 63 模式 = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (必要) |
屬性 | 此資源的資源特定屬性。 | 實例屬性 |
標記 | 資源標籤 | 標記名稱和值的字典。 請參閱範本中的 標籤 |
類型 | 資源類型 | “Microsoft.IoTOperations/instances” |
擴展位置
名稱 | 說明 | 價值觀 |
---|---|---|
名稱 | 擴充位置的名稱。 | 字串 (必要) |
類型 | ExtendedLocation 的類型。 | 'CustomLocation' (必要) |
實例屬性
名稱 | 說明 | 價值觀 |
---|---|---|
說明 | 實例的詳細描述。 | 字符串 |
schemaRegistryRef 的 | 這個 AIO 實例之架構登錄的參考。 | SchemaRegistryRef (必要) |
ManagedServiceIdentity
名稱 | 說明 | 價值觀 |
---|---|---|
類型 | 受控服務識別的類型(允許 SystemAssigned 和 UserAssigned 類型)。 | “無” “系統分配” 'SystemAssigned,UserAssigned' 'UserAssigned' (必要) |
使用者指派的身份 | 與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中的空白物件({})。 | UserAssignedIdentities |
SchemaRegistryRef
名稱 | 說明 | 價值觀 |
---|---|---|
資源ID | 架構登錄的資源識別碼。 | 字串 (必要) |
TrackedResourceTags
名稱 | 說明 | 價值觀 |
---|
UserAssignedIdentities
名稱 | 說明 | 價值觀 |
---|
UserAssignedIdentity
名稱 | 說明 | 價值觀 |
---|
使用範例
Terraform (AzAPI 提供者) 資源定義
實體資源類型可以使用目標作業來部署:
- 資源群組
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
若要建立 Microsoft.IoTOperations/instances 資源,請將下列 Terraform 新增至範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.IoTOperations/instances@2024-09-15-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 = {
description = "string"
schemaRegistryRef = {
resourceId = "string"
}
}
}
}
屬性值
Microsoft.IoTOperations/instances
名稱 | 說明 | 價值觀 |
---|---|---|
extendedLocation | 資源的邊緣位置。 | ExtendedLocation (必要) |
身分認同 | 指派給此資源的受控服務識別。 | ManagedServiceIdentity |
地點 | 資源所在的地理位置 | 字串 (必要) |
名稱 | 資源名稱 | 字串 約束: 最小長度 = 3 最大長度 = 63 模式 = ^[a-z0-9][a-z0-9-]*[a-z0-9]$ (必要) |
屬性 | 此資源的資源特定屬性。 | 實例屬性 |
標記 | 資源標籤 | 標記名稱和值的字典。 |
類型 | 資源類型 | “Microsoft.IoTOperations/instances@2024-09-15-preview” |
擴展位置
名稱 | 說明 | 價值觀 |
---|---|---|
名稱 | 擴充位置的名稱。 | 字串 (必要) |
類型 | ExtendedLocation 的類型。 | 'CustomLocation' (必要) |
實例屬性
名稱 | 說明 | 價值觀 |
---|---|---|
說明 | 實例的詳細描述。 | 字符串 |
schemaRegistryRef 的 | 這個 AIO 實例之架構登錄的參考。 | SchemaRegistryRef (必要) |
ManagedServiceIdentity
名稱 | 說明 | 價值觀 |
---|---|---|
類型 | 受控服務識別的類型(允許 SystemAssigned 和 UserAssigned 類型)。 | “無” “系統分配” 'SystemAssigned,UserAssigned' 'UserAssigned' (必要) |
使用者指派的身份 | 與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中的空白物件({})。 | UserAssignedIdentities |
SchemaRegistryRef
名稱 | 說明 | 價值觀 |
---|---|---|
資源ID | 架構登錄的資源識別碼。 | 字串 (必要) |
TrackedResourceTags
名稱 | 說明 | 價值觀 |
---|
UserAssignedIdentities
名稱 | 說明 | 價值觀 |
---|
UserAssignedIdentity
名稱 | 說明 | 價值觀 |
---|