1. Packages
  2. Artifactory
  3. API Docs
  4. RemoteCargoRepository
artifactory v6.6.0 published on Saturday, Apr 13, 2024 by Pulumi

artifactory.RemoteCargoRepository

Explore with Pulumi AI

artifactory logo
artifactory v6.6.0 published on Saturday, Apr 13, 2024 by Pulumi

    Creates a remote Cargo repository. Official documentation can be found here.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as artifactory from "@pulumi/artifactory";
    
    const my_remote_cargo = new artifactory.RemoteCargoRepository("my-remote-cargo", {
        anonymousAccess: true,
        enableSparseIndex: true,
        gitRegistryUrl: "https://github.com/rust-lang/foo.index",
        key: "my-remote-cargo",
        url: "https://github.com/rust-lang/crates.io-index",
    });
    
    import pulumi
    import pulumi_artifactory as artifactory
    
    my_remote_cargo = artifactory.RemoteCargoRepository("my-remote-cargo",
        anonymous_access=True,
        enable_sparse_index=True,
        git_registry_url="https://github.com/rust-lang/foo.index",
        key="my-remote-cargo",
        url="https://github.com/rust-lang/crates.io-index")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-artifactory/sdk/v6/go/artifactory"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := artifactory.NewRemoteCargoRepository(ctx, "my-remote-cargo", &artifactory.RemoteCargoRepositoryArgs{
    			AnonymousAccess:   pulumi.Bool(true),
    			EnableSparseIndex: pulumi.Bool(true),
    			GitRegistryUrl:    pulumi.String("https://github.com/rust-lang/foo.index"),
    			Key:               pulumi.String("my-remote-cargo"),
    			Url:               pulumi.String("https://github.com/rust-lang/crates.io-index"),
    		})
    		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 my_remote_cargo = new Artifactory.RemoteCargoRepository("my-remote-cargo", new()
        {
            AnonymousAccess = true,
            EnableSparseIndex = true,
            GitRegistryUrl = "https://github.com/rust-lang/foo.index",
            Key = "my-remote-cargo",
            Url = "https://github.com/rust-lang/crates.io-index",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.artifactory.RemoteCargoRepository;
    import com.pulumi.artifactory.RemoteCargoRepositoryArgs;
    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 my_remote_cargo = new RemoteCargoRepository("my-remote-cargo", RemoteCargoRepositoryArgs.builder()        
                .anonymousAccess(true)
                .enableSparseIndex(true)
                .gitRegistryUrl("https://github.com/rust-lang/foo.index")
                .key("my-remote-cargo")
                .url("https://github.com/rust-lang/crates.io-index")
                .build());
    
        }
    }
    
    resources:
      my-remote-cargo:
        type: artifactory:RemoteCargoRepository
        properties:
          anonymousAccess: true
          enableSparseIndex: true
          gitRegistryUrl: https://github.com/rust-lang/foo.index
          key: my-remote-cargo
          url: https://github.com/rust-lang/crates.io-index
    

    Note

    If you get a 400 error: "Custom Base URL should be defined prior to creating a Cargo repository", you must set the base url at: http://${host}/ui/admin/configuration/general

    Create RemoteCargoRepository Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new RemoteCargoRepository(name: string, args: RemoteCargoRepositoryArgs, opts?: CustomResourceOptions);
    @overload
    def RemoteCargoRepository(resource_name: str,
                              args: RemoteCargoRepositoryArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def RemoteCargoRepository(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              git_registry_url: Optional[str] = None,
                              url: Optional[str] = None,
                              key: Optional[str] = None,
                              metadata_retrieval_timeout_secs: Optional[int] = None,
                              disable_proxy: Optional[bool] = None,
                              notes: Optional[str] = None,
                              cdn_redirect: Optional[bool] = None,
                              client_tls_certificate: Optional[str] = None,
                              content_synchronisation: Optional[RemoteCargoRepositoryContentSynchronisationArgs] = None,
                              description: Optional[str] = None,
                              missed_cache_period_seconds: Optional[int] = None,
                              disable_url_normalization: Optional[bool] = None,
                              download_direct: Optional[bool] = None,
                              enable_cookie_management: Optional[bool] = None,
                              enable_sparse_index: Optional[bool] = None,
                              mismatching_mime_types_override_list: Optional[str] = None,
                              blacked_out: Optional[bool] = None,
                              hard_fail: Optional[bool] = None,
                              includes_pattern: Optional[str] = None,
                              assumed_offline_period_secs: Optional[int] = None,
                              list_remote_folder_items: Optional[bool] = None,
                              local_address: Optional[str] = None,
                              allow_any_host_auth: Optional[bool] = None,
                              excludes_pattern: Optional[str] = None,
                              block_mismatching_mime_types: Optional[bool] = None,
                              bypass_head_requests: Optional[bool] = None,
                              offline: Optional[bool] = None,
                              password: Optional[str] = None,
                              priority_resolution: Optional[bool] = None,
                              project_environments: Optional[Sequence[str]] = None,
                              project_key: Optional[str] = None,
                              property_sets: Optional[Sequence[str]] = None,
                              proxy: Optional[str] = None,
                              query_params: Optional[str] = None,
                              remote_repo_layout_ref: Optional[str] = None,
                              repo_layout_ref: Optional[str] = None,
                              retrieval_cache_period_seconds: Optional[int] = None,
                              share_configuration: Optional[bool] = None,
                              socket_timeout_millis: Optional[int] = None,
                              store_artifacts_locally: Optional[bool] = None,
                              synchronize_properties: Optional[bool] = None,
                              unused_artifacts_cleanup_period_hours: Optional[int] = None,
                              anonymous_access: Optional[bool] = None,
                              username: Optional[str] = None,
                              xray_index: Optional[bool] = None)
    func NewRemoteCargoRepository(ctx *Context, name string, args RemoteCargoRepositoryArgs, opts ...ResourceOption) (*RemoteCargoRepository, error)
    public RemoteCargoRepository(string name, RemoteCargoRepositoryArgs args, CustomResourceOptions? opts = null)
    public RemoteCargoRepository(String name, RemoteCargoRepositoryArgs args)
    public RemoteCargoRepository(String name, RemoteCargoRepositoryArgs args, CustomResourceOptions options)
    
    type: artifactory:RemoteCargoRepository
    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 RemoteCargoRepositoryArgs
    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 RemoteCargoRepositoryArgs
    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 RemoteCargoRepositoryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RemoteCargoRepositoryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RemoteCargoRepositoryArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var remoteCargoRepositoryResource = new Artifactory.RemoteCargoRepository("remoteCargoRepositoryResource", new()
    {
        GitRegistryUrl = "string",
        Url = "string",
        Key = "string",
        MetadataRetrievalTimeoutSecs = 0,
        DisableProxy = false,
        Notes = "string",
        CdnRedirect = false,
        ClientTlsCertificate = "string",
        ContentSynchronisation = new Artifactory.Inputs.RemoteCargoRepositoryContentSynchronisationArgs
        {
            Enabled = false,
            PropertiesEnabled = false,
            SourceOriginAbsenceDetection = false,
            StatisticsEnabled = false,
        },
        Description = "string",
        MissedCachePeriodSeconds = 0,
        DisableUrlNormalization = false,
        DownloadDirect = false,
        EnableCookieManagement = false,
        EnableSparseIndex = false,
        MismatchingMimeTypesOverrideList = "string",
        BlackedOut = false,
        HardFail = false,
        IncludesPattern = "string",
        AssumedOfflinePeriodSecs = 0,
        ListRemoteFolderItems = false,
        LocalAddress = "string",
        AllowAnyHostAuth = false,
        ExcludesPattern = "string",
        BlockMismatchingMimeTypes = false,
        BypassHeadRequests = false,
        Offline = false,
        Password = "string",
        PriorityResolution = false,
        ProjectEnvironments = new[]
        {
            "string",
        },
        ProjectKey = "string",
        PropertySets = new[]
        {
            "string",
        },
        Proxy = "string",
        QueryParams = "string",
        RemoteRepoLayoutRef = "string",
        RepoLayoutRef = "string",
        RetrievalCachePeriodSeconds = 0,
        ShareConfiguration = false,
        SocketTimeoutMillis = 0,
        StoreArtifactsLocally = false,
        SynchronizeProperties = false,
        UnusedArtifactsCleanupPeriodHours = 0,
        AnonymousAccess = false,
        Username = "string",
        XrayIndex = false,
    });
    
    example, err := artifactory.NewRemoteCargoRepository(ctx, "remoteCargoRepositoryResource", &artifactory.RemoteCargoRepositoryArgs{
    	GitRegistryUrl:               pulumi.String("string"),
    	Url:                          pulumi.String("string"),
    	Key:                          pulumi.String("string"),
    	MetadataRetrievalTimeoutSecs: pulumi.Int(0),
    	DisableProxy:                 pulumi.Bool(false),
    	Notes:                        pulumi.String("string"),
    	CdnRedirect:                  pulumi.Bool(false),
    	ClientTlsCertificate:         pulumi.String("string"),
    	ContentSynchronisation: &artifactory.RemoteCargoRepositoryContentSynchronisationArgs{
    		Enabled:                      pulumi.Bool(false),
    		PropertiesEnabled:            pulumi.Bool(false),
    		SourceOriginAbsenceDetection: pulumi.Bool(false),
    		StatisticsEnabled:            pulumi.Bool(false),
    	},
    	Description:                      pulumi.String("string"),
    	MissedCachePeriodSeconds:         pulumi.Int(0),
    	DisableUrlNormalization:          pulumi.Bool(false),
    	DownloadDirect:                   pulumi.Bool(false),
    	EnableCookieManagement:           pulumi.Bool(false),
    	EnableSparseIndex:                pulumi.Bool(false),
    	MismatchingMimeTypesOverrideList: pulumi.String("string"),
    	BlackedOut:                       pulumi.Bool(false),
    	HardFail:                         pulumi.Bool(false),
    	IncludesPattern:                  pulumi.String("string"),
    	AssumedOfflinePeriodSecs:         pulumi.Int(0),
    	ListRemoteFolderItems:            pulumi.Bool(false),
    	LocalAddress:                     pulumi.String("string"),
    	AllowAnyHostAuth:                 pulumi.Bool(false),
    	ExcludesPattern:                  pulumi.String("string"),
    	BlockMismatchingMimeTypes:        pulumi.Bool(false),
    	BypassHeadRequests:               pulumi.Bool(false),
    	Offline:                          pulumi.Bool(false),
    	Password:                         pulumi.String("string"),
    	PriorityResolution:               pulumi.Bool(false),
    	ProjectEnvironments: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ProjectKey: pulumi.String("string"),
    	PropertySets: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Proxy:                             pulumi.String("string"),
    	QueryParams:                       pulumi.String("string"),
    	RemoteRepoLayoutRef:               pulumi.String("string"),
    	RepoLayoutRef:                     pulumi.String("string"),
    	RetrievalCachePeriodSeconds:       pulumi.Int(0),
    	ShareConfiguration:                pulumi.Bool(false),
    	SocketTimeoutMillis:               pulumi.Int(0),
    	StoreArtifactsLocally:             pulumi.Bool(false),
    	SynchronizeProperties:             pulumi.Bool(false),
    	UnusedArtifactsCleanupPeriodHours: pulumi.Int(0),
    	AnonymousAccess:                   pulumi.Bool(false),
    	Username:                          pulumi.String("string"),
    	XrayIndex:                         pulumi.Bool(false),
    })
    
    var remoteCargoRepositoryResource = new RemoteCargoRepository("remoteCargoRepositoryResource", RemoteCargoRepositoryArgs.builder()        
        .gitRegistryUrl("string")
        .url("string")
        .key("string")
        .metadataRetrievalTimeoutSecs(0)
        .disableProxy(false)
        .notes("string")
        .cdnRedirect(false)
        .clientTlsCertificate("string")
        .contentSynchronisation(RemoteCargoRepositoryContentSynchronisationArgs.builder()
            .enabled(false)
            .propertiesEnabled(false)
            .sourceOriginAbsenceDetection(false)
            .statisticsEnabled(false)
            .build())
        .description("string")
        .missedCachePeriodSeconds(0)
        .disableUrlNormalization(false)
        .downloadDirect(false)
        .enableCookieManagement(false)
        .enableSparseIndex(false)
        .mismatchingMimeTypesOverrideList("string")
        .blackedOut(false)
        .hardFail(false)
        .includesPattern("string")
        .assumedOfflinePeriodSecs(0)
        .listRemoteFolderItems(false)
        .localAddress("string")
        .allowAnyHostAuth(false)
        .excludesPattern("string")
        .blockMismatchingMimeTypes(false)
        .bypassHeadRequests(false)
        .offline(false)
        .password("string")
        .priorityResolution(false)
        .projectEnvironments("string")
        .projectKey("string")
        .propertySets("string")
        .proxy("string")
        .queryParams("string")
        .remoteRepoLayoutRef("string")
        .repoLayoutRef("string")
        .retrievalCachePeriodSeconds(0)
        .shareConfiguration(false)
        .socketTimeoutMillis(0)
        .storeArtifactsLocally(false)
        .synchronizeProperties(false)
        .unusedArtifactsCleanupPeriodHours(0)
        .anonymousAccess(false)
        .username("string")
        .xrayIndex(false)
        .build());
    
    remote_cargo_repository_resource = artifactory.RemoteCargoRepository("remoteCargoRepositoryResource",
        git_registry_url="string",
        url="string",
        key="string",
        metadata_retrieval_timeout_secs=0,
        disable_proxy=False,
        notes="string",
        cdn_redirect=False,
        client_tls_certificate="string",
        content_synchronisation=artifactory.RemoteCargoRepositoryContentSynchronisationArgs(
            enabled=False,
            properties_enabled=False,
            source_origin_absence_detection=False,
            statistics_enabled=False,
        ),
        description="string",
        missed_cache_period_seconds=0,
        disable_url_normalization=False,
        download_direct=False,
        enable_cookie_management=False,
        enable_sparse_index=False,
        mismatching_mime_types_override_list="string",
        blacked_out=False,
        hard_fail=False,
        includes_pattern="string",
        assumed_offline_period_secs=0,
        list_remote_folder_items=False,
        local_address="string",
        allow_any_host_auth=False,
        excludes_pattern="string",
        block_mismatching_mime_types=False,
        bypass_head_requests=False,
        offline=False,
        password="string",
        priority_resolution=False,
        project_environments=["string"],
        project_key="string",
        property_sets=["string"],
        proxy="string",
        query_params="string",
        remote_repo_layout_ref="string",
        repo_layout_ref="string",
        retrieval_cache_period_seconds=0,
        share_configuration=False,
        socket_timeout_millis=0,
        store_artifacts_locally=False,
        synchronize_properties=False,
        unused_artifacts_cleanup_period_hours=0,
        anonymous_access=False,
        username="string",
        xray_index=False)
    
    const remoteCargoRepositoryResource = new artifactory.RemoteCargoRepository("remoteCargoRepositoryResource", {
        gitRegistryUrl: "string",
        url: "string",
        key: "string",
        metadataRetrievalTimeoutSecs: 0,
        disableProxy: false,
        notes: "string",
        cdnRedirect: false,
        clientTlsCertificate: "string",
        contentSynchronisation: {
            enabled: false,
            propertiesEnabled: false,
            sourceOriginAbsenceDetection: false,
            statisticsEnabled: false,
        },
        description: "string",
        missedCachePeriodSeconds: 0,
        disableUrlNormalization: false,
        downloadDirect: false,
        enableCookieManagement: false,
        enableSparseIndex: false,
        mismatchingMimeTypesOverrideList: "string",
        blackedOut: false,
        hardFail: false,
        includesPattern: "string",
        assumedOfflinePeriodSecs: 0,
        listRemoteFolderItems: false,
        localAddress: "string",
        allowAnyHostAuth: false,
        excludesPattern: "string",
        blockMismatchingMimeTypes: false,
        bypassHeadRequests: false,
        offline: false,
        password: "string",
        priorityResolution: false,
        projectEnvironments: ["string"],
        projectKey: "string",
        propertySets: ["string"],
        proxy: "string",
        queryParams: "string",
        remoteRepoLayoutRef: "string",
        repoLayoutRef: "string",
        retrievalCachePeriodSeconds: 0,
        shareConfiguration: false,
        socketTimeoutMillis: 0,
        storeArtifactsLocally: false,
        synchronizeProperties: false,
        unusedArtifactsCleanupPeriodHours: 0,
        anonymousAccess: false,
        username: "string",
        xrayIndex: false,
    });
    
    type: artifactory:RemoteCargoRepository
    properties:
        allowAnyHostAuth: false
        anonymousAccess: false
        assumedOfflinePeriodSecs: 0
        blackedOut: false
        blockMismatchingMimeTypes: false
        bypassHeadRequests: false
        cdnRedirect: false
        clientTlsCertificate: string
        contentSynchronisation:
            enabled: false
            propertiesEnabled: false
            sourceOriginAbsenceDetection: false
            statisticsEnabled: false
        description: string
        disableProxy: false
        disableUrlNormalization: false
        downloadDirect: false
        enableCookieManagement: false
        enableSparseIndex: false
        excludesPattern: string
        gitRegistryUrl: string
        hardFail: false
        includesPattern: string
        key: string
        listRemoteFolderItems: false
        localAddress: string
        metadataRetrievalTimeoutSecs: 0
        mismatchingMimeTypesOverrideList: string
        missedCachePeriodSeconds: 0
        notes: string
        offline: false
        password: string
        priorityResolution: false
        projectEnvironments:
            - string
        projectKey: string
        propertySets:
            - string
        proxy: string
        queryParams: string
        remoteRepoLayoutRef: string
        repoLayoutRef: string
        retrievalCachePeriodSeconds: 0
        shareConfiguration: false
        socketTimeoutMillis: 0
        storeArtifactsLocally: false
        synchronizeProperties: false
        unusedArtifactsCleanupPeriodHours: 0
        url: string
        username: string
        xrayIndex: false
    

    RemoteCargoRepository 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 RemoteCargoRepository resource accepts the following input properties:

    GitRegistryUrl string
    This is the index url, expected to be a git repository. Default value is https://github.com/rust-lang/crates.io-index.
    Key string
    A mandatory identifier for the repository that must be unique. It cannot begin with a number or contain spaces or special characters.
    Url string
    The remote repo URL.
    AllowAnyHostAuth bool
    'Lenient Host Authentication' in the UI. Allow credentials of this repository to be used on requests redirected to any other host.
    AnonymousAccess bool
    Cargo client does not send credentials when performing download and search for crates. Enable this to allow anonymous access to these resources (only), note that this will override the security anonymous access option. Default value is false.
    AssumedOfflinePeriodSecs int
    The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time, an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed offline.
    BlackedOut bool
    (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact resolution.
    BlockMismatchingMimeTypes bool
    If set, artifacts will fail to download if a mismatch is detected between requested and received mimetype, according to the list specified in the system properties file under blockedMismatchingMimeTypes. You can override by adding mimetypes to the override list 'mismatching_mime_types_override_list'.
    BypassHeadRequests bool
    Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
    CdnRedirect bool
    When set, download requests to this repository will redirect the client to download the artifact directly from AWS CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false'
    ClientTlsCertificate string
    Client TLS certificate name.
    ContentSynchronisation RemoteCargoRepositoryContentSynchronisation
    Description string
    Public description.
    DisableProxy bool
    When set to true, the proxy is disabled, and not returned in the API response body. If there is a default proxy set for the Artifactory instance, it will be ignored, too. Introduced since Artifactory 7.41.7.
    DisableUrlNormalization bool
    Whether to disable URL normalization, default is false.
    DownloadDirect bool
    When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. Default value is 'false'.
    EnableCookieManagement bool
    Enables cookie management if the remote repository uses cookies to manage client state.
    EnableSparseIndex bool
    Enable internal index support based on Cargo sparse index specifications, instead of the default git index. Default value is false.
    ExcludesPattern string
    List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*.By default no artifacts are excluded.
    HardFail bool
    When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to communicate with this repository.
    IncludesPattern 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 (/*).
    ListRemoteFolderItems bool
    Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of the 'Retrieval Cache Period'. Default value is 'true'.
    LocalAddress string
    The local address to be used when creating connections. Useful for specifying the interface to use on systems with multiple network interfaces.
    MetadataRetrievalTimeoutSecs int
    Metadata Retrieval Cache Timeout (Sec) in the UI.This value refers to the number of seconds to wait for retrieval from the remote before serving locally cached artifact or fail the request.
    MismatchingMimeTypesOverrideList string
    The set of mime types that should override the block_mismatching_mime_types setting. Eg: 'application/json,application/xml'. Default value is empty.
    MissedCachePeriodSeconds int
    Missed Retrieval Cache Period (Sec) in the UI. The number of seconds to cache artifact retrieval misses (artifact not found). A value of 0 indicates no caching.
    Notes string
    Internal description.
    Offline bool
    If set, Artifactory does not try to fetch remote artifacts. Only locally-cached artifacts are retrieved.
    Password string
    PriorityResolution bool
    Setting Priority Resolution takes precedence over the resolution order when resolving virtual repositories. Setting repositories with priority will cause metadata to be merged only from repositories set with a priority. If a package is not found in those repositories, Artifactory will merge from repositories marked as non-priority.
    ProjectEnvironments List<string>
    Project environment for assigning this repository to. Allow values: "DEV", "PROD", or one of custom environment. Before Artifactory 7.53.1, up to 2 values ("DEV" and "PROD") are allowed. From 7.53.1 onward, only one value is allowed. The attribute should only be used if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but will remain in the Terraform state, which will create state drift during the update.
    ProjectKey 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.
    PropertySets List<string>
    List of property set names
    Proxy string
    Proxy key from Artifactory Proxies settings. Can't be set if disable_proxy = true.
    QueryParams string
    Custom HTTP query parameters that will be automatically included in all remote resource requests. For example: param1=val1&param2=val2&param3=val3
    RemoteRepoLayoutRef string
    Repository layout key for the remote layout mapping. Repository can be created without this attribute (or set to an empty string). Once it's set, it can't be removed by passing an empty string or removing the attribute, that will be ignored by the Artifactory API. UI shows an error message, if the user tries to remove the value.
    RepoLayoutRef string
    Repository layout key for the remote repository
    RetrievalCachePeriodSeconds int
    Metadata Retrieval Cache Period (Sec) in the UI. This value refers to the number of seconds to cache metadata files before checking for newer versions on remote server. A value of 0 indicates no caching.
    ShareConfiguration bool
    SocketTimeoutMillis int
    Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network operation is considered a retrieval failure.
    StoreArtifactsLocally bool
    When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory servers.
    SynchronizeProperties bool
    When set, remote artifacts are fetched along with their properties.
    UnusedArtifactsCleanupPeriodHours int
    Unused Artifacts Cleanup Period (Hr) in the UI. The number of hours to wait before an artifact is deemed 'unused' and eligible for cleanup from the repository. A value of 0 means automatic cleanup of cached artifacts is disabled.
    Username string
    XrayIndex bool
    Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings.
    GitRegistryUrl string
    This is the index url, expected to be a git repository. Default value is https://github.com/rust-lang/crates.io-index.
    Key string
    A mandatory identifier for the repository that must be unique. It cannot begin with a number or contain spaces or special characters.
    Url string
    The remote repo URL.
    AllowAnyHostAuth bool
    'Lenient Host Authentication' in the UI. Allow credentials of this repository to be used on requests redirected to any other host.
    AnonymousAccess bool
    Cargo client does not send credentials when performing download and search for crates. Enable this to allow anonymous access to these resources (only), note that this will override the security anonymous access option. Default value is false.
    AssumedOfflinePeriodSecs int
    The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time, an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed offline.
    BlackedOut bool
    (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact resolution.
    BlockMismatchingMimeTypes bool
    If set, artifacts will fail to download if a mismatch is detected between requested and received mimetype, according to the list specified in the system properties file under blockedMismatchingMimeTypes. You can override by adding mimetypes to the override list 'mismatching_mime_types_override_list'.
    BypassHeadRequests bool
    Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
    CdnRedirect bool
    When set, download requests to this repository will redirect the client to download the artifact directly from AWS CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false'
    ClientTlsCertificate string
    Client TLS certificate name.
    ContentSynchronisation RemoteCargoRepositoryContentSynchronisationArgs
    Description string
    Public description.
    DisableProxy bool
    When set to true, the proxy is disabled, and not returned in the API response body. If there is a default proxy set for the Artifactory instance, it will be ignored, too. Introduced since Artifactory 7.41.7.
    DisableUrlNormalization bool
    Whether to disable URL normalization, default is false.
    DownloadDirect bool
    When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. Default value is 'false'.
    EnableCookieManagement bool
    Enables cookie management if the remote repository uses cookies to manage client state.
    EnableSparseIndex bool
    Enable internal index support based on Cargo sparse index specifications, instead of the default git index. Default value is false.
    ExcludesPattern string
    List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*.By default no artifacts are excluded.
    HardFail bool
    When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to communicate with this repository.
    IncludesPattern 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 (/*).
    ListRemoteFolderItems bool
    Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of the 'Retrieval Cache Period'. Default value is 'true'.
    LocalAddress string
    The local address to be used when creating connections. Useful for specifying the interface to use on systems with multiple network interfaces.
    MetadataRetrievalTimeoutSecs int
    Metadata Retrieval Cache Timeout (Sec) in the UI.This value refers to the number of seconds to wait for retrieval from the remote before serving locally cached artifact or fail the request.
    MismatchingMimeTypesOverrideList string
    The set of mime types that should override the block_mismatching_mime_types setting. Eg: 'application/json,application/xml'. Default value is empty.
    MissedCachePeriodSeconds int
    Missed Retrieval Cache Period (Sec) in the UI. The number of seconds to cache artifact retrieval misses (artifact not found). A value of 0 indicates no caching.
    Notes string
    Internal description.
    Offline bool
    If set, Artifactory does not try to fetch remote artifacts. Only locally-cached artifacts are retrieved.
    Password string
    PriorityResolution bool
    Setting Priority Resolution takes precedence over the resolution order when resolving virtual repositories. Setting repositories with priority will cause metadata to be merged only from repositories set with a priority. If a package is not found in those repositories, Artifactory will merge from repositories marked as non-priority.
    ProjectEnvironments []string
    Project environment for assigning this repository to. Allow values: "DEV", "PROD", or one of custom environment. Before Artifactory 7.53.1, up to 2 values ("DEV" and "PROD") are allowed. From 7.53.1 onward, only one value is allowed. The attribute should only be used if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but will remain in the Terraform state, which will create state drift during the update.
    ProjectKey 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.
    PropertySets []string
    List of property set names
    Proxy string
    Proxy key from Artifactory Proxies settings. Can't be set if disable_proxy = true.
    QueryParams string
    Custom HTTP query parameters that will be automatically included in all remote resource requests. For example: param1=val1&param2=val2&param3=val3
    RemoteRepoLayoutRef string
    Repository layout key for the remote layout mapping. Repository can be created without this attribute (or set to an empty string). Once it's set, it can't be removed by passing an empty string or removing the attribute, that will be ignored by the Artifactory API. UI shows an error message, if the user tries to remove the value.
    RepoLayoutRef string
    Repository layout key for the remote repository
    RetrievalCachePeriodSeconds int
    Metadata Retrieval Cache Period (Sec) in the UI. This value refers to the number of seconds to cache metadata files before checking for newer versions on remote server. A value of 0 indicates no caching.
    ShareConfiguration bool
    SocketTimeoutMillis int
    Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network operation is considered a retrieval failure.
    StoreArtifactsLocally bool
    When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory servers.
    SynchronizeProperties bool
    When set, remote artifacts are fetched along with their properties.
    UnusedArtifactsCleanupPeriodHours int
    Unused Artifacts Cleanup Period (Hr) in the UI. The number of hours to wait before an artifact is deemed 'unused' and eligible for cleanup from the repository. A value of 0 means automatic cleanup of cached artifacts is disabled.
    Username string
    XrayIndex bool
    Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings.
    gitRegistryUrl String
    This is the index url, expected to be a git repository. Default value is https://github.com/rust-lang/crates.io-index.
    key String
    A mandatory identifier for the repository that must be unique. It cannot begin with a number or contain spaces or special characters.
    url String
    The remote repo URL.
    allowAnyHostAuth Boolean
    'Lenient Host Authentication' in the UI. Allow credentials of this repository to be used on requests redirected to any other host.
    anonymousAccess Boolean
    Cargo client does not send credentials when performing download and search for crates. Enable this to allow anonymous access to these resources (only), note that this will override the security anonymous access option. Default value is false.
    assumedOfflinePeriodSecs Integer
    The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time, an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed offline.
    blackedOut Boolean
    (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact resolution.
    blockMismatchingMimeTypes Boolean
    If set, artifacts will fail to download if a mismatch is detected between requested and received mimetype, according to the list specified in the system properties file under blockedMismatchingMimeTypes. You can override by adding mimetypes to the override list 'mismatching_mime_types_override_list'.
    bypassHeadRequests Boolean
    Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
    cdnRedirect Boolean
    When set, download requests to this repository will redirect the client to download the artifact directly from AWS CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false'
    clientTlsCertificate String
    Client TLS certificate name.
    contentSynchronisation RemoteCargoRepositoryContentSynchronisation
    description String
    Public description.
    disableProxy Boolean
    When set to true, the proxy is disabled, and not returned in the API response body. If there is a default proxy set for the Artifactory instance, it will be ignored, too. Introduced since Artifactory 7.41.7.
    disableUrlNormalization Boolean
    Whether to disable URL normalization, default is false.
    downloadDirect Boolean
    When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. Default value is 'false'.
    enableCookieManagement Boolean
    Enables cookie management if the remote repository uses cookies to manage client state.
    enableSparseIndex Boolean
    Enable internal index support based on Cargo sparse index specifications, instead of the default git index. Default value is false.
    excludesPattern String
    List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*.By default no artifacts are excluded.
    hardFail Boolean
    When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to communicate with this repository.
    includesPattern 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 (/*).
    listRemoteFolderItems Boolean
    Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of the 'Retrieval Cache Period'. Default value is 'true'.
    localAddress String
    The local address to be used when creating connections. Useful for specifying the interface to use on systems with multiple network interfaces.
    metadataRetrievalTimeoutSecs Integer
    Metadata Retrieval Cache Timeout (Sec) in the UI.This value refers to the number of seconds to wait for retrieval from the remote before serving locally cached artifact or fail the request.
    mismatchingMimeTypesOverrideList String
    The set of mime types that should override the block_mismatching_mime_types setting. Eg: 'application/json,application/xml'. Default value is empty.
    missedCachePeriodSeconds Integer
    Missed Retrieval Cache Period (Sec) in the UI. The number of seconds to cache artifact retrieval misses (artifact not found). A value of 0 indicates no caching.
    notes String
    Internal description.
    offline Boolean
    If set, Artifactory does not try to fetch remote artifacts. Only locally-cached artifacts are retrieved.
    password String
    priorityResolution Boolean
    Setting Priority Resolution takes precedence over the resolution order when resolving virtual repositories. Setting repositories with priority will cause metadata to be merged only from repositories set with a priority. If a package is not found in those repositories, Artifactory will merge from repositories marked as non-priority.
    projectEnvironments List<String>
    Project environment for assigning this repository to. Allow values: "DEV", "PROD", or one of custom environment. Before Artifactory 7.53.1, up to 2 values ("DEV" and "PROD") are allowed. From 7.53.1 onward, only one value is allowed. The attribute should only be used if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but will remain in the Terraform state, which will create state drift during the update.
    projectKey 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.
    propertySets List<String>
    List of property set names
    proxy String
    Proxy key from Artifactory Proxies settings. Can't be set if disable_proxy = true.
    queryParams String
    Custom HTTP query parameters that will be automatically included in all remote resource requests. For example: param1=val1&param2=val2&param3=val3
    remoteRepoLayoutRef String
    Repository layout key for the remote layout mapping. Repository can be created without this attribute (or set to an empty string). Once it's set, it can't be removed by passing an empty string or removing the attribute, that will be ignored by the Artifactory API. UI shows an error message, if the user tries to remove the value.
    repoLayoutRef String
    Repository layout key for the remote repository
    retrievalCachePeriodSeconds Integer
    Metadata Retrieval Cache Period (Sec) in the UI. This value refers to the number of seconds to cache metadata files before checking for newer versions on remote server. A value of 0 indicates no caching.
    shareConfiguration Boolean
    socketTimeoutMillis Integer
    Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network operation is considered a retrieval failure.
    storeArtifactsLocally Boolean
    When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory servers.
    synchronizeProperties Boolean
    When set, remote artifacts are fetched along with their properties.
    unusedArtifactsCleanupPeriodHours Integer
    Unused Artifacts Cleanup Period (Hr) in the UI. The number of hours to wait before an artifact is deemed 'unused' and eligible for cleanup from the repository. A value of 0 means automatic cleanup of cached artifacts is disabled.
    username String
    xrayIndex Boolean
    Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings.
    gitRegistryUrl string
    This is the index url, expected to be a git repository. Default value is https://github.com/rust-lang/crates.io-index.
    key string
    A mandatory identifier for the repository that must be unique. It cannot begin with a number or contain spaces or special characters.
    url string
    The remote repo URL.
    allowAnyHostAuth boolean
    'Lenient Host Authentication' in the UI. Allow credentials of this repository to be used on requests redirected to any other host.
    anonymousAccess boolean
    Cargo client does not send credentials when performing download and search for crates. Enable this to allow anonymous access to these resources (only), note that this will override the security anonymous access option. Default value is false.
    assumedOfflinePeriodSecs number
    The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time, an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed offline.
    blackedOut boolean
    (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact resolution.
    blockMismatchingMimeTypes boolean
    If set, artifacts will fail to download if a mismatch is detected between requested and received mimetype, according to the list specified in the system properties file under blockedMismatchingMimeTypes. You can override by adding mimetypes to the override list 'mismatching_mime_types_override_list'.
    bypassHeadRequests boolean
    Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
    cdnRedirect boolean
    When set, download requests to this repository will redirect the client to download the artifact directly from AWS CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false'
    clientTlsCertificate string
    Client TLS certificate name.
    contentSynchronisation RemoteCargoRepositoryContentSynchronisation
    description string
    Public description.
    disableProxy boolean
    When set to true, the proxy is disabled, and not returned in the API response body. If there is a default proxy set for the Artifactory instance, it will be ignored, too. Introduced since Artifactory 7.41.7.
    disableUrlNormalization boolean
    Whether to disable URL normalization, default is false.
    downloadDirect boolean
    When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. Default value is 'false'.
    enableCookieManagement boolean
    Enables cookie management if the remote repository uses cookies to manage client state.
    enableSparseIndex boolean
    Enable internal index support based on Cargo sparse index specifications, instead of the default git index. Default value is false.
    excludesPattern string
    List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*.By default no artifacts are excluded.
    hardFail boolean
    When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to communicate with this repository.
    includesPattern 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 (/*).
    listRemoteFolderItems boolean
    Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of the 'Retrieval Cache Period'. Default value is 'true'.
    localAddress string
    The local address to be used when creating connections. Useful for specifying the interface to use on systems with multiple network interfaces.
    metadataRetrievalTimeoutSecs number
    Metadata Retrieval Cache Timeout (Sec) in the UI.This value refers to the number of seconds to wait for retrieval from the remote before serving locally cached artifact or fail the request.
    mismatchingMimeTypesOverrideList string
    The set of mime types that should override the block_mismatching_mime_types setting. Eg: 'application/json,application/xml'. Default value is empty.
    missedCachePeriodSeconds number
    Missed Retrieval Cache Period (Sec) in the UI. The number of seconds to cache artifact retrieval misses (artifact not found). A value of 0 indicates no caching.
    notes string
    Internal description.
    offline boolean
    If set, Artifactory does not try to fetch remote artifacts. Only locally-cached artifacts are retrieved.
    password string
    priorityResolution boolean
    Setting Priority Resolution takes precedence over the resolution order when resolving virtual repositories. Setting repositories with priority will cause metadata to be merged only from repositories set with a priority. If a package is not found in those repositories, Artifactory will merge from repositories marked as non-priority.
    projectEnvironments string[]
    Project environment for assigning this repository to. Allow values: "DEV", "PROD", or one of custom environment. Before Artifactory 7.53.1, up to 2 values ("DEV" and "PROD") are allowed. From 7.53.1 onward, only one value is allowed. The attribute should only be used if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but will remain in the Terraform state, which will create state drift during the update.
    projectKey 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.
    propertySets string[]
    List of property set names
    proxy string
    Proxy key from Artifactory Proxies settings. Can't be set if disable_proxy = true.
    queryParams string
    Custom HTTP query parameters that will be automatically included in all remote resource requests. For example: param1=val1&param2=val2&param3=val3
    remoteRepoLayoutRef string
    Repository layout key for the remote layout mapping. Repository can be created without this attribute (or set to an empty string). Once it's set, it can't be removed by passing an empty string or removing the attribute, that will be ignored by the Artifactory API. UI shows an error message, if the user tries to remove the value.
    repoLayoutRef string
    Repository layout key for the remote repository
    retrievalCachePeriodSeconds number
    Metadata Retrieval Cache Period (Sec) in the UI. This value refers to the number of seconds to cache metadata files before checking for newer versions on remote server. A value of 0 indicates no caching.
    shareConfiguration boolean
    socketTimeoutMillis number
    Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network operation is considered a retrieval failure.
    storeArtifactsLocally boolean
    When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory servers.
    synchronizeProperties boolean
    When set, remote artifacts are fetched along with their properties.
    unusedArtifactsCleanupPeriodHours number
    Unused Artifacts Cleanup Period (Hr) in the UI. The number of hours to wait before an artifact is deemed 'unused' and eligible for cleanup from the repository. A value of 0 means automatic cleanup of cached artifacts is disabled.
    username string
    xrayIndex boolean
    Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings.
    git_registry_url str
    This is the index url, expected to be a git repository. Default value is https://github.com/rust-lang/crates.io-index.
    key str
    A mandatory identifier for the repository that must be unique. It cannot begin with a number or contain spaces or special characters.
    url str
    The remote repo URL.
    allow_any_host_auth bool
    'Lenient Host Authentication' in the UI. Allow credentials of this repository to be used on requests redirected to any other host.
    anonymous_access bool
    Cargo client does not send credentials when performing download and search for crates. Enable this to allow anonymous access to these resources (only), note that this will override the security anonymous access option. Default value is false.
    assumed_offline_period_secs int
    The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time, an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed offline.
    blacked_out bool
    (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact resolution.
    block_mismatching_mime_types bool
    If set, artifacts will fail to download if a mismatch is detected between requested and received mimetype, according to the list specified in the system properties file under blockedMismatchingMimeTypes. You can override by adding mimetypes to the override list 'mismatching_mime_types_override_list'.
    bypass_head_requests bool
    Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
    cdn_redirect bool
    When set, download requests to this repository will redirect the client to download the artifact directly from AWS CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false'
    client_tls_certificate str
    Client TLS certificate name.
    content_synchronisation RemoteCargoRepositoryContentSynchronisationArgs
    description str
    Public description.
    disable_proxy bool
    When set to true, the proxy is disabled, and not returned in the API response body. If there is a default proxy set for the Artifactory instance, it will be ignored, too. Introduced since Artifactory 7.41.7.
    disable_url_normalization bool
    Whether to disable URL normalization, default is false.
    download_direct bool
    When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. Default value is 'false'.
    enable_cookie_management bool
    Enables cookie management if the remote repository uses cookies to manage client state.
    enable_sparse_index bool
    Enable internal index support based on Cargo sparse index specifications, instead of the default git index. Default value is false.
    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.
    hard_fail bool
    When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to communicate with this repository.
    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 (/*).
    list_remote_folder_items bool
    Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of the 'Retrieval Cache Period'. Default value is 'true'.
    local_address str
    The local address to be used when creating connections. Useful for specifying the interface to use on systems with multiple network interfaces.
    metadata_retrieval_timeout_secs int
    Metadata Retrieval Cache Timeout (Sec) in the UI.This value refers to the number of seconds to wait for retrieval from the remote before serving locally cached artifact or fail the request.
    mismatching_mime_types_override_list str
    The set of mime types that should override the block_mismatching_mime_types setting. Eg: 'application/json,application/xml'. Default value is empty.
    missed_cache_period_seconds int
    Missed Retrieval Cache Period (Sec) in the UI. The number of seconds to cache artifact retrieval misses (artifact not found). A value of 0 indicates no caching.
    notes str
    Internal description.
    offline bool
    If set, Artifactory does not try to fetch remote artifacts. Only locally-cached artifacts are retrieved.
    password str
    priority_resolution bool
    Setting Priority Resolution takes precedence over the resolution order when resolving virtual repositories. Setting repositories with priority will cause metadata to be merged only from repositories set with a priority. If a package is not found in those repositories, Artifactory will merge from repositories marked as non-priority.
    project_environments Sequence[str]
    Project environment for assigning this repository to. Allow values: "DEV", "PROD", or one of custom environment. Before Artifactory 7.53.1, up to 2 values ("DEV" and "PROD") are allowed. From 7.53.1 onward, only one value is allowed. The attribute should only be used if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but will remain in the Terraform state, which will create state drift during the update.
    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.
    property_sets Sequence[str]
    List of property set names
    proxy str
    Proxy key from Artifactory Proxies settings. Can't be set if disable_proxy = true.
    query_params str
    Custom HTTP query parameters that will be automatically included in all remote resource requests. For example: param1=val1&param2=val2&param3=val3
    remote_repo_layout_ref str
    Repository layout key for the remote layout mapping. Repository can be created without this attribute (or set to an empty string). Once it's set, it can't be removed by passing an empty string or removing the attribute, that will be ignored by the Artifactory API. UI shows an error message, if the user tries to remove the value.
    repo_layout_ref str
    Repository layout key for the remote repository
    retrieval_cache_period_seconds int
    Metadata Retrieval Cache Period (Sec) in the UI. This value refers to the number of seconds to cache metadata files before checking for newer versions on remote server. A value of 0 indicates no caching.
    share_configuration bool
    socket_timeout_millis int
    Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network operation is considered a retrieval failure.
    store_artifacts_locally bool
    When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory servers.
    synchronize_properties bool
    When set, remote artifacts are fetched along with their properties.
    unused_artifacts_cleanup_period_hours int
    Unused Artifacts Cleanup Period (Hr) in the UI. The number of hours to wait before an artifact is deemed 'unused' and eligible for cleanup from the repository. A value of 0 means automatic cleanup of cached artifacts is disabled.
    username str
    xray_index bool
    Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings.
    gitRegistryUrl String
    This is the index url, expected to be a git repository. Default value is https://github.com/rust-lang/crates.io-index.
    key String
    A mandatory identifier for the repository that must be unique. It cannot begin with a number or contain spaces or special characters.
    url String
    The remote repo URL.
    allowAnyHostAuth Boolean
    'Lenient Host Authentication' in the UI. Allow credentials of this repository to be used on requests redirected to any other host.
    anonymousAccess Boolean
    Cargo client does not send credentials when performing download and search for crates. Enable this to allow anonymous access to these resources (only), note that this will override the security anonymous access option. Default value is false.
    assumedOfflinePeriodSecs Number
    The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time, an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed offline.
    blackedOut Boolean
    (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact resolution.
    blockMismatchingMimeTypes Boolean
    If set, artifacts will fail to download if a mismatch is detected between requested and received mimetype, according to the list specified in the system properties file under blockedMismatchingMimeTypes. You can override by adding mimetypes to the override list 'mismatching_mime_types_override_list'.
    bypassHeadRequests Boolean
    Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
    cdnRedirect Boolean
    When set, download requests to this repository will redirect the client to download the artifact directly from AWS CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false'
    clientTlsCertificate String
    Client TLS certificate name.
    contentSynchronisation Property Map
    description String
    Public description.
    disableProxy Boolean
    When set to true, the proxy is disabled, and not returned in the API response body. If there is a default proxy set for the Artifactory instance, it will be ignored, too. Introduced since Artifactory 7.41.7.
    disableUrlNormalization Boolean
    Whether to disable URL normalization, default is false.
    downloadDirect Boolean
    When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. Default value is 'false'.
    enableCookieManagement Boolean
    Enables cookie management if the remote repository uses cookies to manage client state.
    enableSparseIndex Boolean
    Enable internal index support based on Cargo sparse index specifications, instead of the default git index. Default value is false.
    excludesPattern String
    List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*.By default no artifacts are excluded.
    hardFail Boolean
    When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to communicate with this repository.
    includesPattern 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 (/*).
    listRemoteFolderItems Boolean
    Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of the 'Retrieval Cache Period'. Default value is 'true'.
    localAddress String
    The local address to be used when creating connections. Useful for specifying the interface to use on systems with multiple network interfaces.
    metadataRetrievalTimeoutSecs Number
    Metadata Retrieval Cache Timeout (Sec) in the UI.This value refers to the number of seconds to wait for retrieval from the remote before serving locally cached artifact or fail the request.
    mismatchingMimeTypesOverrideList String
    The set of mime types that should override the block_mismatching_mime_types setting. Eg: 'application/json,application/xml'. Default value is empty.
    missedCachePeriodSeconds Number
    Missed Retrieval Cache Period (Sec) in the UI. The number of seconds to cache artifact retrieval misses (artifact not found). A value of 0 indicates no caching.
    notes String
    Internal description.
    offline Boolean
    If set, Artifactory does not try to fetch remote artifacts. Only locally-cached artifacts are retrieved.
    password String
    priorityResolution Boolean
    Setting Priority Resolution takes precedence over the resolution order when resolving virtual repositories. Setting repositories with priority will cause metadata to be merged only from repositories set with a priority. If a package is not found in those repositories, Artifactory will merge from repositories marked as non-priority.
    projectEnvironments List<String>
    Project environment for assigning this repository to. Allow values: "DEV", "PROD", or one of custom environment. Before Artifactory 7.53.1, up to 2 values ("DEV" and "PROD") are allowed. From 7.53.1 onward, only one value is allowed. The attribute should only be used if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but will remain in the Terraform state, which will create state drift during the update.
    projectKey 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.
    propertySets List<String>
    List of property set names
    proxy String
    Proxy key from Artifactory Proxies settings. Can't be set if disable_proxy = true.
    queryParams String
    Custom HTTP query parameters that will be automatically included in all remote resource requests. For example: param1=val1&param2=val2&param3=val3
    remoteRepoLayoutRef String
    Repository layout key for the remote layout mapping. Repository can be created without this attribute (or set to an empty string). Once it's set, it can't be removed by passing an empty string or removing the attribute, that will be ignored by the Artifactory API. UI shows an error message, if the user tries to remove the value.
    repoLayoutRef String
    Repository layout key for the remote repository
    retrievalCachePeriodSeconds Number
    Metadata Retrieval Cache Period (Sec) in the UI. This value refers to the number of seconds to cache metadata files before checking for newer versions on remote server. A value of 0 indicates no caching.
    shareConfiguration Boolean
    socketTimeoutMillis Number
    Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network operation is considered a retrieval failure.
    storeArtifactsLocally Boolean
    When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory servers.
    synchronizeProperties Boolean
    When set, remote artifacts are fetched along with their properties.
    unusedArtifactsCleanupPeriodHours Number
    Unused Artifacts Cleanup Period (Hr) in the UI. The number of hours to wait before an artifact is deemed 'unused' and eligible for cleanup from the repository. A value of 0 means automatic cleanup of cached artifacts is disabled.
    username String
    xrayIndex Boolean
    Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RemoteCargoRepository resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    PackageType string
    Id string
    The provider-assigned unique ID for this managed resource.
    PackageType string
    id String
    The provider-assigned unique ID for this managed resource.
    packageType String
    id string
    The provider-assigned unique ID for this managed resource.
    packageType 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.
    packageType String

    Look up Existing RemoteCargoRepository Resource

    Get an existing RemoteCargoRepository 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?: RemoteCargoRepositoryState, opts?: CustomResourceOptions): RemoteCargoRepository
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allow_any_host_auth: Optional[bool] = None,
            anonymous_access: Optional[bool] = None,
            assumed_offline_period_secs: Optional[int] = None,
            blacked_out: Optional[bool] = None,
            block_mismatching_mime_types: Optional[bool] = None,
            bypass_head_requests: Optional[bool] = None,
            cdn_redirect: Optional[bool] = None,
            client_tls_certificate: Optional[str] = None,
            content_synchronisation: Optional[RemoteCargoRepositoryContentSynchronisationArgs] = None,
            description: Optional[str] = None,
            disable_proxy: Optional[bool] = None,
            disable_url_normalization: Optional[bool] = None,
            download_direct: Optional[bool] = None,
            enable_cookie_management: Optional[bool] = None,
            enable_sparse_index: Optional[bool] = None,
            excludes_pattern: Optional[str] = None,
            git_registry_url: Optional[str] = None,
            hard_fail: Optional[bool] = None,
            includes_pattern: Optional[str] = None,
            key: Optional[str] = None,
            list_remote_folder_items: Optional[bool] = None,
            local_address: Optional[str] = None,
            metadata_retrieval_timeout_secs: Optional[int] = None,
            mismatching_mime_types_override_list: Optional[str] = None,
            missed_cache_period_seconds: Optional[int] = None,
            notes: Optional[str] = None,
            offline: Optional[bool] = None,
            package_type: Optional[str] = None,
            password: Optional[str] = None,
            priority_resolution: Optional[bool] = None,
            project_environments: Optional[Sequence[str]] = None,
            project_key: Optional[str] = None,
            property_sets: Optional[Sequence[str]] = None,
            proxy: Optional[str] = None,
            query_params: Optional[str] = None,
            remote_repo_layout_ref: Optional[str] = None,
            repo_layout_ref: Optional[str] = None,
            retrieval_cache_period_seconds: Optional[int] = None,
            share_configuration: Optional[bool] = None,
            socket_timeout_millis: Optional[int] = None,
            store_artifacts_locally: Optional[bool] = None,
            synchronize_properties: Optional[bool] = None,
            unused_artifacts_cleanup_period_hours: Optional[int] = None,
            url: Optional[str] = None,
            username: Optional[str] = None,
            xray_index: Optional[bool] = None) -> RemoteCargoRepository
    func GetRemoteCargoRepository(ctx *Context, name string, id IDInput, state *RemoteCargoRepositoryState, opts ...ResourceOption) (*RemoteCargoRepository, error)
    public static RemoteCargoRepository Get(string name, Input<string> id, RemoteCargoRepositoryState? state, CustomResourceOptions? opts = null)
    public static RemoteCargoRepository get(String name, Output<String> id, RemoteCargoRepositoryState 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.
    The following state arguments are supported:
    AllowAnyHostAuth bool
    'Lenient Host Authentication' in the UI. Allow credentials of this repository to be used on requests redirected to any other host.
    AnonymousAccess bool
    Cargo client does not send credentials when performing download and search for crates. Enable this to allow anonymous access to these resources (only), note that this will override the security anonymous access option. Default value is false.
    AssumedOfflinePeriodSecs int
    The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time, an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed offline.
    BlackedOut bool
    (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact resolution.
    BlockMismatchingMimeTypes bool
    If set, artifacts will fail to download if a mismatch is detected between requested and received mimetype, according to the list specified in the system properties file under blockedMismatchingMimeTypes. You can override by adding mimetypes to the override list 'mismatching_mime_types_override_list'.
    BypassHeadRequests bool
    Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
    CdnRedirect bool
    When set, download requests to this repository will redirect the client to download the artifact directly from AWS CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false'
    ClientTlsCertificate string
    Client TLS certificate name.
    ContentSynchronisation RemoteCargoRepositoryContentSynchronisation
    Description string
    Public description.
    DisableProxy bool
    When set to true, the proxy is disabled, and not returned in the API response body. If there is a default proxy set for the Artifactory instance, it will be ignored, too. Introduced since Artifactory 7.41.7.
    DisableUrlNormalization bool
    Whether to disable URL normalization, default is false.
    DownloadDirect bool
    When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. Default value is 'false'.
    EnableCookieManagement bool
    Enables cookie management if the remote repository uses cookies to manage client state.
    EnableSparseIndex bool
    Enable internal index support based on Cargo sparse index specifications, instead of the default git index. Default value is false.
    ExcludesPattern string
    List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*.By default no artifacts are excluded.
    GitRegistryUrl string
    This is the index url, expected to be a git repository. Default value is https://github.com/rust-lang/crates.io-index.
    HardFail bool
    When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to communicate with this repository.
    IncludesPattern 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.
    ListRemoteFolderItems bool
    Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of the 'Retrieval Cache Period'. Default value is 'true'.
    LocalAddress string
    The local address to be used when creating connections. Useful for specifying the interface to use on systems with multiple network interfaces.
    MetadataRetrievalTimeoutSecs int
    Metadata Retrieval Cache Timeout (Sec) in the UI.This value refers to the number of seconds to wait for retrieval from the remote before serving locally cached artifact or fail the request.
    MismatchingMimeTypesOverrideList string
    The set of mime types that should override the block_mismatching_mime_types setting. Eg: 'application/json,application/xml'. Default value is empty.
    MissedCachePeriodSeconds int
    Missed Retrieval Cache Period (Sec) in the UI. The number of seconds to cache artifact retrieval misses (artifact not found). A value of 0 indicates no caching.
    Notes string
    Internal description.
    Offline bool
    If set, Artifactory does not try to fetch remote artifacts. Only locally-cached artifacts are retrieved.
    PackageType string
    Password string
    PriorityResolution bool
    Setting Priority Resolution takes precedence over the resolution order when resolving virtual repositories. Setting repositories with priority will cause metadata to be merged only from repositories set with a priority. If a package is not found in those repositories, Artifactory will merge from repositories marked as non-priority.
    ProjectEnvironments List<string>
    Project environment for assigning this repository to. Allow values: "DEV", "PROD", or one of custom environment. Before Artifactory 7.53.1, up to 2 values ("DEV" and "PROD") are allowed. From 7.53.1 onward, only one value is allowed. The attribute should only be used if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but will remain in the Terraform state, which will create state drift during the update.
    ProjectKey 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.
    PropertySets List<string>
    List of property set names
    Proxy string
    Proxy key from Artifactory Proxies settings. Can't be set if disable_proxy = true.
    QueryParams string
    Custom HTTP query parameters that will be automatically included in all remote resource requests. For example: param1=val1&param2=val2&param3=val3
    RemoteRepoLayoutRef string
    Repository layout key for the remote layout mapping. Repository can be created without this attribute (or set to an empty string). Once it's set, it can't be removed by passing an empty string or removing the attribute, that will be ignored by the Artifactory API. UI shows an error message, if the user tries to remove the value.
    RepoLayoutRef string
    Repository layout key for the remote repository
    RetrievalCachePeriodSeconds int
    Metadata Retrieval Cache Period (Sec) in the UI. This value refers to the number of seconds to cache metadata files before checking for newer versions on remote server. A value of 0 indicates no caching.
    ShareConfiguration bool
    SocketTimeoutMillis int
    Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network operation is considered a retrieval failure.
    StoreArtifactsLocally bool
    When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory servers.
    SynchronizeProperties bool
    When set, remote artifacts are fetched along with their properties.
    UnusedArtifactsCleanupPeriodHours int
    Unused Artifacts Cleanup Period (Hr) in the UI. The number of hours to wait before an artifact is deemed 'unused' and eligible for cleanup from the repository. A value of 0 means automatic cleanup of cached artifacts is disabled.
    Url string
    The remote repo URL.
    Username string
    XrayIndex bool
    Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings.
    AllowAnyHostAuth bool
    'Lenient Host Authentication' in the UI. Allow credentials of this repository to be used on requests redirected to any other host.
    AnonymousAccess bool
    Cargo client does not send credentials when performing download and search for crates. Enable this to allow anonymous access to these resources (only), note that this will override the security anonymous access option. Default value is false.
    AssumedOfflinePeriodSecs int
    The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time, an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed offline.
    BlackedOut bool
    (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact resolution.
    BlockMismatchingMimeTypes bool
    If set, artifacts will fail to download if a mismatch is detected between requested and received mimetype, according to the list specified in the system properties file under blockedMismatchingMimeTypes. You can override by adding mimetypes to the override list 'mismatching_mime_types_override_list'.
    BypassHeadRequests bool
    Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
    CdnRedirect bool
    When set, download requests to this repository will redirect the client to download the artifact directly from AWS CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false'
    ClientTlsCertificate string
    Client TLS certificate name.
    ContentSynchronisation RemoteCargoRepositoryContentSynchronisationArgs
    Description string
    Public description.
    DisableProxy bool
    When set to true, the proxy is disabled, and not returned in the API response body. If there is a default proxy set for the Artifactory instance, it will be ignored, too. Introduced since Artifactory 7.41.7.
    DisableUrlNormalization bool
    Whether to disable URL normalization, default is false.
    DownloadDirect bool
    When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. Default value is 'false'.
    EnableCookieManagement bool
    Enables cookie management if the remote repository uses cookies to manage client state.
    EnableSparseIndex bool
    Enable internal index support based on Cargo sparse index specifications, instead of the default git index. Default value is false.
    ExcludesPattern string
    List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*.By default no artifacts are excluded.
    GitRegistryUrl string
    This is the index url, expected to be a git repository. Default value is https://github.com/rust-lang/crates.io-index.
    HardFail bool
    When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to communicate with this repository.
    IncludesPattern 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.
    ListRemoteFolderItems bool
    Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of the 'Retrieval Cache Period'. Default value is 'true'.
    LocalAddress string
    The local address to be used when creating connections. Useful for specifying the interface to use on systems with multiple network interfaces.
    MetadataRetrievalTimeoutSecs int
    Metadata Retrieval Cache Timeout (Sec) in the UI.This value refers to the number of seconds to wait for retrieval from the remote before serving locally cached artifact or fail the request.
    MismatchingMimeTypesOverrideList string
    The set of mime types that should override the block_mismatching_mime_types setting. Eg: 'application/json,application/xml'. Default value is empty.
    MissedCachePeriodSeconds int
    Missed Retrieval Cache Period (Sec) in the UI. The number of seconds to cache artifact retrieval misses (artifact not found). A value of 0 indicates no caching.
    Notes string
    Internal description.
    Offline bool
    If set, Artifactory does not try to fetch remote artifacts. Only locally-cached artifacts are retrieved.
    PackageType string
    Password string
    PriorityResolution bool
    Setting Priority Resolution takes precedence over the resolution order when resolving virtual repositories. Setting repositories with priority will cause metadata to be merged only from repositories set with a priority. If a package is not found in those repositories, Artifactory will merge from repositories marked as non-priority.
    ProjectEnvironments []string
    Project environment for assigning this repository to. Allow values: "DEV", "PROD", or one of custom environment. Before Artifactory 7.53.1, up to 2 values ("DEV" and "PROD") are allowed. From 7.53.1 onward, only one value is allowed. The attribute should only be used if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but will remain in the Terraform state, which will create state drift during the update.
    ProjectKey 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.
    PropertySets []string
    List of property set names
    Proxy string
    Proxy key from Artifactory Proxies settings. Can't be set if disable_proxy = true.
    QueryParams string
    Custom HTTP query parameters that will be automatically included in all remote resource requests. For example: param1=val1&param2=val2&param3=val3
    RemoteRepoLayoutRef string
    Repository layout key for the remote layout mapping. Repository can be created without this attribute (or set to an empty string). Once it's set, it can't be removed by passing an empty string or removing the attribute, that will be ignored by the Artifactory API. UI shows an error message, if the user tries to remove the value.
    RepoLayoutRef string
    Repository layout key for the remote repository
    RetrievalCachePeriodSeconds int
    Metadata Retrieval Cache Period (Sec) in the UI. This value refers to the number of seconds to cache metadata files before checking for newer versions on remote server. A value of 0 indicates no caching.
    ShareConfiguration bool
    SocketTimeoutMillis int
    Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network operation is considered a retrieval failure.
    StoreArtifactsLocally bool
    When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory servers.
    SynchronizeProperties bool
    When set, remote artifacts are fetched along with their properties.
    UnusedArtifactsCleanupPeriodHours int
    Unused Artifacts Cleanup Period (Hr) in the UI. The number of hours to wait before an artifact is deemed 'unused' and eligible for cleanup from the repository. A value of 0 means automatic cleanup of cached artifacts is disabled.
    Url string
    The remote repo URL.
    Username string
    XrayIndex bool
    Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings.
    allowAnyHostAuth Boolean
    'Lenient Host Authentication' in the UI. Allow credentials of this repository to be used on requests redirected to any other host.
    anonymousAccess Boolean
    Cargo client does not send credentials when performing download and search for crates. Enable this to allow anonymous access to these resources (only), note that this will override the security anonymous access option. Default value is false.
    assumedOfflinePeriodSecs Integer
    The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time, an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed offline.
    blackedOut Boolean
    (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact resolution.
    blockMismatchingMimeTypes Boolean
    If set, artifacts will fail to download if a mismatch is detected between requested and received mimetype, according to the list specified in the system properties file under blockedMismatchingMimeTypes. You can override by adding mimetypes to the override list 'mismatching_mime_types_override_list'.
    bypassHeadRequests Boolean
    Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
    cdnRedirect Boolean
    When set, download requests to this repository will redirect the client to download the artifact directly from AWS CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false'
    clientTlsCertificate String
    Client TLS certificate name.
    contentSynchronisation RemoteCargoRepositoryContentSynchronisation
    description String
    Public description.
    disableProxy Boolean
    When set to true, the proxy is disabled, and not returned in the API response body. If there is a default proxy set for the Artifactory instance, it will be ignored, too. Introduced since Artifactory 7.41.7.
    disableUrlNormalization Boolean
    Whether to disable URL normalization, default is false.
    downloadDirect Boolean
    When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. Default value is 'false'.
    enableCookieManagement Boolean
    Enables cookie management if the remote repository uses cookies to manage client state.
    enableSparseIndex Boolean
    Enable internal index support based on Cargo sparse index specifications, instead of the default git index. Default value is false.
    excludesPattern String
    List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*.By default no artifacts are excluded.
    gitRegistryUrl String
    This is the index url, expected to be a git repository. Default value is https://github.com/rust-lang/crates.io-index.
    hardFail Boolean
    When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to communicate with this repository.
    includesPattern 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.
    listRemoteFolderItems Boolean
    Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of the 'Retrieval Cache Period'. Default value is 'true'.
    localAddress String
    The local address to be used when creating connections. Useful for specifying the interface to use on systems with multiple network interfaces.
    metadataRetrievalTimeoutSecs Integer
    Metadata Retrieval Cache Timeout (Sec) in the UI.This value refers to the number of seconds to wait for retrieval from the remote before serving locally cached artifact or fail the request.
    mismatchingMimeTypesOverrideList String
    The set of mime types that should override the block_mismatching_mime_types setting. Eg: 'application/json,application/xml'. Default value is empty.
    missedCachePeriodSeconds Integer
    Missed Retrieval Cache Period (Sec) in the UI. The number of seconds to cache artifact retrieval misses (artifact not found). A value of 0 indicates no caching.
    notes String
    Internal description.
    offline Boolean
    If set, Artifactory does not try to fetch remote artifacts. Only locally-cached artifacts are retrieved.
    packageType String
    password String
    priorityResolution Boolean
    Setting Priority Resolution takes precedence over the resolution order when resolving virtual repositories. Setting repositories with priority will cause metadata to be merged only from repositories set with a priority. If a package is not found in those repositories, Artifactory will merge from repositories marked as non-priority.
    projectEnvironments List<String>
    Project environment for assigning this repository to. Allow values: "DEV", "PROD", or one of custom environment. Before Artifactory 7.53.1, up to 2 values ("DEV" and "PROD") are allowed. From 7.53.1 onward, only one value is allowed. The attribute should only be used if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but will remain in the Terraform state, which will create state drift during the update.
    projectKey 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.
    propertySets List<String>
    List of property set names
    proxy String
    Proxy key from Artifactory Proxies settings. Can't be set if disable_proxy = true.
    queryParams String
    Custom HTTP query parameters that will be automatically included in all remote resource requests. For example: param1=val1&param2=val2&param3=val3
    remoteRepoLayoutRef String
    Repository layout key for the remote layout mapping. Repository can be created without this attribute (or set to an empty string). Once it's set, it can't be removed by passing an empty string or removing the attribute, that will be ignored by the Artifactory API. UI shows an error message, if the user tries to remove the value.
    repoLayoutRef String
    Repository layout key for the remote repository
    retrievalCachePeriodSeconds Integer
    Metadata Retrieval Cache Period (Sec) in the UI. This value refers to the number of seconds to cache metadata files before checking for newer versions on remote server. A value of 0 indicates no caching.
    shareConfiguration Boolean
    socketTimeoutMillis Integer
    Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network operation is considered a retrieval failure.
    storeArtifactsLocally Boolean
    When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory servers.
    synchronizeProperties Boolean
    When set, remote artifacts are fetched along with their properties.
    unusedArtifactsCleanupPeriodHours Integer
    Unused Artifacts Cleanup Period (Hr) in the UI. The number of hours to wait before an artifact is deemed 'unused' and eligible for cleanup from the repository. A value of 0 means automatic cleanup of cached artifacts is disabled.
    url String
    The remote repo URL.
    username String
    xrayIndex Boolean
    Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings.
    allowAnyHostAuth boolean
    'Lenient Host Authentication' in the UI. Allow credentials of this repository to be used on requests redirected to any other host.
    anonymousAccess boolean
    Cargo client does not send credentials when performing download and search for crates. Enable this to allow anonymous access to these resources (only), note that this will override the security anonymous access option. Default value is false.
    assumedOfflinePeriodSecs number
    The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time, an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed offline.
    blackedOut boolean
    (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact resolution.
    blockMismatchingMimeTypes boolean
    If set, artifacts will fail to download if a mismatch is detected between requested and received mimetype, according to the list specified in the system properties file under blockedMismatchingMimeTypes. You can override by adding mimetypes to the override list 'mismatching_mime_types_override_list'.
    bypassHeadRequests boolean
    Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
    cdnRedirect boolean
    When set, download requests to this repository will redirect the client to download the artifact directly from AWS CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false'
    clientTlsCertificate string
    Client TLS certificate name.
    contentSynchronisation RemoteCargoRepositoryContentSynchronisation
    description string
    Public description.
    disableProxy boolean
    When set to true, the proxy is disabled, and not returned in the API response body. If there is a default proxy set for the Artifactory instance, it will be ignored, too. Introduced since Artifactory 7.41.7.
    disableUrlNormalization boolean
    Whether to disable URL normalization, default is false.
    downloadDirect boolean
    When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. Default value is 'false'.
    enableCookieManagement boolean
    Enables cookie management if the remote repository uses cookies to manage client state.
    enableSparseIndex boolean
    Enable internal index support based on Cargo sparse index specifications, instead of the default git index. Default value is false.
    excludesPattern string
    List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*.By default no artifacts are excluded.
    gitRegistryUrl string
    This is the index url, expected to be a git repository. Default value is https://github.com/rust-lang/crates.io-index.
    hardFail boolean
    When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to communicate with this repository.
    includesPattern 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.
    listRemoteFolderItems boolean
    Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of the 'Retrieval Cache Period'. Default value is 'true'.
    localAddress string
    The local address to be used when creating connections. Useful for specifying the interface to use on systems with multiple network interfaces.
    metadataRetrievalTimeoutSecs number
    Metadata Retrieval Cache Timeout (Sec) in the UI.This value refers to the number of seconds to wait for retrieval from the remote before serving locally cached artifact or fail the request.
    mismatchingMimeTypesOverrideList string
    The set of mime types that should override the block_mismatching_mime_types setting. Eg: 'application/json,application/xml'. Default value is empty.
    missedCachePeriodSeconds number
    Missed Retrieval Cache Period (Sec) in the UI. The number of seconds to cache artifact retrieval misses (artifact not found). A value of 0 indicates no caching.
    notes string
    Internal description.
    offline boolean
    If set, Artifactory does not try to fetch remote artifacts. Only locally-cached artifacts are retrieved.
    packageType string
    password string
    priorityResolution boolean
    Setting Priority Resolution takes precedence over the resolution order when resolving virtual repositories. Setting repositories with priority will cause metadata to be merged only from repositories set with a priority. If a package is not found in those repositories, Artifactory will merge from repositories marked as non-priority.
    projectEnvironments string[]
    Project environment for assigning this repository to. Allow values: "DEV", "PROD", or one of custom environment. Before Artifactory 7.53.1, up to 2 values ("DEV" and "PROD") are allowed. From 7.53.1 onward, only one value is allowed. The attribute should only be used if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but will remain in the Terraform state, which will create state drift during the update.
    projectKey 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.
    propertySets string[]
    List of property set names
    proxy string
    Proxy key from Artifactory Proxies settings. Can't be set if disable_proxy = true.
    queryParams string
    Custom HTTP query parameters that will be automatically included in all remote resource requests. For example: param1=val1&param2=val2&param3=val3
    remoteRepoLayoutRef string
    Repository layout key for the remote layout mapping. Repository can be created without this attribute (or set to an empty string). Once it's set, it can't be removed by passing an empty string or removing the attribute, that will be ignored by the Artifactory API. UI shows an error message, if the user tries to remove the value.
    repoLayoutRef string
    Repository layout key for the remote repository
    retrievalCachePeriodSeconds number
    Metadata Retrieval Cache Period (Sec) in the UI. This value refers to the number of seconds to cache metadata files before checking for newer versions on remote server. A value of 0 indicates no caching.
    shareConfiguration boolean
    socketTimeoutMillis number
    Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network operation is considered a retrieval failure.
    storeArtifactsLocally boolean
    When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory servers.
    synchronizeProperties boolean
    When set, remote artifacts are fetched along with their properties.
    unusedArtifactsCleanupPeriodHours number
    Unused Artifacts Cleanup Period (Hr) in the UI. The number of hours to wait before an artifact is deemed 'unused' and eligible for cleanup from the repository. A value of 0 means automatic cleanup of cached artifacts is disabled.
    url string
    The remote repo URL.
    username string
    xrayIndex boolean
    Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings.
    allow_any_host_auth bool
    'Lenient Host Authentication' in the UI. Allow credentials of this repository to be used on requests redirected to any other host.
    anonymous_access bool
    Cargo client does not send credentials when performing download and search for crates. Enable this to allow anonymous access to these resources (only), note that this will override the security anonymous access option. Default value is false.
    assumed_offline_period_secs int
    The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time, an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed offline.
    blacked_out bool
    (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact resolution.
    block_mismatching_mime_types bool
    If set, artifacts will fail to download if a mismatch is detected between requested and received mimetype, according to the list specified in the system properties file under blockedMismatchingMimeTypes. You can override by adding mimetypes to the override list 'mismatching_mime_types_override_list'.
    bypass_head_requests bool
    Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
    cdn_redirect bool
    When set, download requests to this repository will redirect the client to download the artifact directly from AWS CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false'
    client_tls_certificate str
    Client TLS certificate name.
    content_synchronisation RemoteCargoRepositoryContentSynchronisationArgs
    description str
    Public description.
    disable_proxy bool
    When set to true, the proxy is disabled, and not returned in the API response body. If there is a default proxy set for the Artifactory instance, it will be ignored, too. Introduced since Artifactory 7.41.7.
    disable_url_normalization bool
    Whether to disable URL normalization, default is false.
    download_direct bool
    When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. Default value is 'false'.
    enable_cookie_management bool
    Enables cookie management if the remote repository uses cookies to manage client state.
    enable_sparse_index bool
    Enable internal index support based on Cargo sparse index specifications, instead of the default git index. Default value is false.
    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.
    git_registry_url str
    This is the index url, expected to be a git repository. Default value is https://github.com/rust-lang/crates.io-index.
    hard_fail bool
    When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to communicate with this repository.
    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.
    list_remote_folder_items bool
    Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of the 'Retrieval Cache Period'. Default value is 'true'.
    local_address str
    The local address to be used when creating connections. Useful for specifying the interface to use on systems with multiple network interfaces.
    metadata_retrieval_timeout_secs int
    Metadata Retrieval Cache Timeout (Sec) in the UI.This value refers to the number of seconds to wait for retrieval from the remote before serving locally cached artifact or fail the request.
    mismatching_mime_types_override_list str
    The set of mime types that should override the block_mismatching_mime_types setting. Eg: 'application/json,application/xml'. Default value is empty.
    missed_cache_period_seconds int
    Missed Retrieval Cache Period (Sec) in the UI. The number of seconds to cache artifact retrieval misses (artifact not found). A value of 0 indicates no caching.
    notes str
    Internal description.
    offline bool
    If set, Artifactory does not try to fetch remote artifacts. Only locally-cached artifacts are retrieved.
    package_type str
    password str
    priority_resolution bool
    Setting Priority Resolution takes precedence over the resolution order when resolving virtual repositories. Setting repositories with priority will cause metadata to be merged only from repositories set with a priority. If a package is not found in those repositories, Artifactory will merge from repositories marked as non-priority.
    project_environments Sequence[str]
    Project environment for assigning this repository to. Allow values: "DEV", "PROD", or one of custom environment. Before Artifactory 7.53.1, up to 2 values ("DEV" and "PROD") are allowed. From 7.53.1 onward, only one value is allowed. The attribute should only be used if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but will remain in the Terraform state, which will create state drift during the update.
    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.
    property_sets Sequence[str]
    List of property set names
    proxy str
    Proxy key from Artifactory Proxies settings. Can't be set if disable_proxy = true.
    query_params str
    Custom HTTP query parameters that will be automatically included in all remote resource requests. For example: param1=val1&param2=val2&param3=val3
    remote_repo_layout_ref str
    Repository layout key for the remote layout mapping. Repository can be created without this attribute (or set to an empty string). Once it's set, it can't be removed by passing an empty string or removing the attribute, that will be ignored by the Artifactory API. UI shows an error message, if the user tries to remove the value.
    repo_layout_ref str
    Repository layout key for the remote repository
    retrieval_cache_period_seconds int
    Metadata Retrieval Cache Period (Sec) in the UI. This value refers to the number of seconds to cache metadata files before checking for newer versions on remote server. A value of 0 indicates no caching.
    share_configuration bool
    socket_timeout_millis int
    Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network operation is considered a retrieval failure.
    store_artifacts_locally bool
    When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory servers.
    synchronize_properties bool
    When set, remote artifacts are fetched along with their properties.
    unused_artifacts_cleanup_period_hours int
    Unused Artifacts Cleanup Period (Hr) in the UI. The number of hours to wait before an artifact is deemed 'unused' and eligible for cleanup from the repository. A value of 0 means automatic cleanup of cached artifacts is disabled.
    url str
    The remote repo URL.
    username str
    xray_index bool
    Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings.
    allowAnyHostAuth Boolean
    'Lenient Host Authentication' in the UI. Allow credentials of this repository to be used on requests redirected to any other host.
    anonymousAccess Boolean
    Cargo client does not send credentials when performing download and search for crates. Enable this to allow anonymous access to these resources (only), note that this will override the security anonymous access option. Default value is false.
    assumedOfflinePeriodSecs Number
    The number of seconds the repository stays in assumed offline state after a connection error. At the end of this time, an online check is attempted in order to reset the offline status. A value of 0 means the repository is never assumed offline.
    blackedOut Boolean
    (A.K.A 'Ignore Repository' on the UI) When set, the repository or its local cache do not participate in artifact resolution.
    blockMismatchingMimeTypes Boolean
    If set, artifacts will fail to download if a mismatch is detected between requested and received mimetype, according to the list specified in the system properties file under blockedMismatchingMimeTypes. You can override by adding mimetypes to the override list 'mismatching_mime_types_override_list'.
    bypassHeadRequests Boolean
    Before caching an artifact, Artifactory first sends a HEAD request to the remote resource. In some remote resources, HEAD requests are disallowed and therefore rejected, even though downloading the artifact is allowed. When checked, Artifactory will bypass the HEAD request and cache the artifact directly using a GET request.
    cdnRedirect Boolean
    When set, download requests to this repository will redirect the client to download the artifact directly from AWS CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false'
    clientTlsCertificate String
    Client TLS certificate name.
    contentSynchronisation Property Map
    description String
    Public description.
    disableProxy Boolean
    When set to true, the proxy is disabled, and not returned in the API response body. If there is a default proxy set for the Artifactory instance, it will be ignored, too. Introduced since Artifactory 7.41.7.
    disableUrlNormalization Boolean
    Whether to disable URL normalization, default is false.
    downloadDirect Boolean
    When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. Default value is 'false'.
    enableCookieManagement Boolean
    Enables cookie management if the remote repository uses cookies to manage client state.
    enableSparseIndex Boolean
    Enable internal index support based on Cargo sparse index specifications, instead of the default git index. Default value is false.
    excludesPattern String
    List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*.By default no artifacts are excluded.
    gitRegistryUrl String
    This is the index url, expected to be a git repository. Default value is https://github.com/rust-lang/crates.io-index.
    hardFail Boolean
    When set, Artifactory will return an error to the client that causes the build to fail if there is a failure to communicate with this repository.
    includesPattern 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.
    listRemoteFolderItems Boolean
    Lists the items of remote folders in simple and list browsing. The remote content is cached according to the value of the 'Retrieval Cache Period'. Default value is 'true'.
    localAddress String
    The local address to be used when creating connections. Useful for specifying the interface to use on systems with multiple network interfaces.
    metadataRetrievalTimeoutSecs Number
    Metadata Retrieval Cache Timeout (Sec) in the UI.This value refers to the number of seconds to wait for retrieval from the remote before serving locally cached artifact or fail the request.
    mismatchingMimeTypesOverrideList String
    The set of mime types that should override the block_mismatching_mime_types setting. Eg: 'application/json,application/xml'. Default value is empty.
    missedCachePeriodSeconds Number
    Missed Retrieval Cache Period (Sec) in the UI. The number of seconds to cache artifact retrieval misses (artifact not found). A value of 0 indicates no caching.
    notes String
    Internal description.
    offline Boolean
    If set, Artifactory does not try to fetch remote artifacts. Only locally-cached artifacts are retrieved.
    packageType String
    password String
    priorityResolution Boolean
    Setting Priority Resolution takes precedence over the resolution order when resolving virtual repositories. Setting repositories with priority will cause metadata to be merged only from repositories set with a priority. If a package is not found in those repositories, Artifactory will merge from repositories marked as non-priority.
    projectEnvironments List<String>
    Project environment for assigning this repository to. Allow values: "DEV", "PROD", or one of custom environment. Before Artifactory 7.53.1, up to 2 values ("DEV" and "PROD") are allowed. From 7.53.1 onward, only one value is allowed. The attribute should only be used if the repository is already assigned to the existing project. If not, the attribute will be ignored by Artifactory, but will remain in the Terraform state, which will create state drift during the update.
    projectKey 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.
    propertySets List<String>
    List of property set names
    proxy String
    Proxy key from Artifactory Proxies settings. Can't be set if disable_proxy = true.
    queryParams String
    Custom HTTP query parameters that will be automatically included in all remote resource requests. For example: param1=val1&param2=val2&param3=val3
    remoteRepoLayoutRef String
    Repository layout key for the remote layout mapping. Repository can be created without this attribute (or set to an empty string). Once it's set, it can't be removed by passing an empty string or removing the attribute, that will be ignored by the Artifactory API. UI shows an error message, if the user tries to remove the value.
    repoLayoutRef String
    Repository layout key for the remote repository
    retrievalCachePeriodSeconds Number
    Metadata Retrieval Cache Period (Sec) in the UI. This value refers to the number of seconds to cache metadata files before checking for newer versions on remote server. A value of 0 indicates no caching.
    shareConfiguration Boolean
    socketTimeoutMillis Number
    Network timeout (in ms) to use when establishing a connection and for unanswered requests. Timing out on a network operation is considered a retrieval failure.
    storeArtifactsLocally Boolean
    When set, the repository should store cached artifacts locally. When not set, artifacts are not stored locally, and direct repository-to-client streaming is used. This can be useful for multi-server setups over a high-speed LAN, with one Artifactory caching certain data on central storage, and streaming it directly to satellite pass-though Artifactory servers.
    synchronizeProperties Boolean
    When set, remote artifacts are fetched along with their properties.
    unusedArtifactsCleanupPeriodHours Number
    Unused Artifacts Cleanup Period (Hr) in the UI. The number of hours to wait before an artifact is deemed 'unused' and eligible for cleanup from the repository. A value of 0 means automatic cleanup of cached artifacts is disabled.
    url String
    The remote repo URL.
    username String
    xrayIndex Boolean
    Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings.

    Supporting Types

    RemoteCargoRepositoryContentSynchronisation, RemoteCargoRepositoryContentSynchronisationArgs

    Enabled bool
    If set, Remote repository proxies a local or remote repository from another instance of Artifactory. Default value is 'false'.
    PropertiesEnabled bool
    If set, properties for artifacts that have been cached in this repository will be updated if they are modified in the artifact hosted at the remote Artifactory instance. The trigger to synchronize the properties is download of the artifact from the remote repository cache of the local Artifactory instance. Default value is 'false'.
    SourceOriginAbsenceDetection bool
    If set, Artifactory displays an indication on cached items if they have been deleted from the corresponding repository in the remote Artifactory instance. Default value is 'false'
    StatisticsEnabled bool
    If set, Artifactory will notify the remote instance whenever an artifact in the Smart Remote Repository is downloaded locally so that it can update its download counter. Note that if this option is not set, there may be a discrepancy between the number of artifacts reported to have been downloaded in the different Artifactory instances of the proxy chain. Default value is 'false'.
    Enabled bool
    If set, Remote repository proxies a local or remote repository from another instance of Artifactory. Default value is 'false'.
    PropertiesEnabled bool
    If set, properties for artifacts that have been cached in this repository will be updated if they are modified in the artifact hosted at the remote Artifactory instance. The trigger to synchronize the properties is download of the artifact from the remote repository cache of the local Artifactory instance. Default value is 'false'.
    SourceOriginAbsenceDetection bool
    If set, Artifactory displays an indication on cached items if they have been deleted from the corresponding repository in the remote Artifactory instance. Default value is 'false'
    StatisticsEnabled bool
    If set, Artifactory will notify the remote instance whenever an artifact in the Smart Remote Repository is downloaded locally so that it can update its download counter. Note that if this option is not set, there may be a discrepancy between the number of artifacts reported to have been downloaded in the different Artifactory instances of the proxy chain. Default value is 'false'.
    enabled Boolean
    If set, Remote repository proxies a local or remote repository from another instance of Artifactory. Default value is 'false'.
    propertiesEnabled Boolean
    If set, properties for artifacts that have been cached in this repository will be updated if they are modified in the artifact hosted at the remote Artifactory instance. The trigger to synchronize the properties is download of the artifact from the remote repository cache of the local Artifactory instance. Default value is 'false'.
    sourceOriginAbsenceDetection Boolean
    If set, Artifactory displays an indication on cached items if they have been deleted from the corresponding repository in the remote Artifactory instance. Default value is 'false'
    statisticsEnabled Boolean
    If set, Artifactory will notify the remote instance whenever an artifact in the Smart Remote Repository is downloaded locally so that it can update its download counter. Note that if this option is not set, there may be a discrepancy between the number of artifacts reported to have been downloaded in the different Artifactory instances of the proxy chain. Default value is 'false'.
    enabled boolean
    If set, Remote repository proxies a local or remote repository from another instance of Artifactory. Default value is 'false'.
    propertiesEnabled boolean
    If set, properties for artifacts that have been cached in this repository will be updated if they are modified in the artifact hosted at the remote Artifactory instance. The trigger to synchronize the properties is download of the artifact from the remote repository cache of the local Artifactory instance. Default value is 'false'.
    sourceOriginAbsenceDetection boolean
    If set, Artifactory displays an indication on cached items if they have been deleted from the corresponding repository in the remote Artifactory instance. Default value is 'false'
    statisticsEnabled boolean
    If set, Artifactory will notify the remote instance whenever an artifact in the Smart Remote Repository is downloaded locally so that it can update its download counter. Note that if this option is not set, there may be a discrepancy between the number of artifacts reported to have been downloaded in the different Artifactory instances of the proxy chain. Default value is 'false'.
    enabled bool
    If set, Remote repository proxies a local or remote repository from another instance of Artifactory. Default value is 'false'.
    properties_enabled bool
    If set, properties for artifacts that have been cached in this repository will be updated if they are modified in the artifact hosted at the remote Artifactory instance. The trigger to synchronize the properties is download of the artifact from the remote repository cache of the local Artifactory instance. Default value is 'false'.
    source_origin_absence_detection bool
    If set, Artifactory displays an indication on cached items if they have been deleted from the corresponding repository in the remote Artifactory instance. Default value is 'false'
    statistics_enabled bool
    If set, Artifactory will notify the remote instance whenever an artifact in the Smart Remote Repository is downloaded locally so that it can update its download counter. Note that if this option is not set, there may be a discrepancy between the number of artifacts reported to have been downloaded in the different Artifactory instances of the proxy chain. Default value is 'false'.
    enabled Boolean
    If set, Remote repository proxies a local or remote repository from another instance of Artifactory. Default value is 'false'.
    propertiesEnabled Boolean
    If set, properties for artifacts that have been cached in this repository will be updated if they are modified in the artifact hosted at the remote Artifactory instance. The trigger to synchronize the properties is download of the artifact from the remote repository cache of the local Artifactory instance. Default value is 'false'.
    sourceOriginAbsenceDetection Boolean
    If set, Artifactory displays an indication on cached items if they have been deleted from the corresponding repository in the remote Artifactory instance. Default value is 'false'
    statisticsEnabled Boolean
    If set, Artifactory will notify the remote instance whenever an artifact in the Smart Remote Repository is downloaded locally so that it can update its download counter. Note that if this option is not set, there may be a discrepancy between the number of artifacts reported to have been downloaded in the different Artifactory instances of the proxy chain. Default value is 'false'.

    Import

    Remote repositories can be imported using their name, e.g.

    $ pulumi import artifactory:index/remoteCargoRepository:RemoteCargoRepository my-remote-cargo my-remote-cargo
    

    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.
    artifactory logo
    artifactory v6.6.0 published on Saturday, Apr 13, 2024 by Pulumi