Skip to content

Data Source: azurermMonitorDataCollectionEndpoint

Use this data source to access information about an existing Data Collection Endpoint.

Example Usage

import * as cdktf from "cdktf";
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as azurerm from "./.gen/providers/azurerm";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: azurerm.
For a more precise conversion please use the --provider flag in convert.*/
const dataAzurermMonitorDataCollectionEndpointExample =
  new azurerm.dataAzurermMonitorDataCollectionEndpoint.DataAzurermMonitorDataCollectionEndpoint(
    this,
    "example",
    {
      name: "example-mdce",
      resource_group_name: "${azurerm_resource_group.example.name}",
    }
  );
new cdktf.TerraformOutput(this, "endpoint_id", {
  value: dataAzurermMonitorDataCollectionEndpointExample.id,
});

Argument Reference

  • name - Specifies the name of the Data Collection Endpoint.

  • resourceGroupName - Specifies the name of the resource group the Data Collection Endpoint is located in.

Attributes Reference

  • id - The ID of the Resource.

  • configurationAccessEndpoint - The endpoint used for accessing configuration, e.g., https://mydceAbcdEastus1ControlMonitorAzureCom.

  • description - Specifies a description for the Data Collection Endpoint.

  • kind - The kind of the Data Collection Endpoint. Possible values are linux and windows.

  • location - The Azure Region where the Data Collection Endpoint should exist.

  • logsIngestionEndpoint - The endpoint used for ingesting logs, e.g., https://mydceAbcdEastus1IngestMonitorAzureCom.

  • publicNetworkAccessEnabled - Whether network access from public internet to the Data Collection Endpoint are allowed. Possible values are true and false.

  • tags - A mapping of tags which should be assigned to the Data Collection Endpoint.

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • read - (Defaults to 5 minutes) Used when retrieving the Data Collection Endpoint.