共用方式為


Pricings - Update

更新範圍中提供的 Microsoft Defender for Cloud 定價設定。 有效範圍包括:訂用帳戶標識碼或特定資源標識符(支援的資源包括:'VirtualMachines、VMSS 和 ARC 機器',僅適用於 plan='VirtualMachines' 和 subPlan='P1')。

PUT https://management.azure.com/{scopeId}/providers/Microsoft.Security/pricings/{pricingName}?api-version=2024-01-01

URI 參數

名稱 位於 必要 類型 Description
pricingName
path True

string

定價組態的名稱

scopeId
path True

string

定價的範圍標識碼。 有效範圍包括:訂用帳戶(格式:'subscriptions/{subscriptionId}'),或特定資源(格式:'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}) - 支持的資源為 (VirtualMachines)

api-version
query True

string

作業的 API 版本

要求本文

名稱 必要 類型 Description
properties.pricingTier True

pricingTier

指出是否在選取的範圍上啟用Defender方案。 Microsoft適用於雲端的 Defender 提供兩個定價層:免費和標準。 標準層提供進階安全性功能,而免費層則提供基本安全性功能。

properties.enforce

enforce

如果設定為 “False”,則允許此範圍的子系覆寫此範圍上設定的定價組態 (允許設定 inherited=“False” )。 如果設定為 「True」,它會防止覆寫,並強制此範圍的所有子系進行此定價設定。 此欄位僅適用於訂用帳戶層級定價。

properties.extensions

Extension[]

自選。 方案下提供的延伸模組清單。

properties.subPlan

string

當有多個子方案可供使用時,針對標準定價組態選取的子方案。 每個子計劃都會啟用一組安全性功能。 未指定時,會套用完整計劃。 針對 VirtualMachines 方案,可用的子方案為 『P1』 & 'P2',其中僅支持資源層級 'P1' 子計劃。

回應

名稱 類型 Description
200 OK

Pricing

已成功更新

201 Created

Pricing

已成功建立。

Other Status Codes

CloudError

描述作業失敗原因的錯誤回應。

安全性

azure_auth

Azure Active Directory OAuth2 流

類型: oauth2
Flow: implicit
授權 URL: https://login.microsoftonline.com/common/oauth2/authorize

範圍

名稱 Description
user_impersonation 模擬您的用戶帳戶

範例

Update pricing on resource (example for Containers plan)
Update pricing on resource (example for VirtualMachines plan)
Update pricing on subscription (example for CloudPosture plan)
Update pricing on subscription (example for CloudPosture plan) - partial success
Update pricing on subscription (example for VirtualMachines plan)

Update pricing on resource (example for Containers plan)

範例要求

PUT https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/demo-containers-rg/providers/Microsoft.ContainerService/managedClusters/demo-aks-cluster/providers/Microsoft.Security/pricings/Containers?api-version=2024-01-01

{
  "properties": {
    "pricingTier": "Standard",
    "extensions": [
      {
        "name": "ContainerRegistriesVulnerabilityAssessments",
        "isEnabled": "True"
      },
      {
        "name": "ContainerSensor",
        "isEnabled": "True"
      },
      {
        "name": "AgentlessDiscoveryForKubernetes",
        "isEnabled": "True"
      },
      {
        "name": "AgentlessVmScanning",
        "isEnabled": "True",
        "additionalExtensionProperties": {
          "ExclusionTags": "[]"
        }
      },
      {
        "name": "ContainerIntegrityContribution",
        "isEnabled": "True"
      }
    ]
  }
}

範例回覆

{
  "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/demo-containers-rg/providers/Microsoft.ContainerService/managedClusters/demo-aks-cluster/providers/Microsoft.Security/pricings/Containers",
  "name": "Containers",
  "type": "Microsoft.Security/pricings",
  "properties": {
    "pricingTier": "Standard",
    "freeTrialRemainingTime": "P29DT23H55M",
    "enablementTime": "2025-01-14T16:35:12.4567890Z",
    "inherited": "False",
    "inheritedFrom": null,
    "extensions": [
      {
        "name": "ContainerRegistriesVulnerabilityAssessments",
        "isEnabled": "True"
      },
      {
        "name": "ContainerSensor",
        "isEnabled": "True"
      },
      {
        "name": "AgentlessDiscoveryForKubernetes",
        "isEnabled": "True"
      },
      {
        "name": "AgentlessVmScanning",
        "isEnabled": "True",
        "additionalExtensionProperties": {
          "ExclusionTags": "[]"
        }
      },
      {
        "name": "ContainerIntegrityContribution",
        "isEnabled": "True"
      }
    ]
  }
}
{
  "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/demo-containers-rg/providers/Microsoft.ContainerService/managedClusters/demo-aks-cluster/providers/Microsoft.Security/pricings/Containers",
  "name": "Containers",
  "type": "Microsoft.Security/pricings",
  "properties": {
    "pricingTier": "Standard",
    "freeTrialRemainingTime": "P30DT0H0M",
    "enablementTime": "2025-01-14T16:35:12.4567890Z",
    "inherited": "False",
    "inheritedFrom": null,
    "extensions": [
      {
        "name": "ContainerRegistriesVulnerabilityAssessments",
        "isEnabled": "True"
      },
      {
        "name": "ContainerSensor",
        "isEnabled": "True"
      },
      {
        "name": "AgentlessDiscoveryForKubernetes",
        "isEnabled": "True"
      },
      {
        "name": "AgentlessVmScanning",
        "isEnabled": "True",
        "additionalExtensionProperties": {
          "ExclusionTags": "[]"
        }
      },
      {
        "name": "ContainerIntegrityContribution",
        "isEnabled": "True"
      }
    ]
  }
}

Update pricing on resource (example for VirtualMachines plan)

範例要求

PUT https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/DEMO/providers/Microsoft.Compute/virtualMachines/VM-1/providers/Microsoft.Security/pricings/virtualMachines?api-version=2024-01-01

{
  "properties": {
    "pricingTier": "Standard",
    "subPlan": "P1"
  }
}

範例回覆

{
  "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/DEMO/providers/Microsoft.Compute/virtualMachines/VM-1/providers/Microsoft.Security/pricings/virtualMachines",
  "name": "virtualMachines",
  "type": "Microsoft.Security/pricings",
  "properties": {
    "pricingTier": "Standard",
    "subPlan": "P1",
    "freeTrialRemainingTime": "PT0S",
    "enablementTime": "2023-03-01T12:42:42.1921106Z",
    "inherited": "False",
    "inheritedFrom": null,
    "extensions": [
      {
        "name": "MdeDesignatedSubscription",
        "isEnabled": "False"
      },
      {
        "name": "AgentlessVmScanning",
        "isEnabled": "True",
        "additionalExtensionProperties": {
          "ExclusionTags": "[{\"Key\":\"TestKey1\",\"Value\":\"TestValue1\"},{\"Key\":\"TestKey2\",\"Value\":\"TestValue2\"}]"
        }
      }
    ]
  }
}
{
  "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/DEMO/providers/Microsoft.Compute/virtualMachines/VM-1/providers/Microsoft.Security/pricings/virtualMachines",
  "name": "virtualMachines",
  "type": "Microsoft.Security/pricings",
  "properties": {
    "pricingTier": "Standard",
    "subPlan": "P1",
    "freeTrialRemainingTime": "PT0S",
    "enablementTime": "2023-03-01T12:42:42.1921106Z",
    "inherited": "False",
    "inheritedFrom": null,
    "extensions": [
      {
        "name": "MdeDesignatedSubscription",
        "isEnabled": "False"
      },
      {
        "name": "AgentlessVmScanning",
        "isEnabled": "True",
        "additionalExtensionProperties": {
          "ExclusionTags": "[{'Key':'TestKey1','Value':'TestValue1'},{'Key':'TestKey2','Value':'TestValue2'}]"
        }
      }
    ]
  }
}

Update pricing on subscription (example for CloudPosture plan)

範例要求

PUT https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/pricings/CloudPosture?api-version=2024-01-01

{
  "properties": {
    "pricingTier": "Standard"
  }
}

範例回覆

{
  "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/pricings/CloudPosture",
  "name": "CloudPosture",
  "type": "Microsoft.Security/pricings",
  "properties": {
    "pricingTier": "Standard",
    "freeTrialRemainingTime": "PT0S",
    "enablementTime": "2023-03-01T12:42:42.1921106Z",
    "enforce": "False",
    "resourcesCoverageStatus": "FullyCovered",
    "extensions": [
      {
        "name": "AgentlessVmScanning",
        "isEnabled": "True",
        "operationStatus": {
          "code": "Succeeded",
          "message": "Successfully enabled extension"
        }
      },
      {
        "name": "AgentlessDiscoveryForKubernetes",
        "isEnabled": "True",
        "operationStatus": {
          "code": "Succeeded",
          "message": "Successfully enabled extension"
        }
      },
      {
        "name": "SensitiveDataDiscovery",
        "isEnabled": "True",
        "operationStatus": {
          "code": "Succeeded",
          "message": "Successfully enabled extension"
        }
      },
      {
        "name": "ContainerRegistriesVulnerabilityAssessments",
        "isEnabled": "True",
        "operationStatus": {
          "code": "Succeeded",
          "message": "Successfully enabled extension"
        }
      },
      {
        "name": "EntraPermissionsManagement",
        "isEnabled": "True",
        "operationStatus": {
          "code": "Succeeded",
          "message": "Successfully enabled extension"
        }
      }
    ]
  }
}
{
  "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/pricings/CloudPosture",
  "name": "CloudPosture",
  "type": "Microsoft.Security/pricings",
  "properties": {
    "pricingTier": "Standard",
    "freeTrialRemainingTime": "PT0S",
    "enablementTime": "2023-03-01T12:42:42.1921106Z",
    "enforce": "False",
    "resourcesCoverageStatus": "FullyCovered",
    "extensions": [
      {
        "name": "AgentlessVmScanning",
        "isEnabled": "True",
        "operationStatus": {
          "code": "Succeeded",
          "message": "Successfully enabled extension"
        }
      },
      {
        "name": "AgentlessDiscoveryForKubernetes",
        "isEnabled": "True",
        "operationStatus": {
          "code": "Succeeded",
          "message": "Successfully enabled extension"
        }
      },
      {
        "name": "SensitiveDataDiscovery",
        "isEnabled": "True",
        "operationStatus": {
          "code": "Succeeded",
          "message": "Successfully enabled extension"
        }
      },
      {
        "name": "ContainerRegistriesVulnerabilityAssessments",
        "isEnabled": "True",
        "operationStatus": {
          "code": "Succeeded",
          "message": "Successfully enabled extension"
        }
      },
      {
        "name": "EntraPermissionsManagement",
        "isEnabled": "True",
        "operationStatus": {
          "code": "Succeeded",
          "message": "Successfully enabled extension"
        }
      }
    ]
  }
}

Update pricing on subscription (example for CloudPosture plan) - partial success

範例要求

PUT https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/pricings/CloudPosture?api-version=2024-01-01

{
  "properties": {
    "pricingTier": "Standard"
  }
}

範例回覆

{
  "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/pricings/CloudPosture",
  "name": "CloudPosture",
  "type": "Microsoft.Security/pricings",
  "properties": {
    "pricingTier": "Standard",
    "freeTrialRemainingTime": "PT0S",
    "enablementTime": "2023-03-01T12:42:42.1921106Z",
    "enforce": "False",
    "resourcesCoverageStatus": "FullyCovered",
    "extensions": [
      {
        "name": "AgentlessVmScanning",
        "isEnabled": "True",
        "operationStatus": {
          "code": "Failed",
          "message": "Failed find dedicated first party application client ID for extension"
        }
      },
      {
        "name": "AgentlessDiscoveryForKubernetes",
        "isEnabled": "True",
        "operationStatus": {
          "code": "Failed",
          "message": "Failed assigning roles {d5a2ae44-610b-4500-93be-660a0c5f5ca6} to {identityName} for plan"
        }
      },
      {
        "name": "SensitiveDataDiscovery",
        "isEnabled": "True",
        "operationStatus": {
          "code": "Failed",
          "message": "Failed assigning roles {f58310d9-a9f6-439a-9e8d-f62e7b41a168} to {identityName} for plan"
        }
      },
      {
        "name": "ContainerRegistriesVulnerabilityAssessments",
        "isEnabled": "True",
        "operationStatus": {
          "code": "Succeeded",
          "message": "Successfully enabled extension"
        }
      },
      {
        "name": "EntraPermissionsManagement",
        "isEnabled": "True",
        "operationStatus": {
          "code": "Succeeded",
          "message": "Successfully enabled extension"
        }
      }
    ]
  }
}
{
  "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/pricings/CloudPosture",
  "name": "CloudPosture",
  "type": "Microsoft.Security/pricings",
  "properties": {
    "pricingTier": "Standard",
    "freeTrialRemainingTime": "PT0S",
    "enablementTime": "2023-03-01T12:42:42.1921106Z",
    "enforce": "False",
    "resourcesCoverageStatus": "FullyCovered",
    "extensions": [
      {
        "name": "AgentlessVmScanning",
        "isEnabled": "True",
        "operationStatus": {
          "code": "Failed",
          "message": "Failed find dedicated first party application client ID for extension"
        }
      },
      {
        "name": "AgentlessDiscoveryForKubernetes",
        "isEnabled": "True",
        "operationStatus": {
          "code": "Failed",
          "message": "Failed assigning roles {d5a2ae44-610b-4500-93be-660a0c5f5ca6} to {identityName} for plan"
        }
      },
      {
        "name": "SensitiveDataDiscovery",
        "isEnabled": "True",
        "operationStatus": {
          "code": "Failed",
          "message": "Failed assigning roles {f58310d9-a9f6-439a-9e8d-f62e7b41a168} to {identityName} for plan"
        }
      },
      {
        "name": "ContainerRegistriesVulnerabilityAssessments",
        "isEnabled": "True",
        "operationStatus": {
          "code": "Succeeded",
          "message": "Successfully enabled extension"
        }
      },
      {
        "name": "EntraPermissionsManagement",
        "isEnabled": "True",
        "operationStatus": {
          "code": "Succeeded",
          "message": "Successfully enabled extension"
        }
      }
    ]
  }
}

Update pricing on subscription (example for VirtualMachines plan)

範例要求

PUT https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/pricings/VirtualMachines?api-version=2024-01-01

{
  "properties": {
    "pricingTier": "Standard",
    "subPlan": "P2",
    "enforce": "True"
  }
}

範例回覆

{
  "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/pricings/VirtualMachines",
  "name": "VirtualMachines",
  "type": "Microsoft.Security/pricings",
  "properties": {
    "pricingTier": "Standard",
    "subPlan": "P2",
    "freeTrialRemainingTime": "PT0S",
    "enablementTime": "2023-03-01T12:42:42.1921106Z",
    "enforce": "True",
    "resourcesCoverageStatus": "FullyCovered",
    "extensions": [
      {
        "name": "MdeDesignatedSubscription",
        "isEnabled": "False"
      },
      {
        "name": "AgentlessVmScanning",
        "isEnabled": "True",
        "additionalExtensionProperties": {
          "ExclusionTags": "[{\"Key\":\"TestKey1\",\"Value\":\"TestValue1\"},{\"Key\":\"TestKey2\",\"Value\":\"TestValue2\"}]"
        },
        "operationStatus": {
          "code": "Succeeded",
          "message": "Successfully enabled extension"
        }
      }
    ]
  }
}
{
  "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/pricings/VirtualMachines",
  "name": "VirtualMachines",
  "type": "Microsoft.Security/pricings",
  "properties": {
    "pricingTier": "Standard",
    "subPlan": "P2",
    "freeTrialRemainingTime": "PT0S",
    "enablementTime": "2023-03-01T12:42:42.1921106Z",
    "enforce": "True",
    "resourcesCoverageStatus": "FullyCovered",
    "extensions": [
      {
        "name": "MdeDesignatedSubscription",
        "isEnabled": "False"
      },
      {
        "name": "AgentlessVmScanning",
        "isEnabled": "True",
        "additionalExtensionProperties": {
          "ExclusionTags": "[{\"Key\":\"TestKey1\",\"Value\":\"TestValue1\"},{\"Key\":\"TestKey2\",\"Value\":\"TestValue2\"}]"
        },
        "operationStatus": {
          "code": "Succeeded",
          "message": "Successfully enabled extension"
        }
      }
    ]
  }
}

定義

名稱 Description
CloudError

所有 Azure Resource Manager API 的常見錯誤回應,以傳回失敗作業的錯誤詳細數據。 (這也遵循 OData 錯誤回應格式。)。

CloudErrorBody

錯誤詳細數據。

code

作業狀態代碼。

enforce

如果設定為 “False”,則允許此範圍的子系覆寫此範圍上設定的定價組態 (允許設定 inherited=“False” )。 如果設定為 「True」,它會防止覆寫,並強制此範圍的所有子系進行此定價設定。 此欄位僅適用於訂用帳戶層級定價。

ErrorAdditionalInfo

資源管理錯誤其他資訊。

Extension

方案的延伸模組屬性

inherited

“inherited” = “True” 表示目前的範圍會從其父代繼承其定價組態。 提供繼承組態之父範圍的標識符會顯示在 「inheritedFrom」 欄位中。 另一方面,“inherited” = “False” 表示目前的範圍已明確設定自己的定價組態,而且不會繼承自其父系。 此欄位是唯讀的,僅適用於資源層級定價。

isEnabled

指出是否啟用擴充功能。

OperationStatus

描述擴充功能啟用/停用作業成功/失敗的狀態。

Pricing

Microsoft適用於雲端的 Defender 提供兩個定價層:免費和標準。 標準層提供進階安全性功能,而免費層則提供基本安全性功能。

pricingTier

指出是否在選取的範圍上啟用Defender方案。 Microsoft適用於雲端的 Defender 提供兩個定價層:免費和標準。 標準層提供進階安全性功能,而免費層則提供基本安全性功能。

resourcesCoverageStatus

此欄位僅適用於訂用帳戶層級,並反映訂用帳戶下資源的涵蓋範圍狀態。 請注意:[pricingTier] 字段會反映訂用帳戶的計劃狀態。 不過,由於方案狀態也可以在資源層級定義,因此訂用帳戶的計劃狀態與資源狀態之間可能會有不一定的關係。 此欄位有助於指出資源的涵蓋範圍狀態。

CloudError

所有 Azure Resource Manager API 的常見錯誤回應,以傳回失敗作業的錯誤詳細數據。 (這也遵循 OData 錯誤回應格式。)。

名稱 類型 Description
error.additionalInfo

ErrorAdditionalInfo[]

錯誤其他資訊。

error.code

string

錯誤碼。

error.details

CloudErrorBody[]

錯誤詳細數據。

error.message

string

錯誤訊息。

error.target

string

錯誤目標。

CloudErrorBody

錯誤詳細數據。

名稱 類型 Description
additionalInfo

ErrorAdditionalInfo[]

錯誤其他資訊。

code

string

錯誤碼。

details

CloudErrorBody[]

錯誤詳細數據。

message

string

錯誤訊息。

target

string

錯誤目標。

code

作業狀態代碼。

Description
Succeeded

已成功建立/更新擴充功能。

Failed

未成功建立/更新擴充功能。 如需詳細資訊,請參閱作業狀態消息。

enforce

如果設定為 “False”,則允許此範圍的子系覆寫此範圍上設定的定價組態 (允許設定 inherited=“False” )。 如果設定為 「True」,它會防止覆寫,並強制此範圍的所有子系進行此定價設定。 此欄位僅適用於訂用帳戶層級定價。

Description
False

允許此範圍的子系覆寫此範圍上設定的定價組態 (允許設定 inherited=“False”)

True

防止覆寫,並將目前範圍的定價組態強制為所有子系

ErrorAdditionalInfo

資源管理錯誤其他資訊。

名稱 類型 Description
info

object

其他資訊。

type

string

其他信息類型。

Extension

方案的延伸模組屬性

名稱 類型 Description
additionalExtensionProperties

與延伸模組相關聯的屬性值。

isEnabled

isEnabled

指出是否啟用擴充功能。

name

string

延伸模組名稱。 支援的值為:

AgentlessDiscoveryForKubernetes - 提供 Kubernetes 叢集的零使用量、API 型探索、其設定和部署。 收集的數據可用來建立 Kubernetes 叢集的內容化安全性圖表、提供風險搜捕功能,以及將 Kubernetes 環境和工作負載的風險和威脅可視化。
適用於 CloudPosture 方案和容器方案。

OnUploadMalwareScanning - 限制訂用帳戶內每個記憶體帳戶每月掃描 GB。 在指定的記憶體帳戶上達到此限制之後,就不會在目前的行事曆月份掃描 Blob。
適用於 StorageAccounts 方案 (DefenderForStorageV2 子方案)。

SensitiveDataDiscovery - 敏感數據探索會識別具有認證、信用卡等敏感數據的 Blob 記憶體容器,以協助排定優先順序並調查安全性事件。
適用於 StorageAccounts 方案 (DefenderForStorageV2 子方案) 和 CloudPosture 方案。

ContainerRegistriesVulnerabilityAssessments - 提供容器登錄中所儲存映射的弱點管理。
適用於 CloudPosture 方案和容器方案。

MdeDesignatedSubscription - 直接上線是適用於端點的 Defender 與適用於雲端的 Defender 之間的無縫整合,不需要在伺服器上部署額外的軟體。 上線的資源將會顯示在您設定的指定 Azure 訂用帳戶底下
適用於 VirtualMachines 方案 (P1 和 P2 子計劃)。

AgentlessVmScanning - 掃描您的電腦是否有已安裝的軟體、弱點、惡意代碼和秘密掃描,而不需要依賴代理程式或影響計算機效能。 請在這裡深入瞭解 https://learn.microsoft.com/en-us/azure/defender-for-cloud/concept-agentless-data-collection
適用於 CloudPosture 方案、VirtualMachines 方案 (P2 子計劃) 和容器方案。

EntraPermissionsManagement - 許可權管理提供雲端基礎結構權利管理 (CIEM) 功能,可協助組織管理和控制其雲端基礎結構中的使用者存取權和權利 - 雲端環境的重要攻擊媒介。
許可權管理會分析所有許可權和作用中的使用方式,並建議減少許可權以強制執行最低許可權原則的建議。 請在這裡深入瞭解 https://learn.microsoft.com/en-us/azure/defender-for-cloud/permissions-management
適用於 CloudPosture 方案。

FileIntegrityMonitoring - 檔案完整性監視 (FIM), 會檢查操作系統檔案。
Windows 登錄、Linux 系統檔案,實時進行可能表示攻擊的變更。
適用於 VirtualMachines 方案 (P2 子計劃)。

ContainerSensor - 感測器是以 IG 為基礎,併為 Kubernetes 叢集、節點和工作負載提供豐富的威脅偵測套件,由Microsoft主要威脅情報所提供,可提供 MITRE ATT&CK 架構的對應。
適用於容器方案。

AIPromptEvidence - 將使用者與 AI 模型之間傳遞的提示公開為警示辨識項。 這有助於使用相關的用戶內容來分類和分級警示。 提示代碼段只會包含被視為可疑且與安全性分類相關的使用者提示或模型回應區段。 提示辨識項可透過Defender入口網站取得,作為每個警示的一部分。
適用於 AI 方案。

operationStatus

OperationStatus

自選。 描述擴充功能啟用/停用作業成功/失敗的狀態。

inherited

“inherited” = “True” 表示目前的範圍會從其父代繼承其定價組態。 提供繼承組態之父範圍的標識符會顯示在 「inheritedFrom」 欄位中。 另一方面,“inherited” = “False” 表示目前的範圍已明確設定自己的定價組態,而且不會繼承自其父系。 此欄位是唯讀的,僅適用於資源層級定價。

Description
True

指出目前範圍正從其父系繼承其定價組態

False

表示目前的範圍設定自己的定價組態,且不會從其父系繼承它

isEnabled

指出是否啟用擴充功能。

Description
True

表示已啟用擴充功能

False

表示擴充功能已停用

OperationStatus

描述擴充功能啟用/停用作業成功/失敗的狀態。

名稱 類型 Description
code

code

作業狀態代碼。

message

string

有關作業成功/失敗的其他資訊。

Pricing

Microsoft適用於雲端的 Defender 提供兩個定價層:免費和標準。 標準層提供進階安全性功能,而免費層則提供基本安全性功能。

名稱 類型 Description
id

string

資源標識碼

name

string

資源名稱

properties.deprecated

boolean

自選。 True 是表示 如果計劃已被取代。 如果有取代計劃,它們會出現在 replacedBy 屬性中

properties.enablementTime

string (date-time)

自選。 如果 pricingTierStandard,則此屬性會保留 pricingTier 上次設定為 Standard的日期,當可用時(例如 2023-03-01T12:42:42.1921106Z)。

properties.enforce

enforce

如果設定為 “False”,則允許此範圍的子系覆寫此範圍上設定的定價組態 (允許設定 inherited=“False” )。 如果設定為 「True」,它會防止覆寫,並強制此範圍的所有子系進行此定價設定。 此欄位僅適用於訂用帳戶層級定價。

properties.extensions

Extension[]

自選。 方案下提供的延伸模組清單。

properties.freeTrialRemainingTime

string (duration)

訂閱免費試用期間的持續時間 - ISO 8601 格式(例如P3Y6M4DT12H30M5S)。

properties.inherited

inherited

“inherited” = “True” 表示目前的範圍會從其父代繼承其定價組態。 提供繼承組態之父範圍的標識符會顯示在 「inheritedFrom」 欄位中。 另一方面,“inherited” = “False” 表示目前的範圍已明確設定自己的定價組態,而且不會繼承自其父系。 此欄位是唯讀的,僅適用於資源層級定價。

properties.inheritedFrom

string

繼承自的範圍標識碼。 如果未繼承,則為 「Null」。 此欄位僅適用於資源層級定價。

properties.pricingTier

pricingTier

指出是否在選取的範圍上啟用Defender方案。 Microsoft適用於雲端的 Defender 提供兩個定價層:免費和標準。 標準層提供進階安全性功能,而免費層則提供基本安全性功能。

properties.replacedBy

string[]

自選。 取代此方案的方案清單。 只有當此計劃已被取代時,這個屬性才會存在。

properties.resourcesCoverageStatus

resourcesCoverageStatus

此欄位僅適用於訂用帳戶層級,並反映訂用帳戶下資源的涵蓋範圍狀態。 請注意:[pricingTier] 字段會反映訂用帳戶的計劃狀態。 不過,由於方案狀態也可以在資源層級定義,因此訂用帳戶的計劃狀態與資源狀態之間可能會有不一定的關係。 此欄位有助於指出資源的涵蓋範圍狀態。

properties.subPlan

string

當有多個子方案可供使用時,針對標準定價組態選取的子方案。 每個子計劃都會啟用一組安全性功能。 未指定時,會套用完整計劃。 針對 VirtualMachines 方案,可用的子方案為 『P1』 & 'P2',其中僅支持資源層級 'P1' 子計劃。

type

string

資源類型

pricingTier

指出是否在選取的範圍上啟用Defender方案。 Microsoft適用於雲端的 Defender 提供兩個定價層:免費和標準。 標準層提供進階安全性功能,而免費層則提供基本安全性功能。

Description
Free

使用基本安全性功能取得適用於雲端的免費 Microsoft Defender 體驗

Standard

使用進階安全性功能取得適用於雲端的標準 Microsoft Defender 體驗

resourcesCoverageStatus

此欄位僅適用於訂用帳戶層級,並反映訂用帳戶下資源的涵蓋範圍狀態。 請注意:[pricingTier] 字段會反映訂用帳戶的計劃狀態。 不過,由於方案狀態也可以在資源層級定義,因此訂用帳戶的計劃狀態與資源狀態之間可能會有不一定的關係。 此欄位有助於指出資源的涵蓋範圍狀態。

Description
FullyCovered

這個值表示與訂用帳戶相關聯的所有資源都已啟用Defender方案。

PartiallyCovered

這個值表示訂用帳戶底下的某些資源已啟用 Defender 方案,而另一些資源則停用。 資源之間有混合的涵蓋範圍狀態。

NotCovered

這個值表示訂用帳戶下的所有資源都會停用Defender方案。 Defender 方案不會保護任何資源。