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

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

azure.appplatform.SpringCloudElasticApplicationPerformanceMonitoring

Explore with Pulumi AI

NOTE: This resource is only applicable for Spring Cloud Service enterprise tier

Manages a Spring Cloud Application Performance Monitoring resource for Elastic.

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 exampleSpringCloudElasticApplicationPerformanceMonitoring = new azure.appplatform.SpringCloudElasticApplicationPerformanceMonitoring("example", {
    name: "example",
    springCloudServiceId: exampleSpringCloudService.id,
    globallyEnabled: true,
    applicationPackages: [
        "org.example",
        "org.another.example",
    ],
    serviceName: "example-service-name",
    serverUrl: "http://127.0.0.1:8200",
});
Copy
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_elastic_application_performance_monitoring = azure.appplatform.SpringCloudElasticApplicationPerformanceMonitoring("example",
    name="example",
    spring_cloud_service_id=example_spring_cloud_service.id,
    globally_enabled=True,
    application_packages=[
        "org.example",
        "org.another.example",
    ],
    service_name="example-service-name",
    server_url="http://127.0.0.1:8200")
Copy
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.NewSpringCloudElasticApplicationPerformanceMonitoring(ctx, "example", &appplatform.SpringCloudElasticApplicationPerformanceMonitoringArgs{
			Name:                 pulumi.String("example"),
			SpringCloudServiceId: exampleSpringCloudService.ID(),
			GloballyEnabled:      pulumi.Bool(true),
			ApplicationPackages: pulumi.StringArray{
				pulumi.String("org.example"),
				pulumi.String("org.another.example"),
			},
			ServiceName: pulumi.String("example-service-name"),
			ServerUrl:   pulumi.String("http://127.0.0.1:8200"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
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 exampleSpringCloudElasticApplicationPerformanceMonitoring = new Azure.AppPlatform.SpringCloudElasticApplicationPerformanceMonitoring("example", new()
    {
        Name = "example",
        SpringCloudServiceId = exampleSpringCloudService.Id,
        GloballyEnabled = true,
        ApplicationPackages = new[]
        {
            "org.example",
            "org.another.example",
        },
        ServiceName = "example-service-name",
        ServerUrl = "http://127.0.0.1:8200",
    });

});
Copy
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.SpringCloudElasticApplicationPerformanceMonitoring;
import com.pulumi.azure.appplatform.SpringCloudElasticApplicationPerformanceMonitoringArgs;
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 exampleSpringCloudElasticApplicationPerformanceMonitoring = new SpringCloudElasticApplicationPerformanceMonitoring("exampleSpringCloudElasticApplicationPerformanceMonitoring", SpringCloudElasticApplicationPerformanceMonitoringArgs.builder()
            .name("example")
            .springCloudServiceId(exampleSpringCloudService.id())
            .globallyEnabled(true)
            .applicationPackages(            
                "org.example",
                "org.another.example")
            .serviceName("example-service-name")
            .serverUrl("http://127.0.0.1:8200")
            .build());

    }
}
Copy
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
  exampleSpringCloudElasticApplicationPerformanceMonitoring:
    type: azure:appplatform:SpringCloudElasticApplicationPerformanceMonitoring
    name: example
    properties:
      name: example
      springCloudServiceId: ${exampleSpringCloudService.id}
      globallyEnabled: true
      applicationPackages:
        - org.example
        - org.another.example
      serviceName: example-service-name
      serverUrl: http://127.0.0.1:8200
Copy

Create SpringCloudElasticApplicationPerformanceMonitoring Resource

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

Constructor syntax

new SpringCloudElasticApplicationPerformanceMonitoring(name: string, args: SpringCloudElasticApplicationPerformanceMonitoringArgs, opts?: CustomResourceOptions);
@overload
def SpringCloudElasticApplicationPerformanceMonitoring(resource_name: str,
                                                       args: SpringCloudElasticApplicationPerformanceMonitoringArgs,
                                                       opts: Optional[ResourceOptions] = None)

@overload
def SpringCloudElasticApplicationPerformanceMonitoring(resource_name: str,
                                                       opts: Optional[ResourceOptions] = None,
                                                       application_packages: Optional[Sequence[str]] = None,
                                                       server_url: Optional[str] = None,
                                                       service_name: Optional[str] = None,
                                                       spring_cloud_service_id: Optional[str] = None,
                                                       globally_enabled: Optional[bool] = None,
                                                       name: Optional[str] = None)
