import * as pulumi from "@pulumi/pulumi"; /** * > **Note:** This resource is only applicable for Spring Cloud Service enterprise tier * * Manages a Spring Cloud Application Performance Monitoring resource for Dynatrace. * * !> **Note:** Azure Spring Apps is now deprecated and will be retired on 2028-05-31 - as such the `azure.appplatform.SpringCloudDynatraceApplicationPerformanceMonitoring` resource is deprecated and will be removed in a future major version of the AzureRM Provider. See https://aka.ms/asaretirement for more information. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example", * location: "West Europe", * }); * const exampleSpringCloudService = new azure.appplatform.SpringCloudService("example", { * name: "example", * location: example.location, * resourceGroupName: example.name, * skuName: "E0", * }); * const exampleSpringCloudDynatraceApplicationPerformanceMonitoring = new azure.appplatform.SpringCloudDynatraceApplicationPerformanceMonitoring("example", { * 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", * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.AppPlatform` - 2024-01-01-preview * * ## Import * * Spring Cloud Application Performance Monitoring resource for Dynatrace can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:appplatform/springCloudDynatraceApplicationPerformanceMonitoring:SpringCloudDynatraceApplicationPerformanceMonitoring example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.AppPlatform/spring/service1/apms/apm1 * ``` */ export declare class SpringCloudDynatraceApplicationPerformanceMonitoring extends pulumi.CustomResource { /** * Get an existing SpringCloudDynatraceApplicationPerformanceMonitoring resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: SpringCloudDynatraceApplicationPerformanceMonitoringState, opts?: pulumi.CustomResourceOptions): SpringCloudDynatraceApplicationPerformanceMonitoring; /** * Returns true if the given object is an instance of SpringCloudDynatraceApplicationPerformanceMonitoring. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is SpringCloudDynatraceApplicationPerformanceMonitoring; /** * Specifies the API token of the Dynatrace environment. */ readonly apiToken: pulumi.Output; /** * Specifies the API Url of the Dynatrace environment. */ readonly apiUrl: pulumi.Output; /** * Specifies the endpoint to connect to the Dynatrace environment. */ readonly connectionPoint: pulumi.Output; /** * Specifies the Dynatrace environment ID. */ readonly environmentId: pulumi.Output; /** * Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to `false`. */ readonly globallyEnabled: pulumi.Output; /** * 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. */ readonly name: pulumi.Output; /** * The ID of the Spring Cloud Service. Changing this forces a new resource to be created. */ readonly springCloudServiceId: pulumi.Output; /** * Specifies the Dynatrace tenant. */ readonly tenant: pulumi.Output; /** * Specifies the internal token that is used for authentication when OneAgent connects to the Dynatrace cluster to send data. */ readonly tenantToken: pulumi.Output; /** * Create a SpringCloudDynatraceApplicationPerformanceMonitoring resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: SpringCloudDynatraceApplicationPerformanceMonitoringArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SpringCloudDynatraceApplicationPerformanceMonitoring resources. */ export interface SpringCloudDynatraceApplicationPerformanceMonitoringState { /** * Specifies the API token of the Dynatrace environment. */ apiToken?: pulumi.Input; /** * Specifies the API Url of the Dynatrace environment. */ apiUrl?: pulumi.Input; /** * Specifies the endpoint to connect to the Dynatrace environment. */ connectionPoint?: pulumi.Input; /** * Specifies the Dynatrace environment ID. */ environmentId?: pulumi.Input; /** * Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to `false`. */ globallyEnabled?: pulumi.Input; /** * 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. */ name?: pulumi.Input; /** * The ID of the Spring Cloud Service. Changing this forces a new resource to be created. */ springCloudServiceId?: pulumi.Input; /** * Specifies the Dynatrace tenant. */ tenant?: pulumi.Input; /** * Specifies the internal token that is used for authentication when OneAgent connects to the Dynatrace cluster to send data. */ tenantToken?: pulumi.Input; } /** * The set of arguments for constructing a SpringCloudDynatraceApplicationPerformanceMonitoring resource. */ export interface SpringCloudDynatraceApplicationPerformanceMonitoringArgs { /** * Specifies the API token of the Dynatrace environment. */ apiToken?: pulumi.Input; /** * Specifies the API Url of the Dynatrace environment. */ apiUrl?: pulumi.Input; /** * Specifies the endpoint to connect to the Dynatrace environment. */ connectionPoint: pulumi.Input; /** * Specifies the Dynatrace environment ID. */ environmentId?: pulumi.Input; /** * Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to `false`. */ globallyEnabled?: pulumi.Input; /** * 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. */ name?: pulumi.Input; /** * The ID of the Spring Cloud Service. Changing this forces a new resource to be created. */ springCloudServiceId: pulumi.Input; /** * Specifies the Dynatrace tenant. */ tenant: pulumi.Input; /** * Specifies the internal token that is used for authentication when OneAgent connects to the Dynatrace cluster to send data. */ tenantToken: pulumi.Input; }