Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

Azure Native

v1.42.0 published on Monday, Oct 25, 2021 by Pulumi

DataCollectionEndpoint

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

Example Usage

Create or update data collection endpoint

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var dataCollectionEndpoint = new AzureNative.Insights.DataCollectionEndpoint("dataCollectionEndpoint", new AzureNative.Insights.DataCollectionEndpointArgs
        {
            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/go/azure/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
	})
}

import pulumi
import pulumi_azure_native as azure_native

data_collection_endpoint = azure_native.insights.DataCollectionEndpoint("dataCollectionEndpoint",
    data_collection_endpoint_name="myCollectionEndpoint",
    location="eastus",
    network_acls=azure_native.insights.DataCollectionEndpointNetworkAclsArgs(
        public_network_access="Enabled",
    ),
    resource_group_name="myResourceGroup")

import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const dataCollectionEndpoint = new azure_native.insights.DataCollectionEndpoint("dataCollectionEndpoint", {
    dataCollectionEndpointName: "myCollectionEndpoint",
    location: "eastus",
    networkAcls: {
        publicNetworkAccess: "Enabled",
    },
    resourceGroupName: "myResourceGroup",
});

Create a DataCollectionEndpoint Resource

new DataCollectionEndpoint(name: string, args: DataCollectionEndpointArgs, opts?: CustomResourceOptions);
@overload
def DataCollectionEndpoint(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           data_collection_endpoint_name: Optional[str] = None,
                           description: Optional[str] = None,
                           immutable_id: Optional[str] = None,
                           kind: Optional[Union[str, KnownDataCollectionEndpointResourceKind]] = None,
                           location: Optional[str] = None,
                           network_acls: Optional[DataCollectionEndpointNetworkAclsArgs] = None,
                           resource_group_name: Optional[str] = None,
                           tags: Optional[Mapping[str, str]] = None)
@overload
def DataCollectionEndpoint(resource_name: str,
                           args: DataCollectionEndpointArgs,
                           opts: Optional[ResourceOptions] = None)
