import * as pulumi from "@pulumi/pulumi"; /** * Creates an ACL rule for an EFS share. * * Please take a look at the list of available `accessLevel` values in the `Required` section in order to know the list of supported access level configurations. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const efs = ovh.getStorageEfs({ * serviceName: "XXX", * }); * const share = new ovh.StorageEfsShare("share", { * serviceName: efs.then(efs => efs.serviceName), * name: "share", * description: "My share", * protocol: "NFS", * size: 100, * }); * const acl = new ovh.StorageEfsShareAcl("acl", { * serviceName: efs.then(efs => efs.serviceName), * shareId: share.id, * accessLevel: "ro", * accessTo: "10.0.0.1", * }); * ``` */ export declare class StorageEfsShareAcl extends pulumi.CustomResource { /** * Get an existing StorageEfsShareAcl 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?: StorageEfsShareAclState, opts?: pulumi.CustomResourceOptions): StorageEfsShareAcl; /** * Returns true if the given object is an instance of StorageEfsShareAcl. 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 StorageEfsShareAcl; /** * Rule access level */ readonly accessLevel: pulumi.Output; /** * Rule destination */ readonly accessTo: pulumi.Output; /** * Rule access type */ readonly accessType: pulumi.Output; /** * Rule creation date */ readonly createdAt: pulumi.Output; /** * Service name */ readonly serviceName: pulumi.Output; /** * Share ID */ readonly shareId: pulumi.Output; /** * Rule status */ readonly status: pulumi.Output; /** * Create a StorageEfsShareAcl 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: StorageEfsShareAclArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering StorageEfsShareAcl resources. */ export interface StorageEfsShareAclState { /** * Rule access level */ accessLevel?: pulumi.Input; /** * Rule destination */ accessTo?: pulumi.Input; /** * Rule access type */ accessType?: pulumi.Input; /** * Rule creation date */ createdAt?: pulumi.Input; /** * Service name */ serviceName?: pulumi.Input; /** * Share ID */ shareId?: pulumi.Input; /** * Rule status */ status?: pulumi.Input; } /** * The set of arguments for constructing a StorageEfsShareAcl resource. */ export interface StorageEfsShareAclArgs { /** * Rule access level */ accessLevel: pulumi.Input; /** * Rule destination */ accessTo: pulumi.Input; /** * Service name */ serviceName: pulumi.Input; /** * Share ID */ shareId: pulumi.Input; }