Viewing docs for artifactory v8.10.3
published on Thursday, Feb 12, 2026 by Pulumi
published on Thursday, Feb 12, 2026 by Pulumi
Viewing docs for artifactory v8.10.3
published on Thursday, Feb 12, 2026 by Pulumi
published on Thursday, Feb 12, 2026 by Pulumi
Retrieves a remote Hex repository.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as artifactory from "@pulumi/artifactory";
const remote_hex = artifactory.getRemoteHexRepository({
key: "remote-hex",
});
import pulumi
import pulumi_artifactory as artifactory
remote_hex = artifactory.get_remote_hex_repository(key="remote-hex")
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.LookupRemoteHexRepository(ctx, &artifactory.LookupRemoteHexRepositoryArgs{
Key: "remote-hex",
}, 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 remote_hex = Artifactory.GetRemoteHexRepository.Invoke(new()
{
Key = "remote-hex",
});
});
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.GetRemoteHexRepositoryArgs;
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 remote-hex = ArtifactoryFunctions.getRemoteHexRepository(GetRemoteHexRepositoryArgs.builder()
.key("remote-hex")
.build());
}
}
variables:
remote-hex:
fn::invoke:
function: artifactory:getRemoteHexRepository
arguments:
key: remote-hex
Using getRemoteHexRepository
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 getRemoteHexRepository(args: GetRemoteHexRepositoryArgs, opts?: InvokeOptions): Promise<GetRemoteHexRepositoryResult>
function getRemoteHexRepositoryOutput(args: GetRemoteHexRepositoryOutputArgs, opts?: InvokeOptions): Output<GetRemoteHexRepositoryResult>def get_remote_hex_repository(key: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRemoteHexRepositoryResult
def get_remote_hex_repository_output(key: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRemoteHexRepositoryResult]func LookupRemoteHexRepository(ctx *Context, args *LookupRemoteHexRepositoryArgs, opts ...InvokeOption) (*LookupRemoteHexRepositoryResult, error)
func LookupRemoteHexRepositoryOutput(ctx *Context, args *LookupRemoteHexRepositoryOutputArgs, opts ...InvokeOption) LookupRemoteHexRepositoryResultOutput> Note: This function is named LookupRemoteHexRepository in the Go SDK.
public static class GetRemoteHexRepository
{
public static Task<GetRemoteHexRepositoryResult> InvokeAsync(GetRemoteHexRepositoryArgs args, InvokeOptions? opts = null)
public static Output<GetRemoteHexRepositoryResult> Invoke(GetRemoteHexRepositoryInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRemoteHexRepositoryResult> getRemoteHexRepository(GetRemoteHexRepositoryArgs args, InvokeOptions options)
public static Output<GetRemoteHexRepositoryResult> getRemoteHexRepository(GetRemoteHexRepositoryArgs args, InvokeOptions options)
fn::invoke:
function: artifactory:index/getRemoteHexRepository:getRemoteHexRepository
arguments:
# arguments dictionaryThe following arguments are supported:
- Key string
- the identity key of the repo.
- Key string
- the identity key of the repo.
- key String
- the identity key of the repo.
- key string
- the identity key of the repo.
- key str
- the identity key of the repo.
- key String
- the identity key of the repo.
getRemoteHexRepository 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 - Hex
Primary stringKeypair Ref - Select the RSA key pair to sign and encrypt content for secure communication between Artifactory and the Mix client.
- 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
- Public
Key string - Contains the public key used when downloading packages from the Hex remote registry (public, private, or self-hosted Hex server).
- 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
- The remote repo URL. For the official Hex registry, use
https://repo.hex.pm. - 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 - Hex
Primary stringKeypair Ref - Select the RSA key pair to sign and encrypt content for secure communication between Artifactory and the Mix client.
- 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
- Public
Key string - Contains the public key used when downloading packages from the Hex remote registry (public, private, or self-hosted Hex server).
- 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
- The remote repo URL. For the official Hex registry, use
https://repo.hex.pm. - 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 - hex
Primary StringKeypair Ref - Select the RSA key pair to sign and encrypt content for secure communication between Artifactory and the Mix client.
- 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
- public
Key String - Contains the public key used when downloading packages from the Hex remote registry (public, private, or self-hosted Hex server).
- 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
- The remote repo URL. For the official Hex registry, use
https://repo.hex.pm. - 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 - hex
Primary stringKeypair Ref - Select the RSA key pair to sign and encrypt content for secure communication between Artifactory and the Mix client.
- 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
- public
Key string - Contains the public key used when downloading packages from the Hex remote registry (public, private, or self-hosted Hex server).
- 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
- The remote repo URL. For the official Hex registry, use
https://repo.hex.pm. - 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 - hex_
primary_ strkeypair_ ref - Select the RSA key pair to sign and encrypt content for secure communication between Artifactory and the Mix client.
- 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
- public_
key str - Contains the public key used when downloading packages from the Hex remote registry (public, private, or self-hosted Hex server).
- 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
- The remote repo URL. For the official Hex registry, use
https://repo.hex.pm. - 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 - hex
Primary StringKeypair Ref - Select the RSA key pair to sign and encrypt content for secure communication between Artifactory and the Mix client.
- 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
- public
Key String - Contains the public key used when downloading packages from the Hex remote registry (public, private, or self-hosted Hex server).
- 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
- The remote repo URL. For the official Hex registry, use
https://repo.hex.pm. - 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.10.3
published on Thursday, Feb 12, 2026 by Pulumi
published on Thursday, Feb 12, 2026 by Pulumi
