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 Managed Instance Snaps in Oracle Cloud Infrastructure Os Management Hub service. * * Retrieves a list of snaps for a managed instance. Filters may be applied to select a subset of snaps based on the filter criteria. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagedInstanceSnaps = oci.osmanagementhub.getManagedInstanceSnaps({ * managedInstanceId: testManagedInstance.id, * compartmentId: compartmentId, * name: managedInstanceSnapName, * nameContains: managedInstanceSnapNameContains, * }); * ``` */ export declare function getManagedInstanceSnaps(args: GetManagedInstanceSnapsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getManagedInstanceSnaps. */ export interface GetManagedInstanceSnapsArgs { /** * The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment. */ compartmentId?: string; filters?: inputs.OsManagementHub.GetManagedInstanceSnapsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. */ managedInstanceId: string; /** * The resource name. */ name?: string; /** * A filter to return resources that may partially match the name given. */ nameContains?: string; } /** * A collection of values returned by getManagedInstanceSnaps. */ export interface GetManagedInstanceSnapsResult { readonly compartmentId?: string; readonly filters?: outputs.OsManagementHub.GetManagedInstanceSnapsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly managedInstanceId: string; /** * The name of the snap. */ readonly name?: string; readonly nameContains?: string; /** * The list of snap_collection. */ readonly snapCollections: outputs.OsManagementHub.GetManagedInstanceSnapsSnapCollection[]; } /** * This data source provides the list of Managed Instance Snaps in Oracle Cloud Infrastructure Os Management Hub service. * * Retrieves a list of snaps for a managed instance. Filters may be applied to select a subset of snaps based on the filter criteria. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagedInstanceSnaps = oci.osmanagementhub.getManagedInstanceSnaps({ * managedInstanceId: testManagedInstance.id, * compartmentId: compartmentId, * name: managedInstanceSnapName, * nameContains: managedInstanceSnapNameContains, * }); * ``` */ export declare function getManagedInstanceSnapsOutput(args: GetManagedInstanceSnapsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getManagedInstanceSnaps. */ export interface GetManagedInstanceSnapsOutputArgs { /** * The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment. */ compartmentId?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. */ managedInstanceId: pulumi.Input; /** * The resource name. */ name?: pulumi.Input; /** * A filter to return resources that may partially match the name given. */ nameContains?: pulumi.Input; } //# sourceMappingURL=getManagedInstanceSnaps.d.ts.map