import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * import * as time from "@pulumi/time"; * * const efs = ovh.getStorageEfs({ * serviceName: "XXX", * }); * // This resource will destroy (at least) 10 seconds after ovh_storage_efs_share_snapshot resource * const share = new ovh.StorageEfsShare("share", { * serviceName: efs.then(efs => efs.serviceName), * name: "share", * description: "My share", * protocol: "NFS", * size: 100, * }); * // This resource adds a delay between ovh_storage_efs_share_snapshot and ovh_storage_efs_share resources destruction * const wait10Seconds = new time.index.Sleep("wait_10_seconds", {destroyDuration: "10s"}, { * dependsOn: [share], * }); * const snapshot = new ovh.StorageEfsShareSnapshot("snapshot", { * serviceName: efs.then(efs => efs.serviceName), * shareId: share.id, * name: "snapshot", * description: "My snapshot", * }, { * dependsOn: [wait10Seconds], * }); * ``` */ export declare class StorageEfsShareSnapshot extends pulumi.CustomResource { /** * Get an existing StorageEfsShareSnapshot 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?: StorageEfsShareSnapshotState, opts?: pulumi.CustomResourceOptions): StorageEfsShareSnapshot; /** * Returns true if the given object is an instance of StorageEfsShareSnapshot. 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 StorageEfsShareSnapshot; /** * Snapshot creation date */ readonly createdAt: pulumi.Output; /** * Snapshot description */ readonly description: pulumi.Output; /** * Snapshot name */ readonly name: pulumi.Output; /** * Snapshot path */ readonly path: pulumi.Output; /** * Service name */ readonly serviceName: pulumi.Output; /** * Share ID */ readonly shareId: pulumi.Output; /** * Snapshot status */ readonly status: pulumi.Output; /** * Snapshot type */ readonly type: pulumi.Output; /** * Create a StorageEfsShareSnapshot 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: StorageEfsShareSnapshotArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering StorageEfsShareSnapshot resources. */ export interface StorageEfsShareSnapshotState { /** * Snapshot creation date */ createdAt?: pulumi.Input; /** * Snapshot description */ description?: pulumi.Input; /** * Snapshot name */ name?: pulumi.Input; /** * Snapshot path */ path?: pulumi.Input; /** * Service name */ serviceName?: pulumi.Input; /** * Share ID */ shareId?: pulumi.Input; /** * Snapshot status */ status?: pulumi.Input; /** * Snapshot type */ type?: pulumi.Input; } /** * The set of arguments for constructing a StorageEfsShareSnapshot resource. */ export interface StorageEfsShareSnapshotArgs { /** * Snapshot description */ description?: pulumi.Input; /** * Snapshot name */ name?: pulumi.Input; /** * Service name */ serviceName: pulumi.Input; /** * Share ID */ shareId: pulumi.Input; }