func NewSpringCloudElasticApplicationPerformanceMonitoring(ctx *Context, name string, args SpringCloudElasticApplicationPerformanceMonitoringArgs, opts ...ResourceOption) (*SpringCloudElasticApplicationPerformanceMonitoring, error)
public SpringCloudElasticApplicationPerformanceMonitoring(string name, SpringCloudElasticApplicationPerformanceMonitoringArgs args, CustomResourceOptions? opts = null)
public SpringCloudElasticApplicationPerformanceMonitoring(String name, SpringCloudElasticApplicationPerformanceMonitoringArgs args)
public SpringCloudElasticApplicationPerformanceMonitoring(String name, SpringCloudElasticApplicationPerformanceMonitoringArgs args, CustomResourceOptions options)
type: azure:appplatform:SpringCloudElasticApplicationPerformanceMonitoring
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

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

Constructor example

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

var springCloudElasticApplicationPerformanceMonitoringResource = new Azure.AppPlatform.SpringCloudElasticApplicationPerformanceMonitoring("springCloudElasticApplicationPerformanceMonitoringResource", new()
{
    ApplicationPackages = new[]
    {
        "string",
    },
    ServerUrl = "string",
    ServiceName = "string",
    SpringCloudServiceId = "string",
    GloballyEnabled = false,
    Name = "string",
});
Copy
example, err := appplatform.NewSpringCloudElasticApplicationPerformanceMonitoring(ctx, "springCloudElasticApplicationPerformanceMonitoringResource", &appplatform.SpringCloudElasticApplicationPerformanceMonitoringArgs{
	ApplicationPackages: pulumi.StringArray{
		pulumi.String("string"),
	},
	ServerUrl:            pulumi.String("string"),
	ServiceName:          pulumi.String("string"),
	SpringCloudServiceId: pulumi.String("string"),
	GloballyEnabled:      pulumi.Bool(false),
	Name:                 pulumi.String("string"),
})
Copy
var springCloudElasticApplicationPerformanceMonitoringResource = new SpringCloudElasticApplicationPerformanceMonitoring("springCloudElasticApplicationPerformanceMonitoringResource", SpringCloudElasticApplicationPerformanceMonitoringArgs.builder()
    .applicationPackages("string")
    .serverUrl("string")
    .serviceName("string")
    .springCloudServiceId("string")
    .globallyEnabled(false)
    .name("string")
    .build());
Copy
spring_cloud_elastic_application_performance_monitoring_resource = azure.appplatform.SpringCloudElasticApplicationPerformanceMonitoring("springCloudElasticApplicationPerformanceMonitoringResource",
    application_packages=["string"],
    server_url="string",
    service_name="string",
    spring_cloud_service_id="string",
    globally_enabled=False,
    name="string")
Copy
const springCloudElasticApplicationPerformanceMonitoringResource = new azure.appplatform.SpringCloudElasticApplicationPerformanceMonitoring("springCloudElasticApplicationPerformanceMonitoringResource", {
    applicationPackages: ["string"],
    serverUrl: "string",
    serviceName: "string",
    springCloudServiceId: "string",
    globallyEnabled: false,
    name: "string",
});
Copy
type: azure:appplatform:SpringCloudElasticApplicationPerformanceMonitoring
properties:
    applicationPackages:
        - string
    globallyEnabled: false
    name: string
    serverUrl: string
    serviceName: string
    springCloudServiceId: string
Copy

SpringCloudElasticApplicationPerformanceMonitoring Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The SpringCloudElasticApplicationPerformanceMonitoring resource accepts the following input properties:

