artifactory v8.9.1 published on Saturday, Oct 4, 2025 by Pulumi
artifactory.getVirtualHelmociRepository
Retrieves a virtual Helm OCI repository.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as artifactory from "@pulumi/artifactory";
const my_helmoci_virtual = artifactory.getVirtualHelmociRepository({
    key: "my-helmoci-virtual",
});
import pulumi
import pulumi_artifactory as artifactory
my_helmoci_virtual = artifactory.get_virtual_helmoci_repository(key="my-helmoci-virtual")
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.LookupVirtualHelmociRepository(ctx, &artifactory.LookupVirtualHelmociRepositoryArgs{
			Key: "my-helmoci-virtual",
		}, 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 my_helmoci_virtual = Artifactory.GetVirtualHelmociRepository.Invoke(new()
    {
        Key = "my-helmoci-virtual",
    });
});
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.GetVirtualHelmociRepositoryArgs;
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 my-helmoci-virtual = ArtifactoryFunctions.getVirtualHelmociRepository(GetVirtualHelmociRepositoryArgs.builder()
            .key("my-helmoci-virtual")
            .build());
    }
}
variables:
  my-helmoci-virtual:
    fn::invoke:
      function: artifactory:getVirtualHelmociRepository
      arguments:
        key: my-helmoci-virtual
