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

We recommend using Azure Native.

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

azure.appplatform.SpringCloudApplicationInsightsApplicationPerformanceMonitoring

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 Application Insights.

    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 exampleInsights = new azure.appinsights.Insights("example", {
        name: "example",
        location: example.location,
        resourceGroupName: example.name,
        applicationType: "web",
    });
    const exampleSpringCloudService = new azure.appplatform.SpringCloudService("example", {
        name: "example",
        location: example.location,
        resourceGroupName: example.name,
        skuName: "E0",
    });
    const exampleSpringCloudApplicationInsightsApplicationPerformanceMonitoring = new azure.appplatform.SpringCloudApplicationInsightsApplicationPerformanceMonitoring("example", {
        name: "example",
        springCloudServiceId: exampleSpringCloudService.id,
        connectionString: exampleInsights.instrumentationKey,
        globallyEnabled: true,
        roleName: "test-role",
        roleInstance: "test-instance",
        samplingPercentage: 50,
        samplingRequestsPerSecond: 10,
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example",
        location="West Europe")
    example_insights = azure.appinsights.Insights("example",
        name="example",
        location=example.location,
        resource_group_name=example.name,
        application_type="web")
    example_spring_cloud_service = azure.appplatform.SpringCloudService("example",
        name="example",
        location=example.location,
        resource_group_name=example.name,
        sku_name="E0")
    example_spring_cloud_application_insights_application_performance_monitoring = azure.appplatform.SpringCloudApplicationInsightsApplicationPerformanceMonitoring("example",
        name="example",
        spring_cloud_service_id=example_spring_cloud_service.id,
        connection_string=example_insights.instrumentation_key,
        globally_enabled=True,
        role_name="test-role",
        role_instance="test-instance",
        sampling_percentage=50,
        sampling_requests_per_second=10)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appinsights"
    	"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
    		}
    		exampleInsights, err := appinsights.NewInsights(ctx, "example", &appinsights.InsightsArgs{
    			Name:              pulumi.String("example"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			ApplicationType:   pulumi.String("web"),
    		})
    		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.NewSpringCloudApplicationInsightsApplicationPerformanceMonitoring(ctx, "example", &appplatform.SpringCloudApplicationInsightsApplicationPerformanceMonitoringArgs{
    			Name:                      pulumi.String("example"),
    			SpringCloudServiceId:      exampleSpringCloudService.ID(),
    			ConnectionString:          exampleInsights.InstrumentationKey,
    			GloballyEnabled:           pulumi.Bool(true),
    			RoleName:                  pulumi.String("test-role"),
    			RoleInstance:              pulumi.String("test-instance"),
    			SamplingPercentage:        pulumi.Int(50),
    			SamplingRequestsPerSecond: pulumi.Int(10),
    		})
    		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 exampleInsights = new Azure.AppInsights.Insights("example", new()
        {
            Name = "example",
            Location = example.Location,
            ResourceGroupName = example.Name,
            ApplicationType = "web",
        });
    
        var exampleSpringCloudService = new Azure.AppPlatform.SpringCloudService("example", new()
        {
            Name = "example",
            Location = example.Location,
            ResourceGroupName = example.Name,
            SkuName = "E0",
        });
    
        var exampleSpringCloudApplicationInsightsApplicationPerformanceMonitoring = new Azure.AppPlatform.SpringCloudApplicationInsightsApplicationPerformanceMonitoring("example", new()
        {
            Name = "example",
            SpringCloudServiceId = exampleSpringCloudService.Id,
            ConnectionString = exampleInsights.InstrumentationKey,
            GloballyEnabled = true,
            RoleName = "test-role",
            RoleInstance = "test-instance",
            SamplingPercentage = 50,
            SamplingRequestsPerSecond = 10,
        });
    
    });
    
    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.appinsights.Insights;
    import com.pulumi.azure.appinsights.InsightsArgs;
    import com.pulumi.azure.appplatform.SpringCloudService;
    import com.pulumi.azure.appplatform.SpringCloudServiceArgs;
    import com.pulumi.azure.appplatform.SpringCloudApplicationInsightsApplicationPerformanceMonitoring;
    import com.pulumi.azure.appplatform.SpringCloudApplicationInsightsApplicationPerformanceMonitoringArgs;
    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 exampleInsights = new Insights("exampleInsights", InsightsArgs.builder()        
                .name("example")
                .location(example.location())
                .resourceGroupName(example.name())
                .applicationType("web")
                .build());
    
            var exampleSpringCloudService = new SpringCloudService("exampleSpringCloudService", SpringCloudServiceArgs.builder()        
                .name("example")
                .location(example.location())
                .resourceGroupName(example.name())
                .skuName("E0")
                .build());
    
            var exampleSpringCloudApplicationInsightsApplicationPerformanceMonitoring = new SpringCloudApplicationInsightsApplicationPerformanceMonitoring("exampleSpringCloudApplicationInsightsApplicationPerformanceMonitoring", SpringCloudApplicationInsightsApplicationPerformanceMonitoringArgs.builder()        
                .name("example")
                .springCloudServiceId(exampleSpringCloudService.id())
                .connectionString(exampleInsights.instrumentationKey())
                .globallyEnabled(true)
                .roleName("test-role")
                .roleInstance("test-instance")
                .samplingPercentage(50)
                .samplingRequestsPerSecond(10)
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example
          location: West Europe
      exampleInsights:
        type: azure:appinsights:Insights
        name: example
        properties:
          name: example
          location: ${example.location}
          resourceGroupName: ${example.name}
          applicationType: web
      exampleSpringCloudService:
        type: azure:appplatform:SpringCloudService
        name: example
        properties:
          name: example
          location: ${example.location}
          resourceGroupName: ${example.name}
          skuName: E0
      exampleSpringCloudApplicationInsightsApplicationPerformanceMonitoring:
        type: azure:appplatform:SpringCloudApplicationInsightsApplicationPerformanceMonitoring
        name: example
        properties:
          name: example
          springCloudServiceId: ${exampleSpringCloudService.id}
          connectionString: ${exampleInsights.instrumentationKey}
          globallyEnabled: true
          roleName: test-role
          roleInstance: test-instance
          samplingPercentage: 50
          samplingRequestsPerSecond: 10
    

    Create SpringCloudApplicationInsightsApplicationPerformanceMonitoring Resource

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

    Constructor syntax

    new SpringCloudApplicationInsightsApplicationPerformanceMonitoring(name: string, args: SpringCloudApplicationInsightsApplicationPerformanceMonitoringArgs, opts?: CustomResourceOptions);
    @overload
    def SpringCloudApplicationInsightsApplicationPerformanceMonitoring(resource_name: str,
                                                                       args: SpringCloudApplicationInsightsApplicationPerformanceMonitoringArgs,
                                                                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def SpringCloudApplicationInsightsApplicationPerformanceMonitoring(resource_name: str,
                                                                       opts: Optional[ResourceOptions] = None,
                                                                       spring_cloud_service_id: Optional[str] = None,
                                                                       connection_string: Optional[str] = None,
                                                                       globally_enabled: Optional[bool] = None,
                                                                       name: Optional[str] = None,
                                                                       role_instance: Optional[str] = None,
                                                                       role_name: Optional[str] = None,
                                                                       sampling_percentage: Optional[int] = None,
                                                                       sampling_requests_per_second: Optional[int] = None)
    func NewSpringCloudApplicationInsightsApplicationPerformanceMonitoring(ctx *Context, name string, args SpringCloudApplicationInsightsApplicationPerformanceMonitoringArgs, opts ...ResourceOption) (*SpringCloudApplicationInsightsApplicationPerformanceMonitoring, error)
    public SpringCloudApplicationInsightsApplicationPerformanceMonitoring(string name, SpringCloudApplicationInsightsApplicationPerformanceMonitoringArgs args, CustomResourceOptions? opts = null)
    public SpringCloudApplicationInsightsApplicationPerformanceMonitoring(String name, SpringCloudApplicationInsightsApplicationPerformanceMonitoringArgs args)
    public SpringCloudApplicationInsightsApplicationPerformanceMonitoring(String name, SpringCloudApplicationInsightsApplicationPerformanceMonitoringArgs args, CustomResourceOptions options)
    
    type: azure:appplatform:SpringCloudApplicationInsightsApplicationPerformanceMonitoring
    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 SpringCloudApplicationInsightsApplicationPerformanceMonitoringArgs
    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 SpringCloudApplicationInsightsApplicationPerformanceMonitoringArgs
    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 SpringCloudApplicationInsightsApplicationPerformanceMonitoringArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SpringCloudApplicationInsightsApplicationPerformanceMonitoringArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SpringCloudApplicationInsightsApplicationPerformanceMonitoringArgs
    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 springCloudApplicationInsightsApplicationPerformanceMonitoringResource = new Azure.AppPlatform.SpringCloudApplicationInsightsApplicationPerformanceMonitoring("springCloudApplicationInsightsApplicationPerformanceMonitoringResource", new()
    {
        SpringCloudServiceId = "string",
        ConnectionString = "string",
        GloballyEnabled = false,
        Name = "string",
        RoleInstance = "string",
        RoleName = "string",
        SamplingPercentage = 0,
        SamplingRequestsPerSecond = 0,
    });
    
    example, err := appplatform.NewSpringCloudApplicationInsightsApplicationPerformanceMonitoring(ctx, "springCloudApplicationInsightsApplicationPerformanceMonitoringResource", &appplatform.SpringCloudApplicationInsightsApplicationPerformanceMonitoringArgs{
    	SpringCloudServiceId:      pulumi.String("string"),
    	ConnectionString:          pulumi.String("string"),
    	GloballyEnabled:           pulumi.Bool(false),
    	Name:                      pulumi.String("string"),
    	RoleInstance:              pulumi.String("string"),
    	RoleName:                  pulumi.String("string"),
    	SamplingPercentage:        pulumi.Int(0),
    	SamplingRequestsPerSecond: pulumi.Int(0),
    })
    
    var springCloudApplicationInsightsApplicationPerformanceMonitoringResource = new SpringCloudApplicationInsightsApplicationPerformanceMonitoring("springCloudApplicationInsightsApplicationPerformanceMonitoringResource", SpringCloudApplicationInsightsApplicationPerformanceMonitoringArgs.builder()        
        .springCloudServiceId("string")
        .connectionString("string")
        .globallyEnabled(false)
        .name("string")
        .roleInstance("string")
        .roleName("string")
        .samplingPercentage(0)
        .samplingRequestsPerSecond(0)
        .build());
    
    spring_cloud_application_insights_application_performance_monitoring_resource = azure.appplatform.SpringCloudApplicationInsightsApplicationPerformanceMonitoring("springCloudApplicationInsightsApplicationPerformanceMonitoringResource",
        spring_cloud_service_id="string",
        connection_string="string",
        globally_enabled=False,
        name="string",
        role_instance="string",
        role_name="string",
        sampling_percentage=0,
        sampling_requests_per_second=0)
    
    const springCloudApplicationInsightsApplicationPerformanceMonitoringResource = new azure.appplatform.SpringCloudApplicationInsightsApplicationPerformanceMonitoring("springCloudApplicationInsightsApplicationPerformanceMonitoringResource", {
        springCloudServiceId: "string",
        connectionString: "string",
        globallyEnabled: false,
        name: "string",
        roleInstance: "string",
        roleName: "string",
        samplingPercentage: 0,
        samplingRequestsPerSecond: 0,
    });
    
    type: azure:appplatform:SpringCloudApplicationInsightsApplicationPerformanceMonitoring
    properties:
        connectionString: string
        globallyEnabled: false
        name: string
        roleInstance: string
        roleName: string
        samplingPercentage: 0
        samplingRequestsPerSecond: 0
        springCloudServiceId: string
    

    SpringCloudApplicationInsightsApplicationPerformanceMonitoring 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 SpringCloudApplicationInsightsApplicationPerformanceMonitoring resource accepts the following input properties:

    SpringCloudServiceId string
    The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
    ConnectionString string
    The instrumentation key used to push data to Application Insights.
    GloballyEnabled bool
    Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
    Name string
    The name which should be used for this Spring Cloud Application Performance Monitoring resource for Application Insights. Changing this forces a new resource to be created.
    RoleInstance string
    Specifies the cloud role instance.
    RoleName string
    Specifies the cloud role name used to label the component on the application map.
    SamplingPercentage int
    Specifies the percentage for fixed-percentage sampling.
    SamplingRequestsPerSecond int
    Specifies the number of requests per second for the rate-limited sampling.
    SpringCloudServiceId string
    The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
    ConnectionString string
    The instrumentation key used to push data to Application Insights.
    GloballyEnabled bool
    Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
    Name string
    The name which should be used for this Spring Cloud Application Performance Monitoring resource for Application Insights. Changing this forces a new resource to be created.
    RoleInstance string
    Specifies the cloud role instance.
    RoleName string
    Specifies the cloud role name used to label the component on the application map.
    SamplingPercentage int
    Specifies the percentage for fixed-percentage sampling.
    SamplingRequestsPerSecond int
    Specifies the number of requests per second for the rate-limited sampling.
    springCloudServiceId String
    The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
    connectionString String
    The instrumentation key used to push data to Application Insights.
    globallyEnabled Boolean
    Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
    name String
    The name which should be used for this Spring Cloud Application Performance Monitoring resource for Application Insights. Changing this forces a new resource to be created.
    roleInstance String
    Specifies the cloud role instance.
    roleName String
    Specifies the cloud role name used to label the component on the application map.
    samplingPercentage Integer
    Specifies the percentage for fixed-percentage sampling.
    samplingRequestsPerSecond Integer
    Specifies the number of requests per second for the rate-limited sampling.
    springCloudServiceId string
    The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
    connectionString string
    The instrumentation key used to push data to Application Insights.
    globallyEnabled boolean
    Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
    name string
    The name which should be used for this Spring Cloud Application Performance Monitoring resource for Application Insights. Changing this forces a new resource to be created.
    roleInstance string
    Specifies the cloud role instance.
    roleName string
    Specifies the cloud role name used to label the component on the application map.
    samplingPercentage number
    Specifies the percentage for fixed-percentage sampling.
    samplingRequestsPerSecond number
    Specifies the number of requests per second for the rate-limited sampling.
    spring_cloud_service_id str
    The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
    connection_string str
    The instrumentation key used to push data to Application Insights.
    globally_enabled bool
    Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
    name str
    The name which should be used for this Spring Cloud Application Performance Monitoring resource for Application Insights. Changing this forces a new resource to be created.
    role_instance str
    Specifies the cloud role instance.
    role_name str
    Specifies the cloud role name used to label the component on the application map.
    sampling_percentage int
    Specifies the percentage for fixed-percentage sampling.
    sampling_requests_per_second int
    Specifies the number of requests per second for the rate-limited sampling.
    springCloudServiceId String
    The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
    connectionString String
    The instrumentation key used to push data to Application Insights.
    globallyEnabled Boolean
    Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
    name String
    The name which should be used for this Spring Cloud Application Performance Monitoring resource for Application Insights. Changing this forces a new resource to be created.
    roleInstance String
    Specifies the cloud role instance.
    roleName String
    Specifies the cloud role name used to label the component on the application map.
    samplingPercentage Number
    Specifies the percentage for fixed-percentage sampling.
    samplingRequestsPerSecond Number
    Specifies the number of requests per second for the rate-limited sampling.

    Outputs

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

    Get an existing SpringCloudApplicationInsightsApplicationPerformanceMonitoring 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?: SpringCloudApplicationInsightsApplicationPerformanceMonitoringState, opts?: CustomResourceOptions): SpringCloudApplicationInsightsApplicationPerformanceMonitoring
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            connection_string: Optional[str] = None,
            globally_enabled: Optional[bool] = None,
            name: Optional[str] = None,
            role_instance: Optional[str] = None,
            role_name: Optional[str] = None,
            sampling_percentage: Optional[int] = None,
            sampling_requests_per_second: Optional[int] = None,
            spring_cloud_service_id: Optional[str] = None) -> SpringCloudApplicationInsightsApplicationPerformanceMonitoring
    func GetSpringCloudApplicationInsightsApplicationPerformanceMonitoring(ctx *Context, name string, id IDInput, state *SpringCloudApplicationInsightsApplicationPerformanceMonitoringState, opts ...ResourceOption) (*SpringCloudApplicationInsightsApplicationPerformanceMonitoring, error)
    public static SpringCloudApplicationInsightsApplicationPerformanceMonitoring Get(string name, Input<string> id, SpringCloudApplicationInsightsApplicationPerformanceMonitoringState? state, CustomResourceOptions? opts = null)
    public static SpringCloudApplicationInsightsApplicationPerformanceMonitoring get(String name, Output<String> id, SpringCloudApplicationInsightsApplicationPerformanceMonitoringState 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:
    ConnectionString string
    The instrumentation key used to push data to Application Insights.
    GloballyEnabled bool
    Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
    Name string
    The name which should be used for this Spring Cloud Application Performance Monitoring resource for Application Insights. Changing this forces a new resource to be created.
    RoleInstance string
    Specifies the cloud role instance.
    RoleName string
    Specifies the cloud role name used to label the component on the application map.
    SamplingPercentage int
    Specifies the percentage for fixed-percentage sampling.
    SamplingRequestsPerSecond int
    Specifies the number of requests per second for the rate-limited sampling.
    SpringCloudServiceId string
    The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
    ConnectionString string
    The instrumentation key used to push data to Application Insights.
    GloballyEnabled bool
    Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
    Name string
    The name which should be used for this Spring Cloud Application Performance Monitoring resource for Application Insights. Changing this forces a new resource to be created.
    RoleInstance string
    Specifies the cloud role instance.
    RoleName string
    Specifies the cloud role name used to label the component on the application map.
    SamplingPercentage int
    Specifies the percentage for fixed-percentage sampling.
    SamplingRequestsPerSecond int
    Specifies the number of requests per second for the rate-limited sampling.
    SpringCloudServiceId string
    The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
    connectionString String
    The instrumentation key used to push data to Application Insights.
    globallyEnabled Boolean
    Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
    name String
    The name which should be used for this Spring Cloud Application Performance Monitoring resource for Application Insights. Changing this forces a new resource to be created.
    roleInstance String
    Specifies the cloud role instance.
    roleName String
    Specifies the cloud role name used to label the component on the application map.
    samplingPercentage Integer
    Specifies the percentage for fixed-percentage sampling.
    samplingRequestsPerSecond Integer
    Specifies the number of requests per second for the rate-limited sampling.
    springCloudServiceId String
    The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
    connectionString string
    The instrumentation key used to push data to Application Insights.
    globallyEnabled boolean
    Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
    name string
    The name which should be used for this Spring Cloud Application Performance Monitoring resource for Application Insights. Changing this forces a new resource to be created.
    roleInstance string
    Specifies the cloud role instance.
    roleName string
    Specifies the cloud role name used to label the component on the application map.
    samplingPercentage number
    Specifies the percentage for fixed-percentage sampling.
    samplingRequestsPerSecond number
    Specifies the number of requests per second for the rate-limited sampling.
    springCloudServiceId string
    The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
    connection_string str
    The instrumentation key used to push data to Application Insights.
    globally_enabled bool
    Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
    name str
    The name which should be used for this Spring Cloud Application Performance Monitoring resource for Application Insights. Changing this forces a new resource to be created.
    role_instance str
    Specifies the cloud role instance.
    role_name str
    Specifies the cloud role name used to label the component on the application map.
    sampling_percentage int
    Specifies the percentage for fixed-percentage sampling.
    sampling_requests_per_second int
    Specifies the number of requests per second for the rate-limited sampling.
    spring_cloud_service_id str
    The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
    connectionString String
    The instrumentation key used to push data to Application Insights.
    globallyEnabled Boolean
    Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to false.
    name String
    The name which should be used for this Spring Cloud Application Performance Monitoring resource for Application Insights. Changing this forces a new resource to be created.
    roleInstance String
    Specifies the cloud role instance.
    roleName String
    Specifies the cloud role name used to label the component on the application map.
    samplingPercentage Number
    Specifies the percentage for fixed-percentage sampling.
    samplingRequestsPerSecond Number
    Specifies the number of requests per second for the rate-limited sampling.
    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 Application Insights can be imported using the resource id, e.g.

    $ pulumi import azure:appplatform/springCloudApplicationInsightsApplicationPerformanceMonitoring:SpringCloudApplicationInsightsApplicationPerformanceMonitoring 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