SpringCloudNewRelicApplicationPerformanceMonitoringArgs

data class SpringCloudNewRelicApplicationPerformanceMonitoringArgs(val agentEnabled: Output<Boolean>? = null, val appName: Output<String>? = null, val appServerPort: Output<Int>? = null, val auditModeEnabled: Output<Boolean>? = null, val autoAppNamingEnabled: Output<Boolean>? = null, val autoTransactionNamingEnabled: Output<Boolean>? = null, val customTracingEnabled: Output<Boolean>? = null, val globallyEnabled: Output<Boolean>? = null, val labels: Output<Map<String, String>>? = null, val licenseKey: Output<String>? = null, val name: Output<String>? = null, val springCloudServiceId: Output<String>? = null) : ConvertibleToJava<SpringCloudNewRelicApplicationPerformanceMonitoringArgs>

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

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.SpringCloudNewRelicApplicationPerformanceMonitoring;
import com.pulumi.azure.appplatform.SpringCloudNewRelicApplicationPerformanceMonitoringArgs;
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 exampleSpringCloudNewRelicApplicationPerformanceMonitoring = new SpringCloudNewRelicApplicationPerformanceMonitoring("exampleSpringCloudNewRelicApplicationPerformanceMonitoring", SpringCloudNewRelicApplicationPerformanceMonitoringArgs.builder()
.name("example")
.springCloudServiceId(exampleSpringCloudService.id())
.appName("example-app-name")
.licenseKey("example-license-key")
.appServerPort(8080)
.labels(Map.ofEntries(
Map.entry("tagName1", "tagValue1"),
Map.entry("tagName2", "tagValue2")
))
.globallyEnabled(true)
.build());
}
}

Import

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

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

Constructors

fun SpringCloudNewRelicApplicationPerformanceMonitoringArgs(agentEnabled: Output<Boolean>? = null, appName: Output<String>? = null, appServerPort: Output<Int>? = null, auditModeEnabled: Output<Boolean>? = null, autoAppNamingEnabled: Output<Boolean>? = null, autoTransactionNamingEnabled: Output<Boolean>? = null, customTracingEnabled: Output<Boolean>? = null, globallyEnabled: Output<Boolean>? = null, labels: Output<Map<String, String>>? = null, licenseKey: Output<String>? = null, name: Output<String>? = null, springCloudServiceId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): SpringCloudNewRelicApplicationPerformanceMonitoringArgs

Properties

Link copied to clipboard
val agentEnabled: Output<Boolean>? = null

Specifies whether enable the agent. Defaults to true.

Link copied to clipboard
val appName: Output<String>? = null

Specifies the application name used to report data to New Relic.

Link copied to clipboard
val appServerPort: Output<Int>? = null

Specifies the port number to differentiate JVMs for the same app on the same machine.

Link copied to clipboard
val auditModeEnabled: Output<Boolean>? = null

Specifies whether enable plain text logging of all data sent to New Relic to the agent logfile. Defaults to false.

Link copied to clipboard
val autoAppNamingEnabled: Output<Boolean>? = null

Specifies whether enable the reporting of data separately for each web app. Defaults to false.

Link copied to clipboard

Specifies whether enable the component-based transaction naming. Defaults to true.

Link copied to clipboard
val customTracingEnabled: Output<Boolean>? = null

Specifies whether enable all instrumentation using an @Trace annotation. Disabling this causes @Trace annotations to be ignored. Defaults to true.

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

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

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

Specifies a mapping of labels to be added to the New Relic application.

Link copied to clipboard
val licenseKey: Output<String>? = null

Specifies the license key associated with the New Relic account. This key binds your agent's data to your account in New Relic service.

Link copied to clipboard
val name: Output<String>? = null

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

Link copied to clipboard
val springCloudServiceId: Output<String>? = null

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