Using getVirtualHelmociRepository
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 getVirtualHelmociRepository(args: GetVirtualHelmociRepositoryArgs, opts?: InvokeOptions): Promise<GetVirtualHelmociRepositoryResult>
function getVirtualHelmociRepositoryOutput(args: GetVirtualHelmociRepositoryOutputArgs, opts?: InvokeOptions): Output<GetVirtualHelmociRepositoryResult>def get_virtual_helmoci_repository(artifactory_requests_can_retrieve_remote_artifacts: Optional[bool] = None,
                                   default_deployment_repo: Optional[str] = None,
                                   description: Optional[str] = None,
                                   excludes_pattern: Optional[str] = None,
                                   includes_pattern: Optional[str] = None,
                                   key: Optional[str] = None,
                                   notes: Optional[str] = None,
                                   project_environments: Optional[Sequence[str]] = None,
                                   project_key: Optional[str] = None,
                                   repo_layout_ref: Optional[str] = None,
                                   repositories: Optional[Sequence[str]] = None,
                                   resolve_oci_tags_by_timestamp: Optional[bool] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetVirtualHelmociRepositoryResult
def get_virtual_helmoci_repository_output(artifactory_requests_can_retrieve_remote_artifacts: Optional[pulumi.Input[bool]] = None,
                                   default_deployment_repo: Optional[pulumi.Input[str]] = None,
                                   description: Optional[pulumi.Input[str]] = None,
                                   excludes_pattern: Optional[pulumi.Input[str]] = None,
                                   includes_pattern: Optional[pulumi.Input[str]] = None,
                                   key: Optional[pulumi.Input[str]] = None,
                                   notes: Optional[pulumi.Input[str]] = None,
                                   project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                   project_key: Optional[pulumi.Input[str]] = None,
                                   repo_layout_ref: Optional[pulumi.Input[str]] = None,
                                   repositories: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                   resolve_oci_tags_by_timestamp: Optional[pulumi.Input[bool]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetVirtualHelmociRepositoryResult]func LookupVirtualHelmociRepository(ctx *Context, args *LookupVirtualHelmociRepositoryArgs, opts ...InvokeOption) (*LookupVirtualHelmociRepositoryResult, error)
func LookupVirtualHelmociRepositoryOutput(ctx *Context, args *LookupVirtualHelmociRepositoryOutputArgs, opts ...InvokeOption) LookupVirtualHelmociRepositoryResultOutput> Note: This function is named LookupVirtualHelmociRepository in the Go SDK.
public static class GetVirtualHelmociRepository 
{
    public static Task<GetVirtualHelmociRepositoryResult> InvokeAsync(GetVirtualHelmociRepositoryArgs args, InvokeOptions? opts = null)
    public static Output<GetVirtualHelmociRepositoryResult> Invoke(GetVirtualHelmociRepositoryInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVirtualHelmociRepositoryResult> getVirtualHelmociRepository(GetVirtualHelmociRepositoryArgs args, InvokeOptions options)
public static Output<GetVirtualHelmociRepositoryResult> getVirtualHelmociRepository(GetVirtualHelmociRepositoryArgs args, InvokeOptions options)
fn::invoke:
  function: artifactory:index/getVirtualHelmociRepository:getVirtualHelmociRepository
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Key string
- the identity key of the repo.
- ArtifactoryRequests boolCan Retrieve Remote Artifacts 
- DefaultDeployment stringRepo 
- Description string
- ExcludesPattern string
- IncludesPattern string
- Notes string
- ProjectEnvironments List<string>
- ProjectKey string
- RepoLayout stringRef 
- Repositories List<string>
- bool
- (Optional) When enabled, in cases where the same OCI tag exists in two or more of the aggregated repositories, Artifactory will return the tag that has the latest timestamp. Default values is false.
- Key string
- the identity key of the repo.
- ArtifactoryRequests boolCan Retrieve Remote Artifacts 
- DefaultDeployment stringRepo 
- Description string
- ExcludesPattern string
- IncludesPattern string
- Notes string
- ProjectEnvironments []string
- ProjectKey string
- RepoLayout stringRef 
- Repositories []string
- bool
- (Optional) When enabled, in cases where the same OCI tag exists in two or more of the aggregated repositories, Artifactory will return the tag that has the latest timestamp. Default values is false.
- key String
- the identity key of the repo.
- artifactoryRequests BooleanCan Retrieve Remote Artifacts 
- defaultDeployment StringRepo 
- description String
- excludesPattern String
- includesPattern String
- notes String
- projectEnvironments List<String>
- projectKey String
- repoLayout StringRef 
- repositories List<String>
- Boolean
- (Optional) When enabled, in cases where the same OCI tag exists in two or more of the aggregated repositories, Artifactory will return the tag that has the latest timestamp. Default values is false.
- key string
- the identity key of the repo.
- artifactoryRequests booleanCan Retrieve Remote Artifacts 
- defaultDeployment stringRepo 
- description string
- excludesPattern string
- includesPattern string
- notes string
- projectEnvironments string[]
- projectKey string
- repoLayout stringRef 
- repositories string[]
- boolean
- (Optional) When enabled, in cases where the same OCI tag exists in two or more of the aggregated repositories, Artifactory will return the tag that has the latest timestamp. Default values is false.
- key str
- the identity key of the repo.
- artifactory_requests_ boolcan_ retrieve_ remote_ artifacts 
- default_deployment_ strrepo 
- description str
- excludes_pattern str
- includes_pattern str
- notes str
- project_environments Sequence[str]
- project_key str
- repo_layout_ strref 
- repositories Sequence[str]
- bool
- (Optional) When enabled, in cases where the same OCI tag exists in two or more of the aggregated repositories, Artifactory will return the tag that has the latest timestamp. Default values is false.
- key String
- the identity key of the repo.
- artifactoryRequests BooleanCan Retrieve Remote Artifacts 
- defaultDeployment StringRepo 
- description String
- excludesPattern String
- includesPattern String
- notes String
- projectEnvironments List<String>
- projectKey String
- repoLayout StringRef 
- repositories List<String>
- Boolean
- (Optional) When enabled, in cases where the same OCI tag exists in two or more of the aggregated repositories, Artifactory will return the tag that has the latest timestamp. Default values is false.
getVirtualHelmociRepository Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Key string
- PackageType string
- ProjectEnvironments List<string>
- ArtifactoryRequests boolCan Retrieve Remote Artifacts 
- DefaultDeployment stringRepo 
- Description string
- ExcludesPattern string
- IncludesPattern string
- Notes string
- ProjectKey string
- RepoLayout stringRef 
- Repositories List<string>
- bool
- (Optional) When enabled, in cases where the same OCI tag exists in two or more of the aggregated repositories, Artifactory will return the tag that has the latest timestamp. Default values is false.
- Id string
- The provider-assigned unique ID for this managed resource.
- Key string
- PackageType string
- ProjectEnvironments []string
- ArtifactoryRequests boolCan Retrieve Remote Artifacts 
- DefaultDeployment stringRepo 
- Description string
- ExcludesPattern string
- IncludesPattern string
- Notes string
- ProjectKey string
- RepoLayout stringRef 
- Repositories []string
- bool
- (Optional) When enabled, in cases where the same OCI tag exists in two or more of the aggregated repositories, Artifactory will return the tag that has the latest timestamp. Default values is false.
- id String
- The provider-assigned unique ID for this managed resource.
- key String
- packageType String
- projectEnvironments List<String>
- artifactoryRequests BooleanCan Retrieve Remote Artifacts 
- defaultDeployment StringRepo 
- description String
- excludesPattern String
- includesPattern String
- notes String
- projectKey String
- repoLayout StringRef 
- repositories List<String>
- Boolean
- (Optional) When enabled, in cases where the same OCI tag exists in two or more of the aggregated repositories, Artifactory will return the tag that has the latest timestamp. Default values is false.
- id string
- The provider-assigned unique ID for this managed resource.
- key string
- packageType string
- projectEnvironments string[]
- artifactoryRequests booleanCan Retrieve Remote Artifacts 
- defaultDeployment stringRepo 
- description string
- excludesPattern string
- includesPattern string
- notes string
- projectKey string
- repoLayout stringRef 
- repositories string[]
- boolean
- (Optional) When enabled, in cases where the same OCI tag exists in two or more of the aggregated repositories, Artifactory will return the tag that has the latest timestamp. Default values is false.
- id str
- The provider-assigned unique ID for this managed resource.
- key str
- package_type str
- project_environments Sequence[str]
- artifactory_requests_ boolcan_ retrieve_ remote_ artifacts 
- default_deployment_ strrepo 
- description str
- excludes_pattern str
- includes_pattern str
- notes str
- project_key str
- repo_layout_ strref 
- repositories Sequence[str]
- bool
- (Optional) When enabled, in cases where the same OCI tag exists in two or more of the aggregated repositories, Artifactory will return the tag that has the latest timestamp. Default values is false.
- id String
- The provider-assigned unique ID for this managed resource.
- key String
- packageType String
- projectEnvironments List<String>
- artifactoryRequests BooleanCan Retrieve Remote Artifacts 
- defaultDeployment StringRepo 
- description String
- excludesPattern String
- includesPattern String
- notes String
- projectKey String
- repoLayout StringRef 
- repositories List<String>
- Boolean
- (Optional) When enabled, in cases where the same OCI tag exists in two or more of the aggregated repositories, Artifactory will return the tag that has the latest timestamp. Default values is false.
Package Details
- Repository
- artifactory pulumi/pulumi-artifactory
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the artifactoryTerraform Provider.
