import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Manages a Logger within an API Management Service.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "example-resources",
 *     location: "West Europe",
 * });
 * const exampleInsights = new azure.appinsights.Insights("example", {
 *     name: "example-appinsights",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     applicationType: "other",
 * });
 * const exampleService = new azure.apimanagement.Service("example", {
 *     name: "example-apim",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     publisherName: "My Company",
 *     publisherEmail: "company@exmaple.com",
 *     skuName: "Developer_1",
 * });
 * const exampleLogger = new azure.apimanagement.Logger("example", {
 *     name: "example-logger",
 *     apiManagementName: exampleService.name,
 *     resourceGroupName: example.name,
 *     resourceId: exampleInsights.id,
 *     applicationInsights: {
 *         instrumentationKey: exampleInsights.instrumentationKey,
 *     },
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.ApiManagement` - 2022-08-01
 *
 * ## Import
 *
 * API Management Loggers can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:apimanagement/logger:Logger example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-rg/providers/Microsoft.ApiManagement/service/example-apim/loggers/example-logger
 * ```
 */
export declare class Logger extends pulumi.CustomResource {
    /**
     * Get an existing Logger 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?: LoggerState, opts?: pulumi.CustomResourceOptions): Logger;
    /**
     * Returns true if the given object is an instance of Logger.  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 Logger;
    /**
     * The name of the API Management Service. Changing this forces a new resource to be created.
     */
    readonly apiManagementName: pulumi.Output<string>;
    /**
     * An `applicationInsights` block as documented below. Changing this forces a new resource to be created.
     */
    readonly applicationInsights: pulumi.Output<outputs.apimanagement.LoggerApplicationInsights | undefined>;
    /**
     * Specifies whether records should be buffered in the Logger prior to publishing. Defaults to `true`.
     */
    readonly buffered: pulumi.Output<boolean | undefined>;
    /**
     * A description of this Logger.
     */
    readonly description: pulumi.Output<string | undefined>;
    /**
     * An `eventhub` block as documented below. Changing this forces a new resource to be created.
     */
    readonly eventhub: pulumi.Output<outputs.apimanagement.LoggerEventhub | undefined>;
    /**
     * The name of this Logger, which must be unique within the API Management Service. Changing this forces a new resource to be created.
     */
    readonly name: pulumi.Output<string>;
    /**
     * The name of the Resource Group in which the API Management Service exists. Changing this forces a new resource to be created.
     */
    readonly resourceGroupName: pulumi.Output<string>;
    /**
     * The target resource id which will be linked in the API-Management portal page. Changing this forces a new resource to be created.
     */
    readonly resourceId: pulumi.Output<string | undefined>;
    /**
     * Create a Logger 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: LoggerArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering Logger resources.
 */
export interface LoggerState {
    /**
     * The name of the API Management Service. Changing this forces a new resource to be created.
     */
    apiManagementName?: pulumi.Input<string | undefined>;
    /**
     * An `applicationInsights` block as documented below. Changing this forces a new resource to be created.
     */
    applicationInsights?: pulumi.Input<inputs.apimanagement.LoggerApplicationInsights | undefined>;
    /**
     * Specifies whether records should be buffered in the Logger prior to publishing. Defaults to `true`.
     */
    buffered?: pulumi.Input<boolean | undefined>;
    /**
     * A description of this Logger.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * An `eventhub` block as documented below. Changing this forces a new resource to be created.
     */
    eventhub?: pulumi.Input<inputs.apimanagement.LoggerEventhub | undefined>;
    /**
     * The name of this Logger, which must be unique within the API Management Service. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The name of the Resource Group in which the API Management Service exists. Changing this forces a new resource to be created.
     */
    resourceGroupName?: pulumi.Input<string | undefined>;
    /**
     * The target resource id which will be linked in the API-Management portal page. Changing this forces a new resource to be created.
     */
    resourceId?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a Logger resource.
 */
export interface LoggerArgs {
    /**
     * The name of the API Management Service. Changing this forces a new resource to be created.
     */
    apiManagementName: pulumi.Input<string>;
    /**
     * An `applicationInsights` block as documented below. Changing this forces a new resource to be created.
     */
    applicationInsights?: pulumi.Input<inputs.apimanagement.LoggerApplicationInsights | undefined>;
    /**
     * Specifies whether records should be buffered in the Logger prior to publishing. Defaults to `true`.
     */
    buffered?: pulumi.Input<boolean | undefined>;
    /**
     * A description of this Logger.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * An `eventhub` block as documented below. Changing this forces a new resource to be created.
     */
    eventhub?: pulumi.Input<inputs.apimanagement.LoggerEventhub | undefined>;
    /**
     * The name of this Logger, which must be unique within the API Management Service. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The name of the Resource Group in which the API Management Service exists. Changing this forces a new resource to be created.
     */
    resourceGroupName: pulumi.Input<string>;
    /**
     * The target resource id which will be linked in the API-Management portal page. Changing this forces a new resource to be created.
     */
    resourceId?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=logger.d.ts.map