import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Gets information about an instance snapshot. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const byName = scaleway.getInstanceSnapshot({ * name: "my-snapshot-name", * }); * const byId = scaleway.getInstanceSnapshot({ * snapshotId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ export declare function getInstanceSnapshot(args?: GetInstanceSnapshotArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getInstanceSnapshot. */ export interface GetInstanceSnapshotArgs { /** * The snapshot name. * Only one of `name` and `snapshotId` should be specified. */ name?: string; /** * `projectId`) The ID of the project the snapshot is associated with. */ projectId?: string; /** * The snapshot id. * Only one of `name` and `snapshotId` should be specified. */ snapshotId?: string; /** * `zone`) The zone in which the snapshot exists. */ zone?: string; } /** * A collection of values returned by getInstanceSnapshot. */ export interface GetInstanceSnapshotResult { readonly createdAt: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly imports: outputs.GetInstanceSnapshotImport[]; readonly name?: string; readonly organizationId: string; readonly projectId?: string; readonly sizeInGb: number; readonly snapshotId?: string; readonly tags: string[]; readonly type: string; readonly volumeId: string; readonly zone?: string; } /** * Gets information about an instance snapshot. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const byName = scaleway.getInstanceSnapshot({ * name: "my-snapshot-name", * }); * const byId = scaleway.getInstanceSnapshot({ * snapshotId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ export declare function getInstanceSnapshotOutput(args?: GetInstanceSnapshotOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getInstanceSnapshot. */ export interface GetInstanceSnapshotOutputArgs { /** * The snapshot name. * Only one of `name` and `snapshotId` should be specified. */ name?: pulumi.Input; /** * `projectId`) The ID of the project the snapshot is associated with. */ projectId?: pulumi.Input; /** * The snapshot id. * Only one of `name` and `snapshotId` should be specified. */ snapshotId?: pulumi.Input; /** * `zone`) The zone in which the snapshot exists. */ zone?: pulumi.Input; }