import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to look up an existing [New Relic Notebook](https://docs.newrelic.com/docs/query-your-data/explore-query-data/notebooks/introduction-notebooks/) by its entity GUID. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as newrelic from "@pulumi/newrelic"; * * const example = newrelic.getNotebook({ * guid: "MTIxOTEy...", * fetchContent: true, * }); * export const notebookContent = example.then(example => example.content); * ``` */ export declare function getNotebook(args: GetNotebookArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getNotebook. */ export interface GetNotebookArgs { /** * When `true`, fetches the full notebook body and populates `content`. Default: `false`. */ fetchContent?: boolean; /** * The entity GUID of the notebook to look up. */ guid: string; } /** * A collection of values returned by getNotebook. */ export interface GetNotebookResult { /** * The blob identifier of the current notebook content. */ readonly blobId: string; /** * The notebook body as a normalized JSON string. Only populated when `fetchContent` is `true`; empty string otherwise. */ readonly content: string; readonly fetchContent?: boolean; readonly guid: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The New Relic organization ID the notebook belongs to. */ readonly organizationId: string; /** * The title of the notebook. */ readonly title: string; } /** * Use this data source to look up an existing [New Relic Notebook](https://docs.newrelic.com/docs/query-your-data/explore-query-data/notebooks/introduction-notebooks/) by its entity GUID. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as newrelic from "@pulumi/newrelic"; * * const example = newrelic.getNotebook({ * guid: "MTIxOTEy...", * fetchContent: true, * }); * export const notebookContent = example.then(example => example.content); * ``` */ export declare function getNotebookOutput(args: GetNotebookOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getNotebook. */ export interface GetNotebookOutputArgs { /** * When `true`, fetches the full notebook body and populates `content`. Default: `false`. */ fetchContent?: pulumi.Input; /** * The entity GUID of the notebook to look up. */ guid: pulumi.Input; } //# sourceMappingURL=getNotebook.d.ts.map