1. Packages
  2. Artifactory
  3. API Docs
  4. VirtualOciRepository
artifactory v6.8.4 published on Thursday, Jun 6, 2024 by Pulumi

artifactory.VirtualOciRepository

Explore with Pulumi AI

artifactory logo
artifactory v6.8.4 published on Thursday, Jun 6, 2024 by Pulumi

    Creates a virtual OCI repository.

    Official documentation can be found here.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as artifactory from "@pulumi/artifactory";
    
    const my_oci_virtual = new artifactory.VirtualOciRepository("my-oci-virtual", {
        key: "my-oci-virtual",
        repositories: [
            "my-oci-local",
            "my-oci-remote",
        ],
        description: "A test virtual OCI repo",
        notes: "Internal description",
        resolveOciTagsByTimestamp: true,
    });
    
    import pulumi
    import pulumi_artifactory as artifactory
    
    my_oci_virtual = artifactory.VirtualOciRepository("my-oci-virtual",
        key="my-oci-virtual",
        repositories=[
            "my-oci-local",
            "my-oci-remote",
        ],
        description="A test virtual OCI repo",
        notes="Internal description",
        resolve_oci_tags_by_timestamp=True)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-artifactory/sdk/v6/go/artifactory"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := artifactory.NewVirtualOciRepository(ctx, "my-oci-virtual", &artifactory.VirtualOciRepositoryArgs{
    			Key: pulumi.String("my-oci-virtual"),
    			Repositories: pulumi.StringArray{
    				pulumi.String("my-oci-local"),
    				pulumi.String("my-oci-remote"),
    			},
    			Description:               pulumi.String("A test virtual OCI repo"),
    			Notes:                     pulumi.String("Internal description"),
    			ResolveOciTagsByTimestamp: pulumi.Bool(true),
    		})
    		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_oci_virtual = new Artifactory.VirtualOciRepository("my-oci-virtual", new()
        {
            Key = "my-oci-virtual",
            Repositories = new[]
            {
                "my-oci-local",
                "my-oci-remote",
            },
            Description = "A test virtual OCI repo",
            Notes = "Internal description",
            ResolveOciTagsByTimestamp = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.artifactory.VirtualOciRepository;
    import com.pulumi.artifactory.VirtualOciRepositoryArgs;
    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 my_oci_virtual = new VirtualOciRepository("my-oci-virtual", VirtualOciRepositoryArgs.builder()
                .key("my-oci-virtual")
                .repositories(            
                    "my-oci-local",
                    "my-oci-remote")
                .description("A test virtual OCI repo")
                .notes("Internal description")
                .resolveOciTagsByTimestamp(true)
                .build());
    
        }
    }
    
    resources:
      my-oci-virtual:
        type: artifactory:VirtualOciRepository
        properties:
          key: my-oci-virtual
          repositories:
            - my-oci-local
            - my-oci-remote
          description: A test virtual OCI repo
          notes: Internal description
          resolveOciTagsByTimestamp: true
    

    Create VirtualOciRepository Resource

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

    Constructor syntax

    new VirtualOciRepository(name: string, args: VirtualOciRepositoryArgs, opts?: CustomResourceOptions);
    @overload
    def VirtualOciRepository(resource_name: str,
                             args: VirtualOciRepositoryArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def VirtualOciRepository(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             key: Optional[str] = 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,
                             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)
    func NewVirtualOciRepository(ctx *Context, name string, args VirtualOciRepositoryArgs, opts ...ResourceOption) (*VirtualOciRepository, error)
    public VirtualOciRepository(string name, VirtualOciRepositoryArgs args, CustomResourceOptions? opts = null)
    public VirtualOciRepository(String name, VirtualOciRepositoryArgs args)
    public VirtualOciRepository(String name, VirtualOciRepositoryArgs args, CustomResourceOptions options)
    
    type: artifactory:VirtualOciRepository
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args VirtualOciRepositoryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args VirtualOciRepositoryArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args VirtualOciRepositoryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VirtualOciRepositoryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VirtualOciRepositoryArgs
    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 virtualOciRepositoryResource = new Artifactory.VirtualOciRepository("virtualOciRepositoryResource", new()
    {
        Key = "string",
        ArtifactoryRequestsCanRetrieveRemoteArtifacts = false,
        DefaultDeploymentRepo = "string",
        Description = "string",
        ExcludesPattern = "string",
        IncludesPattern = "string",
        Notes = "string",
        ProjectEnvironments = new[]
        {
            "string",
        },
        ProjectKey = "string",
        RepoLayoutRef = "string",
        Repositories = new[]
        {
            "string",
        },
        ResolveOciTagsByTimestamp = false,
    });
    
    example, err := artifactory.NewVirtualOciRepository(ctx, "virtualOciRepositoryResource", &artifactory.VirtualOciRepositoryArgs{
    	Key: pulumi.String("string"),
    	ArtifactoryRequestsCanRetrieveRemoteArtifacts: pulumi.Bool(false),
    	DefaultDeploymentRepo:                         pulumi.String("string"),
    	Description:                                   pulumi.String("string"),
    	ExcludesPattern:                               pulumi.String("string"),
    	IncludesPattern:                               pulumi.String("string"),
    	Notes:                                         pulumi.String("string"),
    	ProjectEnvironments: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ProjectKey:    pulumi.String("string"),
    	RepoLayoutRef: pulumi.String("string"),
    	Repositories: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ResolveOciTagsByTimestamp: pulumi.Bool(false),
    })
    
    var virtualOciRepositoryResource = new VirtualOciRepository("virtualOciRepositoryResource", VirtualOciRepositoryArgs.builder()
        .key("string")
        .artifactoryRequestsCanRetrieveRemoteArtifacts(false)
        .defaultDeploymentRepo("string")
        .description("string")
        .excludesPattern("string")
        .includesPattern("string")
        .notes("string")
        .projectEnvironments("string")
        .projectKey("string")
        .repoLayoutRef("string")
        .repositories("string")
        .resolveOciTagsByTimestamp(false)
        .build());
    
    virtual_oci_repository_resource = artifactory.VirtualOciRepository("virtualOciRepositoryResource",
        key="string",
        artifactory_requests_can_retrieve_remote_artifacts=False,
        default_deployment_repo="string",
        description="string",
        excludes_pattern="string",
        includes_pattern="string",
        notes="string",
        project_environments=["string"],
        project_key="string",
        repo_layout_ref="string",
        repositories=["string"],
        resolve_oci_tags_by_timestamp=False)
    
    const virtualOciRepositoryResource = new artifactory.VirtualOciRepository("virtualOciRepositoryResource", {
        key: "string",
        artifactoryRequestsCanRetrieveRemoteArtifacts: false,
        defaultDeploymentRepo: "string",
        description: "string",
        excludesPattern: "string",
        includesPattern: "string",
        notes: "string",
        projectEnvironments: ["string"],
        projectKey: "string",
        repoLayoutRef: "string",
        repositories: ["string"],
        resolveOciTagsByTimestamp: false,
    });
    
    type: artifactory:VirtualOciRepository
    properties:
        artifactoryRequestsCanRetrieveRemoteArtifacts: false
        defaultDeploymentRepo: string
        description: string
        excludesPattern: string
        includesPattern: string
        key: string
        notes: string
        projectEnvironments:
            - string
        projectKey: string
        repoLayoutRef: string
        repositories:
            - string
        resolveOciTagsByTimestamp: false
    

    VirtualOciRepository Resource Properties

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

    Inputs

    The VirtualOciRepository resource accepts the following input properties:

    Key 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.
    ResolveOciTagsByTimestamp bool
    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
    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.
    ResolveOciTagsByTimestamp bool
    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
    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.
    resolveOciTagsByTimestamp Boolean
    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
    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.
    resolveOciTagsByTimestamp boolean
    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
    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.
    resolve_oci_tags_by_timestamp bool
    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
    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.
    resolveOciTagsByTimestamp Boolean
    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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the VirtualOciRepository 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 VirtualOciRepository Resource

    Get an existing VirtualOciRepository 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?: VirtualOciRepositoryState, opts?: CustomResourceOptions): VirtualOciRepository
    @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,
            resolve_oci_tags_by_timestamp: Optional[bool] = None) -> VirtualOciRepository
    func GetVirtualOciRepository(ctx *Context, name string, id IDInput, state *VirtualOciRepositoryState, opts ...ResourceOption) (*VirtualOciRepository, error)
    public static VirtualOciRepository Get(string name, Input<string> id, VirtualOciRepositoryState? state, CustomResourceOptions? opts = null)
    public static VirtualOciRepository get(String name, Output<String> id, VirtualOciRepositoryState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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 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 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.
    ResolveOciTagsByTimestamp bool
    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.
    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 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 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.
    ResolveOciTagsByTimestamp bool
    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.
    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 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 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.
    resolveOciTagsByTimestamp Boolean
    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.
    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 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 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.
    resolveOciTagsByTimestamp boolean
    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.
    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 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 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.
    resolve_oci_tags_by_timestamp bool
    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.
    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 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 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.
    resolveOciTagsByTimestamp Boolean
    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.

    Import

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

    $ pulumi import artifactory:index/virtualOciRepository:VirtualOciRepository my-oci-virtual my-oci-virtual
    

    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.
    artifactory logo
    artifactory v6.8.4 published on Thursday, Jun 6, 2024 by Pulumi