import * as pulumi from "@pulumi/pulumi"; export declare class NexusPrivilege extends pulumi.CustomResource { /** * Get an existing NexusPrivilege 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?: NexusPrivilegeState, opts?: pulumi.CustomResourceOptions): NexusPrivilege; /** * Returns true if the given object is an instance of NexusPrivilege. 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 NexusPrivilege; /** * Actions for the privilege (browse, read, edit, add, delete, all and run) */ readonly actions: pulumi.Output; /** * The content selector for the privilege */ readonly contentSelector: pulumi.Output; /** * A description of the privilege */ readonly description: pulumi.Output; /** * The domain of the privilege */ readonly domain: pulumi.Output; /** * The format of the privilege. Possible values: `apt`, `bower`, `conan`, `docker`, `gitlfs`, `go`, `helm`, `maven2`, * `npm`, `nuget`, `p2`, `pypi`, `raw`, `rubygems`, `yum` */ readonly format: pulumi.Output; /** * The name of the privilege */ readonly name: pulumi.Output; /** * The wildcard privilege pattern */ readonly pattern: pulumi.Output; /** * The repository of the privilege */ readonly repository: pulumi.Output; /** * The script name related to the privilege */ readonly scriptName: pulumi.Output; /** * The type of the privilege. Possible values: `application`, `repository-admin`, `repository-content-selector`, * `repository-view`, `script`, `wildcard` */ readonly type: pulumi.Output; /** * Create a NexusPrivilege 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: NexusPrivilegeArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NexusPrivilege resources. */ export interface NexusPrivilegeState { /** * Actions for the privilege (browse, read, edit, add, delete, all and run) */ actions?: pulumi.Input[]>; /** * The content selector for the privilege */ contentSelector?: pulumi.Input; /** * A description of the privilege */ description?: pulumi.Input; /** * The domain of the privilege */ domain?: pulumi.Input; /** * The format of the privilege. Possible values: `apt`, `bower`, `conan`, `docker`, `gitlfs`, `go`, `helm`, `maven2`, * `npm`, `nuget`, `p2`, `pypi`, `raw`, `rubygems`, `yum` */ format?: pulumi.Input; /** * The name of the privilege */ name?: pulumi.Input; /** * The wildcard privilege pattern */ pattern?: pulumi.Input; /** * The repository of the privilege */ repository?: pulumi.Input; /** * The script name related to the privilege */ scriptName?: pulumi.Input; /** * The type of the privilege. Possible values: `application`, `repository-admin`, `repository-content-selector`, * `repository-view`, `script`, `wildcard` */ type?: pulumi.Input; } /** * The set of arguments for constructing a NexusPrivilege resource. */ export interface NexusPrivilegeArgs { /** * Actions for the privilege (browse, read, edit, add, delete, all and run) */ actions: pulumi.Input[]>; /** * The content selector for the privilege */ contentSelector?: pulumi.Input; /** * A description of the privilege */ description?: pulumi.Input; /** * The domain of the privilege */ domain?: pulumi.Input; /** * The format of the privilege. Possible values: `apt`, `bower`, `conan`, `docker`, `gitlfs`, `go`, `helm`, `maven2`, * `npm`, `nuget`, `p2`, `pypi`, `raw`, `rubygems`, `yum` */ format?: pulumi.Input; /** * The name of the privilege */ name?: pulumi.Input; /** * The wildcard privilege pattern */ pattern?: pulumi.Input; /** * The repository of the privilege */ repository?: pulumi.Input; /** * The script name related to the privilege */ scriptName?: pulumi.Input; /** * The type of the privilege. Possible values: `application`, `repository-admin`, `repository-content-selector`, * `repository-view`, `script`, `wildcard` */ type: pulumi.Input; }