import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to retrieve information about a dedicated HA-NAS partition. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const myNasHaPartition = ovh.Dedicated.getNasHAPartition({ * serviceName: "zpool-12345", * name: "my-zpool-partition", * }); * ``` */ export declare function getNasHAPartition(args: GetNasHAPartitionArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getNasHAPartition. */ export interface GetNasHAPartitionArgs { /** * The name of your dedicated HA-NAS partition. */ name: string; /** * The serviceName of your dedicated HA-NAS. */ serviceName: string; } /** * A collection of values returned by getNasHAPartition. */ export interface GetNasHAPartitionResult { /** * Percentage of partition space used in % */ readonly capacity: number; /** * A brief description of the partition */ readonly description: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; /** * one of "NFS", "CIFS" or "NFS_CIFS" */ readonly protocol: string; readonly serviceName: string; /** * size of the partition in GB */ readonly size: number; /** * Percentage of partition space used by snapshots in % */ readonly usedBySnapshots: number; } /** * Use this data source to retrieve information about a dedicated HA-NAS partition. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const myNasHaPartition = ovh.Dedicated.getNasHAPartition({ * serviceName: "zpool-12345", * name: "my-zpool-partition", * }); * ``` */ export declare function getNasHAPartitionOutput(args: GetNasHAPartitionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getNasHAPartition. */ export interface GetNasHAPartitionOutputArgs { /** * The name of your dedicated HA-NAS partition. */ name: pulumi.Input; /** * The serviceName of your dedicated HA-NAS. */ serviceName: pulumi.Input; }