@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.19 kB
TypeScript
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?: {
[]: 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?: {
[]: 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>;
}