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 remote Nix repository.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as artifactory from "@pulumi/artifactory";
const example = artifactory.getRemoteNixRepository({
key: "my-nix-remote",
});
import pulumi
import pulumi_artifactory as artifactory
example = artifactory.get_remote_nix_repository(key="my-nix-remote")
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.GetRemoteNixRepository(ctx, &artifactory.LookupRemoteNixRepositoryArgs{
Key: "my-nix-remote",
}, 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.GetRemoteNixRepository.Invoke(new()
{
Key = "my-nix-remote",
});
});
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.GetRemoteNixRepositoryArgs;
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.getRemoteNixRepository(GetRemoteNixRepositoryArgs.builder()
.key("my-nix-remote")
.build());
}
}
variables:
example:
fn::invoke:
function: artifactory:getRemoteNixRepository
arguments:
key: my-nix-remote
pulumi {
required_providers {
artifactory = {
source = "pulumi/artifactory"
}
}
}
data "artifactory_getremotenixrepository" "example" {
key = "my-nix-remote"
}
Using getRemoteNixRepository
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 getRemoteNixRepository(args: GetRemoteNixRepositoryArgs, opts?: InvokeOptions): Promise<GetRemoteNixRepositoryResult>
function getRemoteNixRepositoryOutput(args: GetRemoteNixRepositoryOutputArgs, opts?: InvokeOptions): Output<GetRemoteNixRepositoryResult>def get_remote_nix_repository(key: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRemoteNixRepositoryResult
def get_remote_nix_repository_output(key: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRemoteNixRepositoryResult]func LookupRemoteNixRepository(ctx *Context, args *LookupRemoteNixRepositoryArgs, opts ...InvokeOption) (*LookupRemoteNixRepositoryResult, error)
func LookupRemoteNixRepositoryOutput(ctx *Context, args *LookupRemoteNixRepositoryOutputArgs, opts ...InvokeOption) LookupRemoteNixRepositoryResultOutput> Note: This function is named LookupRemoteNixRepository in the Go SDK.
public static class GetRemoteNixRepository
{
public static Task<GetRemoteNixRepositoryResult> InvokeAsync(GetRemoteNixRepositoryArgs args, InvokeOptions? opts = null)
public static Output<GetRemoteNixRepositoryResult> Invoke(GetRemoteNixRepositoryInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRemoteNixRepositoryResult> getRemoteNixRepository(GetRemoteNixRepositoryArgs args, InvokeOptions options)
public static Output<GetRemoteNixRepositoryResult> getRemoteNixRepository(GetRemoteNixRepositoryArgs args, InvokeOptions options)
fn::invoke:
function: artifactory:index/getRemoteNixRepository:getRemoteNixRepository
arguments:
# arguments dictionarydata "artifactory_getremotenixrepository" "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.
getRemoteNixRepository Result
The following output properties are available:
- Allow
Any boolHost Auth - Assumed
Offline intPeriod Secs - Block
Mismatching boolMime Types - Bypass
Head boolRequests - Client
Tls stringCertificate - Description string
- Disable
Proxy bool - Disable
Url boolNormalization - bool
- Excludes
Pattern string - Hard
Fail bool - Id string
- The provider-assigned unique ID for this managed resource.
- Includes
Pattern string - Key string
- List
Remote boolFolder Items - Local
Address string - Metadata
Retrieval intTimeout Secs - Mismatching
Mime stringTypes Override List - Missed
Cache intPeriod Seconds - Notes string
- Offline bool
- Package
Type string - Password string
- Project
Environments List<string> - Project
Key string - Proxy string
- Query
Params string - Remote
Repo stringLayout Ref - Repo
Layout stringRef - Retrieval
Cache intPeriod Seconds - bool
- Socket
Timeout intMillis - Store
Artifacts boolLocally - Synchronize
Properties bool - Unused
Artifacts intCleanup Period Hours - Url string
- Username string
- Allow
Any boolHost Auth - Assumed
Offline intPeriod Secs - Block
Mismatching boolMime Types - Bypass
Head boolRequests - Client
Tls stringCertificate - Description string
- Disable
Proxy bool - Disable
Url boolNormalization - bool
- Excludes
Pattern string - Hard
Fail bool - Id string
- The provider-assigned unique ID for this managed resource.
- Includes
Pattern string - Key string
- List
Remote boolFolder Items - Local
Address string - Metadata
Retrieval intTimeout Secs - Mismatching
Mime stringTypes Override List - Missed
Cache intPeriod Seconds - Notes string
- Offline bool
- Package
Type string - Password string
- Project
Environments []string - Project
Key string - Proxy string
- Query
Params string - Remote
Repo stringLayout Ref - Repo
Layout stringRef - Retrieval
Cache intPeriod Seconds - bool
- Socket
Timeout intMillis - Store
Artifacts boolLocally - Synchronize
Properties bool - Unused
Artifacts intCleanup Period Hours - Url string
- Username string
- allow_
any_ boolhost_ auth - assumed_
offline_ numberperiod_ secs - block_
mismatching_ boolmime_ types - bypass_
head_ boolrequests - client_
tls_ stringcertificate - description string
- disable_
proxy bool - disable_
url_ boolnormalization - bool
- excludes_
pattern string - hard_
fail bool - id string
- The provider-assigned unique ID for this managed resource.
- includes_
pattern string - key string
- list_
remote_ boolfolder_ items - local_
address string - metadata_
retrieval_ numbertimeout_ secs - mismatching_
mime_ stringtypes_ override_ list - missed_
cache_ numberperiod_ seconds - notes string
- offline bool
- package_
type string - password string
- project_
environments list(string) - project_
key string - proxy string
- query_
params string - remote_
repo_ stringlayout_ ref - repo_
layout_ stringref - retrieval_
cache_ numberperiod_ seconds - bool
- socket_
timeout_ numbermillis - store_
artifacts_ boollocally - synchronize_
properties bool - unused_
artifacts_ numbercleanup_ period_ hours - url string
- username string
- allow
Any BooleanHost Auth - assumed
Offline IntegerPeriod Secs - block
Mismatching BooleanMime Types - bypass
Head BooleanRequests - client
Tls StringCertificate - description String
- disable
Proxy Boolean - disable
Url BooleanNormalization - Boolean
- excludes
Pattern String - hard
Fail Boolean - id String
- The provider-assigned unique ID for this managed resource.
- includes
Pattern String - key String
- list
Remote BooleanFolder Items - local
Address String - metadata
Retrieval IntegerTimeout Secs - mismatching
Mime StringTypes Override List - missed
Cache IntegerPeriod Seconds - notes String
- offline Boolean
- package
Type String - password String
- project
Environments List<String> - project
Key String - proxy String
- query
Params String - remote
Repo StringLayout Ref - repo
Layout StringRef - retrieval
Cache IntegerPeriod Seconds - Boolean
- socket
Timeout IntegerMillis - store
Artifacts BooleanLocally - synchronize
Properties Boolean - unused
Artifacts IntegerCleanup Period Hours - url String
- username String
- allow
Any booleanHost Auth - assumed
Offline numberPeriod Secs - block
Mismatching booleanMime Types - bypass
Head booleanRequests - client
Tls stringCertificate - description string
- disable
Proxy boolean - disable
Url booleanNormalization - boolean
- excludes
Pattern string - hard
Fail boolean - id string
- The provider-assigned unique ID for this managed resource.
- includes
Pattern string - key string
- list
Remote booleanFolder Items - local
Address string - metadata
Retrieval numberTimeout Secs - mismatching
Mime stringTypes Override List - missed
Cache numberPeriod Seconds - notes string
- offline boolean
- package
Type string - password string
- project
Environments string[] - project
Key string - proxy string
- query
Params string - remote
Repo stringLayout Ref - repo
Layout stringRef - retrieval
Cache numberPeriod Seconds - boolean
- socket
Timeout numberMillis - store
Artifacts booleanLocally - synchronize
Properties boolean - unused
Artifacts numberCleanup Period Hours - url string
- username string
- allow_
any_ boolhost_ auth - assumed_
offline_ intperiod_ secs - block_
mismatching_ boolmime_ types - bypass_
head_ boolrequests - client_
tls_ strcertificate - description str
- disable_
proxy bool - disable_
url_ boolnormalization - bool
- excludes_
pattern str - hard_
fail bool - id str
- The provider-assigned unique ID for this managed resource.
- includes_
pattern str - key str
- list_
remote_ boolfolder_ items - local_
address str - metadata_
retrieval_ inttimeout_ secs - mismatching_
mime_ strtypes_ override_ list - missed_
cache_ intperiod_ seconds - notes str
- offline bool
- package_
type str - password str
- project_
environments Sequence[str] - project_
key str - proxy str
- query_
params str - remote_
repo_ strlayout_ ref - repo_
layout_ strref - retrieval_
cache_ intperiod_ seconds - bool
- socket_
timeout_ intmillis - store_
artifacts_ boollocally - synchronize_
properties bool - unused_
artifacts_ intcleanup_ period_ hours - url str
- username str
- allow
Any BooleanHost Auth - assumed
Offline NumberPeriod Secs - block
Mismatching BooleanMime Types - bypass
Head BooleanRequests - client
Tls StringCertificate - description String
- disable
Proxy Boolean - disable
Url BooleanNormalization - Boolean
- excludes
Pattern String - hard
Fail Boolean - id String
- The provider-assigned unique ID for this managed resource.
- includes
Pattern String - key String
- list
Remote BooleanFolder Items - local
Address String - metadata
Retrieval NumberTimeout Secs - mismatching
Mime StringTypes Override List - missed
Cache NumberPeriod Seconds - notes String
- offline Boolean
- package
Type String - password String
- project
Environments List<String> - project
Key String - proxy String
- query
Params String - remote
Repo StringLayout Ref - repo
Layout StringRef - retrieval
Cache NumberPeriod Seconds - Boolean
- socket
Timeout NumberMillis - store
Artifacts BooleanLocally - synchronize
Properties Boolean - unused
Artifacts NumberCleanup Period Hours - url String
- username String
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