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 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
The DataCollectionEndpoint resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Data
Collection stringEndpoint Name - The name of the data collection endpoint. The name is case insensitive.
- Description string
- Description of the data collection endpoint.
- Immutable
Id 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.
- Network
Acls Pulumi.Azure Native. Insights. Inputs. Data Collection Endpoint Network Acls - Network access control rules for the endpoints.
- Dictionary<string, string>
- Resource tags.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Data
Collection stringEndpoint Name - The name of the data collection endpoint. The name is case insensitive.
- Description string
- Description of the data collection endpoint.
- Immutable
Id string - The immutable ID of this data collection endpoint resource. This property is READ-ONLY.
- Kind
string | Known
Data Collection Endpoint Resource Kind - The kind of the resource.
- Location string
- The geo-location where the resource lives.
- Network
Acls DataCollection Endpoint Network Acls Args - Network access control rules for the endpoints.
- map[string]string
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- data
Collection StringEndpoint Name - The name of the data collection endpoint. The name is case insensitive.
- description String
- Description of the data collection endpoint.
- immutable
Id String - The immutable ID of this data collection endpoint resource. This property is READ-ONLY.
- kind
String | Known
Data Collection Endpoint Resource Kind - The kind of the resource.
- location String
- The geo-location where the resource lives.
- network
Acls DataCollection Endpoint Network Acls - Network access control rules for the endpoints.
- Map<String,String>
- Resource tags.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- data
Collection stringEndpoint Name - The name of the data collection endpoint. The name is case insensitive.
- description string
- Description of the data collection endpoint.
- immutable
Id string - The immutable ID of this data collection endpoint resource. This property is READ-ONLY.
- kind
string | Known
Data Collection Endpoint Resource Kind - The kind of the resource.
- location string
- The geo-location where the resource lives.
- network
Acls 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 | Known
Data 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.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- data
Collection StringEndpoint Name - The name of the data collection endpoint. The name is case insensitive.
- description String
- Description of the data collection endpoint.
- immutable
Id 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.
- network
Acls 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.
- Provisioning
State string - The resource provisioning state. This property is READ-ONLY.
- System
Data 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.
- Configuration
Access Pulumi.Azure Native. Insights. Outputs. Data Collection Endpoint Response Configuration Access - The endpoint used by clients to access their configuration.
- Logs
Ingestion 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.
- Provisioning
State string - 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 string
- 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.
- provisioning
State String - 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 String
- 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.
- provisioning
State string - 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 string
- 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 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.
- provisioning
State String - The resource provisioning state. This property is READ-ONLY.
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the resource.
- configuration
Access Property Map - The endpoint used by clients to access their configuration.
- logs
Ingestion Property Map - The endpoint used by clients to ingest logs.
Supporting Types
DataCollectionEndpointNetworkAcls, DataCollectionEndpointNetworkAclsArgs
- Public
Network 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.
- Public
Network string | KnownAccess Public Network Access Options - The configuration to set whether network access from public internet to the endpoints are allowed.
- public
Network String | KnownAccess Public Network Access Options - The configuration to set whether network access from public internet to the endpoints are allowed.
- public
Network 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.
- public
Network String | "Enabled" | "Disabled"Access - The configuration to set whether network access from public internet to the endpoints are allowed.
DataCollectionEndpointResourceResponseSystemData, DataCollectionEndpointResourceResponseSystemDataArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified 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
- Public
Network stringAccess - The configuration to set whether network access from public internet to the endpoints are allowed.
- Public
Network stringAccess - The configuration to set whether network access from public internet to the endpoints are allowed.
- public
Network StringAccess - The configuration to set whether network access from public internet to the endpoints are allowed.
- public
Network 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.
- public
Network StringAccess - The configuration to set whether network access from public internet to the endpoints are allowed.
KnownDataCollectionEndpointResourceKind, KnownDataCollectionEndpointResourceKindArgs
- Linux
- Linux
- Windows
- Windows
- Known
Data Collection Endpoint Resource Kind Linux - Linux
- Known
Data 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
- Known
Public Network Access Options Enabled - Enabled
- Known
Public 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