import * as pulumi from "@pulumi/pulumi";
/**
 * Manages an Application Insights Analytics Item component.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "tf-test",
 *     location: "West Europe",
 * });
 * const exampleInsights = new azure.appinsights.Insights("example", {
 *     name: "tf-test-appinsights",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     applicationType: "web",
 * });
 * const exampleAnalyticsItem = new azure.appinsights.AnalyticsItem("example", {
 *     name: "testquery",
 *     applicationInsightsId: exampleInsights.id,
 *     content: "requests //simple example query",
 *     scope: "shared",
 *     type: "query",
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.Insights` - 2015-05-01
 *
 * ## Import
 *
 * Application Insights Analytics Items can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:appinsights/analyticsItem:AnalyticsItem example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Insights/components/mycomponent1/analyticsItems/11111111-1111-1111-1111-111111111111
 * ```
 *
 * > **Please Note:** This is a provider Unique ID matching the format: `{appInsightsID}/analyticsItems/{itemId}` for items with `scope` set to `shared`, or  `{appInsightsID}/myAnalyticsItems/{itemId}` for items with `scope` set to `user`
 *
 * To find the Analytics Item ID you can query the REST API using the [`az rest` CLI command](https://docs.microsoft.com/cli/azure/reference-index?view=azure-cli-latest#az-rest), e.g.
 *
 * ```sh
 * az rest --method GET --uri "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/microsoft.insights/components/appinsightstest/analyticsItems?api-version=2015-05-01"
 * ```
 */
export declare class AnalyticsItem extends pulumi.CustomResource {
    /**
     * Get an existing AnalyticsItem 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?: AnalyticsItemState, opts?: pulumi.CustomResourceOptions): AnalyticsItem;
    /**
     * Returns true if the given object is an instance of AnalyticsItem.  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 AnalyticsItem;
    /**
     * The ID of the Application Insights component on which the Analytics Item exists. Changing this forces a new resource to be created.
     */
    readonly applicationInsightsId: pulumi.Output<string>;
    /**
     * The content for the Analytics Item, for example the query text if `type` is `query`.
     */
    readonly content: pulumi.Output<string>;
    /**
     * The alias to use for the function. Required when `type` is `function`.
     */
    readonly functionAlias: pulumi.Output<string | undefined>;
    /**
     * Specifies the name of the Application Insights Analytics Item. Changing this forces a new resource to be created.
     */
    readonly name: pulumi.Output<string>;
    /**
     * The scope for the Analytics Item. Can be `shared` or `user`. Changing this forces a new resource to be created. Must be `shared` for functions.
     */
    readonly scope: pulumi.Output<string>;
    /**
     * A string containing the time the Analytics Item was created.
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * A string containing the time the Analytics Item was last modified.
     */
    readonly timeModified: pulumi.Output<string>;
    /**
     * The type of Analytics Item to create. Can be one of `query`, `function`, `folder`, `recent`. Changing this forces a new resource to be created.
     */
    readonly type: pulumi.Output<string>;
    /**
     * A string indicating the version of the query format
     */
    readonly version: pulumi.Output<string>;
    /**
     * Create a AnalyticsItem 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: AnalyticsItemArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering AnalyticsItem resources.
 */
export interface AnalyticsItemState {
    /**
     * The ID of the Application Insights component on which the Analytics Item exists. Changing this forces a new resource to be created.
     */
    applicationInsightsId?: pulumi.Input<string | undefined>;
    /**
     * The content for the Analytics Item, for example the query text if `type` is `query`.
     */
    content?: pulumi.Input<string | undefined>;
    /**
     * The alias to use for the function. Required when `type` is `function`.
     */
    functionAlias?: pulumi.Input<string | undefined>;
    /**
     * Specifies the name of the Application Insights Analytics Item. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The scope for the Analytics Item. Can be `shared` or `user`. Changing this forces a new resource to be created. Must be `shared` for functions.
     */
    scope?: pulumi.Input<string | undefined>;
    /**
     * A string containing the time the Analytics Item was created.
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * A string containing the time the Analytics Item was last modified.
     */
    timeModified?: pulumi.Input<string | undefined>;
    /**
     * The type of Analytics Item to create. Can be one of `query`, `function`, `folder`, `recent`. Changing this forces a new resource to be created.
     */
    type?: pulumi.Input<string | undefined>;
    /**
     * A string indicating the version of the query format
     */
    version?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a AnalyticsItem resource.
 */
export interface AnalyticsItemArgs {
    /**
     * The ID of the Application Insights component on which the Analytics Item exists. Changing this forces a new resource to be created.
     */
    applicationInsightsId: pulumi.Input<string>;
    /**
     * The content for the Analytics Item, for example the query text if `type` is `query`.
     */
    content: pulumi.Input<string>;
    /**
     * The alias to use for the function. Required when `type` is `function`.
     */
    functionAlias?: pulumi.Input<string | undefined>;
    /**
     * Specifies the name of the Application Insights Analytics Item. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The scope for the Analytics Item. Can be `shared` or `user`. Changing this forces a new resource to be created. Must be `shared` for functions.
     */
    scope: pulumi.Input<string>;
    /**
     * The type of Analytics Item to create. Can be one of `query`, `function`, `folder`, `recent`. Changing this forces a new resource to be created.
     */
    type: pulumi.Input<string>;
}
//# sourceMappingURL=analyticsItem.d.ts.map