import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Runbook resource in Oracle Cloud Infrastructure Fleet Apps Management service. * * Get the details of a runbook in Fleet Application Management. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRunbook = oci.fleetappsmanagement.getRunbook({ * runbookId: testRunbookOciFleetAppsManagementRunbook.id, * }); * ``` */ export declare function getRunbook(args: GetRunbookArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRunbook. */ export interface GetRunbookArgs { /** * Unique Runbook identifier */ runbookId: string; } /** * A collection of values returned by getRunbook. */ export interface GetRunbookResult { readonly compartmentId: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: { [key: string]: string; }; /** * The description of the argument. */ readonly description: string; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource` */ readonly displayName: string; /** * Estimated time to successfully complete the runbook execution. */ readonly estimatedTime: string; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: { [key: string]: string; }; /** * Does this runbook has draft versions? */ readonly hasDraftVersion: boolean; /** * The OCID of the resource. */ readonly id: string; /** * Is the runbook default? Sets this runbook as the default for the chosen product/product stack for the specified lifecycle operation. */ readonly isDefault: boolean; /** * Does this runbook need SUDO access to execute? */ readonly isSudoAccessNeeded: boolean; /** * Latest runbook version. */ readonly latestVersion: string; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. */ readonly lifecycleDetails: string; /** * The lifecycle operation performed by the runbook. */ readonly operation: string; /** * The OS for the task. */ readonly osType: string; /** * The platform of the runbook. */ readonly platform: string; /** * Associated region */ readonly resourceRegion: string; readonly runbookId: string; /** * Version for the runbook. Versioning runbooks in Fleet Application Management involve assigning unique identifiers or version numbers to different iterations of the runbook to track changes, improvements, and updates over time. */ readonly runbookVersions: outputs.FleetAppsManagement.GetRunbookRunbookVersion[]; /** * The current state of the runbook. */ readonly state: string; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * The time this resource was created. An RFC3339 formatted datetime string. */ readonly timeCreated: string; /** * The time this resource was last updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: string; /** * The type of the runbook. */ readonly type: string; } /** * This data source provides details about a specific Runbook resource in Oracle Cloud Infrastructure Fleet Apps Management service. * * Get the details of a runbook in Fleet Application Management. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRunbook = oci.fleetappsmanagement.getRunbook({ * runbookId: testRunbookOciFleetAppsManagementRunbook.id, * }); * ``` */ export declare function getRunbookOutput(args: GetRunbookOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRunbook. */ export interface GetRunbookOutputArgs { /** * Unique Runbook identifier */ runbookId: pulumi.Input; } //# sourceMappingURL=getRunbook.d.ts.map