Microsoft.ChangeAnalysis 設定檔

Bicep 資源定義

設定檔資源類型可以使用目標作業進行部署:

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

資源格式

若要建立 Microsoft.ChangeAnalysis/profile 資源,請將下列 Bicep 新增至您的範本。

resource symbolicname 'Microsoft.ChangeAnalysis/profile@2020-04-01-preview' = {
  name: 'string'
  location: 'string'
  identity: {
    type: 'string'
  }
  properties: {
    notifications: {
      activationState: 'string'
      azureMonitorWorkspaceProperties: {
        includeChangeDetails: 'string'
        workspaceId: 'string'
        workspaceResourceId: 'string'
      }
    }
  }
  systemData: {}
}

屬性值

profile

名稱 描述
NAME 資源名稱 字串 (必要)
location 要部署資源的位置。 字串
身分識別 支援受控識別的 ARM 資源所傳回的識別區塊。 ResourceIdentity
properties 組態設定檔的屬性。 ConfigurationProfileResourceProperties
systemData 最上層中繼資料 https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources SystemData

ResourceIdentity

名稱 描述
類型 使用的受控識別類型。 類型 'SystemAssigned, UserAssigned' 包含隱含建立的身分識別和一組使用者指派的身分識別。 類型 'None' 將會移除任何身分識別。 'None'
'SystemAssigned'

ConfigurationProfileResourceProperties

名稱 描述
通知 訂用帳戶變更通知組態的設定。 NotificationSettings

NotificationSettings

名稱 描述
activationState 通知功能的狀態。 'Disabled'
'Enabled'
'None'
azureMonitorWorkspaceProperties 接收變更通知的 Azure 監視器工作區組態屬性。 AzureMonitorWorkspaceProperties

AzureMonitorWorkspaceProperties

名稱 描述
includeChangeDetails includeChangeDetails 功能的模式。 旗標會設定是否要包含或排除值前後變更的內容。 'Exclude'
'Include'
'None'
workspaceId Azure 監視器工作區識別碼 - Log Analytics 工作區的唯一識別碼。 字串
workspaceResourceId Azure 監視器工作區 ARM 資源識別碼。 資源識別碼的格式應如下:/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName} 字串

SystemData

此物件不包含部署期間要設定的任何屬性。 所有屬性都是 ReadOnly。

ARM 範本資源定義

設定檔資源類型可以使用目標作業進行部署:

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

資源格式

若要建立 Microsoft.ChangeAnalysis/profile 資源,請將下列 JSON 新增至您的範本。

{
  "type": "Microsoft.ChangeAnalysis/profile",
  "apiVersion": "2020-04-01-preview",
  "name": "string",
  "location": "string",
  "identity": {
    "type": "string"
  },
  "properties": {
    "notifications": {
      "activationState": "string",
      "azureMonitorWorkspaceProperties": {
        "includeChangeDetails": "string",
        "workspaceId": "string",
        "workspaceResourceId": "string"
      }
    }
  },
  "systemData": {}
}

屬性值

profile

名稱 描述
類型 資源類型 'Microsoft.ChangeAnalysis/profile'
apiVersion 資源 API 版本 '2020-04-01-preview'
NAME 資源名稱 字串 (必要)
location 要部署資源的位置。 字串
身分識別 支援受控識別的 ARM 資源所傳回的識別區塊。 ResourceIdentity
properties 組態設定檔的屬性。 ConfigurationProfileResourceProperties
systemData 最上層中繼資料 https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources SystemData

ResourceIdentity

名稱 描述
類型 使用的受控識別類型。 類型 'SystemAssigned, UserAssigned' 包含隱含建立的身分識別和一組使用者指派的身分識別。 類型 'None' 將會移除任何身分識別。 'None'
'SystemAssigned'

ConfigurationProfileResourceProperties

名稱 描述
通知 訂用帳戶變更通知組態的設定。 NotificationSettings

NotificationSettings

名稱 描述
activationState 通知功能的狀態。 'Disabled'
'Enabled'
'None'
azureMonitorWorkspaceProperties 接收變更通知的 Azure 監視器工作區組態屬性。 AzureMonitorWorkspaceProperties

AzureMonitorWorkspaceProperties

名稱 描述
includeChangeDetails includeChangeDetails 功能的模式。 旗標會設定是否要包含或排除值前後變更的內容。 'Exclude'
'Include'
'None'
workspaceId Azure 監視器工作區識別碼 - Log Analytics 工作區的唯一識別碼。 字串
workspaceResourceId Azure 監視器工作區 ARM 資源識別碼。 資源識別碼的格式應如下:/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName} 字串

SystemData

此物件不包含部署期間要設定的任何屬性。 所有屬性都是 ReadOnly。

Terraform (AzAPI 提供者) 資源定義

設定檔資源類型可以使用目標作業進行部署:

  • 訂用帳戶

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

資源格式

若要建立 Microsoft.ChangeAnalysis/profile 資源,請將下列 Terraform 新增至您的範本。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.ChangeAnalysis/profile@2020-04-01-preview"
  name = "string"
  location = "string"
  parent_id = "string"
  identity {
    type =  "SystemAssigned"
  }
  body = jsonencode({
    properties = {
      notifications = {
        activationState = "string"
        azureMonitorWorkspaceProperties = {
          includeChangeDetails = "string"
          workspaceId = "string"
          workspaceResourceId = "string"
        }
      }
    }
    systemData = {}
  })
}

屬性值

profile

名稱 描述
類型 資源類型 「Microsoft.ChangeAnalysis/profile@2020-04-01-preview」
NAME 資源名稱 字串 (必要)
location 要部署資源的位置。 字串
parent_id 若要部署至訂用帳戶,請使用該訂用帳戶的識別碼。 字串 (必要)
身分識別 支援受控識別的 ARM 資源所傳回的識別區塊。 ResourceIdentity
properties 組態設定檔的屬性。 ConfigurationProfileResourceProperties
systemData 最上層中繼資料 https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources SystemData

ResourceIdentity

名稱 描述
類型 使用的受控識別類型。 類型 'SystemAssigned, UserAssigned' 包含隱含建立的身分識別和一組使用者指派的身分識別。 類型 'None' 將會移除任何身分識別。 「SystemAssigned」

ConfigurationProfileResourceProperties

名稱 描述
通知 訂用帳戶變更通知組態的設定。 NotificationSettings

NotificationSettings

名稱 描述
activationState 通知功能的狀態。 「Disabled」
「Enabled」
"None"
azureMonitorWorkspaceProperties 接收變更通知之 Azure 監視器工作區的組態屬性。 AzureMonitorWorkspaceProperties

AzureMonitorWorkspaceProperties

名稱 描述
includeChangeDetails includeChangeDetails 功能的模式。 旗標會設定是否要在值前後包含或排除變更的內容。 「Exclude」
「Include」
"None"
workspaceId Azure 監視器工作區識別碼 - Log Analytics 工作區的唯一識別碼。 字串
workspaceResourceId Azure 監視器工作區 ARM 資源識別碼。 資源識別碼的格式應如下:/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName} 字串

SystemData

此物件不包含部署期間要設定的任何屬性。 所有屬性都是 ReadOnly。