1. Packages
  2. Artifactory Provider
  3. API Docs
  4. getVirtualDebianRepository
artifactory v8.4.0 published on Tuesday, Nov 19, 2024 by Pulumi

artifactory.getVirtualDebianRepository

Explore with Pulumi AI

artifactory logo
artifactory v8.4.0 published on Tuesday, Nov 19, 2024 by Pulumi

    Retrieves a virtual Debian repository.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as artifactory from "@pulumi/artifactory";
    
    const virtual-debian = artifactory.getVirtualDebianRepository({
        key: "virtual-debian",
    });
    
    import pulumi
    import pulumi_artifactory as artifactory
    
    virtual_debian = artifactory.get_virtual_debian_repository(key="virtual-debian")
    
    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.LookupVirtualDebianRepository(ctx, &artifactory.LookupVirtualDebianRepositoryArgs{
    			Key: "virtual-debian",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Artifactory = Pulumi.Artifactory;
    
    return await Deployment.RunAsync(() => 
    {
        var virtual_debian = Artifactory.GetVirtualDebianRepository.Invoke(new()
        {
            Key = "virtual-debian",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.artifactory.ArtifactoryFunctions;
    import com.pulumi.artifactory.inputs.GetVirtualDebianRepositoryArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var virtual-debian = ArtifactoryFunctions.getVirtualDebianRepository(GetVirtualDebianRepositoryArgs.builder()
                .key("virtual-debian")
                .build());
    
        }
    }
    
    variables:
      virtual-debian:
        fn::invoke:
          Function: artifactory:getVirtualDebianRepository
          Arguments:
            key: virtual-debian
    

    Using getVirtualDebianRepository

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getVirtualDebianRepository(args: GetVirtualDebianRepositoryArgs, opts?: InvokeOptions): Promise<GetVirtualDebianRepositoryResult>
    function getVirtualDebianRepositoryOutput(args: GetVirtualDebianRepositoryOutputArgs, opts?: InvokeOptions): Output<GetVirtualDebianRepositoryResult>
    def get_virtual_debian_repository(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,
                                      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,
                                      opts: Optional[InvokeOptions] = None) -> GetVirtualDebianRepositoryResult
    def get_virtual_debian_repository_output(artifactory_requests_can_retrieve_remote_artifacts: Optional[pulumi.Input[bool]] = None,
                                      debian_default_architectures: Optional[pulumi.Input[str]] = None,
                                      default_deployment_repo: Optional[pulumi.Input[str]] = None,
                                      description: Optional[pulumi.Input[str]] = None,
                                      excludes_pattern: Optional[pulumi.Input[str]] = None,
                                      includes_pattern: Optional[pulumi.Input[str]] = None,
                                      key: Optional[pulumi.Input[str]] = None,
                                      notes: Optional[pulumi.Input[str]] = None,
                                      optional_index_compression_formats: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                      primary_keypair_ref: Optional[pulumi.Input[str]] = None,
                                      project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                      project_key: Optional[pulumi.Input[str]] = None,
                                      repo_layout_ref: Optional[pulumi.Input[str]] = None,
                                      repositories: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                      retrieval_cache_period_seconds: Optional[pulumi.Input[int]] = None,
                                      secondary_keypair_ref: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetVirtualDebianRepositoryResult]
    func LookupVirtualDebianRepository(ctx *Context, args *LookupVirtualDebianRepositoryArgs, opts ...InvokeOption) (*LookupVirtualDebianRepositoryResult, error)
    func LookupVirtualDebianRepositoryOutput(ctx *Context, args *LookupVirtualDebianRepositoryOutputArgs, opts ...InvokeOption) LookupVirtualDebianRepositoryResultOutput

    > Note: This function is named LookupVirtualDebianRepository in the Go SDK.

    public static class GetVirtualDebianRepository 
    {
        public static Task<GetVirtualDebianRepositoryResult> InvokeAsync(GetVirtualDebianRepositoryArgs args, InvokeOptions? opts = null)
        public static Output<GetVirtualDebianRepositoryResult> Invoke(GetVirtualDebianRepositoryInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVirtualDebianRepositoryResult> getVirtualDebianRepository(GetVirtualDebianRepositoryArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: artifactory:index/getVirtualDebianRepository:getVirtualDebianRepository
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Key string
    the identity key of the repo.
    ArtifactoryRequestsCanRetrieveRemoteArtifacts bool
    DebianDefaultArchitectures string
    (Optional) Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
    DefaultDeploymentRepo string
    Description string
    ExcludesPattern string
    IncludesPattern string
    Notes string
    OptionalIndexCompressionFormats List<string>
    (Optional) 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
    (Optional) Primary keypair used to sign artifacts. Default is empty.
    ProjectEnvironments List<string>
    ProjectKey string
    RepoLayoutRef string
    Repositories List<string>
    RetrievalCachePeriodSeconds int
    (Optional, Default: 7200) 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
    (Optional) Secondary keypair used to sign artifacts. Default is empty.
    Key string
    the identity key of the repo.
    ArtifactoryRequestsCanRetrieveRemoteArtifacts bool
    DebianDefaultArchitectures string
    (Optional) Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
    DefaultDeploymentRepo string
    Description string
    ExcludesPattern string
    IncludesPattern string
    Notes string
    OptionalIndexCompressionFormats []string
    (Optional) 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
    (Optional) Primary keypair used to sign artifacts. Default is empty.
    ProjectEnvironments []string
    ProjectKey string
    RepoLayoutRef string
    Repositories []string
    RetrievalCachePeriodSeconds int
    (Optional, Default: 7200) 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
    (Optional) Secondary keypair used to sign artifacts. Default is empty.
    key String
    the identity key of the repo.
    artifactoryRequestsCanRetrieveRemoteArtifacts Boolean
    debianDefaultArchitectures String
    (Optional) Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
    defaultDeploymentRepo String
    description String
    excludesPattern String
    includesPattern String
    notes String
    optionalIndexCompressionFormats List<String>
    (Optional) 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
    (Optional) Primary keypair used to sign artifacts. Default is empty.
    projectEnvironments List<String>
    projectKey String
    repoLayoutRef String
    repositories List<String>
    retrievalCachePeriodSeconds Integer
    (Optional, Default: 7200) 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
    (Optional) Secondary keypair used to sign artifacts. Default is empty.
    key string
    the identity key of the repo.
    artifactoryRequestsCanRetrieveRemoteArtifacts boolean
    debianDefaultArchitectures string
    (Optional) Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
    defaultDeploymentRepo string
    description string
    excludesPattern string
    includesPattern string
    notes string
    optionalIndexCompressionFormats string[]
    (Optional) 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
    (Optional) Primary keypair used to sign artifacts. Default is empty.
    projectEnvironments string[]
    projectKey string
    repoLayoutRef string
    repositories string[]
    retrievalCachePeriodSeconds number
    (Optional, Default: 7200) 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
    (Optional) Secondary keypair used to sign artifacts. Default is empty.
    key str
    the identity key of the repo.
    artifactory_requests_can_retrieve_remote_artifacts bool
    debian_default_architectures str
    (Optional) Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
    default_deployment_repo str
    description str
    excludes_pattern str
    includes_pattern str
    notes str
    optional_index_compression_formats Sequence[str]
    (Optional) 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
    (Optional) Primary keypair used to sign artifacts. Default is empty.
    project_environments Sequence[str]
    project_key str
    repo_layout_ref str
    repositories Sequence[str]
    retrieval_cache_period_seconds int
    (Optional, Default: 7200) 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
    (Optional) Secondary keypair used to sign artifacts. Default is empty.
    key String
    the identity key of the repo.
    artifactoryRequestsCanRetrieveRemoteArtifacts Boolean
    debianDefaultArchitectures String
    (Optional) Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
    defaultDeploymentRepo String
    description String
    excludesPattern String
    includesPattern String
    notes String
    optionalIndexCompressionFormats List<String>
    (Optional) 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
    (Optional) Primary keypair used to sign artifacts. Default is empty.
    projectEnvironments List<String>
    projectKey String
    repoLayoutRef String
    repositories List<String>
    retrievalCachePeriodSeconds Number
    (Optional, Default: 7200) 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
    (Optional) Secondary keypair used to sign artifacts. Default is empty.

    getVirtualDebianRepository Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Key string
    OptionalIndexCompressionFormats List<string>
    (Optional) 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
    ProjectEnvironments List<string>
    ArtifactoryRequestsCanRetrieveRemoteArtifacts bool
    DebianDefaultArchitectures string
    (Optional) Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
    DefaultDeploymentRepo string
    Description string
    ExcludesPattern string
    IncludesPattern string
    Notes string
    PrimaryKeypairRef string
    (Optional) Primary keypair used to sign artifacts. Default is empty.
    ProjectKey string
    RepoLayoutRef string
    Repositories List<string>
    RetrievalCachePeriodSeconds int
    (Optional, Default: 7200) 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
    (Optional) Secondary keypair used to sign artifacts. Default is empty.
    Id string
    The provider-assigned unique ID for this managed resource.
    Key string
    OptionalIndexCompressionFormats []string
    (Optional) 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
    ProjectEnvironments []string
    ArtifactoryRequestsCanRetrieveRemoteArtifacts bool
    DebianDefaultArchitectures string
    (Optional) Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
    DefaultDeploymentRepo string
    Description string
    ExcludesPattern string
    IncludesPattern string
    Notes string
    PrimaryKeypairRef string
    (Optional) Primary keypair used to sign artifacts. Default is empty.
    ProjectKey string
    RepoLayoutRef string
    Repositories []string
    RetrievalCachePeriodSeconds int
    (Optional, Default: 7200) 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
    (Optional) Secondary keypair used to sign artifacts. Default is empty.
    id String
    The provider-assigned unique ID for this managed resource.
    key String
    optionalIndexCompressionFormats List<String>
    (Optional) 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
    projectEnvironments List<String>
    artifactoryRequestsCanRetrieveRemoteArtifacts Boolean
    debianDefaultArchitectures String
    (Optional) Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
    defaultDeploymentRepo String
    description String
    excludesPattern String
    includesPattern String
    notes String
    primaryKeypairRef String
    (Optional) Primary keypair used to sign artifacts. Default is empty.
    projectKey String
    repoLayoutRef String
    repositories List<String>
    retrievalCachePeriodSeconds Integer
    (Optional, Default: 7200) 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
    (Optional) Secondary keypair used to sign artifacts. Default is empty.
    id string
    The provider-assigned unique ID for this managed resource.
    key string
    optionalIndexCompressionFormats string[]
    (Optional) 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
    projectEnvironments string[]
    artifactoryRequestsCanRetrieveRemoteArtifacts boolean
    debianDefaultArchitectures string
    (Optional) Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
    defaultDeploymentRepo string
    description string
    excludesPattern string
    includesPattern string
    notes string
    primaryKeypairRef string
    (Optional) Primary keypair used to sign artifacts. Default is empty.
    projectKey string
    repoLayoutRef string
    repositories string[]
    retrievalCachePeriodSeconds number
    (Optional, Default: 7200) 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
    (Optional) Secondary keypair used to sign artifacts. Default is empty.
    id str
    The provider-assigned unique ID for this managed resource.
    key str
    optional_index_compression_formats Sequence[str]
    (Optional) 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
    project_environments Sequence[str]
    artifactory_requests_can_retrieve_remote_artifacts bool
    debian_default_architectures str
    (Optional) Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
    default_deployment_repo str
    description str
    excludes_pattern str
    includes_pattern str
    notes str
    primary_keypair_ref str
    (Optional) Primary keypair used to sign artifacts. Default is empty.
    project_key str
    repo_layout_ref str
    repositories Sequence[str]
    retrieval_cache_period_seconds int
    (Optional, Default: 7200) 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
    (Optional) Secondary keypair used to sign artifacts. Default is empty.
    id String
    The provider-assigned unique ID for this managed resource.
    key String
    optionalIndexCompressionFormats List<String>
    (Optional) 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
    projectEnvironments List<String>
    artifactoryRequestsCanRetrieveRemoteArtifacts Boolean
    debianDefaultArchitectures String
    (Optional) Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
    defaultDeploymentRepo String
    description String
    excludesPattern String
    includesPattern String
    notes String
    primaryKeypairRef String
    (Optional) Primary keypair used to sign artifacts. Default is empty.
    projectKey String
    repoLayoutRef String
    repositories List<String>
    retrievalCachePeriodSeconds Number
    (Optional, Default: 7200) 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
    (Optional) Secondary keypair used to sign artifacts. Default is empty.

    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 v8.4.0 published on Tuesday, Nov 19, 2024 by Pulumi