import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Runbooks in Oracle Cloud Infrastructure Fleet Apps Management service. * * Returns a list of all the runbooks in the specified compartment. * The query parameter `compartmentId` is required unless the query parameter `id` is specified. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRunbooks = oci.fleetappsmanagement.getRunbooks({ * compartmentId: compartmentId, * displayName: runbookDisplayName, * id: runbookId, * operation: runbookOperation, * platform: runbookPlatform, * state: runbookState, * type: runbookType, * }); * ``` */ export declare function getRunbooks(args?: GetRunbooksArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRunbooks. */ export interface GetRunbooksArgs { /** * The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified. */ compartmentId?: string; /** * A filter to return only resources that match the entire display name given. */ displayName?: string; filters?: inputs.FleetAppsManagement.GetRunbooksFilter[]; /** * Unique identifier or OCID for listing a single Runbook by id. Either compartmentId or id must be provided. */ id?: string; /** * A filter to return runbooks whose operation matches the given lifecycle operation. */ operation?: string; /** * A filter to return runbooks whose platform matches the given platform. */ platform?: string; /** * A filter to return only resources whose lifecycleState matches the given lifecycleState. */ state?: string; /** * A filter to return runbooks whose type matches the given type. */ type?: string; } /** * A collection of values returned by getRunbooks. */ export interface GetRunbooksResult { readonly compartmentId?: 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; readonly filters?: outputs.FleetAppsManagement.GetRunbooksFilter[]; /** * The OCID of the resource. */ readonly id?: string; /** * The lifecycle operation performed by the runbook. */ readonly operation?: string; /** * The platform of the runbook. */ readonly platform?: string; /** * The list of runbook_collection. */ readonly runbookCollections: outputs.FleetAppsManagement.GetRunbooksRunbookCollection[]; /** * The current state of the runbook. */ readonly state?: string; /** * The type of the runbook. */ readonly type?: string; } /** * This data source provides the list of Runbooks in Oracle Cloud Infrastructure Fleet Apps Management service. * * Returns a list of all the runbooks in the specified compartment. * The query parameter `compartmentId` is required unless the query parameter `id` is specified. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRunbooks = oci.fleetappsmanagement.getRunbooks({ * compartmentId: compartmentId, * displayName: runbookDisplayName, * id: runbookId, * operation: runbookOperation, * platform: runbookPlatform, * state: runbookState, * type: runbookType, * }); * ``` */ export declare function getRunbooksOutput(args?: GetRunbooksOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRunbooks. */ export interface GetRunbooksOutputArgs { /** * The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified. */ compartmentId?: pulumi.Input; /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Unique identifier or OCID for listing a single Runbook by id. Either compartmentId or id must be provided. */ id?: pulumi.Input; /** * A filter to return runbooks whose operation matches the given lifecycle operation. */ operation?: pulumi.Input; /** * A filter to return runbooks whose platform matches the given platform. */ platform?: pulumi.Input; /** * A filter to return only resources whose lifecycleState matches the given lifecycleState. */ state?: pulumi.Input; /** * A filter to return runbooks whose type matches the given type. */ type?: pulumi.Input; } //# sourceMappingURL=getRunbooks.d.ts.map