import * as pulumi from "@pulumi/pulumi"; /** * Add a new access ACL for the given network/mask. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const myCeph = ovh.Dedicated.getCeph({ * serviceName: "94d423da-0e55-45f2-9812-836460a19939", * }); * const myAcl = new ovh.dedicated.CephAcl("my_acl", { * serviceName: myCeph.then(myCeph => myCeph.id), * network: "1.2.3.4", * netmask: "255.255.255.255", * }); * ``` * * ## Import * * A dedicated CEPH ACL can be imported using the `service_name` and `acl_id`, separated by "/" E.g., * * bash * * ```sh * $ pulumi import ovh:Dedicated/cephAcl:CephAcl my_acl service_name/acl_id * ``` */ export declare class CephAcl extends pulumi.CustomResource { /** * Get an existing CephAcl 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?: CephAclState, opts?: pulumi.CustomResourceOptions): CephAcl; /** * Returns true if the given object is an instance of CephAcl. 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 CephAcl; /** * IP family. `IPv4` or `IPv6` */ readonly family: pulumi.Output; /** * The network mask to apply */ readonly netmask: pulumi.Output; /** * The network IP to authorize */ readonly network: pulumi.Output; /** * The internal name of your dedicated CEPH */ readonly serviceName: pulumi.Output; /** * Create a CephAcl 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: CephAclArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CephAcl resources. */ export interface CephAclState { /** * IP family. `IPv4` or `IPv6` */ family?: pulumi.Input; /** * The network mask to apply */ netmask?: pulumi.Input; /** * The network IP to authorize */ network?: pulumi.Input; /** * The internal name of your dedicated CEPH */ serviceName?: pulumi.Input; } /** * The set of arguments for constructing a CephAcl resource. */ export interface CephAclArgs { /** * The network mask to apply */ netmask: pulumi.Input; /** * The network IP to authorize */ network: pulumi.Input; /** * The internal name of your dedicated CEPH */ serviceName: pulumi.Input; }