artifactory.VirtualRpmRepository
Explore with Pulumi AI
Creates a virtual Rpm repository. Official documentation can be found here.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as artifactory from "@pulumi/artifactory";
import * as std from "@pulumi/std";
const primary_keypair = new artifactory.Keypair("primary-keypair", {
pairName: "primary-keypair",
pairType: "GPG",
alias: "foo-alias-1",
privateKey: std.file({
input: "samples/gpg.priv",
}).then(invoke => invoke.result),
publicKey: std.file({
input: "samples/gpg.pub",
}).then(invoke => invoke.result),
});
const secondary_keypair = new artifactory.Keypair("secondary-keypair", {
pairName: "secondary-keypair",
pairType: "GPG",
alias: "foo-alias-2",
privateKey: std.file({
input: "samples/gpg.priv",
}).then(invoke => invoke.result),
publicKey: std.file({
input: "samples/gpg.pub",
}).then(invoke => invoke.result),
});
const foo_rpm_virtual = new artifactory.VirtualRpmRepository("foo-rpm-virtual", {
key: "foo-rpm-virtual",
primaryKeypairRef: primary_keypair.pairName,
secondaryKeypairRef: secondary_keypair.pairName,
}, {
dependsOn: [
primary_keypair,
secondary_keypair,
],
});
import pulumi
import pulumi_artifactory as artifactory
import pulumi_std as std
primary_keypair = artifactory.Keypair("primary-keypair",
pair_name="primary-keypair",
pair_type="GPG",
alias="foo-alias-1",
private_key=std.file(input="samples/gpg.priv").result,
public_key=std.file(input="samples/gpg.pub").result)
secondary_keypair = artifactory.Keypair("secondary-keypair",
pair_name="secondary-keypair",
pair_type="GPG",
alias="foo-alias-2",
private_key=std.file(input="samples/gpg.priv").result,
public_key=std.file(input="samples/gpg.pub").result)
foo_rpm_virtual = artifactory.VirtualRpmRepository("foo-rpm-virtual",
key="foo-rpm-virtual",
primary_keypair_ref=primary_keypair.pair_name,
secondary_keypair_ref=secondary_keypair.pair_name,
opts = pulumi.ResourceOptions(depends_on=[
primary_keypair,
secondary_keypair,
]))
package main
import (
"github.com/pulumi/pulumi-artifactory/sdk/v8/go/artifactory"
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
invokeFile, err := std.File(ctx, &std.FileArgs{
Input: "samples/gpg.priv",
}, nil)
if err != nil {
return err
}
invokeFile1, err := std.File(ctx, &std.FileArgs{
Input: "samples/gpg.pub",
}, nil)
if err != nil {
return err
}
_, err = artifactory.NewKeypair(ctx, "primary-keypair", &artifactory.KeypairArgs{
PairName: pulumi.String("primary-keypair"),
PairType: pulumi.String("GPG"),
Alias: pulumi.String("foo-alias-1"),
PrivateKey: pulumi.String(invokeFile.Result),
PublicKey: pulumi.String(invokeFile1.Result),
})
if err != nil {
return err
}
invokeFile2, err := std.File(ctx, &std.FileArgs{
Input: "samples/gpg.priv",
}, nil)
if err != nil {
return err
}
invokeFile3, err := std.File(ctx, &std.FileArgs{
Input: "samples/gpg.pub",
}, nil)
if err != nil {
return err
}
_, err = artifactory.NewKeypair(ctx, "secondary-keypair", &artifactory.KeypairArgs{
PairName: pulumi.String("secondary-keypair"),
PairType: pulumi.String("GPG"),
Alias: pulumi.String("foo-alias-2"),
PrivateKey: pulumi.String(invokeFile2.Result),
PublicKey: pulumi.String(invokeFile3.Result),
})
if err != nil {
return err
}
_, err = artifactory.NewVirtualRpmRepository(ctx, "foo-rpm-virtual", &artifactory.VirtualRpmRepositoryArgs{
Key: pulumi.String("foo-rpm-virtual"),
PrimaryKeypairRef: primary_keypair.PairName,
SecondaryKeypairRef: secondary_keypair.PairName,
}, pulumi.DependsOn([]pulumi.Resource{
primary_keypair,
secondary_keypair,
}))
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Artifactory = Pulumi.Artifactory;
using Std = Pulumi.Std;
return await Deployment.RunAsync(() =>
{
var primary_keypair = new Artifactory.Keypair("primary-keypair", new()
{
PairName = "primary-keypair",
PairType = "GPG",
Alias = "foo-alias-1",
PrivateKey = Std.File.Invoke(new()
{
Input = "samples/gpg.priv",
}).Apply(invoke => invoke.Result),
PublicKey = Std.File.Invoke(new()
{
Input = "samples/gpg.pub",
}).Apply(invoke => invoke.Result),
});
var secondary_keypair = new Artifactory.Keypair("secondary-keypair", new()
{
PairName = "secondary-keypair",
PairType = "GPG",
Alias = "foo-alias-2",
PrivateKey = Std.File.Invoke(new()
{
Input = "samples/gpg.priv",
}).Apply(invoke => invoke.Result),
PublicKey = Std.File.Invoke(new()
{
Input = "samples/gpg.pub",
}).Apply(invoke => invoke.Result),
});
var foo_rpm_virtual = new Artifactory.VirtualRpmRepository("foo-rpm-virtual", new()
{
Key = "foo-rpm-virtual",
PrimaryKeypairRef = primary_keypair.PairName,
SecondaryKeypairRef = secondary_keypair.PairName,
}, new CustomResourceOptions
{
DependsOn =
{
primary_keypair,
secondary_keypair,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.artifactory.Keypair;
import com.pulumi.artifactory.KeypairArgs;
import com.pulumi.artifactory.VirtualRpmRepository;
import com.pulumi.artifactory.VirtualRpmRepositoryArgs;
import com.pulumi.resources.CustomResourceOptions;
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 primary_keypair = new Keypair("primary-keypair", KeypairArgs.builder()
.pairName("primary-keypair")
.pairType("GPG")
.alias("foo-alias-1")
.privateKey(StdFunctions.file(FileArgs.builder()
.input("samples/gpg.priv")
.build()).result())
.publicKey(StdFunctions.file(FileArgs.builder()
.input("samples/gpg.pub")
.build()).result())
.build());
var secondary_keypair = new Keypair("secondary-keypair", KeypairArgs.builder()
.pairName("secondary-keypair")
.pairType("GPG")
.alias("foo-alias-2")
.privateKey(StdFunctions.file(FileArgs.builder()
.input("samples/gpg.priv")
.build()).result())
.publicKey(StdFunctions.file(FileArgs.builder()
.input("samples/gpg.pub")
.build()).result())
.build());
var foo_rpm_virtual = new VirtualRpmRepository("foo-rpm-virtual", VirtualRpmRepositoryArgs.builder()
.key("foo-rpm-virtual")
.primaryKeypairRef(primary_keypair.pairName())
.secondaryKeypairRef(secondary_keypair.pairName())
.build(), CustomResourceOptions.builder()
.dependsOn(
primary_keypair,
secondary_keypair)
.build());
}
}
resources:
primary-keypair:
type: artifactory:Keypair
properties:
pairName: primary-keypair
pairType: GPG
alias: foo-alias-1
privateKey:
fn::invoke:
Function: std:file
Arguments:
input: samples/gpg.priv
Return: result
publicKey:
fn::invoke:
Function: std:file
Arguments:
input: samples/gpg.pub
Return: result
secondary-keypair:
type: artifactory:Keypair
properties:
pairName: secondary-keypair
pairType: GPG
alias: foo-alias-2
privateKey:
fn::invoke:
Function: std:file
Arguments:
input: samples/gpg.priv
Return: result
publicKey:
fn::invoke:
Function: std:file
Arguments:
input: samples/gpg.pub
Return: result
foo-rpm-virtual:
type: artifactory:VirtualRpmRepository
properties:
key: foo-rpm-virtual
primaryKeypairRef: ${["primary-keypair"].pairName}
secondaryKeypairRef: ${["secondary-keypair"].pairName}
options:
dependson:
- ${["primary-keypair"]}
- ${["secondary-keypair"]}
Create VirtualRpmRepository Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VirtualRpmRepository(name: string, args: VirtualRpmRepositoryArgs, opts?: CustomResourceOptions);
@overload
def VirtualRpmRepository(resource_name: str,
args: VirtualRpmRepositoryArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VirtualRpmRepository(resource_name: str,
opts: Optional[ResourceOptions] = None,
key: Optional[str] = None,
notes: Optional[str] = None,
description: Optional[str] = None,
excludes_pattern: Optional[str] = None,
includes_pattern: Optional[str] = None,
default_deployment_repo: Optional[str] = None,
artifactory_requests_can_retrieve_remote_artifacts: Optional[bool] = None,
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,
secondary_keypair_ref: Optional[str] = None)
func NewVirtualRpmRepository(ctx *Context, name string, args VirtualRpmRepositoryArgs, opts ...ResourceOption) (*VirtualRpmRepository, error)
public VirtualRpmRepository(string name, VirtualRpmRepositoryArgs args, CustomResourceOptions? opts = null)
public VirtualRpmRepository(String name, VirtualRpmRepositoryArgs args)
public VirtualRpmRepository(String name, VirtualRpmRepositoryArgs args, CustomResourceOptions options)
type: artifactory:VirtualRpmRepository
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 VirtualRpmRepositoryArgs
- 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 VirtualRpmRepositoryArgs
- 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 VirtualRpmRepositoryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VirtualRpmRepositoryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VirtualRpmRepositoryArgs
- 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 virtualRpmRepositoryResource = new Artifactory.VirtualRpmRepository("virtualRpmRepositoryResource", new()
{
Key = "string",
Notes = "string",
Description = "string",
ExcludesPattern = "string",
IncludesPattern = "string",
DefaultDeploymentRepo = "string",
ArtifactoryRequestsCanRetrieveRemoteArtifacts = false,
PrimaryKeypairRef = "string",
ProjectEnvironments = new[]
{
"string",
},
ProjectKey = "string",
RepoLayoutRef = "string",
Repositories = new[]
{
"string",
},
SecondaryKeypairRef = "string",
});
example, err := artifactory.NewVirtualRpmRepository(ctx, "virtualRpmRepositoryResource", &artifactory.VirtualRpmRepositoryArgs{
Key: pulumi.String("string"),
Notes: pulumi.String("string"),
Description: pulumi.String("string"),
ExcludesPattern: pulumi.String("string"),
IncludesPattern: pulumi.String("string"),
DefaultDeploymentRepo: pulumi.String("string"),
ArtifactoryRequestsCanRetrieveRemoteArtifacts: pulumi.Bool(false),
PrimaryKeypairRef: pulumi.String("string"),
ProjectEnvironments: pulumi.StringArray{
pulumi.String("string"),
},
ProjectKey: pulumi.String("string"),
RepoLayoutRef: pulumi.String("string"),
Repositories: pulumi.StringArray{
pulumi.String("string"),
},
SecondaryKeypairRef: pulumi.String("string"),
})
var virtualRpmRepositoryResource = new VirtualRpmRepository("virtualRpmRepositoryResource", VirtualRpmRepositoryArgs.builder()
.key("string")
.notes("string")
.description("string")
.excludesPattern("string")
.includesPattern("string")
.defaultDeploymentRepo("string")
.artifactoryRequestsCanRetrieveRemoteArtifacts(false)
.primaryKeypairRef("string")
.projectEnvironments("string")
.projectKey("string")
.repoLayoutRef("string")
.repositories("string")
.secondaryKeypairRef("string")
.build());
virtual_rpm_repository_resource = artifactory.VirtualRpmRepository("virtualRpmRepositoryResource",
key="string",
notes="string",
description="string",
excludes_pattern="string",
includes_pattern="string",
default_deployment_repo="string",
artifactory_requests_can_retrieve_remote_artifacts=False,
primary_keypair_ref="string",
project_environments=["string"],
project_key="string",
repo_layout_ref="string",
repositories=["string"],
secondary_keypair_ref="string")
const virtualRpmRepositoryResource = new artifactory.VirtualRpmRepository("virtualRpmRepositoryResource", {
key: "string",
notes: "string",
description: "string",
excludesPattern: "string",
includesPattern: "string",
defaultDeploymentRepo: "string",
artifactoryRequestsCanRetrieveRemoteArtifacts: false,
primaryKeypairRef: "string",
projectEnvironments: ["string"],
projectKey: "string",
repoLayoutRef: "string",
repositories: ["string"],
secondaryKeypairRef: "string",
});
type: artifactory:VirtualRpmRepository
properties:
artifactoryRequestsCanRetrieveRemoteArtifacts: false
defaultDeploymentRepo: string
description: string
excludesPattern: string
includesPattern: string
key: string
notes: string
primaryKeypairRef: string
projectEnvironments:
- string
projectKey: string
repoLayoutRef: string
repositories:
- string
secondaryKeypairRef: string
VirtualRpmRepository 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 VirtualRpmRepository 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.
- Artifactory
Requests boolCan Retrieve Remote Artifacts - Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
- Default
Deployment stringRepo - Default repository to deploy artifacts.
- Description string
- Public description.
- Excludes
Pattern string - 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 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.
- Primary
Keypair stringRef - The primary GPG key to be used to sign packages.
- Project
Environments List<string> - Project
Key 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.
- Repo
Layout stringRef - Repository layout key for the virtual repository
- Repositories List<string>
- The effective list of actual repositories included in this virtual repository.
- Secondary
Keypair stringRef - Secondary keypair used to sign artifacts.
- Key string
- A mandatory identifier for the repository that must be unique. It cannot begin with a number or contain spaces or special characters.
- Artifactory
Requests boolCan Retrieve Remote Artifacts - Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
- Default
Deployment stringRepo - Default repository to deploy artifacts.
- Description string
- Public description.
- Excludes
Pattern string - 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 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.
- Primary
Keypair stringRef - The primary GPG key to be used to sign packages.
- Project
Environments []string - Project
Key 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.
- Repo
Layout stringRef - Repository layout key for the virtual repository
- Repositories []string
- The effective list of actual repositories included in this virtual repository.
- Secondary
Keypair stringRef - Secondary keypair used to sign artifacts.
- key String
- A mandatory identifier for the repository that must be unique. It cannot begin with a number or contain spaces or special characters.
- artifactory
Requests BooleanCan Retrieve Remote Artifacts - Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
- default
Deployment StringRepo - Default repository to deploy artifacts.
- description String
- Public description.
- excludes
Pattern String - 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 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.
- primary
Keypair StringRef - The primary GPG key to be used to sign packages.
- project
Environments List<String> - project
Key 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.
- repo
Layout StringRef - Repository layout key for the virtual repository
- repositories List<String>
- The effective list of actual repositories included in this virtual repository.
- secondary
Keypair StringRef - Secondary keypair used to sign artifacts.
- key string
- A mandatory identifier for the repository that must be unique. It cannot begin with a number or contain spaces or special characters.
- artifactory
Requests booleanCan Retrieve Remote Artifacts - Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
- default
Deployment stringRepo - Default repository to deploy artifacts.
- description string
- Public description.
- excludes
Pattern string - 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 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.
- primary
Keypair stringRef - The primary GPG key to be used to sign packages.
- project
Environments string[] - project
Key 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.
- repo
Layout stringRef - Repository layout key for the virtual repository
- repositories string[]
- The effective list of actual repositories included in this virtual repository.
- secondary
Keypair stringRef - Secondary keypair used to sign artifacts.
- 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_ boolcan_ retrieve_ remote_ artifacts - Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
- default_
deployment_ strrepo - 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.
- primary_
keypair_ strref - The primary GPG key to be used to sign packages.
- 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_ strref - Repository layout key for the virtual repository
- repositories Sequence[str]
- The effective list of actual repositories included in this virtual repository.
- secondary_
keypair_ strref - Secondary keypair used to sign artifacts.
- key String
- A mandatory identifier for the repository that must be unique. It cannot begin with a number or contain spaces or special characters.
- artifactory
Requests BooleanCan Retrieve Remote Artifacts - Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
- default
Deployment StringRepo - Default repository to deploy artifacts.
- description String
- Public description.
- excludes
Pattern String - 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 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.
- primary
Keypair StringRef - The primary GPG key to be used to sign packages.
- project
Environments List<String> - project
Key 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.
- repo
Layout StringRef - Repository layout key for the virtual repository
- repositories List<String>
- The effective list of actual repositories included in this virtual repository.
- secondary
Keypair StringRef - Secondary keypair used to sign artifacts.
Outputs
All input properties are implicitly available as output properties. Additionally, the VirtualRpmRepository resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Package
Type string
- Id string
- The provider-assigned unique ID for this managed resource.
- Package
Type string
- id String
- The provider-assigned unique ID for this managed resource.
- package
Type String
- id string
- The provider-assigned unique ID for this managed resource.
- package
Type 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.
- package
Type String
Look up Existing VirtualRpmRepository Resource
Get an existing VirtualRpmRepository 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?: VirtualRpmRepositoryState, opts?: CustomResourceOptions): VirtualRpmRepository
@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,
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,
secondary_keypair_ref: Optional[str] = None) -> VirtualRpmRepository
func GetVirtualRpmRepository(ctx *Context, name string, id IDInput, state *VirtualRpmRepositoryState, opts ...ResourceOption) (*VirtualRpmRepository, error)
public static VirtualRpmRepository Get(string name, Input<string> id, VirtualRpmRepositoryState? state, CustomResourceOptions? opts = null)
public static VirtualRpmRepository get(String name, Output<String> id, VirtualRpmRepositoryState 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.
- Artifactory
Requests boolCan Retrieve Remote Artifacts - Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
- Default
Deployment stringRepo - Default repository to deploy artifacts.
- Description string
- Public description.
- Excludes
Pattern string - 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 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.
- Package
Type string - Primary
Keypair stringRef - The primary GPG key to be used to sign packages.
- Project
Environments List<string> - Project
Key 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.
- Repo
Layout stringRef - Repository layout key for the virtual repository
- Repositories List<string>
- The effective list of actual repositories included in this virtual repository.
- Secondary
Keypair stringRef - Secondary keypair used to sign artifacts.
- Artifactory
Requests boolCan Retrieve Remote Artifacts - Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
- Default
Deployment stringRepo - Default repository to deploy artifacts.
- Description string
- Public description.
- Excludes
Pattern string - 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 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.
- Package
Type string - Primary
Keypair stringRef - The primary GPG key to be used to sign packages.
- Project
Environments []string - Project
Key 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.
- Repo
Layout stringRef - Repository layout key for the virtual repository
- Repositories []string
- The effective list of actual repositories included in this virtual repository.
- Secondary
Keypair stringRef - Secondary keypair used to sign artifacts.
- artifactory
Requests BooleanCan Retrieve Remote Artifacts - Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
- default
Deployment StringRepo - Default repository to deploy artifacts.
- description String
- Public description.
- excludes
Pattern String - 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 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.
- package
Type String - primary
Keypair StringRef - The primary GPG key to be used to sign packages.
- project
Environments List<String> - project
Key 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.
- repo
Layout StringRef - Repository layout key for the virtual repository
- repositories List<String>
- The effective list of actual repositories included in this virtual repository.
- secondary
Keypair StringRef - Secondary keypair used to sign artifacts.
- artifactory
Requests booleanCan Retrieve Remote Artifacts - Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
- default
Deployment stringRepo - Default repository to deploy artifacts.
- description string
- Public description.
- excludes
Pattern string - 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 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.
- package
Type string - primary
Keypair stringRef - The primary GPG key to be used to sign packages.
- project
Environments string[] - project
Key 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.
- repo
Layout stringRef - Repository layout key for the virtual repository
- repositories string[]
- The effective list of actual repositories included in this virtual repository.
- secondary
Keypair stringRef - Secondary keypair used to sign artifacts.
- artifactory_
requests_ boolcan_ retrieve_ remote_ artifacts - Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
- default_
deployment_ strrepo - 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 - primary_
keypair_ strref - The primary GPG key to be used to sign packages.
- 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_ strref - Repository layout key for the virtual repository
- repositories Sequence[str]
- The effective list of actual repositories included in this virtual repository.
- secondary_
keypair_ strref - Secondary keypair used to sign artifacts.
- artifactory
Requests BooleanCan Retrieve Remote Artifacts - Whether the virtual repository should search through remote repositories when trying to resolve an artifact requested by another Artifactory instance.
- default
Deployment StringRepo - Default repository to deploy artifacts.
- description String
- Public description.
- excludes
Pattern String - 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 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.
- package
Type String - primary
Keypair StringRef - The primary GPG key to be used to sign packages.
- project
Environments List<String> - project
Key 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.
- repo
Layout StringRef - Repository layout key for the virtual repository
- repositories List<String>
- The effective list of actual repositories included in this virtual repository.
- secondary
Keypair StringRef - Secondary keypair used to sign artifacts.
Import
Virtual repositories can be imported using their name, e.g.
$ pulumi import artifactory:index/virtualRpmRepository:VirtualRpmRepository foo-rpm-virtual foo-rpm-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.