published on Tuesday, Jun 9, 2026 by Pulumiverse
published on Tuesday, Jun 9, 2026 by Pulumiverse
This resource requires the API token scopes Read settings (
settings.read) and Write settings (settings.write)
This resource requires the OAuth scopes Read settings (
settings:objects:read) and Write settings (settings:objects:write)
Requirements
This resource can be used to create connections using an Azure client secret or federated identity credential. For the latter case, this resource must be used together with a dynatrace.AzureConnectionAuthentication resource.
Ensure you configure both resources together for a valid Azure connection.
An example of how to set up a connection using a client secret or a federated identiy credential can be found in the Resource Example Usage section below.
Limitations
Warning If a resource is created using an API token or without setting
DYNATRACE_HTTP_OAUTH_PREFERENCE=true(when both are used), the settings object’s owner will remain empty.
An empty owner implies:
- The settings object becomes public, allowing other users with settings permissions to read and modify it.
- Changing the settings object’s permissions will have no effect, meaning the
dynatrace.SettingsPermissionsresource can’t alter its access.
When a settings object is created using platform credentials:
- The owner is set to the owner of the OAuth client or platform token.
- By default, the settings object is private; only the owner can read and modify it.
- Access modifiers can be managed using the
dynatrace.SettingsPermissionsresource.
We recommend using platform credentials to ensure a correct setup.
In case an API token is needed, we recommend setting DYNATRACE_HTTP_OAUTH_PREFERENCE=true.
Dynatrace Documentation
Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId:
builtin:hyperscaler-authentication.connections.azure)
Export Example Usage
terraform-provider-dynatrace -export dynatrace.AzureConnectiondownloads all existing Azure connections.
The full documentation of the export feature is available here.
Resource Example Usage
Azure connection with client secret authentication
import * as pulumi from "@pulumi/pulumi";
import * as azuread from "@pulumi/azuread";
import * as dynatrace from "@pulumiverse/dynatrace";
const config = new pulumi.Config();
// The Azure Active Directory tenant ID.
const azureTenantId = config.require("azureTenantId");
// Create an application
const example = new azuread.ApplicationRegistration("example", {displayName: "ExampleApp"});
// Create a client secret
const exampleApplicationPassword = new azuread.ApplicationPassword("example", {applicationId: example.id});
// Create Azure connection
const exampleAzureConnection = new dynatrace.AzureConnection("example", {
name: "#name#",
type: "clientSecret",
clientSecret: {
clientSecret: exampleApplicationPassword.value,
applicationId: example.clientId,
directoryId: azureTenantId,
consumers: ["DA"],
},
});
import pulumi
import pulumi_azuread as azuread
import pulumiverse_dynatrace as dynatrace
config = pulumi.Config()
# The Azure Active Directory tenant ID.
azure_tenant_id = config.require("azureTenantId")
# Create an application
example = azuread.ApplicationRegistration("example", display_name="ExampleApp")
# Create a client secret
example_application_password = azuread.ApplicationPassword("example", application_id=example.id)
# Create Azure connection
example_azure_connection = dynatrace.AzureConnection("example",
name="#name#",
type="clientSecret",
client_secret={
"client_secret": example_application_password.value,
"application_id": example.client_id,
"directory_id": azure_tenant_id,
"consumers": ["DA"],
})
package main
import (
"github.com/pulumi/pulumi-azuread/sdk/v6/go/azuread"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
"github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
// The Azure Active Directory tenant ID.
azureTenantId := cfg.Require("azureTenantId")
// Create an application
example, err := azuread.NewApplicationRegistration(ctx, "example", &azuread.ApplicationRegistrationArgs{
DisplayName: pulumi.String("ExampleApp"),
})
if err != nil {
return err
}
// Create a client secret
exampleApplicationPassword, err := azuread.NewApplicationPassword(ctx, "example", &azuread.ApplicationPasswordArgs{
ApplicationId: example.ID(),
})
if err != nil {
return err
}
// Create Azure connection
_, err = dynatrace.NewAzureConnection(ctx, "example", &dynatrace.AzureConnectionArgs{
Name: pulumi.String("#name#"),
Type: pulumi.String("clientSecret"),
ClientSecret: &dynatrace.AzureConnectionClientSecretArgs{
ClientSecret: exampleApplicationPassword.Value,
ApplicationId: example.ClientId,
DirectoryId: pulumi.String(pulumi.String(azureTenantId)),
Consumers: pulumi.StringArray{
pulumi.String("DA"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureAD = Pulumi.AzureAD;
using Dynatrace = Pulumiverse.Dynatrace;
return await Deployment.RunAsync(() =>
{
var config = new Config();
// The Azure Active Directory tenant ID.
var azureTenantId = config.Require("azureTenantId");
// Create an application
var example = new AzureAD.ApplicationRegistration("example", new()
{
DisplayName = "ExampleApp",
});
// Create a client secret
var exampleApplicationPassword = new AzureAD.ApplicationPassword("example", new()
{
ApplicationId = example.Id,
});
// Create Azure connection
var exampleAzureConnection = new Dynatrace.AzureConnection("example", new()
{
Name = "#name#",
Type = "clientSecret",
ClientSecret = new Dynatrace.Inputs.AzureConnectionClientSecretArgs
{
ClientSecret = exampleApplicationPassword.Value,
ApplicationId = example.ClientId,
DirectoryId = azureTenantId,
Consumers = new[]
{
"DA",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuread.ApplicationRegistration;
import com.pulumi.azuread.ApplicationRegistrationArgs;
import com.pulumi.azuread.ApplicationPassword;
import com.pulumi.azuread.ApplicationPasswordArgs;
import com.pulumi.dynatrace.AzureConnection;
import com.pulumi.dynatrace.AzureConnectionArgs;
import com.pulumi.dynatrace.inputs.AzureConnectionClientSecretArgs;
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) {
final var config = ctx.config();
final var azureTenantId = config.require("azureTenantId");
// Create an application
var example = new ApplicationRegistration("example", ApplicationRegistrationArgs.builder()
.displayName("ExampleApp")
.build());
// Create a client secret
var exampleApplicationPassword = new ApplicationPassword("exampleApplicationPassword", ApplicationPasswordArgs.builder()
.applicationId(example.id())
.build());
// Create Azure connection
var exampleAzureConnection = new AzureConnection("exampleAzureConnection", AzureConnectionArgs.builder()
.name("#name#")
.type("clientSecret")
.clientSecret(AzureConnectionClientSecretArgs.builder()
.clientSecret(exampleApplicationPassword.value())
.applicationId(example.clientId())
.directoryId(azureTenantId)
.consumers("DA")
.build())
.build());
}
}
configuration:
azureTenantId:
type: string
resources:
# Create an application
example:
type: azuread:ApplicationRegistration
properties:
displayName: ExampleApp
# Create a client secret
exampleApplicationPassword:
type: azuread:ApplicationPassword
name: example
properties:
applicationId: ${example.id}
# Create Azure connection
exampleAzureConnection:
type: dynatrace:AzureConnection
name: example
properties:
name: '#name#'
type: clientSecret
clientSecret:
clientSecret: ${exampleApplicationPassword.value}
applicationId: ${example.clientId}
directoryId: ${azureTenantId}
consumers:
- DA
pulumi {
required_providers {
azuread = {
source = "pulumi/azuread"
}
dynatrace = {
source = "pulumi/dynatrace"
}
}
}
# Create an application
resource "azuread_applicationregistration" "example" {
display_name = "ExampleApp"
}
# Create a client secret
resource "azuread_applicationpassword" "example" {
application_id = azuread_applicationregistration.example.id
}
# Create Azure connection
resource "dynatrace_azureconnection" "example" {
name = "#name#"
type = "clientSecret"
client_secret = {
client_secret = azuread_applicationpassword.example.value
application_id = azuread_applicationregistration.example.client_id
directory_id = var.azureTenantId
consumers = ["DA"]
}
}
variable "azureTenantId" {
type = string
description = "The Azure Active Directory tenant ID."
}
Azure connection with federated identity credential authentication
import * as pulumi from "@pulumi/pulumi";
import * as azuread from "@pulumi/azuread";
import * as dynatrace from "@pulumiverse/dynatrace";
const config = new pulumi.Config();
// The Azure Active Directory tenant ID.
const azureTenantId = config.require("azureTenantId");
// The Dynatrace environment URL
const dynatraceEnvironmentUrl = config.require("dynatraceEnvironmentUrl");
// The Dynatrace token issuer URL
const dynatraceTokenIssuer = config.require("dynatraceTokenIssuer");
// Create an application
const example = new azuread.ApplicationRegistration("example", {displayName: "ExampleApp"});
// Create basic Azure connection
const exampleAzureConnection = new dynatrace.AzureConnection("example", {
name: "#name#",
type: "federatedIdentityCredential",
federatedIdentityCredential: {
consumers: ["APP:dynatrace.microsoft.azure.connector"],
},
});
// Create a federated identity credential
const exampleApplicationFederatedIdentityCredential = new azuread.ApplicationFederatedIdentityCredential("example", {
applicationId: example.id,
displayName: "Example",
audiences: [`${dynatraceEnvironmentUrl}/app-id/dynatrace.microsoft.azure.connector`],
issuer: dynatraceTokenIssuer,
subject: pulumi.interpolate`dt:connection-id/${exampleAzureConnection.id}`,
});
// Update the Azure connection with authentication details
const exampleAzureConnectionAuthentication = new dynatrace.AzureConnectionAuthentication("example", {
azureConnectionId: exampleAzureConnection.id,
applicationId: example.clientId,
directoryId: azureTenantId,
});
import pulumi
import pulumi_azuread as azuread
import pulumiverse_dynatrace as dynatrace
config = pulumi.Config()
# The Azure Active Directory tenant ID.
azure_tenant_id = config.require("azureTenantId")
# The Dynatrace environment URL
dynatrace_environment_url = config.require("dynatraceEnvironmentUrl")
# The Dynatrace token issuer URL
dynatrace_token_issuer = config.require("dynatraceTokenIssuer")
# Create an application
example = azuread.ApplicationRegistration("example", display_name="ExampleApp")
# Create basic Azure connection
example_azure_connection = dynatrace.AzureConnection("example",
name="#name#",
type="federatedIdentityCredential",
federated_identity_credential={
"consumers": ["APP:dynatrace.microsoft.azure.connector"],
})
# Create a federated identity credential
example_application_federated_identity_credential = azuread.ApplicationFederatedIdentityCredential("example",
application_id=example.id,
display_name="Example",
audiences=[f"{dynatrace_environment_url}/app-id/dynatrace.microsoft.azure.connector"],
issuer=dynatrace_token_issuer,
subject=example_azure_connection.id.apply(lambda id: f"dt:connection-id/{id}"))
# Update the Azure connection with authentication details
example_azure_connection_authentication = dynatrace.AzureConnectionAuthentication("example",
azure_connection_id=example_azure_connection.id,
application_id=example.client_id,
directory_id=azure_tenant_id)
package main
import (
"fmt"
"github.com/pulumi/pulumi-azuread/sdk/v6/go/azuread"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
"github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
// The Azure Active Directory tenant ID.
azureTenantId := cfg.Require("azureTenantId")
// The Dynatrace environment URL
dynatraceEnvironmentUrl := cfg.Require("dynatraceEnvironmentUrl")
// The Dynatrace token issuer URL
dynatraceTokenIssuer := cfg.Require("dynatraceTokenIssuer")
// Create an application
example, err := azuread.NewApplicationRegistration(ctx, "example", &azuread.ApplicationRegistrationArgs{
DisplayName: pulumi.String("ExampleApp"),
})
if err != nil {
return err
}
// Create basic Azure connection
exampleAzureConnection, err := dynatrace.NewAzureConnection(ctx, "example", &dynatrace.AzureConnectionArgs{
Name: pulumi.String("#name#"),
Type: pulumi.String("federatedIdentityCredential"),
FederatedIdentityCredential: &dynatrace.AzureConnectionFederatedIdentityCredentialArgs{
Consumers: pulumi.StringArray{
pulumi.String("APP:dynatrace.microsoft.azure.connector"),
},
},
})
if err != nil {
return err
}
// Create a federated identity credential
_, err = azuread.NewApplicationFederatedIdentityCredential(ctx, "example", &azuread.ApplicationFederatedIdentityCredentialArgs{
ApplicationId: example.ID(),
DisplayName: pulumi.String("Example"),
Audiences: pulumi.StringArray{
pulumi.Sprintf("%v/app-id/dynatrace.microsoft.azure.connector", dynatraceEnvironmentUrl),
},
Issuer: pulumi.String(pulumi.String(dynatraceTokenIssuer)),
Subject: exampleAzureConnection.ID().ApplyT(func(id string) (string, error) {
return fmt.Sprintf("dt:connection-id/%v", id), nil
}).(pulumi.StringOutput),
})
if err != nil {
return err
}
// Update the Azure connection with authentication details
_, err = dynatrace.NewAzureConnectionAuthentication(ctx, "example", &dynatrace.AzureConnectionAuthenticationArgs{
AzureConnectionId: exampleAzureConnection.ID(),
ApplicationId: example.ClientId,
DirectoryId: pulumi.String(pulumi.String(azureTenantId)),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureAD = Pulumi.AzureAD;
using Dynatrace = Pulumiverse.Dynatrace;
return await Deployment.RunAsync(() =>
{
var config = new Config();
// The Azure Active Directory tenant ID.
var azureTenantId = config.Require("azureTenantId");
// The Dynatrace environment URL
var dynatraceEnvironmentUrl = config.Require("dynatraceEnvironmentUrl");
// The Dynatrace token issuer URL
var dynatraceTokenIssuer = config.Require("dynatraceTokenIssuer");
// Create an application
var example = new AzureAD.ApplicationRegistration("example", new()
{
DisplayName = "ExampleApp",
});
// Create basic Azure connection
var exampleAzureConnection = new Dynatrace.AzureConnection("example", new()
{
Name = "#name#",
Type = "federatedIdentityCredential",
FederatedIdentityCredential = new Dynatrace.Inputs.AzureConnectionFederatedIdentityCredentialArgs
{
Consumers = new[]
{
"APP:dynatrace.microsoft.azure.connector",
},
},
});
// Create a federated identity credential
var exampleApplicationFederatedIdentityCredential = new AzureAD.ApplicationFederatedIdentityCredential("example", new()
{
ApplicationId = example.Id,
DisplayName = "Example",
Audiences = new[]
{
$"{dynatraceEnvironmentUrl}/app-id/dynatrace.microsoft.azure.connector",
},
Issuer = dynatraceTokenIssuer,
Subject = exampleAzureConnection.Id.Apply(id => $"dt:connection-id/{id}"),
});
// Update the Azure connection with authentication details
var exampleAzureConnectionAuthentication = new Dynatrace.AzureConnectionAuthentication("example", new()
{
AzureConnectionId = exampleAzureConnection.Id,
ApplicationId = example.ClientId,
DirectoryId = azureTenantId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuread.ApplicationRegistration;
import com.pulumi.azuread.ApplicationRegistrationArgs;
import com.pulumi.dynatrace.AzureConnection;
import com.pulumi.dynatrace.AzureConnectionArgs;
import com.pulumi.dynatrace.inputs.AzureConnectionFederatedIdentityCredentialArgs;
import com.pulumi.azuread.ApplicationFederatedIdentityCredential;
import com.pulumi.azuread.ApplicationFederatedIdentityCredentialArgs;
import com.pulumi.dynatrace.AzureConnectionAuthentication;
import com.pulumi.dynatrace.AzureConnectionAuthenticationArgs;
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) {
final var config = ctx.config();
final var azureTenantId = config.require("azureTenantId");
final var dynatraceEnvironmentUrl = config.require("dynatraceEnvironmentUrl");
final var dynatraceTokenIssuer = config.require("dynatraceTokenIssuer");
// Create an application
var example = new ApplicationRegistration("example", ApplicationRegistrationArgs.builder()
.displayName("ExampleApp")
.build());
// Create basic Azure connection
var exampleAzureConnection = new AzureConnection("exampleAzureConnection", AzureConnectionArgs.builder()
.name("#name#")
.type("federatedIdentityCredential")
.federatedIdentityCredential(AzureConnectionFederatedIdentityCredentialArgs.builder()
.consumers("APP:dynatrace.microsoft.azure.connector")
.build())
.build());
// Create a federated identity credential
var exampleApplicationFederatedIdentityCredential = new ApplicationFederatedIdentityCredential("exampleApplicationFederatedIdentityCredential", ApplicationFederatedIdentityCredentialArgs.builder()
.applicationId(example.id())
.displayName("Example")
.audiences(String.format("%s/app-id/dynatrace.microsoft.azure.connector", dynatraceEnvironmentUrl))
.issuer(dynatraceTokenIssuer)
.subject(exampleAzureConnection.id().applyValue(_id -> String.format("dt:connection-id/%s", _id)))
.build());
// Update the Azure connection with authentication details
var exampleAzureConnectionAuthentication = new AzureConnectionAuthentication("exampleAzureConnectionAuthentication", AzureConnectionAuthenticationArgs.builder()
.azureConnectionId(exampleAzureConnection.id())
.applicationId(example.clientId())
.directoryId(azureTenantId)
.build());
}
}
configuration:
azureTenantId:
type: string
dynatraceEnvironmentUrl:
type: string
dynatraceTokenIssuer:
type: string
resources:
# Create an application
example:
type: azuread:ApplicationRegistration
properties:
displayName: ExampleApp
# Create basic Azure connection
exampleAzureConnection:
type: dynatrace:AzureConnection
name: example
properties:
name: '#name#'
type: federatedIdentityCredential
federatedIdentityCredential:
consumers:
- APP:dynatrace.microsoft.azure.connector
# Create a federated identity credential
exampleApplicationFederatedIdentityCredential:
type: azuread:ApplicationFederatedIdentityCredential
name: example
properties:
applicationId: ${example.id}
displayName: Example
audiences:
- ${dynatraceEnvironmentUrl}/app-id/dynatrace.microsoft.azure.connector
issuer: ${dynatraceTokenIssuer}
subject: dt:connection-id/${exampleAzureConnection.id}
# Update the Azure connection with authentication details
exampleAzureConnectionAuthentication:
type: dynatrace:AzureConnectionAuthentication
name: example
properties:
azureConnectionId: ${exampleAzureConnection.id}
applicationId: ${example.clientId}
directoryId: ${azureTenantId}
pulumi {
required_providers {
azuread = {
source = "pulumi/azuread"
}
dynatrace = {
source = "pulumi/dynatrace"
}
}
}
# Create an application
resource "azuread_applicationregistration" "example" {
display_name = "ExampleApp"
}
# Create basic Azure connection
resource "dynatrace_azureconnection" "example" {
name = "#name#"
type = "federatedIdentityCredential"
federated_identity_credential = {
consumers = ["APP:dynatrace.microsoft.azure.connector"]
}
}
# Create a federated identity credential
resource "azuread_applicationfederatedidentitycredential" "example" {
application_id = azuread_applicationregistration.example.id
display_name = "Example"
audiences = ["${var.dynatraceEnvironmentUrl}/app-id/dynatrace.microsoft.azure.connector"]
issuer = var.dynatraceTokenIssuer
subject ="dt:connection-id/${dynatrace_azureconnection.example.id}"
}
# Update the Azure connection with authentication details
resource "dynatrace_azureconnectionauthentication" "example" {
azure_connection_id = dynatrace_azureconnection.example.id
application_id = azuread_applicationregistration.example.client_id
directory_id = var.azureTenantId
}
variable "azureTenantId" {
type = string
description = "The Azure Active Directory tenant ID."
}
variable "dynatraceEnvironmentUrl" {
type = string
description = "The Dynatrace environment URL"
}
variable "dynatraceTokenIssuer" {
type = string
description = "The Dynatrace token issuer URL"
}
Create AzureConnection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AzureConnection(name: string, args: AzureConnectionArgs, opts?: CustomResourceOptions);@overload
def AzureConnection(resource_name: str,
args: AzureConnectionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AzureConnection(resource_name: str,
opts: Optional[ResourceOptions] = None,
type: Optional[str] = None,
client_secret: Optional[AzureConnectionClientSecretArgs] = None,
federated_identity_credential: Optional[AzureConnectionFederatedIdentityCredentialArgs] = None,
name: Optional[str] = None)func NewAzureConnection(ctx *Context, name string, args AzureConnectionArgs, opts ...ResourceOption) (*AzureConnection, error)public AzureConnection(string name, AzureConnectionArgs args, CustomResourceOptions? opts = null)
public AzureConnection(String name, AzureConnectionArgs args)
public AzureConnection(String name, AzureConnectionArgs args, CustomResourceOptions options)
type: dynatrace:AzureConnection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "dynatrace_azureconnection" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AzureConnectionArgs
- 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 AzureConnectionArgs
- 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 AzureConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AzureConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AzureConnectionArgs
- 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 azureConnectionResource = new Dynatrace.AzureConnection("azureConnectionResource", new()
{
Type = "string",
ClientSecret = new Dynatrace.Inputs.AzureConnectionClientSecretArgs
{
ApplicationId = "string",
ClientSecret = "string",
DirectoryId = "string",
Consumers = new[]
{
"string",
},
},
FederatedIdentityCredential = new Dynatrace.Inputs.AzureConnectionFederatedIdentityCredentialArgs
{
Consumers = new[]
{
"string",
},
},
Name = "string",
});
example, err := dynatrace.NewAzureConnection(ctx, "azureConnectionResource", &dynatrace.AzureConnectionArgs{
Type: pulumi.String("string"),
ClientSecret: &dynatrace.AzureConnectionClientSecretArgs{
ApplicationId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
DirectoryId: pulumi.String("string"),
Consumers: pulumi.StringArray{
pulumi.String("string"),
},
},
FederatedIdentityCredential: &dynatrace.AzureConnectionFederatedIdentityCredentialArgs{
Consumers: pulumi.StringArray{
pulumi.String("string"),
},
},
Name: pulumi.String("string"),
})
resource "dynatrace_azureconnection" "azureConnectionResource" {
type = "string"
client_secret = {
application_id = "string"
client_secret = "string"
directory_id = "string"
consumers = ["string"]
}
federated_identity_credential = {
consumers = ["string"]
}
name = "string"
}
var azureConnectionResource = new AzureConnection("azureConnectionResource", AzureConnectionArgs.builder()
.type("string")
.clientSecret(AzureConnectionClientSecretArgs.builder()
.applicationId("string")
.clientSecret("string")
.directoryId("string")
.consumers("string")
.build())
.federatedIdentityCredential(AzureConnectionFederatedIdentityCredentialArgs.builder()
.consumers("string")
.build())
.name("string")
.build());
azure_connection_resource = dynatrace.AzureConnection("azureConnectionResource",
type="string",
client_secret={
"application_id": "string",
"client_secret": "string",
"directory_id": "string",
"consumers": ["string"],
},
federated_identity_credential={
"consumers": ["string"],
},
name="string")
const azureConnectionResource = new dynatrace.AzureConnection("azureConnectionResource", {
type: "string",
clientSecret: {
applicationId: "string",
clientSecret: "string",
directoryId: "string",
consumers: ["string"],
},
federatedIdentityCredential: {
consumers: ["string"],
},
name: "string",
});
type: dynatrace:AzureConnection
properties:
clientSecret:
applicationId: string
clientSecret: string
consumers:
- string
directoryId: string
federatedIdentityCredential:
consumers:
- string
name: string
type: string
AzureConnection 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 AzureConnection resource accepts the following input properties:
- Type string
- Azure Authentication mechanism to be used by the connection. Possible values:
clientSecret,federatedIdentityCredential - Client
Secret Pulumiverse.Dynatrace. Inputs. Azure Connection Client Secret - No documentation available
- Federated
Identity Pulumiverse.Credential Dynatrace. Inputs. Azure Connection Federated Identity Credential - No documentation available
- Name string
- The name of the connection
- Type string
- Azure Authentication mechanism to be used by the connection. Possible values:
clientSecret,federatedIdentityCredential - Client
Secret AzureConnection Client Secret Args - No documentation available
- Federated
Identity AzureCredential Connection Federated Identity Credential Args - No documentation available
- Name string
- The name of the connection
- type string
- Azure Authentication mechanism to be used by the connection. Possible values:
clientSecret,federatedIdentityCredential - client_
secret object - No documentation available
- federated_
identity_ objectcredential - No documentation available
- name string
- The name of the connection
- type String
- Azure Authentication mechanism to be used by the connection. Possible values:
clientSecret,federatedIdentityCredential - client
Secret AzureConnection Client Secret - No documentation available
- federated
Identity AzureCredential Connection Federated Identity Credential - No documentation available
- name String
- The name of the connection
- type string
- Azure Authentication mechanism to be used by the connection. Possible values:
clientSecret,federatedIdentityCredential - client
Secret AzureConnection Client Secret - No documentation available
- federated
Identity AzureCredential Connection Federated Identity Credential - No documentation available
- name string
- The name of the connection
- type str
- Azure Authentication mechanism to be used by the connection. Possible values:
clientSecret,federatedIdentityCredential - client_
secret AzureConnection Client Secret Args - No documentation available
- federated_
identity_ Azurecredential Connection Federated Identity Credential Args - No documentation available
- name str
- The name of the connection
- type String
- Azure Authentication mechanism to be used by the connection. Possible values:
clientSecret,federatedIdentityCredential - client
Secret Property Map - No documentation available
- federated
Identity Property MapCredential - No documentation available
- name String
- The name of the connection
Outputs
All input properties are implicitly available as output properties. Additionally, the AzureConnection resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AzureConnection Resource
Get an existing AzureConnection resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AzureConnectionState, opts?: CustomResourceOptions): AzureConnection@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
client_secret: Optional[AzureConnectionClientSecretArgs] = None,
federated_identity_credential: Optional[AzureConnectionFederatedIdentityCredentialArgs] = None,
name: Optional[str] = None,
type: Optional[str] = None) -> AzureConnectionfunc GetAzureConnection(ctx *Context, name string, id IDInput, state *AzureConnectionState, opts ...ResourceOption) (*AzureConnection, error)public static AzureConnection Get(string name, Input<string> id, AzureConnectionState? state, CustomResourceOptions? opts = null)public static AzureConnection get(String name, Output<String> id, AzureConnectionState state, CustomResourceOptions options)resources: _: type: dynatrace:AzureConnection get: id: ${id}import {
to = dynatrace_azureconnection.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Client
Secret Pulumiverse.Dynatrace. Inputs. Azure Connection Client Secret - No documentation available
- Federated
Identity Pulumiverse.Credential Dynatrace. Inputs. Azure Connection Federated Identity Credential - No documentation available
- Name string
- The name of the connection
- Type string
- Azure Authentication mechanism to be used by the connection. Possible values:
clientSecret,federatedIdentityCredential
- Client
Secret AzureConnection Client Secret Args - No documentation available
- Federated
Identity AzureCredential Connection Federated Identity Credential Args - No documentation available
- Name string
- The name of the connection
- Type string
- Azure Authentication mechanism to be used by the connection. Possible values:
clientSecret,federatedIdentityCredential
- client_
secret object - No documentation available
- federated_
identity_ objectcredential - No documentation available
- name string
- The name of the connection
- type string
- Azure Authentication mechanism to be used by the connection. Possible values:
clientSecret,federatedIdentityCredential
- client
Secret AzureConnection Client Secret - No documentation available
- federated
Identity AzureCredential Connection Federated Identity Credential - No documentation available
- name String
- The name of the connection
- type String
- Azure Authentication mechanism to be used by the connection. Possible values:
clientSecret,federatedIdentityCredential
- client
Secret AzureConnection Client Secret - No documentation available
- federated
Identity AzureCredential Connection Federated Identity Credential - No documentation available
- name string
- The name of the connection
- type string
- Azure Authentication mechanism to be used by the connection. Possible values:
clientSecret,federatedIdentityCredential
- client_
secret AzureConnection Client Secret Args - No documentation available
- federated_
identity_ Azurecredential Connection Federated Identity Credential Args - No documentation available
- name str
- The name of the connection
- type str
- Azure Authentication mechanism to be used by the connection. Possible values:
clientSecret,federatedIdentityCredential
- client
Secret Property Map - No documentation available
- federated
Identity Property MapCredential - No documentation available
- name String
- The name of the connection
- type String
- Azure Authentication mechanism to be used by the connection. Possible values:
clientSecret,federatedIdentityCredential
Supporting Types
AzureConnectionClientSecret, AzureConnectionClientSecretArgs
- Application
Id string - Application (client) ID of your app registered in Microsoft Azure App registrations
- Client
Secret string - Client secret of your app registered in Microsoft Azure App registrations
- Directory
Id string - Directory (tenant) ID of Microsoft Entra ID
- Consumers List<string>
- Dynatrace integrations that can use this connection. Possible values:
DA,NONE,SVC:com.dynatrace.da
- Application
Id string - Application (client) ID of your app registered in Microsoft Azure App registrations
- Client
Secret string - Client secret of your app registered in Microsoft Azure App registrations
- Directory
Id string - Directory (tenant) ID of Microsoft Entra ID
- Consumers []string
- Dynatrace integrations that can use this connection. Possible values:
DA,NONE,SVC:com.dynatrace.da
- application_
id string - Application (client) ID of your app registered in Microsoft Azure App registrations
- client_
secret string - Client secret of your app registered in Microsoft Azure App registrations
- directory_
id string - Directory (tenant) ID of Microsoft Entra ID
- consumers list(string)
- Dynatrace integrations that can use this connection. Possible values:
DA,NONE,SVC:com.dynatrace.da
- application
Id String - Application (client) ID of your app registered in Microsoft Azure App registrations
- client
Secret String - Client secret of your app registered in Microsoft Azure App registrations
- directory
Id String - Directory (tenant) ID of Microsoft Entra ID
- consumers List<String>
- Dynatrace integrations that can use this connection. Possible values:
DA,NONE,SVC:com.dynatrace.da
- application
Id string - Application (client) ID of your app registered in Microsoft Azure App registrations
- client
Secret string - Client secret of your app registered in Microsoft Azure App registrations
- directory
Id string - Directory (tenant) ID of Microsoft Entra ID
- consumers string[]
- Dynatrace integrations that can use this connection. Possible values:
DA,NONE,SVC:com.dynatrace.da
- application_
id str - Application (client) ID of your app registered in Microsoft Azure App registrations
- client_
secret str - Client secret of your app registered in Microsoft Azure App registrations
- directory_
id str - Directory (tenant) ID of Microsoft Entra ID
- consumers Sequence[str]
- Dynatrace integrations that can use this connection. Possible values:
DA,NONE,SVC:com.dynatrace.da
- application
Id String - Application (client) ID of your app registered in Microsoft Azure App registrations
- client
Secret String - Client secret of your app registered in Microsoft Azure App registrations
- directory
Id String - Directory (tenant) ID of Microsoft Entra ID
- consumers List<String>
- Dynatrace integrations that can use this connection. Possible values:
DA,NONE,SVC:com.dynatrace.da
AzureConnectionFederatedIdentityCredential, AzureConnectionFederatedIdentityCredentialArgs
- Consumers List<string>
- Consumers that can use the connection. Possible values:
APP:dynatrace.microsoft.azure.connector,DA,NONE,SVC:com.dynatrace.bo,SVC:com.dynatrace.da,SVC:com.dynatrace.grail,SVC:com.dynatrace.openpipeline
- Consumers []string
- Consumers that can use the connection. Possible values:
APP:dynatrace.microsoft.azure.connector,DA,NONE,SVC:com.dynatrace.bo,SVC:com.dynatrace.da,SVC:com.dynatrace.grail,SVC:com.dynatrace.openpipeline
- consumers list(string)
- Consumers that can use the connection. Possible values:
APP:dynatrace.microsoft.azure.connector,DA,NONE,SVC:com.dynatrace.bo,SVC:com.dynatrace.da,SVC:com.dynatrace.grail,SVC:com.dynatrace.openpipeline
- consumers List<String>
- Consumers that can use the connection. Possible values:
APP:dynatrace.microsoft.azure.connector,DA,NONE,SVC:com.dynatrace.bo,SVC:com.dynatrace.da,SVC:com.dynatrace.grail,SVC:com.dynatrace.openpipeline
- consumers string[]
- Consumers that can use the connection. Possible values:
APP:dynatrace.microsoft.azure.connector,DA,NONE,SVC:com.dynatrace.bo,SVC:com.dynatrace.da,SVC:com.dynatrace.grail,SVC:com.dynatrace.openpipeline
- consumers Sequence[str]
- Consumers that can use the connection. Possible values:
APP:dynatrace.microsoft.azure.connector,DA,NONE,SVC:com.dynatrace.bo,SVC:com.dynatrace.da,SVC:com.dynatrace.grail,SVC:com.dynatrace.openpipeline
- consumers List<String>
- Consumers that can use the connection. Possible values:
APP:dynatrace.microsoft.azure.connector,DA,NONE,SVC:com.dynatrace.bo,SVC:com.dynatrace.da,SVC:com.dynatrace.grail,SVC:com.dynatrace.openpipeline
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatraceTerraform Provider.
published on Tuesday, Jun 9, 2026 by Pulumiverse