import * as pulumi from "@pulumi/pulumi"; /** * Manages a Log Analytics Query Pack. * * ## 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 exampleQueryPack = new azure.loganalytics.QueryPack("example", { * name: "example-laqp", * resourceGroupName: example.name, * location: example.location, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.OperationalInsights` - 2019-09-01 * * ## Import * * Log Analytics Query Packs can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:loganalytics/queryPack:QueryPack example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.OperationalInsights/queryPacks/queryPack1 * ``` */ export declare class QueryPack extends pulumi.CustomResource { /** * Get an existing QueryPack 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, state?: QueryPackState, opts?: pulumi.CustomResourceOptions): QueryPack; /** * Returns true if the given object is an instance of QueryPack. 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 QueryPack; /** * The Azure Region where the Log Analytics Query Pack should exist. Changing this forces a new resource to be created. */ readonly location: pulumi.Output; /** * The name which should be used for this Log Analytics Query Pack. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * The name of the Resource Group where the Log Analytics Query Pack should exist. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * A mapping of tags which should be assigned to the Log Analytics Query Pack. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a QueryPack 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: QueryPackArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering QueryPack resources. */ export interface QueryPackState { /** * The Azure Region where the Log Analytics Query Pack should exist. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * The name which should be used for this Log Analytics Query Pack. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the Resource Group where the Log Analytics Query Pack should exist. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * A mapping of tags which should be assigned to the Log Analytics Query Pack. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a QueryPack resource. */ export interface QueryPackArgs { /** * The Azure Region where the Log Analytics Query Pack should exist. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * The name which should be used for this Log Analytics Query Pack. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the Resource Group where the Log Analytics Query Pack should exist. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * A mapping of tags which should be assigned to the Log Analytics Query Pack. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }