import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Describes recovery points (snapshots taken) present in an NCM Self Service Application. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const test = nutanix.getSelfServiceAppSnapshots({ * appName: "NAME OF APPLICATION", * length: 250, * offset: 0, * }); * ``` * */ export declare function getSelfServiceAppSnapshots(args: GetSelfServiceAppSnapshotsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSelfServiceAppSnapshots. */ export interface GetSelfServiceAppSnapshotsArgs { /** * - (Optional) The name of the application. */ appName?: string; /** * - (Optional) The UUID of the application. * * Both (`appName` and `appUuid`) are optional but atleast one of them to be provided for this data source to work. */ appUuid?: string; /** * - (Required) The number of snapshots to retrieve. */ length: number; /** * - (Required) The index of the first snapshot to return (for pagination). Default value: 0 */ offset: number; } /** * A collection of values returned by getSelfServiceAppSnapshots. */ export interface GetSelfServiceAppSnapshotsResult { /** * - The API version used to retrieve the snapshot data. */ readonly apiVersion: string; readonly appName?: string; readonly appUuid?: string; readonly entities: outputs.GetSelfServiceAppSnapshotsEntity[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * - The type of resource represented by the snapshot specification. */ readonly kind: string; /** * - (Required) The number of snapshots to retrieve. */ readonly length: number; /** * - (Required) The index of the first snapshot to return (for pagination). Default value: 0 */ readonly offset: number; /** * - The total number of recovery points available for the application. */ readonly totalMatches: number; } /** * Describes recovery points (snapshots taken) present in an NCM Self Service Application. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const test = nutanix.getSelfServiceAppSnapshots({ * appName: "NAME OF APPLICATION", * length: 250, * offset: 0, * }); * ``` * */ export declare function getSelfServiceAppSnapshotsOutput(args: GetSelfServiceAppSnapshotsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSelfServiceAppSnapshots. */ export interface GetSelfServiceAppSnapshotsOutputArgs { /** * - (Optional) The name of the application. */ appName?: pulumi.Input; /** * - (Optional) The UUID of the application. * * Both (`appName` and `appUuid`) are optional but atleast one of them to be provided for this data source to work. */ appUuid?: pulumi.Input; /** * - (Required) The number of snapshots to retrieve. */ length: pulumi.Input; /** * - (Required) The index of the first snapshot to return (for pagination). Default value: 0 */ offset: pulumi.Input; } //# sourceMappingURL=getSelfServiceAppSnapshots.d.ts.map