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 Runbook Versions in Oracle Cloud Infrastructure Fleet Apps Management service. * * List versions for a runbook in Fleet Application Management. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRunbookVersions = oci.fleetappsmanagement.getRunbookVersions({ * compartmentId: compartmentId, * id: runbookVersionId, * name: runbookVersionName, * runbookId: testRunbook.id, * state: runbookVersionState, * }); * ``` */ export declare function getRunbookVersions(args?: GetRunbookVersionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRunbookVersions. */ export interface GetRunbookVersionsArgs { /** * The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified. */ compartmentId?: string; filters?: inputs.FleetAppsManagement.GetRunbookVersionsFilter[]; /** * A filter to return runbook versions whose identifier matches the given identifier. */ id?: string; /** * A filter to return only resources that match the entire name given. */ name?: string; /** * A filter to return only schedule definitions whose associated runbookId matches the given runbookId. */ runbookId?: string; /** * A filter to return only resources whose lifecycleState matches the given lifecycleState. */ state?: string; } /** * A collection of values returned by getRunbookVersions. */ export interface GetRunbookVersionsResult { readonly compartmentId?: string; readonly filters?: outputs.FleetAppsManagement.GetRunbookVersionsFilter[]; /** * The OCID of the resource. */ readonly id?: string; readonly isLatest: boolean; /** * The name of the task */ readonly name?: string; /** * The OCID of the resource. */ readonly runbookId?: string; /** * The list of runbook_version_collection. */ readonly runbookVersionCollections: outputs.FleetAppsManagement.GetRunbookVersionsRunbookVersionCollection[]; /** * The current state of the runbook version. */ readonly state?: string; } /** * This data source provides the list of Runbook Versions in Oracle Cloud Infrastructure Fleet Apps Management service. * * List versions for a runbook in Fleet Application Management. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRunbookVersions = oci.fleetappsmanagement.getRunbookVersions({ * compartmentId: compartmentId, * id: runbookVersionId, * name: runbookVersionName, * runbookId: testRunbook.id, * state: runbookVersionState, * }); * ``` */ export declare function getRunbookVersionsOutput(args?: GetRunbookVersionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRunbookVersions. */ export interface GetRunbookVersionsOutputArgs { /** * The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified. */ compartmentId?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return runbook versions whose identifier matches the given identifier. */ id?: pulumi.Input; /** * A filter to return only resources that match the entire name given. */ name?: pulumi.Input; /** * A filter to return only schedule definitions whose associated runbookId matches the given runbookId. */ runbookId?: pulumi.Input; /** * A filter to return only resources whose lifecycleState matches the given lifecycleState. */ state?: pulumi.Input; } //# sourceMappingURL=getRunbookVersions.d.ts.map