1. Packages
  2. Artifactory Provider
  3. API Docs
  4. getRemoteHexRepository
artifactory v8.10.1 published on Saturday, Dec 20, 2025 by Pulumi
artifactory logo
artifactory v8.10.1 published on Saturday, Dec 20, 2025 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 dictionary

    The 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:

    AllowAnyHostAuth bool
    AssumedOfflinePeriodSecs int
    BlockMismatchingMimeTypes bool
    BypassHeadRequests bool
    ClientTlsCertificate string
    Description string
    DisableProxy bool
    DisableUrlNormalization bool
    EnableCookieManagement bool
    ExcludesPattern string
    HardFail bool
    HexPrimaryKeypairRef string
    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.
    IncludesPattern string
    Key string
    ListRemoteFolderItems bool
    LocalAddress string
    MetadataRetrievalTimeoutSecs int
    MismatchingMimeTypesOverrideList string
    MissedCachePeriodSeconds int
    Notes string
    Offline bool
    PackageType string
    Password string
    ProjectEnvironments List<string>
    ProjectKey string
    Proxy string
    PublicKey string
    Contains the public key used when downloading packages from the Hex remote registry (public, private, or self-hosted Hex server).
    QueryParams string
    RemoteRepoLayoutRef string
    RepoLayoutRef string
    RetrievalCachePeriodSeconds int
    ShareConfiguration bool
    SocketTimeoutMillis int
    StoreArtifactsLocally bool
    SynchronizeProperties bool
    UnusedArtifactsCleanupPeriodHours int
    Url string
    The remote repo URL. For the official Hex registry, use https://repo.hex.pm.
    Username string
    AllowAnyHostAuth bool
    AssumedOfflinePeriodSecs int
    BlockMismatchingMimeTypes bool
    BypassHeadRequests bool
    ClientTlsCertificate string
    Description string
    DisableProxy bool
    DisableUrlNormalization bool
    EnableCookieManagement bool
    ExcludesPattern string
    HardFail bool
    HexPrimaryKeypairRef string
    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.
    IncludesPattern string
    Key string
    ListRemoteFolderItems bool
    LocalAddress string
    MetadataRetrievalTimeoutSecs int
    MismatchingMimeTypesOverrideList string
    MissedCachePeriodSeconds int
    Notes string
    Offline bool
    PackageType string
    Password string
    ProjectEnvironments []string
    ProjectKey string
    Proxy string
    PublicKey string
    Contains the public key used when downloading packages from the Hex remote registry (public, private, or self-hosted Hex server).
    QueryParams string
    RemoteRepoLayoutRef string
    RepoLayoutRef string
    RetrievalCachePeriodSeconds int
    ShareConfiguration bool
    SocketTimeoutMillis int
    StoreArtifactsLocally bool
    SynchronizeProperties bool
    UnusedArtifactsCleanupPeriodHours int
    Url string
    The remote repo URL. For the official Hex registry, use https://repo.hex.pm.
    Username string
    allowAnyHostAuth Boolean
    assumedOfflinePeriodSecs Integer
    blockMismatchingMimeTypes Boolean
    bypassHeadRequests Boolean
    clientTlsCertificate String
    description String
    disableProxy Boolean
    disableUrlNormalization Boolean
    enableCookieManagement Boolean
    excludesPattern String
    hardFail Boolean
    hexPrimaryKeypairRef String
    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.
    includesPattern String
    key String
    listRemoteFolderItems Boolean
    localAddress String
    metadataRetrievalTimeoutSecs Integer
    mismatchingMimeTypesOverrideList String
    missedCachePeriodSeconds Integer
    notes String
    offline Boolean
    packageType String
    password String
    projectEnvironments List<String>
    projectKey String
    proxy String
    publicKey String
    Contains the public key used when downloading packages from the Hex remote registry (public, private, or self-hosted Hex server).
    queryParams String
    remoteRepoLayoutRef String
    repoLayoutRef String
    retrievalCachePeriodSeconds Integer
    shareConfiguration Boolean
    socketTimeoutMillis Integer
    storeArtifactsLocally Boolean
    synchronizeProperties Boolean
    unusedArtifactsCleanupPeriodHours Integer
    url String
    The remote repo URL. For the official Hex registry, use https://repo.hex.pm.
    username String
    allowAnyHostAuth boolean
    assumedOfflinePeriodSecs number
    blockMismatchingMimeTypes boolean
    bypassHeadRequests boolean
    clientTlsCertificate string
    description string
    disableProxy boolean
    disableUrlNormalization boolean
    enableCookieManagement boolean
    excludesPattern string
    hardFail boolean
    hexPrimaryKeypairRef string
    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.
    includesPattern string
    key string
    listRemoteFolderItems boolean
    localAddress string
    metadataRetrievalTimeoutSecs number
    mismatchingMimeTypesOverrideList string
    missedCachePeriodSeconds number
    notes string
    offline boolean
    packageType string
    password string
    projectEnvironments string[]
    projectKey string
    proxy string
    publicKey string
    Contains the public key used when downloading packages from the Hex remote registry (public, private, or self-hosted Hex server).
    queryParams string
    remoteRepoLayoutRef string
    repoLayoutRef string
    retrievalCachePeriodSeconds number
    shareConfiguration boolean
    socketTimeoutMillis number
    storeArtifactsLocally boolean
    synchronizeProperties boolean
    unusedArtifactsCleanupPeriodHours number
    url string
    The remote repo URL. For the official Hex registry, use https://repo.hex.pm.
    username string
    allow_any_host_auth bool
    assumed_offline_period_secs int
    block_mismatching_mime_types bool
    bypass_head_requests bool
    client_tls_certificate str
    description str
    disable_proxy bool
    disable_url_normalization bool
    enable_cookie_management bool
    excludes_pattern str
    hard_fail bool
    hex_primary_keypair_ref str
    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_folder_items bool
    local_address str
    metadata_retrieval_timeout_secs int
    mismatching_mime_types_override_list str
    missed_cache_period_seconds int
    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_layout_ref str
    repo_layout_ref str
    retrieval_cache_period_seconds int
    share_configuration bool
    socket_timeout_millis int
    store_artifacts_locally bool
    synchronize_properties bool
    unused_artifacts_cleanup_period_hours int
    url str
    The remote repo URL. For the official Hex registry, use https://repo.hex.pm.
    username str
    allowAnyHostAuth Boolean
    assumedOfflinePeriodSecs Number
    blockMismatchingMimeTypes Boolean
    bypassHeadRequests Boolean
    clientTlsCertificate String
    description String
    disableProxy Boolean
    disableUrlNormalization Boolean
    enableCookieManagement Boolean
    excludesPattern String
    hardFail Boolean
    hexPrimaryKeypairRef String
    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.
    includesPattern String
    key String
    listRemoteFolderItems Boolean
    localAddress String
    metadataRetrievalTimeoutSecs Number
    mismatchingMimeTypesOverrideList String
    missedCachePeriodSeconds Number
    notes String
    offline Boolean
    packageType String
    password String
    projectEnvironments List<String>
    projectKey String
    proxy String
    publicKey String
    Contains the public key used when downloading packages from the Hex remote registry (public, private, or self-hosted Hex server).
    queryParams String
    remoteRepoLayoutRef String
    repoLayoutRef String
    retrievalCachePeriodSeconds Number
    shareConfiguration Boolean
    socketTimeoutMillis Number
    storeArtifactsLocally Boolean
    synchronizeProperties Boolean
    unusedArtifactsCleanupPeriodHours Number
    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 artifactory Terraform Provider.
    artifactory logo
    artifactory v8.10.1 published on Saturday, Dec 20, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate