SpringCloudAppDynamicsApplicationPerformanceMonitoring

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

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,
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="example",
location="West Europe")
example_spring_cloud_service = azure.appplatform.SpringCloudService("example",
name="example",
location=example.location,
resource_group_name=example.name,
sku_name="E0")
example_spring_cloud_app_dynamics_application_performance_monitoring = azure.appplatform.SpringCloudAppDynamicsApplicationPerformanceMonitoring("example",
name="example",
spring_cloud_service_id=example_spring_cloud_service.id,
agent_account_name="example-agent-account-name",
agent_account_access_key="example-agent-account-access-key",
controller_host_name="example-controller-host-name",
agent_application_name="example-agent-application-name",
agent_tier_name="example-agent-tier-name",
agent_node_name="example-agent-node-name",
agent_unique_host_id="example-agent-unique-host-id",
controller_ssl_enabled=True,
controller_port=8080,
globally_enabled=True)
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "example",
Location = "West Europe",
});
var exampleSpringCloudService = new Azure.AppPlatform.SpringCloudService("example", new()
{
Name = "example",
Location = example.Location,
ResourceGroupName = example.Name,
SkuName = "E0",
});
var exampleSpringCloudAppDynamicsApplicationPerformanceMonitoring = new Azure.AppPlatform.SpringCloudAppDynamicsApplicationPerformanceMonitoring("example", new()
{
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,
});
});
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/appplatform"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("example"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
exampleSpringCloudService, err := appplatform.NewSpringCloudService(ctx, "example", &appplatform.SpringCloudServiceArgs{
Name: pulumi.String("example"),
Location: example.Location,
ResourceGroupName: example.Name,
SkuName: pulumi.String("E0"),
})
if err != nil {
return err
}
_, err = appplatform.NewSpringCloudAppDynamicsApplicationPerformanceMonitoring(ctx, "example", &appplatform.SpringCloudAppDynamicsApplicationPerformanceMonitoringArgs{
Name: pulumi.String("example"),
SpringCloudServiceId: exampleSpringCloudService.ID(),
AgentAccountName: pulumi.String("example-agent-account-name"),
AgentAccountAccessKey: pulumi.String("example-agent-account-access-key"),
ControllerHostName: pulumi.String("example-controller-host-name"),
AgentApplicationName: pulumi.String("example-agent-application-name"),
AgentTierName: pulumi.String("example-agent-tier-name"),
AgentNodeName: pulumi.String("example-agent-node-name"),
AgentUniqueHostId: pulumi.String("example-agent-unique-host-id"),
ControllerSslEnabled: pulumi.Bool(true),
ControllerPort: pulumi.Int(8080),
GloballyEnabled: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
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.SpringCloudAppDynamicsApplicationPerformanceMonitoring;
import com.pulumi.azure.appplatform.SpringCloudAppDynamicsApplicationPerformanceMonitoringArgs;
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 exampleSpringCloudAppDynamicsApplicationPerformanceMonitoring = new SpringCloudAppDynamicsApplicationPerformanceMonitoring("exampleSpringCloudAppDynamicsApplicationPerformanceMonitoring", SpringCloudAppDynamicsApplicationPerformanceMonitoringArgs.builder()
.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)
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example
location: West Europe
exampleSpringCloudService:
type: azure:appplatform:SpringCloudService
name: example
properties:
name: example
location: ${example.location}
resourceGroupName: ${example.name}
skuName: E0
exampleSpringCloudAppDynamicsApplicationPerformanceMonitoring:
type: azure:appplatform:SpringCloudAppDynamicsApplicationPerformanceMonitoring
name: example
properties:
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.

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

Properties

Link copied to clipboard

Specifies the account access key used to authenticate with the Controller.

Link copied to clipboard

Specifies the account name of the App Dynamics account.

Link copied to clipboard

Specifies the name of the logical business application that this JVM node belongs to.

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

Specifies the name of the node. Where JVMs are dynamically created.

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

Specifies the name of the tier that this JVM node belongs to.

Link copied to clipboard

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.

Link copied to clipboard

Specifies the hostname or the IP address of the AppDynamics Controller.

Link copied to clipboard
val controllerPort: Output<Int>?

Specifies the HTTP(S) port of the AppDynamics Controller. This is the port used to access the AppDynamics browser-based user interface.

Link copied to clipboard

Specifies whether enable use SSL (HTTPS) to connect to the AppDynamics Controller.

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 App Dynamics. 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 urn: Output<String>