import * as pulumi from "@pulumi/pulumi";
/**
 * > **Note:** This resource is only applicable for Spring Cloud Service enterprise tier
 *
 * Manages a Spring Cloud Application Performance Monitoring resource for Application Insights.
 *
 * !> **Note:** Azure Spring Apps is now deprecated and will be retired on 2028-05-31 - as such the `azure.appplatform.SpringCloudApplicationInsightsApplicationPerformanceMonitoring` resource is deprecated and will be removed in a future major version of the AzureRM Provider. See https://aka.ms/asaretirement for more information.
 *
 * ## Example Usage
 *
 * ```typescript
 * 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,
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.AppPlatform` - 2024-01-01-preview
 *
 * ## Import
 *
 * Spring Cloud Application Performance Monitoring resource for Application Insights can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:appplatform/springCloudApplicationInsightsApplicationPerformanceMonitoring:SpringCloudApplicationInsightsApplicationPerformanceMonitoring example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.AppPlatform/spring/service1/apms/apm1
 * ```
 */
export declare class SpringCloudApplicationInsightsApplicationPerformanceMonitoring extends pulumi.CustomResource {
    /**
     * Get an existing SpringCloudApplicationInsightsApplicationPerformanceMonitoring resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SpringCloudApplicationInsightsApplicationPerformanceMonitoringState, opts?: pulumi.CustomResourceOptions): SpringCloudApplicationInsightsApplicationPerformanceMonitoring;
    /**
     * Returns true if the given object is an instance of SpringCloudApplicationInsightsApplicationPerformanceMonitoring.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is SpringCloudApplicationInsightsApplicationPerformanceMonitoring;
    /**
     * The instrumentation key used to push data to Application Insights.
     */
    readonly connectionString: pulumi.Output<string | undefined>;
    /**
     * Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to `false`.
     */
    readonly globallyEnabled: pulumi.Output<boolean | undefined>;
    /**
     * 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.
     */
    readonly name: pulumi.Output<string>;
    /**
     * Specifies the cloud role instance.
     */
    readonly roleInstance: pulumi.Output<string | undefined>;
    /**
     * Specifies the cloud role name used to label the component on the application map.
     */
    readonly roleName: pulumi.Output<string | undefined>;
    /**
     * Specifies the percentage for fixed-percentage sampling.
     */
    readonly samplingPercentage: pulumi.Output<number | undefined>;
    /**
     * Specifies the number of requests per second for the rate-limited sampling.
     */
    readonly samplingRequestsPerSecond: pulumi.Output<number | undefined>;
    /**
     * The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
     */
    readonly springCloudServiceId: pulumi.Output<string>;
    /**
     * Create a SpringCloudApplicationInsightsApplicationPerformanceMonitoring resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: SpringCloudApplicationInsightsApplicationPerformanceMonitoringArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering SpringCloudApplicationInsightsApplicationPerformanceMonitoring resources.
 */
export interface SpringCloudApplicationInsightsApplicationPerformanceMonitoringState {
    /**
     * The instrumentation key used to push data to Application Insights.
     */
    connectionString?: pulumi.Input<string | undefined>;
    /**
     * Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to `false`.
     */
    globallyEnabled?: pulumi.Input<boolean | undefined>;
    /**
     * 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.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Specifies the cloud role instance.
     */
    roleInstance?: pulumi.Input<string | undefined>;
    /**
     * Specifies the cloud role name used to label the component on the application map.
     */
    roleName?: pulumi.Input<string | undefined>;
    /**
     * Specifies the percentage for fixed-percentage sampling.
     */
    samplingPercentage?: pulumi.Input<number | undefined>;
    /**
     * Specifies the number of requests per second for the rate-limited sampling.
     */
    samplingRequestsPerSecond?: pulumi.Input<number | undefined>;
    /**
     * The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
     */
    springCloudServiceId?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a SpringCloudApplicationInsightsApplicationPerformanceMonitoring resource.
 */
export interface SpringCloudApplicationInsightsApplicationPerformanceMonitoringArgs {
    /**
     * The instrumentation key used to push data to Application Insights.
     */
    connectionString?: pulumi.Input<string | undefined>;
    /**
     * Specifies whether the Spring Cloud Application Performance Monitoring resource for Application Insights is enabled globally. Defaults to `false`.
     */
    globallyEnabled?: pulumi.Input<boolean | undefined>;
    /**
     * 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.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Specifies the cloud role instance.
     */
    roleInstance?: pulumi.Input<string | undefined>;
    /**
     * Specifies the cloud role name used to label the component on the application map.
     */
    roleName?: pulumi.Input<string | undefined>;
    /**
     * Specifies the percentage for fixed-percentage sampling.
     */
    samplingPercentage?: pulumi.Input<number | undefined>;
    /**
     * Specifies the number of requests per second for the rate-limited sampling.
     */
    samplingRequestsPerSecond?: pulumi.Input<number | undefined>;
    /**
     * The ID of the Spring Cloud Service. Changing this forces a new resource to be created.
     */
    springCloudServiceId: pulumi.Input<string>;
}
//# sourceMappingURL=springCloudApplicationInsightsApplicationPerformanceMonitoring.d.ts.map