SpringCloudDynatraceApplicationPerformanceMonitoring

NOTE: This resource is only applicable for Spring Cloud Service enterprise tier Manages a Spring Cloud Application Performance Monitoring resource for Dynatrace.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.appplatform.SpringCloudService;
import com.pulumi.azure.appplatform.SpringCloudServiceArgs;
import com.pulumi.azure.appplatform.SpringCloudDynatraceApplicationPerformanceMonitoring;
import com.pulumi.azure.appplatform.SpringCloudDynatraceApplicationPerformanceMonitoringArgs;
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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("example")
.location("West Europe")
.build());
var exampleSpringCloudService = new SpringCloudService("exampleSpringCloudService", SpringCloudServiceArgs.builder()
.name("example")
.location(example.location())
.resourceGroupName(example.name())
.skuName("E0")
.build());
var exampleSpringCloudDynatraceApplicationPerformanceMonitoring = new SpringCloudDynatraceApplicationPerformanceMonitoring("exampleSpringCloudDynatraceApplicationPerformanceMonitoring", SpringCloudDynatraceApplicationPerformanceMonitoringArgs.builder()
.name("example")
.springCloudServiceId(exampleSpringCloudService.id())
.globallyEnabled(true)
.apiUrl("https://example-api-url.com")
.apiToken("dt0s01.AAAAAAAAAAAAAAAAAAAAAAAA.BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB")
.environmentId("example-environment-id")
.tenant("example-tenant")
.tenantToken("dt0s01.AAAAAAAAAAAAAAAAAAAAAAAA.BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB")
.connectionPoint("https://example.live.dynatrace.com:443")
.build());
}
}

Import

Spring Cloud Application Performance Monitoring resource for Dynatrace can be imported using the resource id, e.g.

$ pulumi import azure:appplatform/springCloudDynatraceApplicationPerformanceMonitoring:SpringCloudDynatraceApplicationPerformanceMonitoring example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.AppPlatform/spring/service1/apms/apm1

Properties

Link copied to clipboard
val apiToken: Output<String>?

Specifies the API token of the Dynatrace environment.

Link copied to clipboard
val apiUrl: Output<String>?

Specifies the API Url of the Dynatrace environment.

Link copied to clipboard
val connectionPoint: Output<String>

Specifies the endpoint to connect to the Dynatrace environment.

Link copied to clipboard
val environmentId: Output<String>?

Specifies the Dynatrace environment ID.

Link copied to clipboard
val globallyEnabled: Output<Boolean>?

Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The name which should be used for this Spring Cloud Application Performance Monitoring resource for Dynatrace. Changing this forces a new resource to be created.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The ID of the Spring Cloud Service. Changing this forces a new resource to be created.

Link copied to clipboard
val tenant: Output<String>

Specifies the Dynatrace tenant.

Link copied to clipboard
val tenantToken: Output<String>

Specifies the internal token that is used for authentication when OneAgent connects to the Dynatrace cluster to send data.

Link copied to clipboard
val urn: Output<String>