import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource for managing **snapshot** to partitions on HA-NAS services * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const myPartition = new ovh.dedicated.NasHAPartitionSnapshot("my_partition", { * serviceName: "zpool-12345", * partitionName: "my-partition", * type: "day-3", * }); * ``` * * ## Import * * HA-NAS partition snapshot can be imported using the `{service_name}/{partition_name}/{type}`, e.g. * * ```sh * $ pulumi import ovh:Dedicated/nasHAPartitionSnapshot:NasHAPartitionSnapshot my-partition zpool-12345/my-partition/day-3` * ``` */ export declare class NasHAPartitionSnapshot extends pulumi.CustomResource { /** * Get an existing NasHAPartitionSnapshot 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?: NasHAPartitionSnapshotState, opts?: pulumi.CustomResourceOptions): NasHAPartitionSnapshot; /** * Returns true if the given object is an instance of NasHAPartitionSnapshot. 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 NasHAPartitionSnapshot; /** * name of the partition */ readonly partitionName: pulumi.Output; /** * The internal name of your HA-NAS (it has to be ordered via OVHcloud interface) */ readonly serviceName: pulumi.Output; /** * Snapshot interval, allowed : day-1, day-2, day-3, day-7, hour-1, hour-6 */ readonly type: pulumi.Output; /** * Create a NasHAPartitionSnapshot 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: NasHAPartitionSnapshotArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NasHAPartitionSnapshot resources. */ export interface NasHAPartitionSnapshotState { /** * name of the partition */ partitionName?: pulumi.Input; /** * The internal name of your HA-NAS (it has to be ordered via OVHcloud interface) */ serviceName?: pulumi.Input; /** * Snapshot interval, allowed : day-1, day-2, day-3, day-7, hour-1, hour-6 */ type?: pulumi.Input; } /** * The set of arguments for constructing a NasHAPartitionSnapshot resource. */ export interface NasHAPartitionSnapshotArgs { /** * name of the partition */ partitionName: pulumi.Input; /** * The internal name of your HA-NAS (it has to be ordered via OVHcloud interface) */ serviceName: pulumi.Input; /** * Snapshot interval, allowed : day-1, day-2, day-3, day-7, hour-1, hour-6 */ type: pulumi.Input; }