1. Packages
  2. Azure Classic
  3. API Docs
  4. appplatform
  5. SpringCloudNewRelicApplicationPerformanceMonitoring

We recommend using Azure Native.

Azure Classic v5.74.0 published on Monday, Apr 29, 2024 by Pulumi

azure.appplatform.SpringCloudNewRelicApplicationPerformanceMonitoring

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.74.0 published on Monday, Apr 29, 2024 by Pulumi

    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

    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 exampleSpringCloudNewRelicApplicationPerformanceMonitoring = new azure.appplatform.SpringCloudNewRelicApplicationPerformanceMonitoring("example", {
        name: "example",
        springCloudServiceId: exampleSpringCloudService.id,
        appName: "example-app-name",
        licenseKey: "example-license-key",
        appServerPort: 8080,
        labels: {
            tagName1: "tagValue1",
            tagName2: "tagValue2",
        },
        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_new_relic_application_performance_monitoring = azure.appplatform.SpringCloudNewRelicApplicationPerformanceMonitoring("example",
        name="example",
        spring_cloud_service_id=example_spring_cloud_service.id,
        app_name="example-app-name",
        license_key="example-license-key",
        app_server_port=8080,
        labels={
            "tagName1": "tagValue1",
            "tagName2": "tagValue2",
        },
        globally_enabled=True)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appplatform"
    	"github.com/pulumi/pulumi-azure/sdk/v5/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.NewSpringCloudNewRelicApplicationPerformanceMonitoring(ctx, "example", &appplatform.SpringCloudNewRelicApplicationPerformanceMonitoringArgs{
    			Name:                 pulumi.String("example"),
    			SpringCloudServiceId: exampleSpringCloudService.ID(),
    			AppName:              pulumi.String("example-app-name"),
    			LicenseKey:           pulumi.String("example-license-key"),
    			AppServerPort:        pulumi.Int(8080),
    			Labels: pulumi.StringMap{
    				"tagName1": pulumi.String("tagValue1"),
    				"tagName2": pulumi.String("tagValue2"),
    			},
    			GloballyEnabled: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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 exampleSpringCloudNewRelicApplicationPerformanceMonitoring = new Azure.AppPlatform.SpringCloudNewRelicApplicationPerformanceMonitoring("example", new()
        {
            Name = "example",
            SpringCloudServiceId = exampleSpringCloudService.Id,
            AppName = "example-app-name",
            LicenseKey = "example-license-key",
            AppServerPort = 8080,
            Labels = 
            {
                { "tagName1", "tagValue1" },
                { "tagName2", "tagValue2" },
            },
            GloballyEnabled = true,
        });
    
    });
    
    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());
    
        }
    }
    
    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
      exampleSpringCloudNewRelicApplicationPerformanceMonitoring:
        type: azure:appplatform:SpringCloudNewRelicApplicationPerformanceMonitoring
        name: example
        properties:
          name: example
          springCloudServiceId: ${exampleSpringCloudService.id}
          appName: example-app-name
          licenseKey: example-license-key
          appServerPort: 8080
          labels:
            tagName1: tagValue1
            tagName2: tagValue2
          globallyEnabled: true
    

    Create SpringCloudNewRelicApplicationPerformanceMonitoring Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SpringCloudNewRelicApplicationPerformanceMonitoring(name: string, args: SpringCloudNewRelicApplicationPerformanceMonitoringArgs, opts?: CustomResourceOptions);
    @overload
    def SpringCloudNewRelicApplicationPerformanceMonitoring(resource_name: str,
                                                            args: SpringCloudNewRelicApplicationPerformanceMonitoringArgs,
                                                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def SpringCloudNewRelicApplicationPerformanceMonitoring(resource_name: str,
                                                            opts: Optional[ResourceOptions] = None,
                                                            app_name: Optional[str] = None,
                                                            license_key: Optional[str] = None,
                                                            spring_cloud_service_id: Optional[str] = None,
                                                            agent_enabled: Optional[bool] = None,
                                                            app_server_port: Optional[int] = None,
                                                            audit_mode_enabled: Optional[bool] = None,
                                                            auto_app_naming_enabled: Optional[bool] = None,
                                                            auto_transaction_naming_enabled: Optional[bool] = None,
                                                            custom_tracing_enabled: Optional[bool] = None,
                                                            globally_enabled: Optional[bool] = None,
                                                            labels: Optional[Mapping[str, str]] = None,
                                                            name: Optional[str] = None)
    func NewSpringCloudNewRelicApplicationPerformanceMonitoring(ctx *Context, name string, args SpringCloudNewRelicApplicationPerformanceMonitoringArgs, opts ...ResourceOption) (*SpringCloudNewRelicApplicationPerformanceMonitoring, error)
    public SpringCloudNewRelicApplicationPerformanceMonitoring(string name, SpringCloudNewRelicApplicationPerformanceMonitoringArgs args, CustomResourceOptions? opts = null)
    public SpringCloudNewRelicApplicationPerformanceMonitoring(String name, SpringCloudNewRelicApplicationPerformanceMonitoringArgs args)
    public SpringCloudNewRelicApplicationPerformanceMonitoring(String name, SpringCloudNewRelicApplicationPerformanceMonitoringArgs args, CustomResourceOptions options)
    
    type: azure:appplatform:SpringCloudNewRelicApplicationPerformanceMonitoring
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SpringCloudNewRelicApplicationPerformanceMonitoringArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SpringCloudNewRelicApplicationPerformanceMonitoringArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SpringCloudNewRelicApplicationPerformanceMonitoringArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SpringCloudNewRelicApplicationPerformanceMonitoringArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SpringCloudNewRelicApplicationPerformanceMonitoringArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var springCloudNewRelicApplicationPerformanceMonitoringResource = new Azure.AppPlatform.SpringCloudNewRelicApplicationPerformanceMonitoring("springCloudNewRelicApplicationPerformanceMonitoringResource", new()
    {
        AppName = "string",
        LicenseKey = "string",
        SpringCloudServiceId = "string",
        AgentEnabled = false,
        AppServerPort = 0,
        AuditModeEnabled = false,
        AutoAppNamingEnabled = false,
        AutoTransactionNamingEnabled = false,
        CustomTracingEnabled = false,
        GloballyEnabled = false,
        Labels = 
        {
            { "string", "string" },
        },
        Name = "string",
    });
    
    example, err := appplatform.NewSpringCloudNewRelicApplicationPerformanceMonitoring(ctx, "springCloudNewRelicApplicationPerformanceMonitoringResource", &appplatform.SpringCloudNewRelicApplicationPerformanceMonitoringArgs{
    	AppName:                      pulumi.String("string"),
    	LicenseKey:                   pulumi.String("string"),
    	SpringCloudServiceId:         pulumi.String("string"),
    	AgentEnabled:                 pulumi.Bool(false),
    	AppServerPort:                pulumi.Int(0),
    	AuditModeEnabled:             pulumi.Bool(false),
    	AutoAppNamingEnabled:         pulumi.Bool(false),
    	AutoTransactionNamingEnabled: pulumi.Bool(false),
    	CustomTracingEnabled:         pulumi.Bool(false),
    	GloballyEnabled:              pulumi.Bool(false),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    })
    
    var springCloudNewRelicApplicationPerformanceMonitoringResource = new SpringCloudNewRelicApplicationPerformanceMonitoring("springCloudNewRelicApplicationPerformanceMonitoringResource", SpringCloudNewRelicApplicationPerformanceMonitoringArgs.builder()        
        .appName("string")
        .licenseKey("string")
        .springCloudServiceId("string")
        .agentEnabled(false)
        .appServerPort(0)
        .auditModeEnabled(false)
        .autoAppNamingEnabled(false)
        .autoTransactionNamingEnabled(false)
        .customTracingEnabled(false)
        .globallyEnabled(false)
        .labels(Map.of("string", "string"))
        .name("string")
        .build());
    
    spring_cloud_new_relic_application_performance_monitoring_resource = azure.appplatform.SpringCloudNewRelicApplicationPerformanceMonitoring("springCloudNewRelicApplicationPerformanceMonitoringResource",
        app_name="string",
        license_key="string",
        spring_cloud_service_id="string",
        agent_enabled=False,
        app_server_port=0,
        audit_mode_enabled=False,
        auto_app_naming_enabled=False,
        auto_transaction_naming_enabled=False,
        custom_tracing_enabled=False,
        globally_enabled=False,
        labels={
            "string": "string",
        },
        name="string")
    
    const springCloudNewRelicApplicationPerformanceMonitoringResource = new azure.appplatform.SpringCloudNewRelicApplicationPerformanceMonitoring("springCloudNewRelicApplicationPerformanceMonitoringResource", {
        appName: "string",
        licenseKey: "string",
        springCloudServiceId: "string",
        agentEnabled: false,
        appServerPort: 0,
        auditModeEnabled: false,
        autoAppNamingEnabled: false,
        autoTransactionNamingEnabled: false,
        customTracingEnabled: false,
        globallyEnabled: false,
        labels: {
            string: "string",
        },
        name: "string",
    });
    
    type: azure:appplatform:SpringCloudNewRelicApplicationPerformanceMonitoring
    properties:
        agentEnabled: false
        appName: string
        appServerPort: 0
        auditModeEnabled: false
        autoAppNamingEnabled: false
        autoTransactionNamingEnabled: false
        customTracingEnabled: false
        globallyEnabled: false
        labels:
            string: string
        licenseKey: string
        name: string
        springCloudServiceId: string
    

    SpringCloudNewRelicApplicationPerformanceMonitoring Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The SpringCloudNewRelicApplicationPerformanceMonitoring resource accepts the following input properties:

    AppName string
    Specifies the application name used to report data to New Relic.
    LicenseKey string
    Specifies the license key associated with the New Relic account. This key binds your agent's data to your account in New Relic service.
    SpringCloudServiceId string
    The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
    AgentEnabled bool
    Specifies whether enable the agent. Defaults to true.
    AppServerPort int
    Specifies the port number to differentiate JVMs for the same app on the same machine.
    AuditModeEnabled bool
    Specifies whether enable plain text logging of all data sent to New Relic to the agent logfile. Defaults to false.
    AutoAppNamingEnabled bool
    Specifies whether enable the reporting of data separately for each web app. Defaults to false.
    AutoTransactionNamingEnabled bool
    Specifies whether enable the component-based transaction naming. Defaults to true.
    CustomTracingEnabled bool
    Specifies whether enable all instrumentation using an @Trace annotation. Disabling this causes @Trace annotations to be ignored. Defaults to true.
    GloballyEnabled bool
    Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
    Labels Dictionary<string, string>
    Specifies a mapping of labels to be added to the New Relic application.
    Name string
    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.
    AppName string
    Specifies the application name used to report data to New Relic.
    LicenseKey string
    Specifies the license key associated with the New Relic account. This key binds your agent's data to your account in New Relic service.
    SpringCloudServiceId string
    The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
    AgentEnabled bool
    Specifies whether enable the agent. Defaults to true.
    AppServerPort int
    Specifies the port number to differentiate JVMs for the same app on the same machine.
    AuditModeEnabled bool
    Specifies whether enable plain text logging of all data sent to New Relic to the agent logfile. Defaults to false.
    AutoAppNamingEnabled bool
    Specifies whether enable the reporting of data separately for each web app. Defaults to false.
    AutoTransactionNamingEnabled bool
    Specifies whether enable the component-based transaction naming. Defaults to true.
    CustomTracingEnabled bool
    Specifies whether enable all instrumentation using an @Trace annotation. Disabling this causes @Trace annotations to be ignored. Defaults to true.
    GloballyEnabled bool
    Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
    Labels map[string]string
    Specifies a mapping of labels to be added to the New Relic application.
    Name string
    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.
    appName String
    Specifies the application name used to report data to New Relic.
    licenseKey String
    Specifies the license key associated with the New Relic account. This key binds your agent's data to your account in New Relic service.
    springCloudServiceId String
    The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
    agentEnabled Boolean
    Specifies whether enable the agent. Defaults to true.
    appServerPort Integer
    Specifies the port number to differentiate JVMs for the same app on the same machine.
    auditModeEnabled Boolean
    Specifies whether enable plain text logging of all data sent to New Relic to the agent logfile. Defaults to false.
    autoAppNamingEnabled Boolean
    Specifies whether enable the reporting of data separately for each web app. Defaults to false.
    autoTransactionNamingEnabled Boolean
    Specifies whether enable the component-based transaction naming. Defaults to true.
    customTracingEnabled Boolean
    Specifies whether enable all instrumentation using an @Trace annotation. Disabling this causes @Trace annotations to be ignored. Defaults to true.
    globallyEnabled Boolean
    Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
    labels Map<String,String>
    Specifies a mapping of labels to be added to the New Relic application.
    name String
    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.
    appName string
    Specifies the application name used to report data to New Relic.
    licenseKey string
    Specifies the license key associated with the New Relic account. This key binds your agent's data to your account in New Relic service.
    springCloudServiceId string
    The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
    agentEnabled boolean
    Specifies whether enable the agent. Defaults to true.
    appServerPort number
    Specifies the port number to differentiate JVMs for the same app on the same machine.
    auditModeEnabled boolean
    Specifies whether enable plain text logging of all data sent to New Relic to the agent logfile. Defaults to false.
    autoAppNamingEnabled boolean
    Specifies whether enable the reporting of data separately for each web app. Defaults to false.
    autoTransactionNamingEnabled boolean
    Specifies whether enable the component-based transaction naming. Defaults to true.
    customTracingEnabled boolean
    Specifies whether enable all instrumentation using an @Trace annotation. Disabling this causes @Trace annotations to be ignored. Defaults to true.
    globallyEnabled boolean
    Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
    labels {[key: string]: string}
    Specifies a mapping of labels to be added to the New Relic application.
    name string
    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.
    app_name str
    Specifies the application name used to report data to New Relic.
    license_key str
    Specifies the license key associated with the New Relic account. This key binds your agent's data to your account in New Relic service.
    spring_cloud_service_id str
    The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
    agent_enabled bool
    Specifies whether enable the agent. Defaults to true.
    app_server_port int
    Specifies the port number to differentiate JVMs for the same app on the same machine.
    audit_mode_enabled bool
    Specifies whether enable plain text logging of all data sent to New Relic to the agent logfile. Defaults to false.
    auto_app_naming_enabled bool
    Specifies whether enable the reporting of data separately for each web app. Defaults to false.
    auto_transaction_naming_enabled bool
    Specifies whether enable the component-based transaction naming. Defaults to true.
    custom_tracing_enabled bool
    Specifies whether enable all instrumentation using an @Trace annotation. Disabling this causes @Trace annotations to be ignored. Defaults to true.
    globally_enabled bool
    Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
    labels Mapping[str, str]
    Specifies a mapping of labels to be added to the New Relic application.
    name str
    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.
    appName String
    Specifies the application name used to report data to New Relic.
    licenseKey String
    Specifies the license key associated with the New Relic account. This key binds your agent's data to your account in New Relic service.
    springCloudServiceId String
    The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
    agentEnabled Boolean
    Specifies whether enable the agent. Defaults to true.
    appServerPort Number
    Specifies the port number to differentiate JVMs for the same app on the same machine.
    auditModeEnabled Boolean
    Specifies whether enable plain text logging of all data sent to New Relic to the agent logfile. Defaults to false.
    autoAppNamingEnabled Boolean
    Specifies whether enable the reporting of data separately for each web app. Defaults to false.
    autoTransactionNamingEnabled Boolean
    Specifies whether enable the component-based transaction naming. Defaults to true.
    customTracingEnabled Boolean
    Specifies whether enable all instrumentation using an @Trace annotation. Disabling this causes @Trace annotations to be ignored. Defaults to true.
    globallyEnabled Boolean
    Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
    labels Map<String>
    Specifies a mapping of labels to be added to the New Relic application.
    name String
    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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SpringCloudNewRelicApplicationPerformanceMonitoring resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing SpringCloudNewRelicApplicationPerformanceMonitoring Resource

    Get an existing SpringCloudNewRelicApplicationPerformanceMonitoring resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: SpringCloudNewRelicApplicationPerformanceMonitoringState, opts?: CustomResourceOptions): SpringCloudNewRelicApplicationPerformanceMonitoring
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            agent_enabled: Optional[bool] = None,
            app_name: Optional[str] = None,
            app_server_port: Optional[int] = None,
            audit_mode_enabled: Optional[bool] = None,
            auto_app_naming_enabled: Optional[bool] = None,
            auto_transaction_naming_enabled: Optional[bool] = None,
            custom_tracing_enabled: Optional[bool] = None,
            globally_enabled: Optional[bool] = None,
            labels: Optional[Mapping[str, str]] = None,
            license_key: Optional[str] = None,
            name: Optional[str] = None,
            spring_cloud_service_id: Optional[str] = None) -> SpringCloudNewRelicApplicationPerformanceMonitoring
    func GetSpringCloudNewRelicApplicationPerformanceMonitoring(ctx *Context, name string, id IDInput, state *SpringCloudNewRelicApplicationPerformanceMonitoringState, opts ...ResourceOption) (*SpringCloudNewRelicApplicationPerformanceMonitoring, error)
    public static SpringCloudNewRelicApplicationPerformanceMonitoring Get(string name, Input<string> id, SpringCloudNewRelicApplicationPerformanceMonitoringState? state, CustomResourceOptions? opts = null)
    public static SpringCloudNewRelicApplicationPerformanceMonitoring get(String name, Output<String> id, SpringCloudNewRelicApplicationPerformanceMonitoringState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AgentEnabled bool
    Specifies whether enable the agent. Defaults to true.
    AppName string
    Specifies the application name used to report data to New Relic.
    AppServerPort int
    Specifies the port number to differentiate JVMs for the same app on the same machine.
    AuditModeEnabled bool
    Specifies whether enable plain text logging of all data sent to New Relic to the agent logfile. Defaults to false.
    AutoAppNamingEnabled bool
    Specifies whether enable the reporting of data separately for each web app. Defaults to false.
    AutoTransactionNamingEnabled bool
    Specifies whether enable the component-based transaction naming. Defaults to true.
    CustomTracingEnabled bool
    Specifies whether enable all instrumentation using an @Trace annotation. Disabling this causes @Trace annotations to be ignored. Defaults to true.
    GloballyEnabled bool
    Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
    Labels Dictionary<string, string>
    Specifies a mapping of labels to be added to the New Relic application.
    LicenseKey string
    Specifies the license key associated with the New Relic account. This key binds your agent's data to your account in New Relic service.
    Name string
    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.
    SpringCloudServiceId string
    The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
    AgentEnabled bool
    Specifies whether enable the agent. Defaults to true.
    AppName string
    Specifies the application name used to report data to New Relic.
    AppServerPort int
    Specifies the port number to differentiate JVMs for the same app on the same machine.
    AuditModeEnabled bool
    Specifies whether enable plain text logging of all data sent to New Relic to the agent logfile. Defaults to false.
    AutoAppNamingEnabled bool
    Specifies whether enable the reporting of data separately for each web app. Defaults to false.
    AutoTransactionNamingEnabled bool
    Specifies whether enable the component-based transaction naming. Defaults to true.
    CustomTracingEnabled bool
    Specifies whether enable all instrumentation using an @Trace annotation. Disabling this causes @Trace annotations to be ignored. Defaults to true.
    GloballyEnabled bool
    Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
    Labels map[string]string
    Specifies a mapping of labels to be added to the New Relic application.
    LicenseKey string
    Specifies the license key associated with the New Relic account. This key binds your agent's data to your account in New Relic service.
    Name string
    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.
    SpringCloudServiceId string
    The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
    agentEnabled Boolean
    Specifies whether enable the agent. Defaults to true.
    appName String
    Specifies the application name used to report data to New Relic.
    appServerPort Integer
    Specifies the port number to differentiate JVMs for the same app on the same machine.
    auditModeEnabled Boolean
    Specifies whether enable plain text logging of all data sent to New Relic to the agent logfile. Defaults to false.
    autoAppNamingEnabled Boolean
    Specifies whether enable the reporting of data separately for each web app. Defaults to false.
    autoTransactionNamingEnabled Boolean
    Specifies whether enable the component-based transaction naming. Defaults to true.
    customTracingEnabled Boolean
    Specifies whether enable all instrumentation using an @Trace annotation. Disabling this causes @Trace annotations to be ignored. Defaults to true.
    globallyEnabled Boolean
    Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
    labels Map<String,String>
    Specifies a mapping of labels to be added to the New Relic application.
    licenseKey String
    Specifies the license key associated with the New Relic account. This key binds your agent's data to your account in New Relic service.
    name String
    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.
    springCloudServiceId String
    The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
    agentEnabled boolean
    Specifies whether enable the agent. Defaults to true.
    appName string
    Specifies the application name used to report data to New Relic.
    appServerPort number
    Specifies the port number to differentiate JVMs for the same app on the same machine.
    auditModeEnabled boolean
    Specifies whether enable plain text logging of all data sent to New Relic to the agent logfile. Defaults to false.
    autoAppNamingEnabled boolean
    Specifies whether enable the reporting of data separately for each web app. Defaults to false.
    autoTransactionNamingEnabled boolean
    Specifies whether enable the component-based transaction naming. Defaults to true.
    customTracingEnabled boolean
    Specifies whether enable all instrumentation using an @Trace annotation. Disabling this causes @Trace annotations to be ignored. Defaults to true.
    globallyEnabled boolean
    Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
    labels {[key: string]: string}
    Specifies a mapping of labels to be added to the New Relic application.
    licenseKey string
    Specifies the license key associated with the New Relic account. This key binds your agent's data to your account in New Relic service.
    name string
    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.
    springCloudServiceId string
    The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
    agent_enabled bool
    Specifies whether enable the agent. Defaults to true.
    app_name str
    Specifies the application name used to report data to New Relic.
    app_server_port int
    Specifies the port number to differentiate JVMs for the same app on the same machine.
    audit_mode_enabled bool
    Specifies whether enable plain text logging of all data sent to New Relic to the agent logfile. Defaults to false.
    auto_app_naming_enabled bool
    Specifies whether enable the reporting of data separately for each web app. Defaults to false.
    auto_transaction_naming_enabled bool
    Specifies whether enable the component-based transaction naming. Defaults to true.
    custom_tracing_enabled bool
    Specifies whether enable all instrumentation using an @Trace annotation. Disabling this causes @Trace annotations to be ignored. Defaults to true.
    globally_enabled bool
    Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
    labels Mapping[str, str]
    Specifies a mapping of labels to be added to the New Relic application.
    license_key str
    Specifies the license key associated with the New Relic account. This key binds your agent's data to your account in New Relic service.
    name str
    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.
    spring_cloud_service_id str
    The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
    agentEnabled Boolean
    Specifies whether enable the agent. Defaults to true.
    appName String
    Specifies the application name used to report data to New Relic.
    appServerPort Number
    Specifies the port number to differentiate JVMs for the same app on the same machine.
    auditModeEnabled Boolean
    Specifies whether enable plain text logging of all data sent to New Relic to the agent logfile. Defaults to false.
    autoAppNamingEnabled Boolean
    Specifies whether enable the reporting of data separately for each web app. Defaults to false.
    autoTransactionNamingEnabled Boolean
    Specifies whether enable the component-based transaction naming. Defaults to true.
    customTracingEnabled Boolean
    Specifies whether enable all instrumentation using an @Trace annotation. Disabling this causes @Trace annotations to be ignored. Defaults to true.
    globallyEnabled Boolean
    Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
    labels Map<String>
    Specifies a mapping of labels to be added to the New Relic application.
    licenseKey String
    Specifies the license key associated with the New Relic account. This key binds your agent's data to your account in New Relic service.
    name String
    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.
    springCloudServiceId String
    The ID of the Spring Cloud Service. Changing this forces a new resource to be created.

    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
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.74.0 published on Monday, Apr 29, 2024 by Pulumi