artifactory v8.4.0 published on Tuesday, Nov 19, 2024 by Pulumi
artifactory.getVirtualDebianRepository
Explore with Pulumi AI
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.
- Artifactory
Requests boolCan Retrieve Remote Artifacts - Debian
Default stringArchitectures - (Optional) Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
- Default
Deployment stringRepo - Description string
- Excludes
Pattern string - Includes
Pattern string - Notes string
- Optional
Index List<string>Compression Formats - (Optional) Index file formats you would like to create in addition to the default Gzip (.gzip extension). Supported values are
bz2
,lzma
andxz
. Default value isbz2
. - Primary
Keypair stringRef - (Optional) Primary keypair used to sign artifacts. Default is empty.
- Project
Environments List<string> - Project
Key string - Repo
Layout stringRef - Repositories List<string>
- Retrieval
Cache intPeriod Seconds - (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 stringRef - (Optional) Secondary keypair used to sign artifacts. Default is empty.
- Key string
- the identity key of the repo.
- Artifactory
Requests boolCan Retrieve Remote Artifacts - Debian
Default stringArchitectures - (Optional) Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
- Default
Deployment stringRepo - Description string
- Excludes
Pattern string - Includes
Pattern string - Notes string
- Optional
Index []stringCompression Formats - (Optional) Index file formats you would like to create in addition to the default Gzip (.gzip extension). Supported values are
bz2
,lzma
andxz
. Default value isbz2
. - Primary
Keypair stringRef - (Optional) Primary keypair used to sign artifacts. Default is empty.
- Project
Environments []string - Project
Key string - Repo
Layout stringRef - Repositories []string
- Retrieval
Cache intPeriod Seconds - (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 stringRef - (Optional) Secondary keypair used to sign artifacts. Default is empty.
- key String
- the identity key of the repo.
- artifactory
Requests BooleanCan Retrieve Remote Artifacts - debian
Default StringArchitectures - (Optional) Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
- default
Deployment StringRepo - description String
- excludes
Pattern String - includes
Pattern String - notes String
- optional
Index List<String>Compression Formats - (Optional) Index file formats you would like to create in addition to the default Gzip (.gzip extension). Supported values are
bz2
,lzma
andxz
. Default value isbz2
. - primary
Keypair StringRef - (Optional) Primary keypair used to sign artifacts. Default is empty.
- project
Environments List<String> - project
Key String - repo
Layout StringRef - repositories List<String>
- retrieval
Cache IntegerPeriod Seconds - (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 StringRef - (Optional) Secondary keypair used to sign artifacts. Default is empty.
- key string
- the identity key of the repo.
- artifactory
Requests booleanCan Retrieve Remote Artifacts - debian
Default stringArchitectures - (Optional) Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
- default
Deployment stringRepo - description string
- excludes
Pattern string - includes
Pattern string - notes string
- optional
Index string[]Compression Formats - (Optional) Index file formats you would like to create in addition to the default Gzip (.gzip extension). Supported values are
bz2
,lzma
andxz
. Default value isbz2
. - primary
Keypair stringRef - (Optional) Primary keypair used to sign artifacts. Default is empty.
- project
Environments string[] - project
Key string - repo
Layout stringRef - repositories string[]
- retrieval
Cache numberPeriod Seconds - (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 stringRef - (Optional) Secondary keypair used to sign artifacts. Default is empty.
- key str
- the identity key of the repo.
- artifactory_
requests_ boolcan_ retrieve_ remote_ artifacts - debian_
default_ strarchitectures - (Optional) Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
- default_
deployment_ strrepo - description str
- excludes_
pattern str - includes_
pattern str - notes str
- optional_
index_ Sequence[str]compression_ formats - (Optional) Index file formats you would like to create in addition to the default Gzip (.gzip extension). Supported values are
bz2
,lzma
andxz
. Default value isbz2
. - primary_
keypair_ strref - (Optional) Primary keypair used to sign artifacts. Default is empty.
- project_
environments Sequence[str] - project_
key str - repo_
layout_ strref - repositories Sequence[str]
- retrieval_
cache_ intperiod_ seconds - (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_ strref - (Optional) Secondary keypair used to sign artifacts. Default is empty.
- key String
- the identity key of the repo.
- artifactory
Requests BooleanCan Retrieve Remote Artifacts - debian
Default StringArchitectures - (Optional) Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
- default
Deployment StringRepo - description String
- excludes
Pattern String - includes
Pattern String - notes String
- optional
Index List<String>Compression Formats - (Optional) Index file formats you would like to create in addition to the default Gzip (.gzip extension). Supported values are
bz2
,lzma
andxz
. Default value isbz2
. - primary
Keypair StringRef - (Optional) Primary keypair used to sign artifacts. Default is empty.
- project
Environments List<String> - project
Key String - repo
Layout StringRef - repositories List<String>
- retrieval
Cache NumberPeriod Seconds - (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 StringRef - (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
- Optional
Index List<string>Compression Formats - (Optional) Index file formats you would like to create in addition to the default Gzip (.gzip extension). Supported values are
bz2
,lzma
andxz
. Default value isbz2
. - Package
Type string - Project
Environments List<string> - Artifactory
Requests boolCan Retrieve Remote Artifacts - Debian
Default stringArchitectures - (Optional) Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
- Default
Deployment stringRepo - Description string
- Excludes
Pattern string - Includes
Pattern string - Notes string
- Primary
Keypair stringRef - (Optional) Primary keypair used to sign artifacts. Default is empty.
- Project
Key string - Repo
Layout stringRef - Repositories List<string>
- Retrieval
Cache intPeriod Seconds - (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 stringRef - (Optional) Secondary keypair used to sign artifacts. Default is empty.
- Id string
- The provider-assigned unique ID for this managed resource.
- Key string
- Optional
Index []stringCompression Formats - (Optional) Index file formats you would like to create in addition to the default Gzip (.gzip extension). Supported values are
bz2
,lzma
andxz
. Default value isbz2
. - Package
Type string - Project
Environments []string - Artifactory
Requests boolCan Retrieve Remote Artifacts - Debian
Default stringArchitectures - (Optional) Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
- Default
Deployment stringRepo - Description string
- Excludes
Pattern string - Includes
Pattern string - Notes string
- Primary
Keypair stringRef - (Optional) Primary keypair used to sign artifacts. Default is empty.
- Project
Key string - Repo
Layout stringRef - Repositories []string
- Retrieval
Cache intPeriod Seconds - (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 stringRef - (Optional) Secondary keypair used to sign artifacts. Default is empty.
- id String
- The provider-assigned unique ID for this managed resource.
- key String
- optional
Index List<String>Compression Formats - (Optional) Index file formats you would like to create in addition to the default Gzip (.gzip extension). Supported values are
bz2
,lzma
andxz
. Default value isbz2
. - package
Type String - project
Environments List<String> - artifactory
Requests BooleanCan Retrieve Remote Artifacts - debian
Default StringArchitectures - (Optional) Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
- default
Deployment StringRepo - description String
- excludes
Pattern String - includes
Pattern String - notes String
- primary
Keypair StringRef - (Optional) Primary keypair used to sign artifacts. Default is empty.
- project
Key String - repo
Layout StringRef - repositories List<String>
- retrieval
Cache IntegerPeriod Seconds - (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 StringRef - (Optional) Secondary keypair used to sign artifacts. Default is empty.
- id string
- The provider-assigned unique ID for this managed resource.
- key string
- optional
Index string[]Compression Formats - (Optional) Index file formats you would like to create in addition to the default Gzip (.gzip extension). Supported values are
bz2
,lzma
andxz
. Default value isbz2
. - package
Type string - project
Environments string[] - artifactory
Requests booleanCan Retrieve Remote Artifacts - debian
Default stringArchitectures - (Optional) Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
- default
Deployment stringRepo - description string
- excludes
Pattern string - includes
Pattern string - notes string
- primary
Keypair stringRef - (Optional) Primary keypair used to sign artifacts. Default is empty.
- project
Key string - repo
Layout stringRef - repositories string[]
- retrieval
Cache numberPeriod Seconds - (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 stringRef - (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_ Sequence[str]compression_ formats - (Optional) Index file formats you would like to create in addition to the default Gzip (.gzip extension). Supported values are
bz2
,lzma
andxz
. Default value isbz2
. - package_
type str - project_
environments Sequence[str] - artifactory_
requests_ boolcan_ retrieve_ remote_ artifacts - debian_
default_ strarchitectures - (Optional) Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
- default_
deployment_ strrepo - description str
- excludes_
pattern str - includes_
pattern str - notes str
- primary_
keypair_ strref - (Optional) Primary keypair used to sign artifacts. Default is empty.
- project_
key str - repo_
layout_ strref - repositories Sequence[str]
- retrieval_
cache_ intperiod_ seconds - (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_ strref - (Optional) Secondary keypair used to sign artifacts. Default is empty.
- id String
- The provider-assigned unique ID for this managed resource.
- key String
- optional
Index List<String>Compression Formats - (Optional) Index file formats you would like to create in addition to the default Gzip (.gzip extension). Supported values are
bz2
,lzma
andxz
. Default value isbz2
. - package
Type String - project
Environments List<String> - artifactory
Requests BooleanCan Retrieve Remote Artifacts - debian
Default StringArchitectures - (Optional) Specifying architectures will speed up Artifactory's initial metadata indexing process. The default architecture values are amd64 and i386.
- default
Deployment StringRepo - description String
- excludes
Pattern String - includes
Pattern String - notes String
- primary
Keypair StringRef - (Optional) Primary keypair used to sign artifacts. Default is empty.
- project
Key String - repo
Layout StringRef - repositories List<String>
- retrieval
Cache NumberPeriod Seconds - (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 StringRef - (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.