1. Packages
  2. Azure Native v1
  3. API Docs
  4. insights
  5. DataCollectionEndpoint
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.insights.DataCollectionEndpoint

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    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 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",
    });
    
    resources:
      dataCollectionEndpoint:
        type: azure-native:insights:DataCollectionEndpoint
        properties:
          dataCollectionEndpointName: myCollectionEndpoint
          location: eastus
          networkAcls:
            publicNetworkAccess: Enabled
          resourceGroupName: myResourceGroup
    

    Create DataCollectionEndpoint Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DataCollectionEndpoint(name: string, args: DataCollectionEndpointArgs, opts?: CustomResourceOptions);
    @overload
    def DataCollectionEndpoint(resource_name: str,
                               args: DataCollectionEndpointArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def DataCollectionEndpoint(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               resource_group_name: Optional[str] = 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,
                               tags: Optional[Mapping[str, str]] = None)
    func NewDataCollectionEndpoint(ctx *Context, name string, args DataCollectionEndpointArgs, opts ...ResourceOption) (*DataCollectionEndpoint, error)
    public DataCollectionEndpoint(string name, DataCollectionEndpointArgs args, CustomResourceOptions? opts = null)
    public DataCollectionEndpoint(String name, DataCollectionEndpointArgs args)
    public DataCollectionEndpoint(String name, DataCollectionEndpointArgs args, CustomResourceOptions options)
    
    type: azure-native:insights:DataCollectionEndpoint
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    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.
    name String
    The unique name of the resource.
    args DataCollectionEndpointArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var dataCollectionEndpointResource = new AzureNative.Insights.DataCollectionEndpoint("dataCollectionEndpointResource", new()
    {
        ResourceGroupName = "string",
        DataCollectionEndpointName = "string",
        Description = "string",
        ImmutableId = "string",
        Kind = "string",
        Location = "string",
        NetworkAcls = 
        {
            { "publicNetworkAccess", "string" },
        },
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := insights.NewDataCollectionEndpoint(ctx, "dataCollectionEndpointResource", &insights.DataCollectionEndpointArgs{
    	ResourceGroupName:          "string",
    	DataCollectionEndpointName: "string",
    	Description:                "string",
    	ImmutableId:                "string",
    	Kind:                       "string",
    	Location:                   "string",
    	NetworkAcls: map[string]interface{}{
    		"publicNetworkAccess": "string",
    	},
    	Tags: map[string]interface{}{
    		"string": "string",
    	},
    })
    
    var dataCollectionEndpointResource = new DataCollectionEndpoint("dataCollectionEndpointResource", DataCollectionEndpointArgs.builder()
        .resourceGroupName("string")
        .dataCollectionEndpointName("string")
        .description("string")
        .immutableId("string")
        .kind("string")
        .location("string")
        .networkAcls(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .build());
    
    data_collection_endpoint_resource = azure_native.insights.DataCollectionEndpoint("dataCollectionEndpointResource",
        resource_group_name=string,
        data_collection_endpoint_name=string,
        description=string,
        immutable_id=string,
        kind=string,
        location=string,
        network_acls={
            publicNetworkAccess: string,
        },
        tags={
            string: string,
        })
    
    const dataCollectionEndpointResource = new azure_native.insights.DataCollectionEndpoint("dataCollectionEndpointResource", {
        resourceGroupName: "string",
        dataCollectionEndpointName: "string",
        description: "string",
        immutableId: "string",
        kind: "string",
        location: "string",
        networkAcls: {
            publicNetworkAccess: "string",
        },
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:insights:DataCollectionEndpoint
    properties:
        dataCollectionEndpointName: string
        description: string
        immutableId: string
        kind: string
        location: string
        networkAcls:
            publicNetworkAccess: string
        resourceGroupName: string
        tags:
            string: string
    

    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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    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.DataCollectionEndpointNetworkAcls
    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 DataCollectionEndpointNetworkAcls
    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 DataCollectionEndpointNetworkAcls
    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.
    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 | "Linux" | "Windows"
    The kind of the resource.
    location String
    The geo-location where the resource lives.
    networkAcls Property Map
    Network access control rules for the endpoints.
    tags Map<String>
    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 clients 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 clients 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 clients 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 clients 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 clients to access their configuration.
    logs_ingestion 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 Property Map
    Metadata pertaining to creation and last modification of the resource.
    type String
    The type of the resource.
    configurationAccess Property Map
    The endpoint used by clients to access their configuration.
    logsIngestion Property Map
    The endpoint used by clients to ingest logs.

    Supporting Types

    DataCollectionEndpointNetworkAcls, DataCollectionEndpointNetworkAclsArgs

    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.
    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.
    publicNetworkAccess String | "Enabled" | "Disabled"
    The configuration to set whether network access from public internet to the endpoints are allowed.

    DataCollectionEndpointResourceResponseSystemData, DataCollectionEndpointResourceResponseSystemDataArgs

    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.
    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.
    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.

    DataCollectionEndpointResponseConfigurationAccess, DataCollectionEndpointResponseConfigurationAccessArgs

    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 string
    The endpoint. This property is READ-ONLY.
    endpoint str
    The endpoint. This property is READ-ONLY.
    endpoint String
    The endpoint. This property is READ-ONLY.

    DataCollectionEndpointResponseLogsIngestion, DataCollectionEndpointResponseLogsIngestionArgs

    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 string
    The endpoint. This property is READ-ONLY.
    endpoint str
    The endpoint. This property is READ-ONLY.
    endpoint String
    The endpoint. This property is READ-ONLY.

    DataCollectionEndpointResponseNetworkAcls, DataCollectionEndpointResponseNetworkAclsArgs

    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.
    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.
    publicNetworkAccess String
    The configuration to set whether network access from public internet to the endpoints are allowed.

    KnownDataCollectionEndpointResourceKind, KnownDataCollectionEndpointResourceKindArgs

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

    KnownPublicNetworkAccessOptions, KnownPublicNetworkAccessOptionsArgs

    Enabled
    Enabled
    Disabled
    Disabled
    KnownPublicNetworkAccessOptionsEnabled
    Enabled
    KnownPublicNetworkAccessOptionsDisabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    Disabled
    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 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi