import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource for managing access rights 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.NasHAPartitionAccess("my_partition", { * serviceName: "zpool-12345", * partitionName: "my-partition", * ip: "123.123.123.123/32", * type: "readwrite", * aclDescription: "Description of the ACL", * }); * ``` * * ## Import * * HA-NAS partition access can be imported using the `{service_name}/{partition_name}/{ip}`, e.g. * * ```sh * $ pulumi import ovh:Dedicated/nasHAPartitionAccess:NasHAPartitionAccess my-partition zpool-12345/my-partition/123.123.123.123%2F32` * ``` */ export declare class NasHAPartitionAccess extends pulumi.CustomResource { /** * Get an existing NasHAPartitionAccess 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?: NasHAPartitionAccessState, opts?: pulumi.CustomResourceOptions): NasHAPartitionAccess; /** * Returns true if the given object is an instance of NasHAPartitionAccess. 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 NasHAPartitionAccess; /** * A brief description of the acl */ readonly aclDescription: pulumi.Output; /** * IP block in x.x.x.x/x format */ readonly ip: pulumi.Output; /** * 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; /** * One of "readwrite", "readonly" */ readonly type: pulumi.Output; /** * Create a NasHAPartitionAccess 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: NasHAPartitionAccessArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NasHAPartitionAccess resources. */ export interface NasHAPartitionAccessState { /** * A brief description of the acl */ aclDescription?: pulumi.Input; /** * IP block in x.x.x.x/x format */ ip?: pulumi.Input; /** * 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; /** * One of "readwrite", "readonly" */ type?: pulumi.Input; } /** * The set of arguments for constructing a NasHAPartitionAccess resource. */ export interface NasHAPartitionAccessArgs { /** * A brief description of the acl */ aclDescription?: pulumi.Input; /** * IP block in x.x.x.x/x format */ ip: pulumi.Input; /** * 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; /** * One of "readwrite", "readonly" */ type?: pulumi.Input; }