Viewing docs for nexus 2.7.0
published on Sunday, Feb 22, 2026 by datadrivers
published on Sunday, Feb 22, 2026 by datadrivers
Viewing docs for nexus 2.7.0
published on Sunday, Feb 22, 2026 by datadrivers
published on Sunday, Feb 22, 2026 by datadrivers
Use this data source to get a privilege for an wildcard
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nexus from "@pulumi/nexus";
const example = nexus.getPrivilegeWildcard({
name: "nx-all",
});
import pulumi
import pulumi_nexus as nexus
example = nexus.get_privilege_wildcard(name="nx-all")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/nexus/v2/nexus"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := nexus.LookupPrivilegeWildcard(ctx, &nexus.LookupPrivilegeWildcardArgs{
Name: "nx-all",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nexus = Pulumi.Nexus;
return await Deployment.RunAsync(() =>
{
var example = Nexus.GetPrivilegeWildcard.Invoke(new()
{
Name = "nx-all",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nexus.NexusFunctions;
import com.pulumi.nexus.inputs.GetPrivilegeWildcardArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = NexusFunctions.getPrivilegeWildcard(GetPrivilegeWildcardArgs.builder()
.name("nx-all")
.build());
}
}
variables:
example:
fn::invoke:
function: nexus:getPrivilegeWildcard
arguments:
name: nx-all
Using getPrivilegeWildcard
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPrivilegeWildcard(args: GetPrivilegeWildcardArgs, opts?: InvokeOptions): Promise<GetPrivilegeWildcardResult>
function getPrivilegeWildcardOutput(args: GetPrivilegeWildcardOutputArgs, opts?: InvokeOptions): Output<GetPrivilegeWildcardResult>def get_privilege_wildcard(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPrivilegeWildcardResult
def get_privilege_wildcard_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPrivilegeWildcardResult]func LookupPrivilegeWildcard(ctx *Context, args *LookupPrivilegeWildcardArgs, opts ...InvokeOption) (*LookupPrivilegeWildcardResult, error)
func LookupPrivilegeWildcardOutput(ctx *Context, args *LookupPrivilegeWildcardOutputArgs, opts ...InvokeOption) LookupPrivilegeWildcardResultOutput> Note: This function is named LookupPrivilegeWildcard in the Go SDK.
public static class GetPrivilegeWildcard
{
public static Task<GetPrivilegeWildcardResult> InvokeAsync(GetPrivilegeWildcardArgs args, InvokeOptions? opts = null)
public static Output<GetPrivilegeWildcardResult> Invoke(GetPrivilegeWildcardInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPrivilegeWildcardResult> getPrivilegeWildcard(GetPrivilegeWildcardArgs args, InvokeOptions options)
public static Output<GetPrivilegeWildcardResult> getPrivilegeWildcard(GetPrivilegeWildcardArgs args, InvokeOptions options)
fn::invoke:
function: nexus:index/getPrivilegeWildcard:getPrivilegeWildcard
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- Name of the wildcard privilege
- Name string
- Name of the wildcard privilege
- name String
- Name of the wildcard privilege
- name string
- Name of the wildcard privilege
- name str
- Name of the wildcard privilege
- name String
- Name of the wildcard privilege
getPrivilegeWildcard Result
The following output properties are available:
- Description string
- Description of the wildcard privilege
- Id string
- Used to identify data source at nexus
- Name string
- Name of the wildcard privilege
- Pattern string
- Pattern of the wildcard privilege
- Readonly bool
- Whether it is readonly or not
- Description string
- Description of the wildcard privilege
- Id string
- Used to identify data source at nexus
- Name string
- Name of the wildcard privilege
- Pattern string
- Pattern of the wildcard privilege
- Readonly bool
- Whether it is readonly or not
- description String
- Description of the wildcard privilege
- id String
- Used to identify data source at nexus
- name String
- Name of the wildcard privilege
- pattern String
- Pattern of the wildcard privilege
- readonly Boolean
- Whether it is readonly or not
- description string
- Description of the wildcard privilege
- id string
- Used to identify data source at nexus
- name string
- Name of the wildcard privilege
- pattern string
- Pattern of the wildcard privilege
- readonly boolean
- Whether it is readonly or not
- description str
- Description of the wildcard privilege
- id str
- Used to identify data source at nexus
- name str
- Name of the wildcard privilege
- pattern str
- Pattern of the wildcard privilege
- readonly bool
- Whether it is readonly or not
- description String
- Description of the wildcard privilege
- id String
- Used to identify data source at nexus
- name String
- Name of the wildcard privilege
- pattern String
- Pattern of the wildcard privilege
- readonly Boolean
- Whether it is readonly or not
Package Details
- Repository
- nexus datadrivers/terraform-provider-nexus
- License
- Notes
- This Pulumi package is based on the
nexusTerraform Provider.
Viewing docs for nexus 2.7.0
published on Sunday, Feb 22, 2026 by datadrivers
published on Sunday, Feb 22, 2026 by datadrivers
