azure-native.insights.DataCollectionEndpoint
Explore with Pulumi AI
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 * 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",
});
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")
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:
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- DataCollection stringEndpoint Name 
- 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.Azure Native. Insights. Known Data Collection Endpoint Resource Kind 
- The kind of the resource.
- Location string
- The geo-location where the resource lives.
- NetworkAcls Pulumi.Azure Native. Insights. Inputs. Data Collection Endpoint Network Acls 
- Network access control rules for the endpoints.
- Dictionary<string, string>
- Resource tags.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- DataCollection stringEndpoint Name 
- 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 | KnownData Collection Endpoint Resource Kind 
- The kind of the resource.
- Location string
- The geo-location where the resource lives.
- NetworkAcls DataCollection Endpoint Network Acls Args 
- Network access control rules for the endpoints.
- map[string]string
- Resource tags.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- dataCollection StringEndpoint Name 
- 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 | KnownData Collection Endpoint Resource Kind 
- The kind of the resource.
- location String
- The geo-location where the resource lives.
- networkAcls DataCollection Endpoint Network Acls 
- Network access control rules for the endpoints.
- Map<String,String>
- Resource tags.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- dataCollection stringEndpoint Name 
- 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 | KnownData Collection Endpoint Resource Kind 
- The kind of the resource.
- location string
- The geo-location where the resource lives.
- networkAcls DataCollection Endpoint Network Acls 
- Network access control rules for the endpoints.
- {[key: string]: string}
- Resource tags.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- data_collection_ strendpoint_ name 
- 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 | KnownData Collection Endpoint Resource Kind 
- The kind of the resource.
- location str
- The geo-location where the resource lives.
- network_acls DataCollection Endpoint Network Acls Args 
- Network access control rules for the endpoints.
- Mapping[str, str]
- Resource tags.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- dataCollection StringEndpoint Name 
- 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.
- 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.Azure Native. Insights. Outputs. Data Collection Endpoint Resource Response System Data 
- Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the resource.
- ConfigurationAccess Pulumi.Azure Native. Insights. Outputs. Data Collection Endpoint Response Configuration Access 
- The endpoint used by clients to access their configuration.
- LogsIngestion Pulumi.Azure Native. Insights. Outputs. Data Collection Endpoint Response Logs Ingestion 
- 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 DataCollection Endpoint Resource Response System Data 
- Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the resource.
- ConfigurationAccess DataCollection Endpoint Response Configuration Access 
- The endpoint used by clients to access their configuration.
- LogsIngestion DataCollection Endpoint Response Logs Ingestion 
- 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 DataCollection Endpoint Resource Response System Data 
- Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the resource.
- configurationAccess DataCollection Endpoint Response Configuration Access 
- The endpoint used by clients to access their configuration.
- logsIngestion DataCollection Endpoint Response Logs Ingestion 
- 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 DataCollection Endpoint Resource Response System Data 
- Metadata pertaining to creation and last modification of the resource.
- type string
- The type of the resource.
- configurationAccess DataCollection Endpoint Response Configuration Access 
- The endpoint used by clients to access their configuration.
- logsIngestion DataCollection Endpoint Response Logs Ingestion 
- 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 DataCollection Endpoint Resource Response System Data 
- Metadata pertaining to creation and last modification of the resource.
- type str
- The type of the resource.
- configuration_access DataCollection Endpoint Response Configuration Access 
- The endpoint used by clients to access their configuration.
- logs_ingestion DataCollection Endpoint Response Logs Ingestion 
- 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          
- PublicNetwork string | Pulumi.Access Azure Native. Insights. Known Public Network Access Options 
- The configuration to set whether network access from public internet to the endpoints are allowed.
- PublicNetwork string | KnownAccess Public Network Access Options 
- The configuration to set whether network access from public internet to the endpoints are allowed.
- publicNetwork String | KnownAccess Public Network Access Options 
- The configuration to set whether network access from public internet to the endpoints are allowed.
- publicNetwork string | KnownAccess Public Network Access Options 
- The configuration to set whether network access from public internet to the endpoints are allowed.
- public_network_ str | Knownaccess Public Network Access Options 
- The configuration to set whether network access from public internet to the endpoints are allowed.
- publicNetwork String | "Enabled" | "Disabled"Access 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- 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_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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            
- PublicNetwork stringAccess 
- The configuration to set whether network access from public internet to the endpoints are allowed.
- PublicNetwork stringAccess 
- The configuration to set whether network access from public internet to the endpoints are allowed.
- publicNetwork StringAccess 
- The configuration to set whether network access from public internet to the endpoints are allowed.
- publicNetwork stringAccess 
- The configuration to set whether network access from public internet to the endpoints are allowed.
- public_network_ straccess 
- The configuration to set whether network access from public internet to the endpoints are allowed.
- publicNetwork StringAccess 
- The configuration to set whether network access from public internet to the endpoints are allowed.
KnownDataCollectionEndpointResourceKind, KnownDataCollectionEndpointResourceKindArgs            
- Linux
- Linux
- Windows
- Windows
- KnownData Collection Endpoint Resource Kind Linux 
- Linux
- KnownData Collection Endpoint Resource Kind Windows 
- Windows
- Linux
- Linux
- Windows
- Windows
- Linux
- Linux
- Windows
- Windows
- LINUX
- Linux
- WINDOWS
- Windows
- "Linux"
- Linux
- "Windows"
- Windows
KnownPublicNetworkAccessOptions, KnownPublicNetworkAccessOptionsArgs          
- Enabled
- Enabled
- Disabled
- Disabled
- KnownPublic Network Access Options Enabled 
- Enabled
- KnownPublic Network Access Options Disabled 
- 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