ApplicationPackages This property is required. List<string>
Specifies a list of the packages which should be used to determine whether a stack trace frame is an in-app frame or a library frame. This is a comma separated list of package names.
ServerUrl This property is required. string
Specifies the server URL. The URL must be fully qualified, including protocol (http or https) and port.
ServiceName This property is required. string
Specifies the service name which is used to keep all the errors and transactions of your service together and is the primary filter in the Elastic APM user interface.
SpringCloudServiceId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
GloballyEnabled bool
Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
Name Changes to this property will trigger replacement. string
The name which should be used for this Spring Cloud Application Performance Monitoring resource for Elastic. Changing this forces a new resource to be created.
ApplicationPackages This property is required. []string
Specifies a list of the packages which should be used to determine whether a stack trace frame is an in-app frame or a library frame. This is a comma separated list of package names.
ServerUrl This property is required. string
Specifies the server URL. The URL must be fully qualified, including protocol (http or https) and port.
ServiceName This property is required. string
Specifies the service name which is used to keep all the errors and transactions of your service together and is the primary filter in the Elastic APM user interface.
SpringCloudServiceId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
GloballyEnabled bool
Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
Name Changes to this property will trigger replacement. string
The name which should be used for this Spring Cloud Application Performance Monitoring resource for Elastic. Changing this forces a new resource to be created.
applicationPackages This property is required. List<String>
Specifies a list of the packages which should be used to determine whether a stack trace frame is an in-app frame or a library frame. This is a comma separated list of package names.
serverUrl This property is required. String
Specifies the server URL. The URL must be fully qualified, including protocol (http or https) and port.
serviceName This property is required. String
Specifies the service name which is used to keep all the errors and transactions of your service together and is the primary filter in the Elastic APM user interface.
springCloudServiceId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
globallyEnabled Boolean
Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
name Changes to this property will trigger replacement. String
The name which should be used for this Spring Cloud Application Performance Monitoring resource for Elastic. Changing this forces a new resource to be created.
applicationPackages This property is required. string[]
Specifies a list of the packages which should be used to determine whether a stack trace frame is an in-app frame or a library frame. This is a comma separated list of package names.
serverUrl This property is required. string
Specifies the server URL. The URL must be fully qualified, including protocol (http or https) and port.
serviceName This property is required. string
Specifies the service name which is used to keep all the errors and transactions of your service together and is the primary filter in the Elastic APM user interface.
springCloudServiceId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
globallyEnabled boolean
Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
name Changes to this property will trigger replacement. string
The name which should be used for this Spring Cloud Application Performance Monitoring resource for Elastic. Changing this forces a new resource to be created.
application_packages This property is required. Sequence[str]
Specifies a list of the packages which should be used to determine whether a stack trace frame is an in-app frame or a library frame. This is a comma separated list of package names.
server_url This property is required. str
Specifies the server URL. The URL must be fully qualified, including protocol (http or https) and port.
service_name This property is required. str
Specifies the service name which is used to keep all the errors and transactions of your service together and is the primary filter in the Elastic APM user interface.
spring_cloud_service_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
globally_enabled bool
Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
name Changes to this property will trigger replacement. str
The name which should be used for this Spring Cloud Application Performance Monitoring resource for Elastic. Changing this forces a new resource to be created.
applicationPackages This property is required. List<String>
Specifies a list of the packages which should be used to determine whether a stack trace frame is an in-app frame or a library frame. This is a comma separated list of package names.
serverUrl This property is required. String
Specifies the server URL. The URL must be fully qualified, including protocol (http or https) and port.
serviceName This property is required. String
Specifies the service name which is used to keep all the errors and transactions of your service together and is the primary filter in the Elastic APM user interface.
springCloudServiceId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
globallyEnabled Boolean
Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
name Changes to this property will trigger replacement. String
The name which should be used for this Spring Cloud Application Performance Monitoring resource for Elastic. Changing this forces a new resource to be created.

Outputs

All input properties are implicitly available as output properties. Additionally, the SpringCloudElasticApplicationPerformanceMonitoring 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 SpringCloudElasticApplicationPerformanceMonitoring Resource

Get an existing SpringCloudElasticApplicationPerformanceMonitoring 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?: SpringCloudElasticApplicationPerformanceMonitoringState, opts?: CustomResourceOptions): SpringCloudElasticApplicationPerformanceMonitoring
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        application_packages: Optional[Sequence[str]] = None,
        globally_enabled: Optional[bool] = None,
        name: Optional[str] = None,
        server_url: Optional[str] = None,
        service_name: Optional[str] = None,
        spring_cloud_service_id: Optional[str] = None) -> SpringCloudElasticApplicationPerformanceMonitoring
