DataCollectionEndpoint

class DataCollectionEndpoint : KotlinCustomResource

Definition of ARM tracked top level resource. API Version: 2021-09-01-preview.

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 = "Enabled",
},
ResourceGroupName = "myResourceGroup",
});
});
package main
import (
insights "github.com/pulumi/pulumi-azure-native-sdk/insights"
"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("Enabled"),
},
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 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(Map.of("publicNetworkAccess", "Enabled"))
.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/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionEndpoints/myCollectionEndpoint

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
val id: Output<String>
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
val name: Output<String>

The name of the resource.

Link copied to clipboard

Network access control rules for the endpoints.

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>