import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Manages an Application Insights Workbook Template.
 *
 * ## 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 exampleWorkbookTemplate = new azure.appinsights.WorkbookTemplate("example", {
 *     name: "example-aiwt",
 *     resourceGroupName: example.name,
 *     location: "West Europe",
 *     author: "test author",
 *     priority: 1,
 *     galleries: [{
 *         category: "workbook",
 *         name: "test",
 *         order: 100,
 *         resourceType: "microsoft.insights/components",
 *         type: "tsg",
 *     }],
 *     templateData: JSON.stringify({
 *         version: "Notebook/1.0",
 *         items: [{
 *             type: 1,
 *             content: {
 *                 json: `## New workbook
 * ---
 *
 * Welcome to your new workbook.`,
 *             },
 *             name: "text - 2",
 *         }],
 *         styleSettings: {},
 *         $schema: "https://github.com/Microsoft/Application-Insights-Workbooks/blob/master/schema/workbook.json",
 *     }),
 *     localized: JSON.stringify({
 *         ar: [{
 *             galleries: [{
 *                 name: "test",
 *                 category: "Failures",
 *                 type: "tsg",
 *                 resourceType: "microsoft.insights/components",
 *                 order: 100,
 *             }],
 *             templateData: {
 *                 version: "Notebook/1.0",
 *                 items: [{
 *                     type: 1,
 *                     content: {
 *                         json: `## New workbook
 * ---
 *
 * Welcome to your new workbook.`,
 *                     },
 *                     name: "text - 2",
 *                 }],
 *                 styleSettings: {},
 *                 $schema: "https://github.com/Microsoft/Application-Insights-Workbooks/blob/master/schema/workbook.json",
 *             },
 *         }],
 *     }),
 *     tags: {
 *         key: "value",
 *     },
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.Insights` - 2020-11-20
 *
 * ## Import
 *
 * Application Insights Workbook Template can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:appinsights/workbookTemplate:WorkbookTemplate example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Insights/workbookTemplates/resource1
 * ```
 */
export declare class WorkbookTemplate extends pulumi.CustomResource {
    /**
     * Get an existing WorkbookTemplate 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?: WorkbookTemplateState, opts?: pulumi.CustomResourceOptions): WorkbookTemplate;
    /**
     * Returns true if the given object is an instance of WorkbookTemplate.  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 WorkbookTemplate;
    /**
     * Information about the author of the workbook template.
     */
    readonly author: pulumi.Output<string | undefined>;
    /**
     * A `galleries` block as defined below.
     */
    readonly galleries: pulumi.Output<outputs.appinsights.WorkbookTemplateGallery[]>;
    /**
     * Key value pairs of localized gallery. Each key is the locale code of languages supported by the Azure portal.
     */
    readonly localized: pulumi.Output<string | undefined>;
    /**
     * Specifies the Azure Region where the Application Insights Workbook Template should exist. Changing this forces a new Application Insights Workbook Template to be created.
     */
    readonly location: pulumi.Output<string>;
    /**
     * Specifies the name which should be used for this Application Insights Workbook Template. Changing this forces a new Application Insights Workbook Template to be created.
     */
    readonly name: pulumi.Output<string>;
    /**
     * Priority of the template. Determines which template to open when a workbook gallery is opened in viewer mode. Defaults to `0`.
     */
    readonly priority: pulumi.Output<number | undefined>;
    /**
     * Specifies the name of the Resource Group where the Application Insights Workbook Template should exist. Changing this forces a new Application Insights Workbook Template to be created.
     */
    readonly resourceGroupName: pulumi.Output<string>;
    /**
     * A mapping of tags which should be assigned to the Application Insights Workbook Template.
     */
    readonly tags: pulumi.Output<{
        [key: string]: string;
    } | undefined>;
    /**
     * Valid JSON object containing workbook template payload.
     */
    readonly templateData: pulumi.Output<string>;
    /**
     * Create a WorkbookTemplate 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: WorkbookTemplateArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering WorkbookTemplate resources.
 */
export interface WorkbookTemplateState {
    /**
     * Information about the author of the workbook template.
     */
    author?: pulumi.Input<string | undefined>;
    /**
     * A `galleries` block as defined below.
     */
    galleries?: pulumi.Input<pulumi.Input<inputs.appinsights.WorkbookTemplateGallery>[] | undefined>;
    /**
     * Key value pairs of localized gallery. Each key is the locale code of languages supported by the Azure portal.
     */
    localized?: pulumi.Input<string | undefined>;
    /**
     * Specifies the Azure Region where the Application Insights Workbook Template should exist. Changing this forces a new Application Insights Workbook Template to be created.
     */
    location?: pulumi.Input<string | undefined>;
    /**
     * Specifies the name which should be used for this Application Insights Workbook Template. Changing this forces a new Application Insights Workbook Template to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Priority of the template. Determines which template to open when a workbook gallery is opened in viewer mode. Defaults to `0`.
     */
    priority?: pulumi.Input<number | undefined>;
    /**
     * Specifies the name of the Resource Group where the Application Insights Workbook Template should exist. Changing this forces a new Application Insights Workbook Template to be created.
     */
    resourceGroupName?: pulumi.Input<string | undefined>;
    /**
     * A mapping of tags which should be assigned to the Application Insights Workbook Template.
     */
    tags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Valid JSON object containing workbook template payload.
     */
    templateData?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a WorkbookTemplate resource.
 */
export interface WorkbookTemplateArgs {
    /**
     * Information about the author of the workbook template.
     */
    author?: pulumi.Input<string | undefined>;
    /**
     * A `galleries` block as defined below.
     */
    galleries: pulumi.Input<pulumi.Input<inputs.appinsights.WorkbookTemplateGallery>[]>;
    /**
     * Key value pairs of localized gallery. Each key is the locale code of languages supported by the Azure portal.
     */
    localized?: pulumi.Input<string | undefined>;
    /**
     * Specifies the Azure Region where the Application Insights Workbook Template should exist. Changing this forces a new Application Insights Workbook Template to be created.
     */
    location?: pulumi.Input<string | undefined>;
    /**
     * Specifies the name which should be used for this Application Insights Workbook Template. Changing this forces a new Application Insights Workbook Template to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Priority of the template. Determines which template to open when a workbook gallery is opened in viewer mode. Defaults to `0`.
     */
    priority?: pulumi.Input<number | undefined>;
    /**
     * Specifies the name of the Resource Group where the Application Insights Workbook Template should exist. Changing this forces a new Application Insights Workbook Template to be created.
     */
    resourceGroupName: pulumi.Input<string>;
    /**
     * A mapping of tags which should be assigned to the Application Insights Workbook Template.
     */
    tags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Valid JSON object containing workbook template payload.
     */
    templateData: pulumi.Input<string>;
}
//# sourceMappingURL=workbookTemplate.d.ts.map