func GetSpringCloudElasticApplicationPerformanceMonitoring(ctx *Context, name string, id IDInput, state *SpringCloudElasticApplicationPerformanceMonitoringState, opts ...ResourceOption) (*SpringCloudElasticApplicationPerformanceMonitoring, error)
public static SpringCloudElasticApplicationPerformanceMonitoring Get(string name, Input<string> id, SpringCloudElasticApplicationPerformanceMonitoringState? state, CustomResourceOptions? opts = null)
public static SpringCloudElasticApplicationPerformanceMonitoring get(String name, Output<String> id, SpringCloudElasticApplicationPerformanceMonitoringState state, CustomResourceOptions options)
resources:  _:    type: azure:appplatform:SpringCloudElasticApplicationPerformanceMonitoring    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
ApplicationPackages List<string>
Specifies a list of the packages which should be used to determine whether a stack trace frame is an in-app frame or a library frame. This is a comma separated list of package names.
GloballyEnabled bool
Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
Name Changes to this property will trigger replacement. string
The name which should be used for this Spring Cloud Application Performance Monitoring resource for Elastic. Changing this forces a new resource to be created.
ServerUrl string
Specifies the server URL. The URL must be fully qualified, including protocol (http or https) and port.
ServiceName string
Specifies the service name which is used to keep all the errors and transactions of your service together and is the primary filter in the Elastic APM user interface.
SpringCloudServiceId Changes to this property will trigger replacement. string
The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
ApplicationPackages []string
Specifies a list of the packages which should be used to determine whether a stack trace frame is an in-app frame or a library frame. This is a comma separated list of package names.
GloballyEnabled bool
Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
Name Changes to this property will trigger replacement. string
The name which should be used for this Spring Cloud Application Performance Monitoring resource for Elastic. Changing this forces a new resource to be created.
ServerUrl string
Specifies the server URL. The URL must be fully qualified, including protocol (http or https) and port.
ServiceName string
Specifies the service name which is used to keep all the errors and transactions of your service together and is the primary filter in the Elastic APM user interface.
SpringCloudServiceId Changes to this property will trigger replacement. string
The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
applicationPackages List<String>
Specifies a list of the packages which should be used to determine whether a stack trace frame is an in-app frame or a library frame. This is a comma separated list of package names.
globallyEnabled Boolean
Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
name Changes to this property will trigger replacement. String
The name which should be used for this Spring Cloud Application Performance Monitoring resource for Elastic. Changing this forces a new resource to be created.
serverUrl String
Specifies the server URL. The URL must be fully qualified, including protocol (http or https) and port.
serviceName String
Specifies the service name which is used to keep all the errors and transactions of your service together and is the primary filter in the Elastic APM user interface.
springCloudServiceId Changes to this property will trigger replacement. String
The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
applicationPackages string[]
Specifies a list of the packages which should be used to determine whether a stack trace frame is an in-app frame or a library frame. This is a comma separated list of package names.
globallyEnabled boolean
Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
name Changes to this property will trigger replacement. string
The name which should be used for this Spring Cloud Application Performance Monitoring resource for Elastic. Changing this forces a new resource to be created.
serverUrl string
Specifies the server URL. The URL must be fully qualified, including protocol (http or https) and port.
serviceName string
Specifies the service name which is used to keep all the errors and transactions of your service together and is the primary filter in the Elastic APM user interface.
springCloudServiceId Changes to this property will trigger replacement. string
The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
application_packages Sequence[str]
Specifies a list of the packages which should be used to determine whether a stack trace frame is an in-app frame or a library frame. This is a comma separated list of package names.
globally_enabled bool
Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
name Changes to this property will trigger replacement. str
The name which should be used for this Spring Cloud Application Performance Monitoring resource for Elastic. Changing this forces a new resource to be created.
server_url str
Specifies the server URL. The URL must be fully qualified, including protocol (http or https) and port.
service_name str
Specifies the service name which is used to keep all the errors and transactions of your service together and is the primary filter in the Elastic APM user interface.
spring_cloud_service_id Changes to this property will trigger replacement. str
The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
applicationPackages List<String>
Specifies a list of the packages which should be used to determine whether a stack trace frame is an in-app frame or a library frame. This is a comma separated list of package names.
globallyEnabled Boolean
Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
name Changes to this property will trigger replacement. String
The name which should be used for this Spring Cloud Application Performance Monitoring resource for Elastic. Changing this forces a new resource to be created.
serverUrl String
Specifies the server URL. The URL must be fully qualified, including protocol (http or https) and port.
serviceName String
Specifies the service name which is used to keep all the errors and transactions of your service together and is the primary filter in the Elastic APM user interface.
springCloudServiceId Changes to this property will trigger replacement. 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 Elastic can be imported using the resource id, e.g.

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

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.