artifactory.MavenRepository
Explore with Pulumi AI
Creates a virtual Maven repository. Official documentation can be found here.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as artifactory from "@pulumi/artifactory";
const bar = new artifactory.LocalMavenRepository("bar", {
key: "bar",
repoLayoutRef: "maven-2-default",
});
const baz = new artifactory.RemoteMavenRepository("baz", {
key: "baz",
url: "https://search.maven.com/",
repoLayoutRef: "maven-2-default",
});
const maven_virt_repo = new artifactory.MavenRepository("maven-virt-repo", {
key: "maven-virt-repo",
repoLayoutRef: "maven-2-default",
repositories: [
bar.key,
baz.key,
],
description: "A test virtual repo",
notes: "Internal description",
includesPattern: "com/jfrog/**,cloud/jfrog/**",
excludesPattern: "com/google/**",
forceMavenAuthentication: true,
pomRepositoryReferencesCleanupPolicy: "discard_active_reference",
});
import pulumi
import pulumi_artifactory as artifactory
bar = artifactory.LocalMavenRepository("bar",
key="bar",
repo_layout_ref="maven-2-default")
baz = artifactory.RemoteMavenRepository("baz",
key="baz",
url="https://search.maven.com/",
repo_layout_ref="maven-2-default")
maven_virt_repo = artifactory.MavenRepository("maven-virt-repo",
key="maven-virt-repo",
repo_layout_ref="maven-2-default",
repositories=[
bar.key,
baz.key,
],
description="A test virtual repo",
notes="Internal description",
includes_pattern="com/jfrog/**,cloud/jfrog/**",
excludes_pattern="com/google/**",
force_maven_authentication=True,
pom_repository_references_cleanup_policy="discard_active_reference")
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 {
bar, err := artifactory.NewLocalMavenRepository(ctx, "bar", &artifactory.LocalMavenRepositoryArgs{
Key: pulumi.String("bar"),
RepoLayoutRef: pulumi.String("maven-2-default"),
})
if err != nil {
return err
}
baz, err := artifactory.NewRemoteMavenRepository(ctx, "baz", &artifactory.RemoteMavenRepositoryArgs{
Key: pulumi.String("baz"),
Url: pulumi.String("https://search.maven.com/"),
RepoLayoutRef: pulumi.String("maven-2-default"),
})
if err != nil {
return err
}
_, err = artifactory.NewMavenRepository(ctx, "maven-virt-repo", &artifactory.MavenRepositoryArgs{
Key: pulumi.String("maven-virt-repo"),
RepoLayoutRef: pulumi.String("maven-2-default"),
Repositories: pulumi.StringArray{
bar.Key,
baz.Key,
},
Description: pulumi.String("A test virtual repo"),
Notes: pulumi.String("Internal description"),
IncludesPattern: pulumi.String("com/jfrog/**,cloud/jfrog/**"),
ExcludesPattern: pulumi.String("com/google/**"),
ForceMavenAuthentication: pulumi.Bool(true),
PomRepositoryReferencesCleanupPolicy: pulumi.String("discard_active_reference"),
})
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 bar = new Artifactory.LocalMavenRepository("bar", new()
{
Key = "bar",
RepoLayoutRef = "maven-2-default",
});
var baz = new Artifactory.RemoteMavenRepository("baz", new()
{
Key = "baz",
Url = "https://search.maven.com/",
RepoLayoutRef = "maven-2-default",
});
var maven_virt_repo = new Artifactory.MavenRepository("maven-virt-repo", new()
{
Key = "maven-virt-repo",
RepoLayoutRef = "maven-2-default",
Repositories = new[]
{
bar.Key,
baz.Key,
},
Description = "A test virtual repo",
Notes = "Internal description",
IncludesPattern = "com/jfrog/**,cloud/jfrog/**",
ExcludesPattern = "com/google/**",
ForceMavenAuthentication = true,
PomRepositoryReferencesCleanupPolicy = "discard_active_reference",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.artifactory.LocalMavenRepository;
import com.pulumi.artifactory.LocalMavenRepositoryArgs;
import com.pulumi.artifactory.RemoteMavenRepository;
import com.pulumi.artifactory.RemoteMavenRepositoryArgs;
import com.pulumi.artifactory.MavenRepository;
import com.pulumi.artifactory.MavenRepositoryArgs;
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 bar = new LocalMavenRepository("bar", LocalMavenRepositoryArgs.builder()
.key("bar")
.repoLayoutRef("maven-2-default")
.build());
var baz = new RemoteMavenRepository("baz", RemoteMavenRepositoryArgs.builder()
.key("baz")
.url("https://search.maven.com/")
.repoLayoutRef("maven-2-default")
.build());
var maven_virt_repo = new MavenRepository("maven-virt-repo", MavenRepositoryArgs.builder()
.key("maven-virt-repo")
.repoLayoutRef("maven-2-default")
.repositories(
bar.key(),
baz.key())
.description("A test virtual repo")
.notes("Internal description")
.includesPattern("com/jfrog/**,cloud/jfrog/**")
.excludesPattern("com/google/**")
.forceMavenAuthentication(true)
.pomRepositoryReferencesCleanupPolicy("discard_active_reference")
.build());
}
}
resources:
bar:
type: artifactory:LocalMavenRepository
properties:
key: bar
repoLayoutRef: maven-2-default
baz:
type: artifactory:RemoteMavenRepository
properties:
key: baz
url: https://search.maven.com/
repoLayoutRef: maven-2-default
maven-virt-repo:
type: artifactory:MavenRepository
properties:
key: maven-virt-repo
repoLayoutRef: maven-2-default
repositories:
- ${bar.key}
- ${baz.key}
description: A test virtual repo
notes: Internal description
includesPattern: com/jfrog/**,cloud/jfrog/**
excludesPattern: com/google/**
forceMavenAuthentication: true
pomRepositoryReferencesCleanupPolicy: discard_active_reference
Create MavenRepository Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MavenRepository(name: string, args: MavenRepositoryArgs, opts?: CustomResourceOptions);
@overload
def MavenRepository(resource_name: str,
args: MavenRepositoryArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MavenRepository(resource_name: str,
opts: Optional[ResourceOptions] = None,
key: Optional[str] = None,
excludes_pattern: Optional[str] = None,
description: Optional[str] = None,
artifactory_requests_can_retrieve_remote_artifacts: Optional[bool] = None,
force_maven_authentication: Optional[bool] = None,
includes_pattern: Optional[str] = None,
default_deployment_repo: Optional[str] = None,
key_pair: Optional[str] = None,
notes: Optional[str] = None,
pom_repository_references_cleanup_policy: 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)
func NewMavenRepository(ctx *Context, name string, args MavenRepositoryArgs, opts ...ResourceOption) (*MavenRepository, error)
public MavenRepository(string name, MavenRepositoryArgs args, CustomResourceOptions? opts = null)
public MavenRepository(String name, MavenRepositoryArgs args)
public MavenRepository(String name, MavenRepositoryArgs args, CustomResourceOptions options)
type: artifactory:MavenRepository
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 MavenRepositoryArgs
- 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 MavenRepositoryArgs
- 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 MavenRepositoryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MavenRepositoryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MavenRepositoryArgs
- 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 mavenRepositoryResource = new Artifactory.MavenRepository("mavenRepositoryResource", new()
{
Key = "string",
ExcludesPattern = "string",
Description = "string",
ArtifactoryRequestsCanRetrieveRemoteArtifacts = false,
ForceMavenAuthentication = false,
IncludesPattern = "string",
DefaultDeploymentRepo = "string",
KeyPair = "string",
Notes = "string",
PomRepositoryReferencesCleanupPolicy = "string",
ProjectEnvironments = new[]
{
"string",
},
ProjectKey = "string",
RepoLayoutRef = "string",
Repositories = new[]
{
"string",
},
});
example, err := artifactory.NewMavenRepository(ctx, "mavenRepositoryResource", &artifactory.MavenRepositoryArgs{
Key: pulumi.String("string"),
ExcludesPattern: pulumi.String("string"),
Description: pulumi.String("string"),
ArtifactoryRequestsCanRetrieveRemoteArtifacts: pulumi.Bool(false),
ForceMavenAuthentication: pulumi.Bool(false),
IncludesPattern: pulumi.String("string"),
DefaultDeploymentRepo: pulumi.String("string"),
KeyPair: pulumi.String("string"),
Notes: pulumi.String("string"),
PomRepositoryReferencesCleanupPolicy: pulumi.String("string"),
ProjectEnvironments: pulumi.StringArray{
pulumi.String("string"),
},
ProjectKey: pulumi.String("string"),
RepoLayoutRef: pulumi.String("string"),
Repositories: pulumi.StringArray{
pulumi.String("string"),
},
})
var mavenRepositoryResource = new MavenRepository("mavenRepositoryResource", MavenRepositoryArgs.builder()
.key("string")
.excludesPattern("string")
.description("string")
.artifactoryRequestsCanRetrieveRemoteArtifacts(false)
.forceMavenAuthentication(false)
.includesPattern("string")
.defaultDeploymentRepo("string")
.keyPair("string")
.notes("string")
.pomRepositoryReferencesCleanupPolicy("string")
.projectEnvironments("string")
.projectKey("string")
.repoLayoutRef("string")
.repositories("string")
.build());
maven_repository_resource = artifactory.MavenRepository("mavenRepositoryResource",
key="string",
excludes_pattern="string",
description="string",
artifactory_requests_can_retrieve_remote_artifacts=False,
force_maven_authentication=False,
includes_pattern="string",
default_deployment_repo="string",
key_pair="string",
notes="string",
pom_repository_references_cleanup_policy="string",
project_environments=["string"],
project_key="string",
repo_layout_ref="string",
repositories=["string"])
const mavenRepositoryResource = new artifactory.MavenRepository("mavenRepositoryResource", {
key: "string",
excludesPattern: "string",
description: "string",
artifactoryRequestsCanRetrieveRemoteArtifacts: false,
forceMavenAuthentication: false,
includesPattern: "string",
defaultDeploymentRepo: "string",
keyPair: "string",
notes: "string",
pomRepositoryReferencesCleanupPolicy: "string",
projectEnvironments: ["string"],
projectKey: "string",
repoLayoutRef: "string",
repositories: ["string"],
});
type: artifactory:MavenRepository
properties:
artifactoryRequestsCanRetrieveRemoteArtifacts: false
defaultDeploymentRepo: string
description: string
excludesPattern: string
forceMavenAuthentication: false
includesPattern: string
key: string
keyPair: string
notes: string
pomRepositoryReferencesCleanupPolicy: string
projectEnvironments:
- string
projectKey: string
repoLayoutRef: string
repositories:
- string
MavenRepository Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The MavenRepository 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. - Force
Maven boolAuthentication - Forces authentication when fetching from remote repos.
- 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
Pair string - The keypair used to sign artifacts
- Notes string
- Internal description.
- Pom
Repository stringReferences Cleanup Policy - One of:
"discard_active_reference", "discard_any_reference", "nothing"
- 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.
- 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. - Force
Maven boolAuthentication - Forces authentication when fetching from remote repos.
- 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
Pair string - The keypair used to sign artifacts
- Notes string
- Internal description.
- Pom
Repository stringReferences Cleanup Policy - One of:
"discard_active_reference", "discard_any_reference", "nothing"
- 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.
- 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. - force
Maven BooleanAuthentication - Forces authentication when fetching from remote repos.
- 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
Pair String - The keypair used to sign artifacts
- notes String
- Internal description.
- pom
Repository StringReferences Cleanup Policy - One of:
"discard_active_reference", "discard_any_reference", "nothing"
- 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.
- 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. - force
Maven booleanAuthentication - Forces authentication when fetching from remote repos.
- 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
Pair string - The keypair used to sign artifacts
- notes string
- Internal description.
- pom
Repository stringReferences Cleanup Policy - One of:
"discard_active_reference", "discard_any_reference", "nothing"
- 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.
- 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. - force_
maven_ boolauthentication - Forces authentication when fetching from remote repos.
- 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_
pair str - The keypair used to sign artifacts
- notes str
- Internal description.
- pom_
repository_ strreferences_ cleanup_ policy - One of:
"discard_active_reference", "discard_any_reference", "nothing"
- 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.
- 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. - force
Maven BooleanAuthentication - Forces authentication when fetching from remote repos.
- 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
Pair String - The keypair used to sign artifacts
- notes String
- Internal description.
- pom
Repository StringReferences Cleanup Policy - One of:
"discard_active_reference", "discard_any_reference", "nothing"
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the MavenRepository 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 MavenRepository Resource
Get an existing MavenRepository 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?: MavenRepositoryState, opts?: CustomResourceOptions): MavenRepository
@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,
force_maven_authentication: Optional[bool] = None,
includes_pattern: Optional[str] = None,
key: Optional[str] = None,
key_pair: Optional[str] = None,
notes: Optional[str] = None,
package_type: Optional[str] = None,
pom_repository_references_cleanup_policy: 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) -> MavenRepository
func GetMavenRepository(ctx *Context, name string, id IDInput, state *MavenRepositoryState, opts ...ResourceOption) (*MavenRepository, error)
public static MavenRepository Get(string name, Input<string> id, MavenRepositoryState? state, CustomResourceOptions? opts = null)
public static MavenRepository get(String name, Output<String> id, MavenRepositoryState 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. - Force
Maven boolAuthentication - Forces authentication when fetching from remote repos.
- 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.
- Key
Pair string - The keypair used to sign artifacts
- Notes string
- Internal description.
- Package
Type string - Pom
Repository stringReferences Cleanup Policy - One of:
"discard_active_reference", "discard_any_reference", "nothing"
- 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.
- 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. - Force
Maven boolAuthentication - Forces authentication when fetching from remote repos.
- 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.
- Key
Pair string - The keypair used to sign artifacts
- Notes string
- Internal description.
- Package
Type string - Pom
Repository stringReferences Cleanup Policy - One of:
"discard_active_reference", "discard_any_reference", "nothing"
- 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.
- 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. - force
Maven BooleanAuthentication - Forces authentication when fetching from remote repos.
- 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.
- key
Pair String - The keypair used to sign artifacts
- notes String
- Internal description.
- package
Type String - pom
Repository StringReferences Cleanup Policy - One of:
"discard_active_reference", "discard_any_reference", "nothing"
- 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.
- 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. - force
Maven booleanAuthentication - Forces authentication when fetching from remote repos.
- 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.
- key
Pair string - The keypair used to sign artifacts
- notes string
- Internal description.
- package
Type string - pom
Repository stringReferences Cleanup Policy - One of:
"discard_active_reference", "discard_any_reference", "nothing"
- 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.
- 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. - force_
maven_ boolauthentication - Forces authentication when fetching from remote repos.
- 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.
- key_
pair str - The keypair used to sign artifacts
- notes str
- Internal description.
- package_
type str - pom_
repository_ strreferences_ cleanup_ policy - One of:
"discard_active_reference", "discard_any_reference", "nothing"
- 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.
- 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. - force
Maven BooleanAuthentication - Forces authentication when fetching from remote repos.
- 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.
- key
Pair String - The keypair used to sign artifacts
- notes String
- Internal description.
- package
Type String - pom
Repository StringReferences Cleanup Policy - One of:
"discard_active_reference", "discard_any_reference", "nothing"
- 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.
Import
Virtual repositories can be imported using their name, e.g.
$ pulumi import artifactory:index/mavenRepository:MavenRepository maven-virt-repo maven-virt-repo
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.