import * as pulumi from "@pulumi/pulumi"; /** * Creates and manages Scaleway MongoDB® snapshots. * For more information refer to [the API documentation](https://www.scaleway.com/en/docs/managed-databases/mongodb/). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@ediri/scaleway"; * * const main = new scaleway.MongodbSnapshot("main", { * expiresAt: "2024-12-31T23:59:59Z", * instanceId: scaleway_mongodb_instance.main.id, * }); * ``` * * ## Import * * MongoDB® snapshots can be imported using the `{region}/{id}`, e.g. * * bash * * ```sh * $ pulumi import scaleway:index/mongodbSnapshot:MongodbSnapshot main fr-par-1/11111111-1111-1111-1111-111111111111 * ``` */ export declare class MongodbSnapshot extends pulumi.CustomResource { /** * Get an existing MongodbSnapshot resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: MongodbSnapshotState, opts?: pulumi.CustomResourceOptions): MongodbSnapshot; /** * Returns true if the given object is an instance of MongodbSnapshot. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is MongodbSnapshot; /** * The date and time when the MongoDB® snapshot was created. */ readonly createdAt: pulumi.Output; /** * The expiration date of the MongoDB® snapshot in ISO 8601 format (e.g. `2024-12-31T23:59:59Z`). * * > **Important:** Once set, `expiresAt` cannot be removed. */ readonly expiresAt: pulumi.Output; /** * The ID of the MongoDB® instance from which the snapshot was created. */ readonly instanceId: pulumi.Output; /** * The name of the MongoDB® instance from which the snapshot was created. */ readonly instanceName: pulumi.Output; /** * The name of the MongoDB® snapshot. */ readonly name: pulumi.Output; /** * The type of node associated with the MongoDB® snapshot. */ readonly nodeType: pulumi.Output; /** * `region`) The region in which the MongoDB® snapshot should be created. */ readonly region: pulumi.Output; /** * The size of the MongoDB® snapshot in bytes. */ readonly size: pulumi.Output; /** * The date and time of the last update of the MongoDB® snapshot. */ readonly updatedAt: pulumi.Output; /** * The type of volume used for the MongoDB® snapshot. */ readonly volumeType: pulumi.Output; /** * Create a MongodbSnapshot resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: MongodbSnapshotArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering MongodbSnapshot resources. */ export interface MongodbSnapshotState { /** * The date and time when the MongoDB® snapshot was created. */ createdAt?: pulumi.Input; /** * The expiration date of the MongoDB® snapshot in ISO 8601 format (e.g. `2024-12-31T23:59:59Z`). * * > **Important:** Once set, `expiresAt` cannot be removed. */ expiresAt?: pulumi.Input; /** * The ID of the MongoDB® instance from which the snapshot was created. */ instanceId?: pulumi.Input; /** * The name of the MongoDB® instance from which the snapshot was created. */ instanceName?: pulumi.Input; /** * The name of the MongoDB® snapshot. */ name?: pulumi.Input; /** * The type of node associated with the MongoDB® snapshot. */ nodeType?: pulumi.Input; /** * `region`) The region in which the MongoDB® snapshot should be created. */ region?: pulumi.Input; /** * The size of the MongoDB® snapshot in bytes. */ size?: pulumi.Input; /** * The date and time of the last update of the MongoDB® snapshot. */ updatedAt?: pulumi.Input; /** * The type of volume used for the MongoDB® snapshot. */ volumeType?: pulumi.Input; } /** * The set of arguments for constructing a MongodbSnapshot resource. */ export interface MongodbSnapshotArgs { /** * The expiration date of the MongoDB® snapshot in ISO 8601 format (e.g. `2024-12-31T23:59:59Z`). * * > **Important:** Once set, `expiresAt` cannot be removed. */ expiresAt: pulumi.Input; /** * The ID of the MongoDB® instance from which the snapshot was created. */ instanceId: pulumi.Input; /** * The name of the MongoDB® snapshot. */ name?: pulumi.Input; /** * `region`) The region in which the MongoDB® snapshot should be created. */ region?: pulumi.Input; }