artifactory v8.10.1 published on Saturday, Dec 20, 2025 by Pulumi
artifactory v8.10.1 published on Saturday, Dec 20, 2025 by Pulumi
Retrieves a virtual Hex repository.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as artifactory from "@pulumi/artifactory";
const virtual_hex = artifactory.getVirtualHexRepository({
key: "virtual-hex",
});
import pulumi
import pulumi_artifactory as artifactory
virtual_hex = artifactory.get_virtual_hex_repository(key="virtual-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.LookupVirtualHexRepository(ctx, &artifactory.LookupVirtualHexRepositoryArgs{
Key: "virtual-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 virtual_hex = Artifactory.GetVirtualHexRepository.Invoke(new()
{
Key = "virtual-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.GetVirtualHexRepositoryArgs;
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 virtual-hex = ArtifactoryFunctions.getVirtualHexRepository(GetVirtualHexRepositoryArgs.builder()
.key("virtual-hex")
.build());
}
}
variables:
virtual-hex:
fn::invoke:
function: artifactory:getVirtualHexRepository
arguments:
key: virtual-hex
Using getVirtualHexRepository
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 getVirtualHexRepository(args: GetVirtualHexRepositoryArgs, opts?: InvokeOptions): Promise<GetVirtualHexRepositoryResult>
function getVirtualHexRepositoryOutput(args: GetVirtualHexRepositoryOutputArgs, opts?: InvokeOptions): Output<GetVirtualHexRepositoryResult>def get_virtual_hex_repository(key: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVirtualHexRepositoryResult
def get_virtual_hex_repository_output(key: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVirtualHexRepositoryResult]func LookupVirtualHexRepository(ctx *Context, args *LookupVirtualHexRepositoryArgs, opts ...InvokeOption) (*LookupVirtualHexRepositoryResult, error)
func LookupVirtualHexRepositoryOutput(ctx *Context, args *LookupVirtualHexRepositoryOutputArgs, opts ...InvokeOption) LookupVirtualHexRepositoryResultOutput> Note: This function is named LookupVirtualHexRepository in the Go SDK.
public static class GetVirtualHexRepository
{
public static Task<GetVirtualHexRepositoryResult> InvokeAsync(GetVirtualHexRepositoryArgs args, InvokeOptions? opts = null)
public static Output<GetVirtualHexRepositoryResult> Invoke(GetVirtualHexRepositoryInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVirtualHexRepositoryResult> getVirtualHexRepository(GetVirtualHexRepositoryArgs args, InvokeOptions options)
public static Output<GetVirtualHexRepositoryResult> getVirtualHexRepository(GetVirtualHexRepositoryArgs args, InvokeOptions options)
fn::invoke:
function: artifactory:index/getVirtualHexRepository:getVirtualHexRepository
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.
getVirtualHexRepository Result
The following output properties are available:
- Description string
- 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 - Project
Environments List<string> - Project
Key string - Repo
Layout stringRef
- Description string
- 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 - Project
Environments []string - Project
Key string - Repo
Layout stringRef
- description String
- 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 - project
Environments List<String> - project
Key String - repo
Layout StringRef
- description string
- 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 - project
Environments string[] - project
Key string - repo
Layout stringRef
- description str
- 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 - project_
environments Sequence[str] - project_
key str - repo_
layout_ strref
- description String
- 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 - project
Environments List<String> - project
Key String - repo
Layout StringRef
Package Details
- Repository
- artifactory pulumi/pulumi-artifactory
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
artifactoryTerraform Provider.
artifactory v8.10.1 published on Saturday, Dec 20, 2025 by Pulumi
