Viewing docs for artifactory v8.11.1
published on Tuesday, May 26, 2026 by Pulumi
published on Tuesday, May 26, 2026 by Pulumi
Viewing docs for artifactory v8.11.1
published on Tuesday, May 26, 2026 by Pulumi
published on Tuesday, May 26, 2026 by Pulumi
Retrieves configuration for a local Nix repository.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as artifactory from "@pulumi/artifactory";
const example = artifactory.getLocalNixRepository({
key: "my-nix-local",
});
import pulumi
import pulumi_artifactory as artifactory
example = artifactory.get_local_nix_repository(key="my-nix-local")
package main
import (
"github.com/pulumi/pulumi-artifactory/sdk/v8/go/artifactory"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := artifactory.GetLocalNixRepository(ctx, &artifactory.LookupLocalNixRepositoryArgs{
Key: "my-nix-local",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Artifactory = Pulumi.Artifactory;
return await Deployment.RunAsync(() =>
{
var example = Artifactory.GetLocalNixRepository.Invoke(new()
{
Key = "my-nix-local",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.artifactory.ArtifactoryFunctions;
import com.pulumi.artifactory.inputs.GetLocalNixRepositoryArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 = ArtifactoryFunctions.getLocalNixRepository(GetLocalNixRepositoryArgs.builder()
.key("my-nix-local")
.build());
}
}
variables:
example:
fn::invoke:
function: artifactory:getLocalNixRepository
arguments:
key: my-nix-local
pulumi {
required_providers {
artifactory = {
source = "pulumi/artifactory"
}
}
}
data "artifactory_getlocalnixrepository" "example" {
key = "my-nix-local"
}
Using getLocalNixRepository
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 getLocalNixRepository(args: GetLocalNixRepositoryArgs, opts?: InvokeOptions): Promise<GetLocalNixRepositoryResult>
function getLocalNixRepositoryOutput(args: GetLocalNixRepositoryOutputArgs, opts?: InvokeOptions): Output<GetLocalNixRepositoryResult>def get_local_nix_repository(key: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLocalNixRepositoryResult
def get_local_nix_repository_output(key: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLocalNixRepositoryResult]func LookupLocalNixRepository(ctx *Context, args *LookupLocalNixRepositoryArgs, opts ...InvokeOption) (*LookupLocalNixRepositoryResult, error)
func LookupLocalNixRepositoryOutput(ctx *Context, args *LookupLocalNixRepositoryOutputArgs, opts ...InvokeOption) LookupLocalNixRepositoryResultOutput> Note: This function is named LookupLocalNixRepository in the Go SDK.
public static class GetLocalNixRepository
{
public static Task<GetLocalNixRepositoryResult> InvokeAsync(GetLocalNixRepositoryArgs args, InvokeOptions? opts = null)
public static Output<GetLocalNixRepositoryResult> Invoke(GetLocalNixRepositoryInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLocalNixRepositoryResult> getLocalNixRepository(GetLocalNixRepositoryArgs args, InvokeOptions options)
public static Output<GetLocalNixRepositoryResult> getLocalNixRepository(GetLocalNixRepositoryArgs args, InvokeOptions options)
fn::invoke:
function: artifactory:index/getLocalNixRepository:getLocalNixRepository
arguments:
# arguments dictionarydata "artifactory_getlocalnixrepository" "name" {
# arguments
}The following arguments are supported:
- Key string
- Repository key.
- Key string
- Repository key.
- key string
- Repository key.
- key String
- Repository key.
- key string
- Repository key.
- key str
- Repository key.
- key String
- Repository key.
getLocalNixRepository Result
The following output properties are available:
- Archive
Browsing boolEnabled - Blacked
Out bool - Cdn
Redirect bool - Description string
- Download
Direct bool - Excludes
Pattern string - Id string
- The provider-assigned unique ID for this managed resource.
- Includes
Pattern string - Key string
- Notes string
- Package
Type string - Priority
Resolution bool - Project
Environments List<string> - Project
Key string - Property
Sets List<string> - Repo
Layout stringRef - Xray
Index bool
- Archive
Browsing boolEnabled - Blacked
Out bool - Cdn
Redirect bool - Description string
- Download
Direct bool - Excludes
Pattern string - Id string
- The provider-assigned unique ID for this managed resource.
- Includes
Pattern string - Key string
- Notes string
- Package
Type string - Priority
Resolution bool - Project
Environments []string - Project
Key string - Property
Sets []string - Repo
Layout stringRef - Xray
Index bool
- archive_
browsing_ boolenabled - blacked_
out bool - cdn_
redirect bool - description string
- download_
direct bool - excludes_
pattern string - id string
- The provider-assigned unique ID for this managed resource.
- includes_
pattern string - key string
- notes string
- package_
type string - priority_
resolution bool - project_
environments list(string) - project_
key string - property_
sets list(string) - repo_
layout_ stringref - xray_
index bool
- archive
Browsing BooleanEnabled - blacked
Out Boolean - cdn
Redirect Boolean - description String
- download
Direct Boolean - excludes
Pattern String - id String
- The provider-assigned unique ID for this managed resource.
- includes
Pattern String - key String
- notes String
- package
Type String - priority
Resolution Boolean - project
Environments List<String> - project
Key String - property
Sets List<String> - repo
Layout StringRef - xray
Index Boolean
- archive
Browsing booleanEnabled - blacked
Out boolean - cdn
Redirect boolean - description string
- download
Direct boolean - excludes
Pattern string - id string
- The provider-assigned unique ID for this managed resource.
- includes
Pattern string - key string
- notes string
- package
Type string - priority
Resolution boolean - project
Environments string[] - project
Key string - property
Sets string[] - repo
Layout stringRef - xray
Index boolean
- archive_
browsing_ boolenabled - blacked_
out bool - cdn_
redirect bool - description str
- download_
direct bool - excludes_
pattern str - id str
- The provider-assigned unique ID for this managed resource.
- includes_
pattern str - key str
- notes str
- package_
type str - priority_
resolution bool - project_
environments Sequence[str] - project_
key str - property_
sets Sequence[str] - repo_
layout_ strref - xray_
index bool
- archive
Browsing BooleanEnabled - blacked
Out Boolean - cdn
Redirect Boolean - description String
- download
Direct Boolean - excludes
Pattern String - id String
- The provider-assigned unique ID for this managed resource.
- includes
Pattern String - key String
- notes String
- package
Type String - priority
Resolution Boolean - project
Environments List<String> - project
Key String - property
Sets List<String> - repo
Layout StringRef - xray
Index Boolean
Package Details
- Repository
- artifactory pulumi/pulumi-artifactory
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
artifactoryTerraform Provider.
Viewing docs for artifactory v8.11.1
published on Tuesday, May 26, 2026 by Pulumi
published on Tuesday, May 26, 2026 by Pulumi