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 local Hex repository.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as artifactory from "@pulumi/artifactory";
const local_test_hex_repo = artifactory.getLocalHexRepository({
key: "local-test-hex-repo",
});
import pulumi
import pulumi_artifactory as artifactory
local_test_hex_repo = artifactory.get_local_hex_repository(key="local-test-hex-repo")
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.LookupLocalHexRepository(ctx, &artifactory.LookupLocalHexRepositoryArgs{
Key: "local-test-hex-repo",
}, 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 local_test_hex_repo = Artifactory.GetLocalHexRepository.Invoke(new()
{
Key = "local-test-hex-repo",
});
});
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.GetLocalHexRepositoryArgs;
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 local-test-hex-repo = ArtifactoryFunctions.getLocalHexRepository(GetLocalHexRepositoryArgs.builder()
.key("local-test-hex-repo")
.build());
}
}
variables:
local-test-hex-repo:
fn::invoke:
function: artifactory:getLocalHexRepository
arguments:
key: local-test-hex-repo
Using getLocalHexRepository
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 getLocalHexRepository(args: GetLocalHexRepositoryArgs, opts?: InvokeOptions): Promise<GetLocalHexRepositoryResult>
function getLocalHexRepositoryOutput(args: GetLocalHexRepositoryOutputArgs, opts?: InvokeOptions): Output<GetLocalHexRepositoryResult>def get_local_hex_repository(key: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLocalHexRepositoryResult
def get_local_hex_repository_output(key: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLocalHexRepositoryResult]func LookupLocalHexRepository(ctx *Context, args *LookupLocalHexRepositoryArgs, opts ...InvokeOption) (*LookupLocalHexRepositoryResult, error)
func LookupLocalHexRepositoryOutput(ctx *Context, args *LookupLocalHexRepositoryOutputArgs, opts ...InvokeOption) LookupLocalHexRepositoryResultOutput> Note: This function is named LookupLocalHexRepository in the Go SDK.
public static class GetLocalHexRepository
{
public static Task<GetLocalHexRepositoryResult> InvokeAsync(GetLocalHexRepositoryArgs args, InvokeOptions? opts = null)
public static Output<GetLocalHexRepositoryResult> Invoke(GetLocalHexRepositoryInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLocalHexRepositoryResult> getLocalHexRepository(GetLocalHexRepositoryArgs args, InvokeOptions options)
public static Output<GetLocalHexRepositoryResult> getLocalHexRepository(GetLocalHexRepositoryArgs args, InvokeOptions options)
fn::invoke:
function: artifactory:index/getLocalHexRepository:getLocalHexRepository
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.
getLocalHexRepository Result
The following output properties are available:
- Archive
Browsing boolEnabled - Blacked
Out bool - Cdn
Redirect bool - Description string
- Download
Direct bool - Excludes
Pattern string - 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
- 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 - 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
- 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 BooleanEnabled - blacked
Out Boolean - cdn
Redirect Boolean - description String
- download
Direct Boolean - excludes
Pattern String - 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
- 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 - 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
- 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 - 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
- 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 - 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
- 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.10.3
published on Thursday, Feb 12, 2026 by Pulumi
published on Thursday, Feb 12, 2026 by Pulumi
