DataCollectionEndpoint

class DataCollectionEndpoint : KotlinCustomResource

Definition of ARM tracked top level resource. Uses Azure REST API version 2022-06-01. In version 1.x of the Azure Native provider, it used API version 2021-09-01-preview. Other available API versions: 2023-03-11.

Example Usage

Create or update data collection endpoint

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var dataCollectionEndpoint = new AzureNative.Insights.DataCollectionEndpoint("dataCollectionEndpoint", new()
{
DataCollectionEndpointName = "myCollectionEndpoint",
Location = "eastus",
NetworkAcls = new AzureNative.Insights.Inputs.DataCollectionEndpointNetworkAclsArgs
{
PublicNetworkAccess = AzureNative.Insights.KnownPublicNetworkAccessOptions.Enabled,
},
ResourceGroupName = "myResourceGroup",
});
});
package main
import (
insights "github.com/pulumi/pulumi-azure-native-sdk/insights/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := insights.NewDataCollectionEndpoint(ctx, "dataCollectionEndpoint", &insights.DataCollectionEndpointArgs{
DataCollectionEndpointName: pulumi.String("myCollectionEndpoint"),
Location: pulumi.String("eastus"),
NetworkAcls: &insights.DataCollectionEndpointNetworkAclsArgs{
PublicNetworkAccess: pulumi.String(insights.KnownPublicNetworkAccessOptionsEnabled),
},
ResourceGroupName: pulumi.String("myResourceGroup"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.insights.DataCollectionEndpoint;
import com.pulumi.azurenative.insights.DataCollectionEndpointArgs;
import com.pulumi.azurenative.insights.inputs.DataCollectionEndpointNetworkAclsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var dataCollectionEndpoint = new DataCollectionEndpoint("dataCollectionEndpoint", DataCollectionEndpointArgs.builder()
.dataCollectionEndpointName("myCollectionEndpoint")
.location("eastus")
.networkAcls(DataCollectionEndpointNetworkAclsArgs.builder()
.publicNetworkAccess("Enabled")
.build())
.resourceGroupName("myResourceGroup")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:insights:DataCollectionEndpoint myCollectionEndpoint /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}

Properties

Link copied to clipboard

The endpoint used by clients to access their configuration.

Link copied to clipboard
val description: Output<String>?

Description of the data collection endpoint.

Link copied to clipboard
val etag: Output<String>

Resource entity tag (ETag).

Link copied to clipboard

Failover configuration on this endpoint. This property is READ-ONLY.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

Managed service identity of the resource.

Link copied to clipboard
val immutableId: Output<String>?

The immutable ID of this data collection endpoint resource. This property is READ-ONLY.

Link copied to clipboard
val kind: Output<String>?

The kind of the resource.

Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives.

Link copied to clipboard

The endpoint used by clients to ingest logs.

Link copied to clipboard

Metadata for the resource. This property is READ-ONLY.

Link copied to clipboard

The endpoint used by clients to ingest metrics.

Link copied to clipboard
val name: Output<String>

The name of the resource.

Link copied to clipboard

Network access control rules for the endpoints.

Link copied to clipboard

List of Azure Monitor Private Link Scope Resources to which this data collection endpoint resource is associated. This property is READ-ONLY.

Link copied to clipboard

The resource provisioning state. This property is READ-ONLY.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Metadata pertaining to creation and last modification of the resource.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource.

Link copied to clipboard
val urn: Output<String>