Share via


Microsoft.Insights dataCollectionRuleAssociations 2019-11-01-preview

Bicep リソース定義

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

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

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

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

リソース形式

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

resource symbolicname 'Microsoft.Insights/dataCollectionRuleAssociations@2019-11-01-preview' = {
  name: 'string'
  scope: resourceSymbolicName
  properties: {
    dataCollectionRuleId: 'string'
    description: 'string'
  }
}

プロパティ値

dataCollectionRuleAssociations

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

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

DataCollectionRuleAssociationProxyOnlyResourceProper...

名前 説明
dataCollectionRuleId 関連付けるデータ収集ルールのリソース ID。 string
description 関連付けの説明。 string

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

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

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

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

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

リソース形式

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

{
  "type": "Microsoft.Insights/dataCollectionRuleAssociations",
  "apiVersion": "2019-11-01-preview",
  "name": "string",
  "scope": "string",
  "properties": {
    "dataCollectionRuleId": "string",
    "description": "string"
  }
}

プロパティ値

dataCollectionRuleAssociations

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

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

DataCollectionRuleAssociationProxyOnlyResourceProper...

名前 説明
dataCollectionRuleId 関連付けるデータ収集ルールのリソース ID。 string
description 関連付けの説明。 string

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

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

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

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

  • リソース グループ

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

リソース形式

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

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

プロパティ値

dataCollectionRuleAssociations

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

DataCollectionRuleAssociationProxyOnlyResourceProper...

名前 説明
dataCollectionRuleId 関連付けるデータ収集ルールのリソース ID。 string
description 関連付けの説明。 string