import * as pulumi from "@pulumi/pulumi"; /** * Manages a Data Collection Endpoint. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-rg", * location: "West Europe", * }); * const exampleDataCollectionEndpoint = new azure.monitoring.DataCollectionEndpoint("example", { * name: "example-mdce", * resourceGroupName: example.name, * location: example.location, * kind: "Windows", * publicNetworkAccessEnabled: true, * description: "monitor_data_collection_endpoint example", * tags: { * foo: "bar", * }, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Insights` - 2023-03-11 * * ## Import * * Data Collection Endpoints can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:monitoring/dataCollectionEndpoint:DataCollectionEndpoint example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.Insights/dataCollectionEndpoints/endpoint1 * ``` */ export declare class DataCollectionEndpoint extends pulumi.CustomResource { /** * Get an existing DataCollectionEndpoint resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: DataCollectionEndpointState, opts?: pulumi.CustomResourceOptions): DataCollectionEndpoint; /** * Returns true if the given object is an instance of DataCollectionEndpoint. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DataCollectionEndpoint; /** * The endpoint used for accessing configuration, e.g., `https://mydce-abcd.eastus-1.control.monitor.azure.com`. */ readonly configurationAccessEndpoint: pulumi.Output; /** * Specifies a description for the Data Collection Endpoint. */ readonly description: pulumi.Output; /** * The immutable ID of the Data Collection Endpoint. */ readonly immutableId: pulumi.Output; /** * The kind of the Data Collection Endpoint. Possible values are `Linux` and `Windows`. */ readonly kind: pulumi.Output; /** * The Azure Region where the Data Collection Endpoint should exist. Changing this forces a new Data Collection Endpoint to be created. */ readonly location: pulumi.Output; /** * The endpoint used for ingesting logs, e.g., `https://mydce-abcd.eastus-1.ingest.monitor.azure.com`. */ readonly logsIngestionEndpoint: pulumi.Output; /** * The endpoint used for ingesting metrics, e.g., `https://mydce-abcd.eastus-1.metrics.ingest.monitor.azure.com`. */ readonly metricsIngestionEndpoint: pulumi.Output; /** * The name which should be used for this Data Collection Endpoint. Changing this forces a new Data Collection Endpoint to be created. */ readonly name: pulumi.Output; /** * Whether network access from public internet to the Data Collection Endpoint are allowed. Possible values are `true` and `false`. Default to `true`. */ readonly publicNetworkAccessEnabled: pulumi.Output; /** * The name of the Resource Group where the Data Collection Endpoint should exist. Changing this forces a new Data Collection Endpoint to be created. */ readonly resourceGroupName: pulumi.Output; /** * A mapping of tags which should be assigned to the Data Collection Endpoint. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a DataCollectionEndpoint resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DataCollectionEndpointArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DataCollectionEndpoint resources. */ export interface DataCollectionEndpointState { /** * The endpoint used for accessing configuration, e.g., `https://mydce-abcd.eastus-1.control.monitor.azure.com`. */ configurationAccessEndpoint?: pulumi.Input; /** * Specifies a description for the Data Collection Endpoint. */ description?: pulumi.Input; /** * The immutable ID of the Data Collection Endpoint. */ immutableId?: pulumi.Input; /** * The kind of the Data Collection Endpoint. Possible values are `Linux` and `Windows`. */ kind?: pulumi.Input; /** * The Azure Region where the Data Collection Endpoint should exist. Changing this forces a new Data Collection Endpoint to be created. */ location?: pulumi.Input; /** * The endpoint used for ingesting logs, e.g., `https://mydce-abcd.eastus-1.ingest.monitor.azure.com`. */ logsIngestionEndpoint?: pulumi.Input; /** * The endpoint used for ingesting metrics, e.g., `https://mydce-abcd.eastus-1.metrics.ingest.monitor.azure.com`. */ metricsIngestionEndpoint?: pulumi.Input; /** * The name which should be used for this Data Collection Endpoint. Changing this forces a new Data Collection Endpoint to be created. */ name?: pulumi.Input; /** * Whether network access from public internet to the Data Collection Endpoint are allowed. Possible values are `true` and `false`. Default to `true`. */ publicNetworkAccessEnabled?: pulumi.Input; /** * The name of the Resource Group where the Data Collection Endpoint should exist. Changing this forces a new Data Collection Endpoint to be created. */ resourceGroupName?: pulumi.Input; /** * A mapping of tags which should be assigned to the Data Collection Endpoint. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a DataCollectionEndpoint resource. */ export interface DataCollectionEndpointArgs { /** * Specifies a description for the Data Collection Endpoint. */ description?: pulumi.Input; /** * The kind of the Data Collection Endpoint. Possible values are `Linux` and `Windows`. */ kind?: pulumi.Input; /** * The Azure Region where the Data Collection Endpoint should exist. Changing this forces a new Data Collection Endpoint to be created. */ location?: pulumi.Input; /** * The name which should be used for this Data Collection Endpoint. Changing this forces a new Data Collection Endpoint to be created. */ name?: pulumi.Input; /** * Whether network access from public internet to the Data Collection Endpoint are allowed. Possible values are `true` and `false`. Default to `true`. */ publicNetworkAccessEnabled?: pulumi.Input; /** * The name of the Resource Group where the Data Collection Endpoint should exist. Changing this forces a new Data Collection Endpoint to be created. */ resourceGroupName: pulumi.Input; /** * A mapping of tags which should be assigned to the Data Collection Endpoint. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }