artifactory.VirtualAlpineRepository
Explore with Pulumi AI
Creates a virtual Alpine repository. Official documentation can be found here.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as artifactory from "@pulumi/artifactory";
const foo_alpine = new artifactory.VirtualAlpineRepository("foo-alpine", {
key: "foo-alpine",
repositories: [],
description: "A test virtual repo",
notes: "Internal description",
includesPattern: "com/jfrog/**,cloud/jfrog/**",
excludesPattern: "com/google/**",
});
import pulumi
import pulumi_artifactory as artifactory
foo_alpine = artifactory.VirtualAlpineRepository("foo-alpine",
key="foo-alpine",
repositories=[],
description="A test virtual repo",
notes="Internal description",
includes_pattern="com/jfrog/**,cloud/jfrog/**",
excludes_pattern="com/google/**")
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.NewVirtualAlpineRepository(ctx, "foo-alpine", &artifactory.VirtualAlpineRepositoryArgs{
Key: pulumi.String("foo-alpine"),
Repositories: pulumi.StringArray{},
Description: pulumi.String("A test virtual repo"),
Notes: pulumi.String("Internal description"),
IncludesPattern: pulumi.String("com/jfrog/**,cloud/jfrog/**"),
ExcludesPattern: pulumi.String("com/google/**"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Artifactory = Pulumi.Artifactory;
return await Deployment.RunAsync(() =>
{
var foo_alpine = new Artifactory.VirtualAlpineRepository("foo-alpine", new()
{
Key = "foo-alpine",
Repositories = new[] {},
Description = "A test virtual repo",
Notes = "Internal description",
IncludesPattern = "com/jfrog/**,cloud/jfrog/**",
ExcludesPattern = "com/google/**",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.artifactory.VirtualAlpineRepository;
import com.pulumi.artifactory.VirtualAlpineRepositoryArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var foo_alpine = new VirtualAlpineRepository("foo-alpine", VirtualAlpineRepositoryArgs.builder()
.key("foo-alpine")
.repositories()
.description("A test virtual repo")
.notes("Internal description")
.includesPattern("com/jfrog/**,cloud/jfrog/**")
.excludesPattern("com/google/**")
.build());
}
}
resources:
foo-alpine:
type: artifactory:VirtualAlpineRepository
properties:
key: foo-alpine
repositories: []
description: A test virtual repo
notes: Internal description
includesPattern: com/jfrog/**,cloud/jfrog/**
excludesPattern: com/google/**
Create VirtualAlpineRepository Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VirtualAlpineRepository(name: string, args: VirtualAlpineRepositoryArgs, opts?: CustomResourceOptions);
@overload
def VirtualAlpineRepository(resource_name: str,
args: VirtualAlpineRepositoryArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VirtualAlpineRepository(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,
retrieval_cache_period_seconds: Optional[int] = None)
func NewVirtualAlpineRepository(ctx *Context, name string, args VirtualAlpineRepositoryArgs, opts ...ResourceOption) (*VirtualAlpineRepository, error)
public VirtualAlpineRepository(string name, VirtualAlpineRepositoryArgs args, CustomResourceOptions? opts = null)
public VirtualAlpineRepository(String name, VirtualAlpineRepositoryArgs args)
public VirtualAlpineRepository(String name, VirtualAlpineRepositoryArgs args, CustomResourceOptions options)
type: artifactory:VirtualAlpineRepository
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 VirtualAlpineRepositoryArgs
- 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 VirtualAlpineRepositoryArgs
- 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 VirtualAlpineRepositoryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VirtualAlpineRepositoryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VirtualAlpineRepositoryArgs
- 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 virtualAlpineRepositoryResource = new Artifactory.VirtualAlpineRepository("virtualAlpineRepositoryResource", 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",
},
RetrievalCachePeriodSeconds = 0,
});
example, err := artifactory.NewVirtualAlpineRepository(ctx, "virtualAlpineRepositoryResource", &artifactory.VirtualAlpineRepositoryArgs{
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"),
},
RetrievalCachePeriodSeconds: pulumi.Int(0),
})
var virtualAlpineRepositoryResource = new VirtualAlpineRepository("virtualAlpineRepositoryResource", VirtualAlpineRepositoryArgs.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")
.retrievalCachePeriodSeconds(0)
.build());
virtual_alpine_repository_resource = artifactory.VirtualAlpineRepository("virtualAlpineRepositoryResource",
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"],
retrieval_cache_period_seconds=0)
const virtualAlpineRepositoryResource = new artifactory.VirtualAlpineRepository("virtualAlpineRepositoryResource", {
key: "string",
notes: "string",
description: "string",
excludesPattern: "string",
includesPattern: "string",
defaultDeploymentRepo: "string",
artifactoryRequestsCanRetrieveRemoteArtifacts: false,
primaryKeypairRef: "string",
projectEnvironments: ["string"],
projectKey: "string",
repoLayoutRef: "string",
repositories: ["string"],
retrievalCachePeriodSeconds: 0,
});
type: artifactory:VirtualAlpineRepository
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
retrievalCachePeriodSeconds: 0
VirtualAlpineRepository 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 VirtualAlpineRepository 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 - Primary keypair used to sign artifacts. Default value is empty.
- 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.
- Retrieval
Cache intPeriod Seconds - 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.
- 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 - Primary keypair used to sign artifacts. Default value is empty.
- 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.
- Retrieval
Cache intPeriod Seconds - 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.
- 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 - Primary keypair used to sign artifacts. Default value is empty.
- 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.
- retrieval
Cache IntegerPeriod Seconds - 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.
- 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 - Primary keypair used to sign artifacts. Default value is empty.
- 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.
- retrieval
Cache numberPeriod Seconds - 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.
- 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 - Primary keypair used to sign artifacts. Default value is empty.
- project_
environments Sequence[str] - project_
key str - Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
- repo_
layout_ strref - Repository layout key for the virtual repository
- repositories Sequence[str]
- The effective list of actual repositories included in this virtual repository.
- retrieval_
cache_ intperiod_ seconds - 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.
- 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 - Primary keypair used to sign artifacts. Default value is empty.
- 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.
- retrieval
Cache NumberPeriod Seconds - 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the VirtualAlpineRepository 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 VirtualAlpineRepository Resource
Get an existing VirtualAlpineRepository 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?: VirtualAlpineRepositoryState, opts?: CustomResourceOptions): VirtualAlpineRepository
@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,
retrieval_cache_period_seconds: Optional[int] = None) -> VirtualAlpineRepository
func GetVirtualAlpineRepository(ctx *Context, name string, id IDInput, state *VirtualAlpineRepositoryState, opts ...ResourceOption) (*VirtualAlpineRepository, error)
public static VirtualAlpineRepository Get(string name, Input<string> id, VirtualAlpineRepositoryState? state, CustomResourceOptions? opts = null)
public static VirtualAlpineRepository get(String name, Output<String> id, VirtualAlpineRepositoryState 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 - Primary keypair used to sign artifacts. Default value is empty.
- 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.
- Retrieval
Cache intPeriod Seconds - 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.
- 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 - Primary keypair used to sign artifacts. Default value is empty.
- 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.
- Retrieval
Cache intPeriod Seconds - 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.
- 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 - Primary keypair used to sign artifacts. Default value is empty.
- 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.
- retrieval
Cache IntegerPeriod Seconds - 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.
- 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 - Primary keypair used to sign artifacts. Default value is empty.
- 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.
- retrieval
Cache numberPeriod Seconds - 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.
- 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 - Primary keypair used to sign artifacts. Default value is empty.
- project_
environments Sequence[str] - project_
key str - Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash.
- repo_
layout_ strref - Repository layout key for the virtual repository
- repositories Sequence[str]
- The effective list of actual repositories included in this virtual repository.
- retrieval_
cache_ intperiod_ seconds - 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.
- 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 - Primary keypair used to sign artifacts. Default value is empty.
- 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.
- retrieval
Cache NumberPeriod Seconds - 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.
Import
Virtual repositories can be imported using their name, e.g.
$ pulumi import artifactory:index/virtualAlpineRepository:VirtualAlpineRepository foo-alpine foo-alpine
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.