Bicep 資源定義
managedOps 資源類型可部署於以下作業中:
- 訂用帳戶 - 請參閱 訂用帳戶部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
要建立 Microsoft.ManagedOps/managedOps 資源,請將以下 Bicep 加入你的範本。
resource symbolicname 'Microsoft.ManagedOps/managedOps@2026-01-06-preview' = {
name: 'string'
properties: {
desiredConfiguration: {
azureMonitorInsights: {
azureMonitorWorkspaceId: 'string'
}
changeTrackingAndInventory: {
logAnalyticsWorkspaceId: 'string'
}
defenderCspm: 'string'
defenderForServers: 'string'
userAssignedManagedIdentityId: 'string'
}
sku: {
name: 'string'
tier: 'string'
}
}
}
屬性值
Microsoft.ManagedOps/managedOps
| 名稱 | Description | 價值觀 |
|---|---|---|
| 名稱 | 資源名稱 | string 約束: 模式 = default (必要) |
| properties | 此資源的資源特定屬性。 | 管理操作屬性 |
AzureMonitorConfiguration
| 名稱 | Description | 價值觀 |
|---|---|---|
| azureMonitorWorkspaceId | Azure Monitor 工作空間資源 ID,服務使用的。 | 字串 (必要) |
ChangeTrackingConfiguration
| 名稱 | Description | 價值觀 |
|---|---|---|
| logAnalyticsWorkspaceId | 服務使用的日誌分析工作區資源 ID。 | 字串 (必要) |
DesiredConfiguration
| 名稱 | Description | 價值觀 |
|---|---|---|
| azureMonitorInsights | Azure 監視器 Insights 服務的配置。 | AzureMonitorConfiguration (required) |
| changeTrackingAndInventory | 變更追蹤與庫存服務的設定。 | ChangeTrackingConfiguration (必需) |
| 防守者Cspm | Defender 雲端安全態勢管理(CSPM)服務的期望啟用狀態。 | '禁用' '啟用' |
| defenderForServers | Defender For Server 服務的期望啟用狀態。 | '禁用' '啟用' |
| userAssignedManagedIdentityId | 使用者指派的受管理身份(Managed Identity),用於對由 Ops360 管理的機器執行操作。 | 字串 (必要) |
管理操作屬性
| 名稱 | Description | 價值觀 |
|---|---|---|
| desiredConfiguration | 使用者期望的設定輸入。 | DesiredConfiguration (必需) |
| sku | 本資源的產品計畫細節。 | Sku |
Sku
| 名稱 | Description | 價值觀 |
|---|---|---|
| 名稱 | SKU 的名稱。 | 「管理營運」(必填) |
| 分層 | SKU 的定價層級。 | 「必備」(必填) |
ARM 樣本資源定義
managedOps 資源類型可部署於以下作業中:
使用範例
資源格式
要建立 Microsoft.ManagedOps/managedOps 資源,請將以下 JSON 加入範本。
{
"type": "Microsoft.ManagedOps/managedOps",
"apiVersion": "2026-01-06-preview",
"name": "string",
"properties": {
"desiredConfiguration": {
"azureMonitorInsights": {
"azureMonitorWorkspaceId": "string"
},
"changeTrackingAndInventory": {
"logAnalyticsWorkspaceId": "string"
},
"defenderCspm": "string",
"defenderForServers": "string",
"userAssignedManagedIdentityId": "string"
},
"sku": {
"name": "string",
"tier": "string"
}
}
}
屬性值
Microsoft.ManagedOps/managedOps
| 名稱 | Description | 價值觀 |
|---|---|---|
| apiVersion | API 版本 | 『2026-01-06-預覽』 |
| 名稱 | 資源名稱 | string 約束: 模式 = default (必要) |
| properties | 此資源的資源特定屬性。 | 管理操作屬性 |
| 型別 | 資源類型 | 『Microsoft.ManagedOps/managedOps』 |
AzureMonitorConfiguration
| 名稱 | Description | 價值觀 |
|---|---|---|
| azureMonitorWorkspaceId | Azure Monitor 工作空間資源 ID,服務使用的。 | 字串 (必要) |
ChangeTrackingConfiguration
| 名稱 | Description | 價值觀 |
|---|---|---|
| logAnalyticsWorkspaceId | 服務使用的日誌分析工作區資源 ID。 | 字串 (必要) |
DesiredConfiguration
| 名稱 | Description | 價值觀 |
|---|---|---|
| azureMonitorInsights | Azure 監視器 Insights 服務的配置。 | AzureMonitorConfiguration (required) |
| changeTrackingAndInventory | 變更追蹤與庫存服務的設定。 | ChangeTrackingConfiguration (必需) |
| 防守者Cspm | Defender 雲端安全態勢管理(CSPM)服務的期望啟用狀態。 | '禁用' '啟用' |
| defenderForServers | Defender For Server 服務的期望啟用狀態。 | '禁用' '啟用' |
| userAssignedManagedIdentityId | 使用者指派的受管理身份(Managed Identity),用於對由 Ops360 管理的機器執行操作。 | 字串 (必要) |
管理操作屬性
| 名稱 | Description | 價值觀 |
|---|---|---|
| desiredConfiguration | 使用者期望的設定輸入。 | DesiredConfiguration (必需) |
| sku | 本資源的產品計畫細節。 | Sku |
Sku
| 名稱 | Description | 價值觀 |
|---|---|---|
| 名稱 | SKU 的名稱。 | 「管理營運」(必填) |
| 分層 | SKU 的定價層級。 | 「必備」(必填) |
Terraform (AzAPI 提供者) 資源定義
managedOps 資源類型可部署於以下作業中:
- 訂閱 關於每個 API 版本變更屬性的清單,請參見 變更日誌。
資源格式
要建立 Microsoft.ManagedOps/managedOps 資源,請將以下 Terraform 加入你的範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.ManagedOps/managedOps@2026-01-06-preview"
name = "string"
parent_id = "string"
body = {
properties = {
desiredConfiguration = {
azureMonitorInsights = {
azureMonitorWorkspaceId = "string"
}
changeTrackingAndInventory = {
logAnalyticsWorkspaceId = "string"
}
defenderCspm = "string"
defenderForServers = "string"
userAssignedManagedIdentityId = "string"
}
sku = {
name = "string"
tier = "string"
}
}
}
}
屬性值
Microsoft.ManagedOps/managedOps
| 名稱 | Description | 價值觀 |
|---|---|---|
| 名稱 | 資源名稱 | string 約束: 模式 = default (必要) |
| properties | 此資源的資源特定屬性。 | 管理操作屬性 |
| 型別 | 資源類型 | 「Microsoft。管理作業/managedOps@2026-01-06-預覽」 |
AzureMonitorConfiguration
| 名稱 | Description | 價值觀 |
|---|---|---|
| azureMonitorWorkspaceId | Azure Monitor 工作空間資源 ID,服務使用的。 | 字串 (必要) |
ChangeTrackingConfiguration
| 名稱 | Description | 價值觀 |
|---|---|---|
| logAnalyticsWorkspaceId | 服務使用的日誌分析工作區資源 ID。 | 字串 (必要) |
DesiredConfiguration
| 名稱 | Description | 價值觀 |
|---|---|---|
| azureMonitorInsights | Azure 監視器 Insights 服務的配置。 | AzureMonitorConfiguration (required) |
| changeTrackingAndInventory | 變更追蹤與庫存服務的設定。 | ChangeTrackingConfiguration (必需) |
| 防守者Cspm | Defender 雲端安全態勢管理(CSPM)服務的期望啟用狀態。 | '禁用' '啟用' |
| defenderForServers | Defender For Server 服務的期望啟用狀態。 | '禁用' '啟用' |
| userAssignedManagedIdentityId | 使用者指派的受管理身份(Managed Identity),用於對由 Ops360 管理的機器執行操作。 | 字串 (必要) |
管理操作屬性
| 名稱 | Description | 價值觀 |
|---|---|---|
| desiredConfiguration | 使用者期望的設定輸入。 | DesiredConfiguration (必需) |
| sku | 本資源的產品計畫細節。 | Sku |
Sku
| 名稱 | Description | 價值觀 |
|---|---|---|
| 名稱 | SKU 的名稱。 | 「管理營運」(必填) |
| 分層 | SKU 的定價層級。 | 「必備」(必填) |