1. Packages
  2. Artifactory Provider
  3. API Docs
  4. VirtualHelmRepository
artifactory v8.8.1 published on Wednesday, Apr 9, 2025 by Pulumi

artifactory.VirtualHelmRepository

Explore with Pulumi AI

Creates a virtual Helm repository. Official documentation can be found here.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as artifactory from "@pulumi/artifactory";

const foo_helm_virtual = new artifactory.VirtualHelmRepository("foo-helm-virtual", {
    key: "foo-helm-virtual",
    useNamespaces: true,
});
Copy
import pulumi
import pulumi_artifactory as artifactory

foo_helm_virtual = artifactory.VirtualHelmRepository("foo-helm-virtual",
    key="foo-helm-virtual",
    use_namespaces=True)
Copy
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.NewVirtualHelmRepository(ctx, "foo-helm-virtual", &artifactory.VirtualHelmRepositoryArgs{
			Key:           pulumi.String("foo-helm-virtual"),
			UseNamespaces: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Artifactory = Pulumi.Artifactory;

return await Deployment.RunAsync(() => 
{
    var foo_helm_virtual = new Artifactory.VirtualHelmRepository("foo-helm-virtual", new()
    {
        Key = "foo-helm-virtual",
        UseNamespaces = true,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.artifactory.VirtualHelmRepository;
import com.pulumi.artifactory.VirtualHelmRepositoryArgs;
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) {
        var foo_helm_virtual = new VirtualHelmRepository("foo-helm-virtual", VirtualHelmRepositoryArgs.builder()
            .key("foo-helm-virtual")
            .useNamespaces(true)
            .build());

    }
}
Copy
resources:
  foo-helm-virtual:
    type: artifactory:VirtualHelmRepository
    properties:
      key: foo-helm-virtual
      useNamespaces: true
Copy

Create VirtualHelmRepository Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new VirtualHelmRepository(name: string, args: VirtualHelmRepositoryArgs, opts?: CustomResourceOptions);
@overload
def VirtualHelmRepository(resource_name: str,
                          args: VirtualHelmRepositoryArgs,
                          opts: Optional[ResourceOptions] = None)

@overload
def VirtualHelmRepository(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          key: Optional[str] = None,
                          notes: Optional[str] = None,
                          description: Optional[str] = None,
                          excludes_pattern: Optional[str] = None,
                          includes_pattern: Optional[str] = None,
                          default_deployment_repo: Optional[str] = None,
                          artifactory_requests_can_retrieve_remote_artifacts: Optional[bool] = None,
                          project_environments: Optional[Sequence[str]] = None,
                          project_key: Optional[str] = None,
                          repo_layout_ref: Optional[str] = None,
                          repositories: Optional[Sequence[str]] = None,
                          retrieval_cache_period_seconds: Optional[int] = None,
                          use_namespaces: Optional[bool] = None)
func NewVirtualHelmRepository(ctx *Context, name string, args VirtualHelmRepositoryArgs, opts ...ResourceOption) (*VirtualHelmRepository, error)
public VirtualHelmRepository(string name, VirtualHelmRepositoryArgs args, CustomResourceOptions? opts = null)
public VirtualHelmRepository(String name, VirtualHelmRepositoryArgs args)
public VirtualHelmRepository(String name, VirtualHelmRepositoryArgs args, CustomResourceOptions options)
type: artifactory:VirtualHelmRepository
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. VirtualHelmRepositoryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. VirtualHelmRepositoryArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. VirtualHelmRepositoryArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. VirtualHelmRepositoryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. VirtualHelmRepositoryArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var virtualHelmRepositoryResource = new Artifactory.VirtualHelmRepository("virtualHelmRepositoryResource", new()
{
    Key = "string",
    Notes = "string",
    Description = "string",
    ExcludesPattern = "string",
    IncludesPattern = "string",
    DefaultDeploymentRepo = "string",
    ArtifactoryRequestsCanRetrieveRemoteArtifacts = false,
    ProjectEnvironments = new[]
    {
        "string",
    },
    ProjectKey = "string",
    RepoLayoutRef = "string",
    Repositories = new[]
    {
        "string",
    },
    RetrievalCachePeriodSeconds = 0,
    UseNamespaces = false,
});
Copy
example, err := artifactory.NewVirtualHelmRepository(ctx, "virtualHelmRepositoryResource", &artifactory.VirtualHelmRepositoryArgs{
	Key:                   pulumi.String("string"),
	Notes:                 pulumi.String("string"),
	Description:           pulumi.String("string"),
	ExcludesPattern:       pulumi.String("string"),
	IncludesPattern:       pulumi.String("string"),
	DefaultDeploymentRepo: pulumi.String("string"),
	ArtifactoryRequestsCanRetrieveRemoteArtifacts: pulumi.Bool(false),
	ProjectEnvironments: pulumi.StringArray{
		pulumi.String("string"),
	},
	ProjectKey:    pulumi.String("string"),
	RepoLayoutRef: pulumi.String("string"),
	Repositories: pulumi.StringArray{
		pulumi.String("string"),
	},
	RetrievalCachePeriodSeconds: pulumi.Int(0),
	UseNamespaces:               pulumi.Bool(false),
})
Copy
var virtualHelmRepositoryResource = new VirtualHelmRepository("virtualHelmRepositoryResource", VirtualHelmRepositoryArgs.builder()
    .key("string")
    .notes("string")
    .description("string")
    .excludesPattern("string")
    .includesPattern("string")
    .defaultDeploymentRepo("string")
    .artifactoryRequestsCanRetrieveRemoteArtifacts(false)
    .projectEnvironments("string")
    .projectKey("string")
    .repoLayoutRef("string")
    .repositories("string")
    .retrievalCachePeriodSeconds(0)
    .useNamespaces(false)
    .build());
Copy
virtual_helm_repository_resource = artifactory.VirtualHelmRepository("virtualHelmRepositoryResource",
    key="string",
    notes="string",
    description="string",
    excludes_pattern="string",
    includes_pattern="string",
    default_deployment_repo="string",
    artifactory_requests_can_retrieve_remote_artifacts=False,
    project_environments=["string"],
    project_key="string",
    repo_layout_ref="string",
    repositories=["string"],
    retrieval_cache_period_seconds=0,
    use_namespaces=False)
Copy
const virtualHelmRepositoryResource = new artifactory.VirtualHelmRepository("virtualHelmRepositoryResource", {
    key: "string",
    notes: "string",
    description: "string",
    excludesPattern: "string",
    includesPattern: "string",
    defaultDeploymentRepo: "string",
    artifactoryRequestsCanRetrieveRemoteArtifacts: false,
    projectEnvironments: ["string"],
    projectKey: "string",
    repoLayoutRef: "string",
    repositories: ["string"],
    retrievalCachePeriodSeconds: 0,
    useNamespaces: false,
});
Copy
type: artifactory:VirtualHelmRepository
properties:
    artifactoryRequestsCanRetrieveRemoteArtifacts: false
    defaultDeploymentRepo: string
    description: string
    excludesPattern: string
    includesPattern: string
    key: string
    notes: string
    projectEnvironments:
        - string
    projectKey: string
    repoLayoutRef: string
    repositories:
        - string
    retrievalCachePeriodSeconds: 0
    useNamespaces: false
Copy

VirtualHelmRepository Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The VirtualHelmRepository resource accepts the following input properties:

Key
This property is required.
Changes to this property will trigger replacement.
string
A mandatory identifier for the repository that must be unique. It cannot begin with a number or contain spaces or special characters.
ArtifactoryRequestsCanRetrieveRemoteArtifacts bool
Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
DefaultDeploymentRepo string
Default repository to deploy artifacts.
Description string
Public description.
ExcludesPattern string
List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*.By default no artifacts are excluded.
IncludesPattern string
List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
Notes string
Internal description.
ProjectEnvironments List<string>
ProjectKey string
Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
RepoLayoutRef string
Repository layout key for the virtual repository
Repositories List<string>
The effective list of actual repositories included in this virtual repository.
RetrievalCachePeriodSeconds int
This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated repositories. A value of 0 indicates no caching.
UseNamespaces bool
From Artifactory 7.24.1 (SaaS Version), you can explicitly state a specific aggregated local or remote repository to fetch from a virtual by assigning namespaces to local and remote repositories. See the documentation here. Default is false.
Key
This property is required.
Changes to this property will trigger replacement.
string
A mandatory identifier for the repository that must be unique. It cannot begin with a number or contain spaces or special characters.
ArtifactoryRequestsCanRetrieveRemoteArtifacts bool
Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
DefaultDeploymentRepo string
Default repository to deploy artifacts.
Description string
Public description.
ExcludesPattern string
List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*.By default no artifacts are excluded.
IncludesPattern string
List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
Notes string
Internal description.
ProjectEnvironments []string
ProjectKey string
Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
RepoLayoutRef string
Repository layout key for the virtual repository
Repositories []string
The effective list of actual repositories included in this virtual repository.
RetrievalCachePeriodSeconds int
This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated repositories. A value of 0 indicates no caching.
UseNamespaces bool
From Artifactory 7.24.1 (SaaS Version), you can explicitly state a specific aggregated local or remote repository to fetch from a virtual by assigning namespaces to local and remote repositories. See the documentation here. Default is false.
key
This property is required.
Changes to this property will trigger replacement.
String
A mandatory identifier for the repository that must be unique. It cannot begin with a number or contain spaces or special characters.
artifactoryRequestsCanRetrieveRemoteArtifacts Boolean
Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
defaultDeploymentRepo String
Default repository to deploy artifacts.
description String
Public description.
excludesPattern String
List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*.By default no artifacts are excluded.
includesPattern String
List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
notes String
Internal description.
projectEnvironments List<String>
projectKey String
Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
repoLayoutRef String
Repository layout key for the virtual repository
repositories List<String>
The effective list of actual repositories included in this virtual repository.
retrievalCachePeriodSeconds Integer
This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated repositories. A value of 0 indicates no caching.
useNamespaces Boolean
From Artifactory 7.24.1 (SaaS Version), you can explicitly state a specific aggregated local or remote repository to fetch from a virtual by assigning namespaces to local and remote repositories. See the documentation here. Default is false.
key
This property is required.
Changes to this property will trigger replacement.
string
A mandatory identifier for the repository that must be unique. It cannot begin with a number or contain spaces or special characters.
artifactoryRequestsCanRetrieveRemoteArtifacts boolean
Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
defaultDeploymentRepo string
Default repository to deploy artifacts.
description string
Public description.
excludesPattern string
List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*.By default no artifacts are excluded.
includesPattern string
List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
notes string
Internal description.
projectEnvironments string[]
projectKey string
Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
repoLayoutRef string
Repository layout key for the virtual repository
repositories string[]
The effective list of actual repositories included in this virtual repository.
retrievalCachePeriodSeconds number
This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated repositories. A value of 0 indicates no caching.
useNamespaces boolean
From Artifactory 7.24.1 (SaaS Version), you can explicitly state a specific aggregated local or remote repository to fetch from a virtual by assigning namespaces to local and remote repositories. See the documentation here. Default is false.
key
This property is required.
Changes to this property will trigger replacement.
str
A mandatory identifier for the repository that must be unique. It cannot begin with a number or contain spaces or special characters.
artifactory_requests_can_retrieve_remote_artifacts bool
Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
default_deployment_repo str
Default repository to deploy artifacts.
description str
Public description.
excludes_pattern str
List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*.By default no artifacts are excluded.
includes_pattern str
List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
notes str
Internal description.
project_environments Sequence[str]
project_key str
Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
repo_layout_ref str
Repository layout key for the virtual repository
repositories Sequence[str]
The effective list of actual repositories included in this virtual repository.
retrieval_cache_period_seconds int
This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated repositories. A value of 0 indicates no caching.
use_namespaces bool
From Artifactory 7.24.1 (SaaS Version), you can explicitly state a specific aggregated local or remote repository to fetch from a virtual by assigning namespaces to local and remote repositories. See the documentation here. Default is false.
key
This property is required.
Changes to this property will trigger replacement.
String
A mandatory identifier for the repository that must be unique. It cannot begin with a number or contain spaces or special characters.
artifactoryRequestsCanRetrieveRemoteArtifacts Boolean
Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
defaultDeploymentRepo String
Default repository to deploy artifacts.
description String
Public description.
excludesPattern String
List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*.By default no artifacts are excluded.
includesPattern String
List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
notes String
Internal description.
projectEnvironments List<String>
projectKey String
Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
repoLayoutRef String
Repository layout key for the virtual repository
repositories List<String>
The effective list of actual repositories included in this virtual repository.
retrievalCachePeriodSeconds Number
This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated repositories. A value of 0 indicates no caching.
useNamespaces Boolean
From Artifactory 7.24.1 (SaaS Version), you can explicitly state a specific aggregated local or remote repository to fetch from a virtual by assigning namespaces to local and remote repositories. See the documentation here. Default is false.

Outputs

All input properties are implicitly available as output properties. Additionally, the VirtualHelmRepository resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
PackageType string
Id string
The provider-assigned unique ID for this managed resource.
PackageType string
id String
The provider-assigned unique ID for this managed resource.
packageType String
id string
The provider-assigned unique ID for this managed resource.
packageType string
id str
The provider-assigned unique ID for this managed resource.
package_type str
id String
The provider-assigned unique ID for this managed resource.
packageType String

Look up Existing VirtualHelmRepository Resource

Get an existing VirtualHelmRepository resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: VirtualHelmRepositoryState, opts?: CustomResourceOptions): VirtualHelmRepository
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        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,
        package_type: 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,
        retrieval_cache_period_seconds: Optional[int] = None,
        use_namespaces: Optional[bool] = None) -> VirtualHelmRepository
func GetVirtualHelmRepository(ctx *Context, name string, id IDInput, state *VirtualHelmRepositoryState, opts ...ResourceOption) (*VirtualHelmRepository, error)
public static VirtualHelmRepository Get(string name, Input<string> id, VirtualHelmRepositoryState? state, CustomResourceOptions? opts = null)
public static VirtualHelmRepository get(String name, Output<String> id, VirtualHelmRepositoryState state, CustomResourceOptions options)
resources:  _:    type: artifactory:VirtualHelmRepository    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
ArtifactoryRequestsCanRetrieveRemoteArtifacts bool
Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
DefaultDeploymentRepo string
Default repository to deploy artifacts.
Description string
Public description.
ExcludesPattern string
List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*.By default no artifacts are excluded.
IncludesPattern string
List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
Key Changes to this property will trigger replacement. string
A mandatory identifier for the repository that must be unique. It cannot begin with a number or contain spaces or special characters.
Notes string
Internal description.
PackageType Changes to this property will trigger replacement. string
ProjectEnvironments List<string>
ProjectKey string
Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
RepoLayoutRef string
Repository layout key for the virtual repository
Repositories List<string>
The effective list of actual repositories included in this virtual repository.
RetrievalCachePeriodSeconds int
This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated repositories. A value of 0 indicates no caching.
UseNamespaces bool
From Artifactory 7.24.1 (SaaS Version), you can explicitly state a specific aggregated local or remote repository to fetch from a virtual by assigning namespaces to local and remote repositories. See the documentation here. Default is false.
ArtifactoryRequestsCanRetrieveRemoteArtifacts bool
Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
DefaultDeploymentRepo string
Default repository to deploy artifacts.
Description string
Public description.
ExcludesPattern string
List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*.By default no artifacts are excluded.
IncludesPattern string
List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
Key Changes to this property will trigger replacement. string
A mandatory identifier for the repository that must be unique. It cannot begin with a number or contain spaces or special characters.
Notes string
Internal description.
PackageType Changes to this property will trigger replacement. string
ProjectEnvironments []string
ProjectKey string
Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
RepoLayoutRef string
Repository layout key for the virtual repository
Repositories []string
The effective list of actual repositories included in this virtual repository.
RetrievalCachePeriodSeconds int
This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated repositories. A value of 0 indicates no caching.
UseNamespaces bool
From Artifactory 7.24.1 (SaaS Version), you can explicitly state a specific aggregated local or remote repository to fetch from a virtual by assigning namespaces to local and remote repositories. See the documentation here. Default is false.
artifactoryRequestsCanRetrieveRemoteArtifacts Boolean
Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
defaultDeploymentRepo String
Default repository to deploy artifacts.
description String
Public description.
excludesPattern String
List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*.By default no artifacts are excluded.
includesPattern String
List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
key Changes to this property will trigger replacement. String
A mandatory identifier for the repository that must be unique. It cannot begin with a number or contain spaces or special characters.
notes String
Internal description.
packageType Changes to this property will trigger replacement. String
projectEnvironments List<String>
projectKey String
Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
repoLayoutRef String
Repository layout key for the virtual repository
repositories List<String>
The effective list of actual repositories included in this virtual repository.
retrievalCachePeriodSeconds Integer
This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated repositories. A value of 0 indicates no caching.
useNamespaces Boolean
From Artifactory 7.24.1 (SaaS Version), you can explicitly state a specific aggregated local or remote repository to fetch from a virtual by assigning namespaces to local and remote repositories. See the documentation here. Default is false.
artifactoryRequestsCanRetrieveRemoteArtifacts boolean
Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
defaultDeploymentRepo string
Default repository to deploy artifacts.
description string
Public description.
excludesPattern string
List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*.By default no artifacts are excluded.
includesPattern string
List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
key Changes to this property will trigger replacement. string
A mandatory identifier for the repository that must be unique. It cannot begin with a number or contain spaces or special characters.
notes string
Internal description.
packageType Changes to this property will trigger replacement. string
projectEnvironments string[]
projectKey string
Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
repoLayoutRef string
Repository layout key for the virtual repository
repositories string[]
The effective list of actual repositories included in this virtual repository.
retrievalCachePeriodSeconds number
This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated repositories. A value of 0 indicates no caching.
useNamespaces boolean
From Artifactory 7.24.1 (SaaS Version), you can explicitly state a specific aggregated local or remote repository to fetch from a virtual by assigning namespaces to local and remote repositories. See the documentation here. Default is false.
artifactory_requests_can_retrieve_remote_artifacts bool
Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
default_deployment_repo str
Default repository to deploy artifacts.
description str
Public description.
excludes_pattern str
List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*.By default no artifacts are excluded.
includes_pattern str
List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
key Changes to this property will trigger replacement. str
A mandatory identifier for the repository that must be unique. It cannot begin with a number or contain spaces or special characters.
notes str
Internal description.
package_type Changes to this property will trigger replacement. str
project_environments Sequence[str]
project_key str
Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
repo_layout_ref str
Repository layout key for the virtual repository
repositories Sequence[str]
The effective list of actual repositories included in this virtual repository.
retrieval_cache_period_seconds int
This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated repositories. A value of 0 indicates no caching.
use_namespaces bool
From Artifactory 7.24.1 (SaaS Version), you can explicitly state a specific aggregated local or remote repository to fetch from a virtual by assigning namespaces to local and remote repositories. See the documentation here. Default is false.
artifactoryRequestsCanRetrieveRemoteArtifacts Boolean
Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
defaultDeploymentRepo String
Default repository to deploy artifacts.
description String
Public description.
excludesPattern String
List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*.By default no artifacts are excluded.
includesPattern String
List of comma-separated artifact patterns to include when evaluating artifact requests in the form of x/y/**/z/*. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (**/*).
key Changes to this property will trigger replacement. String
A mandatory identifier for the repository that must be unique. It cannot begin with a number or contain spaces or special characters.
notes String
Internal description.
packageType Changes to this property will trigger replacement. String
projectEnvironments List<String>
projectKey String
Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
repoLayoutRef String
Repository layout key for the virtual repository
repositories List<String>
The effective list of actual repositories included in this virtual repository.
retrievalCachePeriodSeconds Number
This value refers to the number of seconds to cache metadata files before checking for newer versions on aggregated repositories. A value of 0 indicates no caching.
useNamespaces Boolean
From Artifactory 7.24.1 (SaaS Version), you can explicitly state a specific aggregated local or remote repository to fetch from a virtual by assigning namespaces to local and remote repositories. See the documentation here. Default is false.

Import

Virtual repositories can be imported using their name, e.g.

$ pulumi import artifactory:index/virtualHelmRepository:VirtualHelmRepository foo-helm-virtual foo-helm-virtual
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
artifactory pulumi/pulumi-artifactory
License
Apache-2.0
Notes
This Pulumi package is based on the artifactory Terraform Provider.