UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

92 lines (91 loc) 3.19 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get a single workbook template by its resourceName. * * Uses Azure REST API version 2020-11-20. * * Other available API versions: 2019-10-17-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native applicationinsights [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getWorkbookTemplate(args: GetWorkbookTemplateArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkbookTemplateResult>; export interface GetWorkbookTemplateArgs { /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The name of the Application Insights component resource. */ resourceName: string; } /** * An Application Insights workbook template definition. */ export interface GetWorkbookTemplateResult { /** * Information about the author of the workbook template. */ readonly author?: string; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Workbook galleries supported by the template. */ readonly galleries: outputs.applicationinsights.WorkbookTemplateGalleryResponse[]; /** * Azure resource Id */ readonly id: string; /** * Key value pair of localized gallery. Each key is the locale code of languages supported by the Azure portal. */ readonly localized?: { [key: string]: outputs.applicationinsights.WorkbookTemplateLocalizedGalleryResponse[]; }; /** * Resource location */ readonly location: string; /** * Azure resource name. */ readonly name: string; /** * Priority of the template. Determines which template to open when a workbook gallery is opened in viewer mode. */ readonly priority?: number; /** * Resource tags */ readonly tags?: { [key: string]: string; }; /** * Valid JSON object containing workbook template payload. */ readonly templateData: any; /** * Azure resource type */ readonly type: string; } /** * Get a single workbook template by its resourceName. * * Uses Azure REST API version 2020-11-20. * * Other available API versions: 2019-10-17-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native applicationinsights [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getWorkbookTemplateOutput(args: GetWorkbookTemplateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkbookTemplateResult>; export interface GetWorkbookTemplateOutputArgs { /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The name of the Application Insights component resource. */ resourceName: pulumi.Input<string>; }