func NewDataCollectionEndpoint(ctx *Context, name string, args DataCollectionEndpointArgs, opts ...ResourceOption) (*DataCollectionEndpoint, error)
public DataCollectionEndpoint(string name, DataCollectionEndpointArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args DataCollectionEndpointArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args DataCollectionEndpointArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args DataCollectionEndpointArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DataCollectionEndpointArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

DataCollectionEndpoint Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The DataCollectionEndpoint resource accepts the following input properties:

ResourceGroupName string
The name of the resource group. The name is case insensitive.
DataCollectionEndpointName string
The name of the data collection endpoint. The name is case insensitive.
Description string
Description of the data collection endpoint.
ImmutableId string
The immutable ID of this data collection endpoint resource. This property is READ-ONLY.
Kind string | Pulumi.AzureNative.Insights.KnownDataCollectionEndpointResourceKind
The kind of the resource.
Location string
The geo-location where the resource lives.
NetworkAcls Pulumi.AzureNative.Insights.Inputs.DataCollectionEndpointNetworkAclsArgs
Network access control rules for the endpoints.
Tags Dictionary<string, string>
Resource tags.
ResourceGroupName string
The name of the resource group. The name is case insensitive.
DataCollectionEndpointName string
The name of the data collection endpoint. The name is case insensitive.
Description string
Description of the data collection endpoint.
ImmutableId string
The immutable ID of this data collection endpoint resource. This property is READ-ONLY.
Kind string | KnownDataCollectionEndpointResourceKind
The kind of the resource.
Location string
The geo-location where the resource lives.
NetworkAcls DataCollectionEndpointNetworkAclsArgs
Network access control rules for the endpoints.
Tags map[string]string
Resource tags.
resourceGroupName string
The name of the resource group. The name is case insensitive.
dataCollectionEndpointName string
The name of the data collection endpoint. The name is case insensitive.
description string
Description of the data collection endpoint.
immutableId string
The immutable ID of this data collection endpoint resource. This property is READ-ONLY.
kind string | KnownDataCollectionEndpointResourceKind
The kind of the resource.
location string
The geo-location where the resource lives.
networkAcls DataCollectionEndpointNetworkAclsArgs
Network access control rules for the endpoints.
tags {[key: string]: string}
Resource tags.
resource_group_name str
The name of the resource group. The name is case insensitive.
data_collection_endpoint_name str
The name of the data collection endpoint. The name is case insensitive.
description str
Description of the data collection endpoint.
immutable_id str
The immutable ID of this data collection endpoint resource. This property is READ-ONLY.
kind str | KnownDataCollectionEndpointResourceKind
The kind of the resource.
location str
The geo-location where the resource lives.
network_acls DataCollectionEndpointNetworkAclsArgs
Network access control rules for the endpoints.
tags Mapping[str, str]
Resource tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the DataCollectionEndpoint resource produces the following output properties:

Etag string
Resource entity tag (ETag).
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource.
ProvisioningState string
The resource provisioning state. This property is READ-ONLY.
SystemData Pulumi.AzureNative.Insights.Outputs.DataCollectionEndpointResourceResponseSystemData
Metadata pertaining to creation and last modification of the resource.
Type string
The type of the resource.
ConfigurationAccess Pulumi.AzureNative.Insights.Outputs.DataCollectionEndpointResponseConfigurationAccess
The endpoint used by agents to access their configuration.
LogsIngestion Pulumi.AzureNative.Insights.Outputs.DataCollectionEndpointResponseLogsIngestion
The endpoint used by clients to ingest logs.
Etag string
Resource entity tag (ETag).
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource.
ProvisioningState string
The resource provisioning state. This property is READ-ONLY.
SystemData DataCollectionEndpointResourceResponseSystemData
Metadata pertaining to creation and last modification of the resource.
Type string
The type of the resource.
ConfigurationAccess DataCollectionEndpointResponseConfigurationAccess
The endpoint used by agents to access their configuration.
LogsIngestion DataCollectionEndpointResponseLogsIngestion
The endpoint used by clients to ingest logs.
etag string
Resource entity tag (ETag).
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource.
provisioningState string
The resource provisioning state. This property is READ-ONLY.
systemData DataCollectionEndpointResourceResponseSystemData
Metadata pertaining to creation and last modification of the resource.
type string
The type of the resource.
configurationAccess DataCollectionEndpointResponseConfigurationAccess
The endpoint used by agents to access their configuration.
logsIngestion DataCollectionEndpointResponseLogsIngestion
The endpoint used by clients to ingest logs.
etag str
Resource entity tag (ETag).
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource.
provisioning_state str
The resource provisioning state. This property is READ-ONLY.
system_data DataCollectionEndpointResourceResponseSystemData
Metadata pertaining to creation and last modification of the resource.
type str
The type of the resource.
configuration_access DataCollectionEndpointResponseConfigurationAccess
The endpoint used by agents to access their configuration.
logs_ingestion DataCollectionEndpointResponseLogsIngestion
The endpoint used by clients to ingest logs.

Supporting Types

DataCollectionEndpointNetworkAcls

PublicNetworkAccess string | Pulumi.AzureNative.Insights.KnownPublicNetworkAccessOptions
The configuration to set whether network access from public internet to the endpoints are allowed.
PublicNetworkAccess string | KnownPublicNetworkAccessOptions
The configuration to set whether network access from public internet to the endpoints are allowed.
publicNetworkAccess string | KnownPublicNetworkAccessOptions
The configuration to set whether network access from public internet to the endpoints are allowed.
public_network_access str | KnownPublicNetworkAccessOptions
The configuration to set whether network access from public internet to the endpoints are allowed.

DataCollectionEndpointResourceResponseSystemData

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.

DataCollectionEndpointResponseConfigurationAccess

Endpoint string
The endpoint. This property is READ-ONLY.
Endpoint string
The endpoint. This property is READ-ONLY.
endpoint string
The endpoint. This property is READ-ONLY.
endpoint str
The endpoint. This property is READ-ONLY.

DataCollectionEndpointResponseLogsIngestion

Endpoint string
The endpoint. This property is READ-ONLY.
Endpoint string
The endpoint. This property is READ-ONLY.
endpoint string
The endpoint. This property is READ-ONLY.
endpoint str
The endpoint. This property is READ-ONLY.

DataCollectionEndpointResponseNetworkAcls

PublicNetworkAccess string
The configuration to set whether network access from public internet to the endpoints are allowed.
PublicNetworkAccess string
The configuration to set whether network access from public internet to the endpoints are allowed.
publicNetworkAccess string
The configuration to set whether network access from public internet to the endpoints are allowed.
public_network_access str
The configuration to set whether network access from public internet to the endpoints are allowed.

KnownDataCollectionEndpointResourceKind

Linux
Linux
Windows
Windows
KnownDataCollectionEndpointResourceKindLinux
Linux
KnownDataCollectionEndpointResourceKindWindows
Windows
Linux
Linux
Windows
Windows
LINUX
Linux
WINDOWS
Windows

KnownPublicNetworkAccessOptions

Enabled
Enabled
Disabled
Disabled
KnownPublicNetworkAccessOptionsEnabled
Enabled
KnownPublicNetworkAccessOptionsDisabled
Disabled
Enabled
Enabled
Disabled
Disabled
ENABLED
Enabled
DISABLED
Disabled

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 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0