import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about an existing Automation Runbook. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.automation.getRunbook({ * name: "existing-runbook", * resourceGroupName: "existing", * automationAccountName: "existing-automation", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Automation` - 2024-10-23 */ export declare function getRunbook(args: GetRunbookArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRunbook. */ export interface GetRunbookArgs { /** * The name of the Automation Account the runbook belongs to. */ automationAccountName: string; /** * The name of the Automation Runbook. */ name: string; /** * The name of the Resource Group where the Automation exists. */ resourceGroupName: string; } /** * A collection of values returned by getRunbook. */ export interface GetRunbookResult { readonly automationAccountName: string; /** * The content of the Runbook. */ readonly content: string; /** * The description of the Runbook. */ readonly description: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The Azure Region where the Runbook exists. */ readonly location: string; /** * The activity-level tracing of the Runbook. */ readonly logActivityTraceLevel: number; /** * The Progress log option of the Runbook. */ readonly logProgress: boolean; /** * The Verbose log option of the Runbook. */ readonly logVerbose: boolean; readonly name: string; readonly resourceGroupName: string; /** * The type of Runbook. */ readonly runbookType: string; /** * A mapping of tags assigned to the Runbook. */ readonly tags: { [key: string]: string; }; } /** * Use this data source to access information about an existing Automation Runbook. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.automation.getRunbook({ * name: "existing-runbook", * resourceGroupName: "existing", * automationAccountName: "existing-automation", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Automation` - 2024-10-23 */ export declare function getRunbookOutput(args: GetRunbookOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRunbook. */ export interface GetRunbookOutputArgs { /** * The name of the Automation Account the runbook belongs to. */ automationAccountName: pulumi.Input; /** * The name of the Automation Runbook. */ name: pulumi.Input; /** * The name of the Resource Group where the Automation exists. */ resourceGroupName: pulumi.Input; }