Microsoft.Insights dataCollectionRuleAssociations

Bicep リソース定義

dataCollectionRuleAssociations リソースの種類は 拡張機能リソースであり、別のリソースに適用できることを意味します。

このリソースの スコープを scope 設定するには、このリソースの プロパティを使用します。 「Bicep で拡張機能リソースのスコープを設定する」を参照してください。

dataCollectionRuleAssociations リソースの種類は、次を対象とする操作でデプロイできます。

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.Insights/dataCollectionRuleAssociations リソースを作成するには、次の Bicep をテンプレートに追加します。

resource symbolicname 'Microsoft.Insights/dataCollectionRuleAssociations@2022-06-01' = {
  name: 'string'
  scope: resourceSymbolicName
  properties: {
    dataCollectionEndpointId: 'string'
    dataCollectionRuleId: 'string'
    description: 'string'
  }
}

プロパティ値

dataCollectionRuleAssociations

名前 説明
name リソース名 string (必須)
scope デプロイ スコープとは異なるスコープで拡張機能リソースを作成する場合に使用します。 ターゲット リソース

Bicep の場合は、このプロパティをリソースのシンボリック名に設定して 、拡張機能リソースを適用します。
properties リソースのプロパティ。 DataCollectionRuleAssociationProxyOnlyResourceProper...

DataCollectionRuleAssociationProxyOnlyResourceProper...

名前 説明
dataCollectionEndpointId 関連付けるデータ収集エンドポイントのリソース ID。 string
dataCollectionRuleId 関連付けるデータ収集ルールのリソース ID。 string
description 関連付けの説明。 string

ARM テンプレート リソース定義

dataCollectionRuleAssociations リソースの種類は 拡張機能リソースであり、別のリソースに適用できることを意味します。

このリソースの スコープを scope 設定するには、このリソースの プロパティを使用します。 「ARM テンプレートで拡張機能リソースのスコープを設定する」を参照してください。

dataCollectionRuleAssociations リソースの種類は、次を対象とする操作でデプロイできます。

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.Insights/dataCollectionRuleAssociations リソースを作成するには、次の JSON をテンプレートに追加します。

{
  "type": "Microsoft.Insights/dataCollectionRuleAssociations",
  "apiVersion": "2022-06-01",
  "name": "string",
  "scope": "string",
  "properties": {
    "dataCollectionEndpointId": "string",
    "dataCollectionRuleId": "string",
    "description": "string"
  }
}

プロパティ値

dataCollectionRuleAssociations

名前 説明
type リソースの種類 'Microsoft.Insights/dataCollectionRuleAssociations'
apiVersion リソース API のバージョン '2022-06-01'
name リソース名 string (必須)
scope デプロイ スコープとは異なるスコープで拡張機能リソースを作成する場合に使用します。 ターゲット リソース

JSON の場合は、 拡張 リソースを適用するリソースの完全な名前に値を設定します。
properties リソースのプロパティ。 DataCollectionRuleAssociationProxyOnlyResourceProper...

DataCollectionRuleAssociationProxyOnlyResourceProper...

名前 説明
dataCollectionEndpointId 関連付けるデータ収集エンドポイントのリソース ID。 string
dataCollectionRuleId 関連付けるデータ収集ルールのリソース ID。 string
description 関連付けの説明。 string

Terraform (AzAPI プロバイダー) リソース定義

dataCollectionRuleAssociations リソースの種類は 拡張機能リソースであり、別のリソースに適用できることを意味します。

このリソースの スコープを parent_id 設定するには、このリソースの プロパティを使用します。

dataCollectionRuleAssociations リソースの種類は、次を対象とする操作でデプロイできます。

  • リソース グループ

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.Insights/dataCollectionRuleAssociations リソースを作成するには、次の Terraform をテンプレートに追加します。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Insights/dataCollectionRuleAssociations@2022-06-01"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      dataCollectionEndpointId = "string"
      dataCollectionRuleId = "string"
      description = "string"
    }
  })
}

プロパティ値

dataCollectionRuleAssociations

名前 説明
type リソースの種類 "Microsoft.Insights/dataCollectionRuleAssociations@2022-06-01"
name リソース名 string (必須)
parent_id この拡張機能リソースを適用するリソースの ID。 string (必須)
properties リソースのプロパティ。 DataCollectionRuleAssociationProxyOnlyResourceProper...

DataCollectionRuleAssociationProxyOnlyResourceProper...

名前 説明
dataCollectionEndpointId 関連付けるデータ収集エンドポイントのリソース ID。 string
dataCollectionRuleId 関連付けるデータ収集ルールのリソース ID。 string
description 関連付けの説明。 string