published on Wednesday, Aug 5, 2026 by Pulumi
published on Wednesday, Aug 5, 2026 by Pulumi
Agent Connector used to connect to data sources
Uses Azure REST API version 2026-01-01.
Example Usage
AgentsConnectors_CreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var agentsConnector = new AzureNative.App.AgentsConnector("agentsConnector", new()
{
AgentName = "testAgent",
ConnectorName = "new-kusto-connector",
Properties = new AzureNative.App.Inputs.AgentConnectorPropertiesArgs
{
DataConnectorType = "Kusto",
Endpoint = "https://newcluster.eastus.kusto.windows.net",
ExtendedProperties = new Dictionary<string, object?>
{
["AuthType"] = "Custom",
["CustomHeader"] = new Dictionary<string, object?>
{
["DD_API_KEY"] = "value 1",
["DD_APPLICATION_KEY"] = "value 2",
},
},
Identity = "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/kustoIdentity",
},
ResourceGroupName = "examplerg",
});
});
package main
import (
app "github.com/pulumi/pulumi-azure-native-sdk/app/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := app.NewAgentsConnector(ctx, "agentsConnector", &app.AgentsConnectorArgs{
AgentName: pulumi.String("testAgent"),
ConnectorName: pulumi.String("new-kusto-connector"),
Properties: &app.AgentConnectorPropertiesArgs{
DataConnectorType: pulumi.String("Kusto"),
Endpoint: pulumi.String("https://newcluster.eastus.kusto.windows.net"),
ExtendedProperties: pulumi.Any(map[string]interface{}{
"AuthType": "Custom",
"CustomHeader": map[string]interface{}{
"DD_API_KEY": "value 1",
"DD_APPLICATION_KEY": "value 2",
},
}),
Identity: pulumi.String("/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/kustoIdentity"),
},
ResourceGroupName: pulumi.String("examplerg"),
})
if err != nil {
return err
}
return nil
})
}
pulumi {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_app_agentsconnector" "agentsConnector" {
agent_name = "testAgent"
connector_name = "new-kusto-connector"
properties = {
data_connector_type = "Kusto"
endpoint = "https://newcluster.eastus.kusto.windows.net"
extended_properties = {
"AuthType" = "Custom"
"CustomHeader" = {
"DD_API_KEY" = "value 1"
"DD_APPLICATION_KEY" = "value 2"
}
}
identity = "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/kustoIdentity"
}
resource_group_name = "examplerg"
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.app.AgentsConnector;
import com.pulumi.azurenative.app.AgentsConnectorArgs;
import com.pulumi.azurenative.app.inputs.AgentConnectorPropertiesArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 agentsConnector = new AgentsConnector("agentsConnector", AgentsConnectorArgs.builder()
.agentName("testAgent")
.connectorName("new-kusto-connector")
.properties(AgentConnectorPropertiesArgs.builder()
.dataConnectorType("Kusto")
.endpoint("https://newcluster.eastus.kusto.windows.net")
.extendedProperties(Map.ofEntries(
Map.entry("AuthType", "Custom"),
Map.entry("CustomHeader", Map.ofEntries(
Map.entry("DD_API_KEY", "value 1"),
Map.entry("DD_APPLICATION_KEY", "value 2")
))
))
.identity("/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/kustoIdentity")
.build())
.resourceGroupName("examplerg")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const agentsConnector = new azure_native.app.AgentsConnector("agentsConnector", {
agentName: "testAgent",
connectorName: "new-kusto-connector",
properties: {
dataConnectorType: "Kusto",
endpoint: "https://newcluster.eastus.kusto.windows.net",
extendedProperties: {
AuthType: "Custom",
CustomHeader: {
DD_API_KEY: "value 1",
DD_APPLICATION_KEY: "value 2",
},
},
identity: "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/kustoIdentity",
},
resourceGroupName: "examplerg",
});
import pulumi
import pulumi_azure_native as azure_native
agents_connector = azure_native.app.AgentsConnector("agentsConnector",
agent_name="testAgent",
connector_name="new-kusto-connector",
properties={
"data_connector_type": "Kusto",
"endpoint": "https://newcluster.eastus.kusto.windows.net",
"extended_properties": {
"AuthType": "Custom",
"CustomHeader": {
"DD_API_KEY": "value 1",
"DD_APPLICATION_KEY": "value 2",
},
},
"identity": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/kustoIdentity",
},
resource_group_name="examplerg")
resources:
agentsConnector:
type: azure-native:app:AgentsConnector
properties:
agentName: testAgent
connectorName: new-kusto-connector
properties:
dataConnectorType: Kusto
endpoint: https://newcluster.eastus.kusto.windows.net
extendedProperties:
AuthType: Custom
CustomHeader:
DD_API_KEY: value 1
DD_APPLICATION_KEY: value 2
identity: /subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/kustoIdentity
resourceGroupName: examplerg
Create AgentsConnector Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AgentsConnector(name: string, args: AgentsConnectorArgs, opts?: CustomResourceOptions);@overload
def AgentsConnector(resource_name: str,
args: AgentsConnectorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AgentsConnector(resource_name: str,
opts: Optional[ResourceOptions] = None,
agent_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
connector_name: Optional[str] = None,
properties: Optional[AgentConnectorPropertiesArgs] = None)func NewAgentsConnector(ctx *Context, name string, args AgentsConnectorArgs, opts ...ResourceOption) (*AgentsConnector, error)public AgentsConnector(string name, AgentsConnectorArgs args, CustomResourceOptions? opts = null)
public AgentsConnector(String name, AgentsConnectorArgs args)
public AgentsConnector(String name, AgentsConnectorArgs args, CustomResourceOptions options)
type: azure-native:app:AgentsConnector
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "azure-native_app_agents_connector" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AgentsConnectorArgs
- 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 AgentsConnectorArgs
- 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 AgentsConnectorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AgentsConnectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AgentsConnectorArgs
- 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 agentsConnectorResource = new AzureNative.App.AgentsConnector("agentsConnectorResource", new()
{
AgentName = "string",
ResourceGroupName = "string",
ConnectorName = "string",
Properties = new AzureNative.App.Inputs.AgentConnectorPropertiesArgs
{
DataConnectorType = "string",
DataSource = "string",
Endpoint = "string",
ExtendedProperties = "any",
Identity = "string",
},
});
example, err := app.NewAgentsConnector(ctx, "agentsConnectorResource", &app.AgentsConnectorArgs{
AgentName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
ConnectorName: pulumi.String("string"),
Properties: &app.AgentConnectorPropertiesArgs{
DataConnectorType: pulumi.String("string"),
DataSource: pulumi.String("string"),
Endpoint: pulumi.String("string"),
ExtendedProperties: pulumi.Any("any"),
Identity: pulumi.String("string"),
},
})
resource "azure-native_app_agents_connector" "agentsConnectorResource" {
lifecycle {
create_before_destroy = true
}
agent_name = "string"
resource_group_name = "string"
connector_name = "string"
properties = {
data_connector_type = "string"
data_source = "string"
endpoint = "string"
extended_properties = "any"
identity = "string"
}
}
var agentsConnectorResource = new AgentsConnector("agentsConnectorResource", AgentsConnectorArgs.builder()
.agentName("string")
.resourceGroupName("string")
.connectorName("string")
.properties(AgentConnectorPropertiesArgs.builder()
.dataConnectorType("string")
.dataSource("string")
.endpoint("string")
.extendedProperties("any")
.identity("string")
.build())
.build());
agents_connector_resource = azure_native.app.AgentsConnector("agentsConnectorResource",
agent_name="string",
resource_group_name="string",
connector_name="string",
properties={
"data_connector_type": "string",
"data_source": "string",
"endpoint": "string",
"extended_properties": "any",
"identity": "string",
})
const agentsConnectorResource = new azure_native.app.AgentsConnector("agentsConnectorResource", {
agentName: "string",
resourceGroupName: "string",
connectorName: "string",
properties: {
dataConnectorType: "string",
dataSource: "string",
endpoint: "string",
extendedProperties: "any",
identity: "string",
},
});
type: azure-native:app:AgentsConnector
properties:
agentName: string
connectorName: string
properties:
dataConnectorType: string
dataSource: string
endpoint: string
extendedProperties: any
identity: string
resourceGroupName: string
AgentsConnector 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 AgentsConnector resource accepts the following input properties:
- Agent
Name string - The name of the Agent
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Connector
Name string - The name of the AgentConnector
- Properties
Pulumi.
Azure Native. App. Inputs. Agent Connector Properties - The resource-specific properties for this resource.
- Agent
Name string - The name of the Agent
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Connector
Name string - The name of the AgentConnector
- Properties
Agent
Connector Properties Args - The resource-specific properties for this resource.
- agent_
name string - The name of the Agent
- resource_
group_ stringname - The name of the resource group. The name is case insensitive.
- connector_
name string - The name of the AgentConnector
- properties object
- The resource-specific properties for this resource.
- agent
Name String - The name of the Agent
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- connector
Name String - The name of the AgentConnector
- properties
Agent
Connector Properties - The resource-specific properties for this resource.
- agent
Name string - The name of the Agent
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- connector
Name string - The name of the AgentConnector
- properties
Agent
Connector Properties - The resource-specific properties for this resource.
- agent_
name str - The name of the Agent
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- connector_
name str - The name of the AgentConnector
- properties
Agent
Connector Properties Args - The resource-specific properties for this resource.
- agent
Name String - The name of the Agent
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- connector
Name String - The name of the AgentConnector
- properties Property Map
- The resource-specific properties for this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the AgentsConnector resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. App. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure_
api_ stringversion - The Azure API version of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- system_
data object - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
AgentConnectorProperties, AgentConnectorPropertiesArgs
Agent Connector Properties- Data
Connector stringType - The type of the data connector
- Data
Source string - Data source connection string or endpoint
- Endpoint string
- Endpoint of the connector
- Extended
Properties object - Additional properties for the data connector which can be used to store custom key-value pairs
- Identity string
- Identity used to access the data source
- Data
Connector stringType - The type of the data connector
- Data
Source string - Data source connection string or endpoint
- Endpoint string
- Endpoint of the connector
- Extended
Properties interface{} - Additional properties for the data connector which can be used to store custom key-value pairs
- Identity string
- Identity used to access the data source
- data_
connector_ stringtype - The type of the data connector
- data_
source string - Data source connection string or endpoint
- endpoint string
- Endpoint of the connector
- extended_
properties any - Additional properties for the data connector which can be used to store custom key-value pairs
- identity string
- Identity used to access the data source
- data
Connector StringType - The type of the data connector
- data
Source String - Data source connection string or endpoint
- endpoint String
- Endpoint of the connector
- extended
Properties Object - Additional properties for the data connector which can be used to store custom key-value pairs
- identity String
- Identity used to access the data source
- data
Connector stringType - The type of the data connector
- data
Source string - Data source connection string or endpoint
- endpoint string
- Endpoint of the connector
- extended
Properties any - Additional properties for the data connector which can be used to store custom key-value pairs
- identity string
- Identity used to access the data source
- data_
connector_ strtype - The type of the data connector
- data_
source str - Data source connection string or endpoint
- endpoint str
- Endpoint of the connector
- extended_
properties Any - Additional properties for the data connector which can be used to store custom key-value pairs
- identity str
- Identity used to access the data source
- data
Connector StringType - The type of the data connector
- data
Source String - Data source connection string or endpoint
- endpoint String
- Endpoint of the connector
- extended
Properties Any - Additional properties for the data connector which can be used to store custom key-value pairs
- identity String
- Identity used to access the data source
AgentConnectorPropertiesResponse, AgentConnectorPropertiesResponseArgs
Agent Connector Properties- Deployment
Error string - Deployment error message if provisioning failed
- Provisioning
State string - Provisioning state of the connector
- Source string
- Source of the data connector - "Agent" when directly stored in agent, "AgentSpace" when inherited
- Data
Connector stringType - The type of the data connector
- Data
Source string - Data source connection string or endpoint
- Endpoint string
- Endpoint of the connector
- Extended
Properties object - Additional properties for the data connector which can be used to store custom key-value pairs
- Identity string
- Identity used to access the data source
- Deployment
Error string - Deployment error message if provisioning failed
- Provisioning
State string - Provisioning state of the connector
- Source string
- Source of the data connector - "Agent" when directly stored in agent, "AgentSpace" when inherited
- Data
Connector stringType - The type of the data connector
- Data
Source string - Data source connection string or endpoint
- Endpoint string
- Endpoint of the connector
- Extended
Properties interface{} - Additional properties for the data connector which can be used to store custom key-value pairs
- Identity string
- Identity used to access the data source
- deployment_
error string - Deployment error message if provisioning failed
- provisioning_
state string - Provisioning state of the connector
- source string
- Source of the data connector - "Agent" when directly stored in agent, "AgentSpace" when inherited
- data_
connector_ stringtype - The type of the data connector
- data_
source string - Data source connection string or endpoint
- endpoint string
- Endpoint of the connector
- extended_
properties any - Additional properties for the data connector which can be used to store custom key-value pairs
- identity string
- Identity used to access the data source
- deployment
Error String - Deployment error message if provisioning failed
- provisioning
State String - Provisioning state of the connector
- source String
- Source of the data connector - "Agent" when directly stored in agent, "AgentSpace" when inherited
- data
Connector StringType - The type of the data connector
- data
Source String - Data source connection string or endpoint
- endpoint String
- Endpoint of the connector
- extended
Properties Object - Additional properties for the data connector which can be used to store custom key-value pairs
- identity String
- Identity used to access the data source
- deployment
Error string - Deployment error message if provisioning failed
- provisioning
State string - Provisioning state of the connector
- source string
- Source of the data connector - "Agent" when directly stored in agent, "AgentSpace" when inherited
- data
Connector stringType - The type of the data connector
- data
Source string - Data source connection string or endpoint
- endpoint string
- Endpoint of the connector
- extended
Properties any - Additional properties for the data connector which can be used to store custom key-value pairs
- identity string
- Identity used to access the data source
- deployment_
error str - Deployment error message if provisioning failed
- provisioning_
state str - Provisioning state of the connector
- source str
- Source of the data connector - "Agent" when directly stored in agent, "AgentSpace" when inherited
- data_
connector_ strtype - The type of the data connector
- data_
source str - Data source connection string or endpoint
- endpoint str
- Endpoint of the connector
- extended_
properties Any - Additional properties for the data connector which can be used to store custom key-value pairs
- identity str
- Identity used to access the data source
- deployment
Error String - Deployment error message if provisioning failed
- provisioning
State String - Provisioning state of the connector
- source String
- Source of the data connector - "Agent" when directly stored in agent, "AgentSpace" when inherited
- data
Connector StringType - The type of the data connector
- data
Source String - Data source connection string or endpoint
- endpoint String
- Endpoint of the connector
- extended
Properties Any - Additional properties for the data connector which can be used to store custom key-value pairs
- identity String
- Identity used to access the data source
SystemDataResponse, SystemDataResponseArgs
Metadata pertaining to creation and last modification of 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 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.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:app:AgentsConnector new-kusto-connector /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/agents/{agentName}/connectors/{connectorName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
published on Wednesday, Aug 5, 2026 by Pulumi