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

artifactory.VirtualDebianRepository

Explore with Pulumi AI

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

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as artifactory from "@pulumi/artifactory";
    
    const foo_debian = new artifactory.VirtualDebianRepository("foo-debian", {
        key: "foo-debian",
        repositories: [],
        description: "A test virtual repo",
        notes: "Internal description",
        includesPattern: "com/jfrog/**,cloud/jfrog/**",
        excludesPattern: "com/google/**",
        optionalIndexCompressionFormats: [
            "bz2",
            "xz",
        ],
        debianDefaultArchitectures: "amd64,i386",
    });
    
    import pulumi
    import pulumi_artifactory as artifactory
    
    foo_debian = artifactory.VirtualDebianRepository("foo-debian",
        key="foo-debian",
        repositories=[],
        description="A test virtual repo",
        notes="Internal description",
        includes_pattern="com/jfrog/**,cloud/jfrog/**",
        excludes_pattern="com/google/**",
        optional_index_compression_formats=[
            "bz2",
            "xz",
        ],
        debian_default_architectures="amd64,i386")
    
    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.NewVirtualDebianRepository(ctx, "foo-debian", &artifactory.VirtualDebianRepositoryArgs{
    			Key:             pulumi.String("foo-debian"),
    			Repositories:    pulumi.StringArray{},
    			Description:     pulumi.String("A test virtual repo"),
    			Notes:           pulumi.String("Internal description"),
    			IncludesPattern: pulumi.String("com/jfrog/**,cloud/jfrog/**"),
    			ExcludesPattern: pulumi.String("com/google/**"),
    			OptionalIndexCompressionFormats: pulumi.StringArray{
    				pulumi.String("bz2"),
    				pulumi.String("xz"),
    			},
    			DebianDefaultArchitectures: pulumi.String("amd64,i386"),
    		})
    		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 foo_debian = new Artifactory.VirtualDebianRepository("foo-debian", new()
        {
            Key = "foo-debian",
            Repositories = new[] {},
            Description = "A test virtual repo",
            Notes = "Internal description",
            IncludesPattern = "com/jfrog/**,cloud/jfrog/**",
            ExcludesPattern = "com/google/**",
            OptionalIndexCompressionFormats = new[]
            {
                "bz2",
                "xz",
            },
            DebianDefaultArchitectures = "amd64,i386",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.artifactory.VirtualDebianRepository;
    import com.pulumi.artifactory.VirtualDebianRepositoryArgs;
    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_debian = new VirtualDebianRepository("foo-debian", VirtualDebianRepositoryArgs.builder()
                .key("foo-debian")
                .repositories()
                .description("A test virtual repo")
                .notes("Internal description")
                .includesPattern("com/jfrog/**,cloud/jfrog/**")
                .excludesPattern("com/google/**")
                .optionalIndexCompressionFormats(            
                    "bz2",
                    "xz")
                .debianDefaultArchitectures("amd64,i386")
                .build());
    
        }
    }
    
    resources:
      foo-debian:
        type: artifactory:VirtualDebianRepository
        properties:
          key: foo-debian
          repositories: []
          description: A test virtual repo
          notes: Internal description
          includesPattern: com/jfrog/**,cloud/jfrog/**
          excludesPattern: com/google/**
          optionalIndexCompressionFormats:
            - bz2
            - xz
          debianDefaultArchitectures: amd64,i386
    

    Create VirtualDebianRepository Resource

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

    Constructor syntax

    new VirtualDebianRepository(name: string, args: VirtualDebianRepositoryArgs, opts?: CustomResourceOptions);
    @overload
    def VirtualDebianRepository(resource_name: str,
                                args: VirtualDebianRepositoryArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def VirtualDebianRepository(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                key: Optional[str] = None,
                                optional_index_compression_formats: Optional[Sequence[str]] = None,
                                primary_keypair_ref: Optional[str] = None,
                                description: Optional[str] = None,
                                excludes_pattern: Optional[str] = None,
                                includes_pattern: Optional[str] = None,
                                debian_default_architectures: Optional[str] = None,
                                default_deployment_repo: Optional[str] = None,
                                artifactory_requests_can_retrieve_remote_artifacts: Optional[bool] = 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,
                                retrieval_cache_period_seconds: Optional[int] = None,
                                secondary_keypair_ref: Optional[str] = None)
    func NewVirtualDebianRepository(ctx *Context, name string, args VirtualDebianRepositoryArgs, opts ...ResourceOption) (*VirtualDebianRepository, error)
    public VirtualDebianRepository(string name, VirtualDebianRepositoryArgs args, CustomResourceOptions? opts = null)
    public VirtualDebianRepository(String name, VirtualDebianRepositoryArgs args)
    public VirtualDebianRepository(String name, VirtualDebianRepositoryArgs args, CustomResourceOptions options)
    
    type: artifactory:VirtualDebianRepository
    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 VirtualDebianRepositoryArgs
    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 VirtualDebianRepositoryArgs
    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 VirtualDebianRepositoryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VirtualDebianRepositoryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VirtualDebianRepositoryArgs
    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 virtualDebianRepositoryResource = new Artifactory.VirtualDebianRepository("virtualDebianRepositoryResource", new()
    {
        Key = "string",
        OptionalIndexCompressionFormats = new[]
        {
            "string",
        },
        PrimaryKeypairRef = "string",
        Description = "string",
        ExcludesPattern = "string",
        IncludesPattern = "string",
        DebianDefaultArchitectures = "string",
        DefaultDeploymentRepo = "string",
        ArtifactoryRequestsCanRetrieveRemoteArtifacts = false,
        Notes = "string",
        ProjectEnvironments = new[]
        {
            "string",
        },
        ProjectKey = "string",
        RepoLayoutRef = "string",
        Repositories = new[]
        {
            "string",
        },
        RetrievalCachePeriodSeconds = 0,
        SecondaryKeypairRef = "string",
    });
    
    example, err := artifactory.NewVirtualDebianRepository(ctx, "virtualDebianRepositoryResource", &artifactory.VirtualDebianRepositoryArgs{
    	Key: pulumi.String("string"),
    	OptionalIndexCompressionFormats: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	PrimaryKeypairRef:          pulumi.String("string"),
    	Description:                pulumi.String("string"),
    	ExcludesPattern:            pulumi.String("string"),
    	IncludesPattern:            pulumi.String("string"),
    	DebianDefaultArchitectures: pulumi.String("string"),
    	DefaultDeploymentRepo:      pulumi.String("string"),
    	ArtifactoryRequestsCanRetrieveRemoteArtifacts: pulumi.Bool(false),
    	Notes: pulumi.String("string"),
    	ProjectEnvironments: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ProjectKey:    pulumi.String("string"),
    	RepoLayoutRef: pulumi.String("string"),
    	Repositories: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	RetrievalCachePeriodSeconds: pulumi.Int(0),
    	SecondaryKeypairRef:         pulumi.String("string"),
    })
    
    var virtualDebianRepositoryResource = new VirtualDebianRepository("virtualDebianRepositoryResource", VirtualDebianRepositoryArgs.builder()
        .key("string")
        .optionalIndexCompressionFormats("string")
        .primaryKeypairRef("string")
        .description("string")
        .excludesPattern("string")
        .includesPattern("string")
        .debianDefaultArchitectures("string")
        .defaultDeploymentRepo("string")
        .artifactoryRequestsCanRetrieveRemoteArtifacts(false)
        .notes("string")
        .projectEnvironments("string")
        .projectKey("string")
        .repoLayoutRef("string")
        .repositories("string")
        .retrievalCachePeriodSeconds(0)
        .secondaryKeypairRef("string")
        .build());
    
    virtual_debian_repository_resource = artifactory.VirtualDebianRepository("virtualDebianRepositoryResource",
        key="string",
        optional_index_compression_formats=["string"],
        primary_keypair_ref="string",
        description="string",
        excludes_pattern="string",
        includes_pattern="string",
        debian_default_architectures="string",
        default_deployment_repo="string",
        artifactory_requests_can_retrieve_remote_artifacts=False,
        notes="string",
        project_environments=["string"],
        project_key="string",
        repo_layout_ref="string",
        repositories=["string"],
        retrieval_cache_period_seconds=0,
        secondary_keypair_ref="string")
    
    const virtualDebianRepositoryResource = new artifactory.VirtualDebianRepository("virtualDebianRepositoryResource", {
        key: "string",
        optionalIndexCompressionFormats: ["string"],
        primaryKeypairRef: "string",
        description: "string",
        excludesPattern: "string",
        includesPattern: "string",
        debianDefaultArchitectures: "string",
        defaultDeploymentRepo: "string",
        artifactoryRequestsCanRetrieveRemoteArtifacts: false,
        notes: "string",
        projectEnvironments: ["string"],
        projectKey: "string",
        repoLayoutRef: "string",
        repositories: ["string"],
        retrievalCachePeriodSeconds: 0,
        secondaryKeypairRef: "string",
    });
    
    type: artifactory:VirtualDebianRepository
    properties:
        artifactoryRequestsCanRetrieveRemoteArtifacts: false
        debianDefaultArchitectures: string
        defaultDeploymentRepo: string
        description: string
        excludesPattern: string
        includesPattern: string
        key: string
        notes: string
        optionalIndexCompressionFormats:
            - string
        primaryKeypairRef: string
        projectEnvironments:
            - string
        projectKey: string
        repoLayoutRef: string
        repositories:
            - string
        retrievalCachePeriodSeconds: 0
        secondaryKeypairRef: string
    

    VirtualDebianRepository 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 VirtualDebianRepository 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.
    DebianDefaultArchitectures string
    Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
    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.
    OptionalIndexCompressionFormats List<string>
    Index file formats you would like to create in addition to the default Gzip (.gzip extension). Supported values are bz2,lzma and xz. Default value is bz2.
    PrimaryKeypairRef string
    Primary keypair used to sign artifacts. Default is empty.
    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.
    SecondaryKeypairRef string
    Secondary keypair used to sign artifacts. Default is empty.
    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.
    DebianDefaultArchitectures string
    Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
    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.
    OptionalIndexCompressionFormats []string
    Index file formats you would like to create in addition to the default Gzip (.gzip extension). Supported values are bz2,lzma and xz. Default value is bz2.
    PrimaryKeypairRef string
    Primary keypair used to sign artifacts. Default is empty.
    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.
    SecondaryKeypairRef string
    Secondary keypair used to sign artifacts. Default is empty.
    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.
    debianDefaultArchitectures String
    Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
    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.
    optionalIndexCompressionFormats List<String>
    Index file formats you would like to create in addition to the default Gzip (.gzip extension). Supported values are bz2,lzma and xz. Default value is bz2.
    primaryKeypairRef String
    Primary keypair used to sign artifacts. Default is empty.
    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.
    secondaryKeypairRef String
    Secondary keypair used to sign artifacts. Default is empty.
    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.
    debianDefaultArchitectures string
    Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
    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.
    optionalIndexCompressionFormats string[]
    Index file formats you would like to create in addition to the default Gzip (.gzip extension). Supported values are bz2,lzma and xz. Default value is bz2.
    primaryKeypairRef string
    Primary keypair used to sign artifacts. Default is empty.
    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.
    secondaryKeypairRef string
    Secondary keypair used to sign artifacts. Default is empty.
    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.
    debian_default_architectures str
    Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
    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.
    optional_index_compression_formats Sequence[str]
    Index file formats you would like to create in addition to the default Gzip (.gzip extension). Supported values are bz2,lzma and xz. Default value is bz2.
    primary_keypair_ref str
    Primary keypair used to sign artifacts. Default is empty.
    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.
    secondary_keypair_ref str
    Secondary keypair used to sign artifacts. Default is empty.
    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.
    debianDefaultArchitectures String
    Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
    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.
    optionalIndexCompressionFormats List<String>
    Index file formats you would like to create in addition to the default Gzip (.gzip extension). Supported values are bz2,lzma and xz. Default value is bz2.
    primaryKeypairRef String
    Primary keypair used to sign artifacts. Default is empty.
    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.
    secondaryKeypairRef String
    Secondary keypair used to sign artifacts. Default is empty.

    Outputs

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

    Get an existing VirtualDebianRepository 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?: VirtualDebianRepositoryState, opts?: CustomResourceOptions): VirtualDebianRepository
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            artifactory_requests_can_retrieve_remote_artifacts: Optional[bool] = None,
            debian_default_architectures: Optional[str] = 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,
            optional_index_compression_formats: Optional[Sequence[str]] = None,
            package_type: Optional[str] = None,
            primary_keypair_ref: 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,
            secondary_keypair_ref: Optional[str] = None) -> VirtualDebianRepository
    func GetVirtualDebianRepository(ctx *Context, name string, id IDInput, state *VirtualDebianRepositoryState, opts ...ResourceOption) (*VirtualDebianRepository, error)
    public static VirtualDebianRepository Get(string name, Input<string> id, VirtualDebianRepositoryState? state, CustomResourceOptions? opts = null)
    public static VirtualDebianRepository get(String name, Output<String> id, VirtualDebianRepositoryState 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.
    DebianDefaultArchitectures string
    Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
    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.
    OptionalIndexCompressionFormats List<string>
    Index file formats you would like to create in addition to the default Gzip (.gzip extension). Supported values are bz2,lzma and xz. Default value is bz2.
    PackageType string
    PrimaryKeypairRef string
    Primary keypair used to sign artifacts. Default is empty.
    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.
    SecondaryKeypairRef string
    Secondary keypair used to sign artifacts. Default is empty.
    ArtifactoryRequestsCanRetrieveRemoteArtifacts bool
    Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
    DebianDefaultArchitectures string
    Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
    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.
    OptionalIndexCompressionFormats []string
    Index file formats you would like to create in addition to the default Gzip (.gzip extension). Supported values are bz2,lzma and xz. Default value is bz2.
    PackageType string
    PrimaryKeypairRef string
    Primary keypair used to sign artifacts. Default is empty.
    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.
    SecondaryKeypairRef string
    Secondary keypair used to sign artifacts. Default is empty.
    artifactoryRequestsCanRetrieveRemoteArtifacts Boolean
    Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
    debianDefaultArchitectures String
    Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
    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.
    optionalIndexCompressionFormats List<String>
    Index file formats you would like to create in addition to the default Gzip (.gzip extension). Supported values are bz2,lzma and xz. Default value is bz2.
    packageType String
    primaryKeypairRef String
    Primary keypair used to sign artifacts. Default is empty.
    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.
    secondaryKeypairRef String
    Secondary keypair used to sign artifacts. Default is empty.
    artifactoryRequestsCanRetrieveRemoteArtifacts boolean
    Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
    debianDefaultArchitectures string
    Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
    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.
    optionalIndexCompressionFormats string[]
    Index file formats you would like to create in addition to the default Gzip (.gzip extension). Supported values are bz2,lzma and xz. Default value is bz2.
    packageType string
    primaryKeypairRef string
    Primary keypair used to sign artifacts. Default is empty.
    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.
    secondaryKeypairRef string
    Secondary keypair used to sign artifacts. Default is empty.
    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.
    debian_default_architectures str
    Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
    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.
    optional_index_compression_formats Sequence[str]
    Index file formats you would like to create in addition to the default Gzip (.gzip extension). Supported values are bz2,lzma and xz. Default value is bz2.
    package_type str
    primary_keypair_ref str
    Primary keypair used to sign artifacts. Default is empty.
    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.
    secondary_keypair_ref str
    Secondary keypair used to sign artifacts. Default is empty.
    artifactoryRequestsCanRetrieveRemoteArtifacts Boolean
    Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
    debianDefaultArchitectures String
    Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
    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.
    optionalIndexCompressionFormats List<String>
    Index file formats you would like to create in addition to the default Gzip (.gzip extension). Supported values are bz2,lzma and xz. Default value is bz2.
    packageType String
    primaryKeypairRef String
    Primary keypair used to sign artifacts. Default is empty.
    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.
    secondaryKeypairRef String
    Secondary keypair used to sign artifacts. Default is empty.

    Import

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

    $ pulumi import artifactory:index/virtualDebianRepository:VirtualDebianRepository foo-debian foo-debian
    

    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