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 App Dynamics. * * !> **Note:** Azure Spring Apps is now deprecated and will be retired on 2028-05-31 - as such the `azure.appplatform.SpringCloudAppDynamicsApplicationPerformanceMonitoring` 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 exampleSpringCloudAppDynamicsApplicationPerformanceMonitoring = new azure.appplatform.SpringCloudAppDynamicsApplicationPerformanceMonitoring("example", { * name: "example", * springCloudServiceId: exampleSpringCloudService.id, * agentAccountName: "example-agent-account-name", * agentAccountAccessKey: "example-agent-account-access-key", * controllerHostName: "example-controller-host-name", * agentApplicationName: "example-agent-application-name", * agentTierName: "example-agent-tier-name", * agentNodeName: "example-agent-node-name", * agentUniqueHostId: "example-agent-unique-host-id", * controllerSslEnabled: true, * controllerPort: 8080, * globallyEnabled: true, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.AppPlatform` - 2024-01-01-preview * * ## Import * * Spring Cloud Application Performance Monitoring resource for App Dynamics can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:appplatform/springCloudAppDynamicsApplicationPerformanceMonitoring:SpringCloudAppDynamicsApplicationPerformanceMonitoring example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.AppPlatform/spring/service1/apms/apm1 * ``` */ export declare class SpringCloudAppDynamicsApplicationPerformanceMonitoring extends pulumi.CustomResource { /** * Get an existing SpringCloudAppDynamicsApplicationPerformanceMonitoring 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?: SpringCloudAppDynamicsApplicationPerformanceMonitoringState, opts?: pulumi.CustomResourceOptions): SpringCloudAppDynamicsApplicationPerformanceMonitoring; /** * Returns true if the given object is an instance of SpringCloudAppDynamicsApplicationPerformanceMonitoring. 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 SpringCloudAppDynamicsApplicationPerformanceMonitoring; /** * Specifies the account access key used to authenticate with the Controller. */ readonly agentAccountAccessKey: pulumi.Output; /** * Specifies the account name of the App Dynamics account. */ readonly agentAccountName: pulumi.Output; /** * Specifies the name of the logical business application that this JVM node belongs to. */ readonly agentApplicationName: pulumi.Output; /** * Specifies the name of the node. Where JVMs are dynamically created. */ readonly agentNodeName: pulumi.Output; /** * Specifies the name of the tier that this JVM node belongs to. */ readonly agentTierName: pulumi.Output; /** * Specifies the unique host ID which is used to Logically partition a single physical host or virtual machine such that it appears to the Controller that the application is running on different machines. */ readonly agentUniqueHostId: pulumi.Output; /** * Specifies the hostname or the IP address of the AppDynamics Controller. */ readonly controllerHostName: pulumi.Output; /** * Specifies the HTTP(S) port of the AppDynamics Controller. This is the port used to access the AppDynamics browser-based user interface. */ readonly controllerPort: pulumi.Output; /** * Specifies whether enable use SSL (HTTPS) to connect to the AppDynamics Controller. */ readonly controllerSslEnabled: 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 App Dynamics. 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; /** * Create a SpringCloudAppDynamicsApplicationPerformanceMonitoring 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: SpringCloudAppDynamicsApplicationPerformanceMonitoringArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SpringCloudAppDynamicsApplicationPerformanceMonitoring resources. */ export interface SpringCloudAppDynamicsApplicationPerformanceMonitoringState { /** * Specifies the account access key used to authenticate with the Controller. */ agentAccountAccessKey?: pulumi.Input; /** * Specifies the account name of the App Dynamics account. */ agentAccountName?: pulumi.Input; /** * Specifies the name of the logical business application that this JVM node belongs to. */ agentApplicationName?: pulumi.Input; /** * Specifies the name of the node. Where JVMs are dynamically created. */ agentNodeName?: pulumi.Input; /** * Specifies the name of the tier that this JVM node belongs to. */ agentTierName?: pulumi.Input; /** * Specifies the unique host ID which is used to Logically partition a single physical host or virtual machine such that it appears to the Controller that the application is running on different machines. */ agentUniqueHostId?: pulumi.Input; /** * Specifies the hostname or the IP address of the AppDynamics Controller. */ controllerHostName?: pulumi.Input; /** * Specifies the HTTP(S) port of the AppDynamics Controller. This is the port used to access the AppDynamics browser-based user interface. */ controllerPort?: pulumi.Input; /** * Specifies whether enable use SSL (HTTPS) to connect to the AppDynamics Controller. */ controllerSslEnabled?: 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 App Dynamics. 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; } /** * The set of arguments for constructing a SpringCloudAppDynamicsApplicationPerformanceMonitoring resource. */ export interface SpringCloudAppDynamicsApplicationPerformanceMonitoringArgs { /** * Specifies the account access key used to authenticate with the Controller. */ agentAccountAccessKey: pulumi.Input; /** * Specifies the account name of the App Dynamics account. */ agentAccountName: pulumi.Input; /** * Specifies the name of the logical business application that this JVM node belongs to. */ agentApplicationName?: pulumi.Input; /** * Specifies the name of the node. Where JVMs are dynamically created. */ agentNodeName?: pulumi.Input; /** * Specifies the name of the tier that this JVM node belongs to. */ agentTierName?: pulumi.Input; /** * Specifies the unique host ID which is used to Logically partition a single physical host or virtual machine such that it appears to the Controller that the application is running on different machines. */ agentUniqueHostId?: pulumi.Input; /** * Specifies the hostname or the IP address of the AppDynamics Controller. */ controllerHostName: pulumi.Input; /** * Specifies the HTTP(S) port of the AppDynamics Controller. This is the port used to access the AppDynamics browser-based user interface. */ controllerPort?: pulumi.Input; /** * Specifies whether enable use SSL (HTTPS) to connect to the AppDynamics Controller. */ controllerSslEnabled?: 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 App Dynamics. 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; }