1. Packages
  2. Artifactory
  3. API Docs
  4. LocalRepositorySingleReplication
artifactory v6.7.0 published on Friday, Apr 19, 2024 by Pulumi

artifactory.LocalRepositorySingleReplication

Explore with Pulumi AI

artifactory logo
artifactory v6.7.0 published on Friday, Apr 19, 2024 by Pulumi

    Provides a local repository replication resource, also referred to as Artifactory push replication. This can be used to create and manage Artifactory local repository replications using Push Replication API. Push replication is used to synchronize Local Repositories, and is implemented by the Artifactory server on the near end invoking a synchronization of artifacts to the far end. See the Official Documentation. This resource can create the replication of local repository to single repository on the remote server.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as artifactory from "@pulumi/artifactory";
    
    const config = new pulumi.Config();
    const artifactoryUrl = config.require("artifactoryUrl");
    const artifactoryUsername = config.require("artifactoryUsername");
    const artifactoryPassword = config.require("artifactoryPassword");
    // Create a replication between two artifactory local repositories
    const providerTestSource = new artifactory.LocalMavenRepository("providerTestSource", {key: "provider_test_source"});
    const providerTestDest = new artifactory.LocalMavenRepository("providerTestDest", {key: "provider_test_dest"});
    const foo_rep = new artifactory.LocalRepositorySingleReplication("foo-rep", {
        repoKey: providerTestSource.key,
        cronExp: "0 0 * * * ?",
        enableEventReplication: true,
        url: pulumi.interpolate`${artifactoryUrl}/artifactory/${providerTestDest.key}`,
        username: "$var.artifactory_username",
        password: "$var.artifactory_password",
        enabled: true,
        socketTimeoutMillis: 16000,
        syncDeletes: false,
        syncProperties: true,
        syncStatistics: true,
        includePathPrefixPattern: "/some-repo/",
        excludePathPrefixPattern: "/some-other-repo/",
        checkBinaryExistenceInFilestore: true,
    });
    
    import pulumi
    import pulumi_artifactory as artifactory
    
    config = pulumi.Config()
    artifactory_url = config.require("artifactoryUrl")
    artifactory_username = config.require("artifactoryUsername")
    artifactory_password = config.require("artifactoryPassword")
    # Create a replication between two artifactory local repositories
    provider_test_source = artifactory.LocalMavenRepository("providerTestSource", key="provider_test_source")
    provider_test_dest = artifactory.LocalMavenRepository("providerTestDest", key="provider_test_dest")
    foo_rep = artifactory.LocalRepositorySingleReplication("foo-rep",
        repo_key=provider_test_source.key,
        cron_exp="0 0 * * * ?",
        enable_event_replication=True,
        url=provider_test_dest.key.apply(lambda key: f"{artifactory_url}/artifactory/{key}"),
        username="$var.artifactory_username",
        password="$var.artifactory_password",
        enabled=True,
        socket_timeout_millis=16000,
        sync_deletes=False,
        sync_properties=True,
        sync_statistics=True,
        include_path_prefix_pattern="/some-repo/",
        exclude_path_prefix_pattern="/some-other-repo/",
        check_binary_existence_in_filestore=True)
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/pulumi/pulumi-artifactory/sdk/v6/go/artifactory"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		artifactoryUrl := cfg.Require("artifactoryUrl")
    		artifactoryUsername := cfg.Require("artifactoryUsername")
    		artifactoryPassword := cfg.Require("artifactoryPassword")
    		// Create a replication between two artifactory local repositories
    		providerTestSource, err := artifactory.NewLocalMavenRepository(ctx, "providerTestSource", &artifactory.LocalMavenRepositoryArgs{
    			Key: pulumi.String("provider_test_source"),
    		})
    		if err != nil {
    			return err
    		}
    		providerTestDest, err := artifactory.NewLocalMavenRepository(ctx, "providerTestDest", &artifactory.LocalMavenRepositoryArgs{
    			Key: pulumi.String("provider_test_dest"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = artifactory.NewLocalRepositorySingleReplication(ctx, "foo-rep", &artifactory.LocalRepositorySingleReplicationArgs{
    			RepoKey:                providerTestSource.Key,
    			CronExp:                pulumi.String("0 0 * * * ?"),
    			EnableEventReplication: pulumi.Bool(true),
    			Url: providerTestDest.Key.ApplyT(func(key string) (string, error) {
    				return fmt.Sprintf("%v/artifactory/%v", artifactoryUrl, key), nil
    			}).(pulumi.StringOutput),
    			Username:                        pulumi.String("$var.artifactory_username"),
    			Password:                        pulumi.String("$var.artifactory_password"),
    			Enabled:                         pulumi.Bool(true),
    			SocketTimeoutMillis:             pulumi.Int(16000),
    			SyncDeletes:                     pulumi.Bool(false),
    			SyncProperties:                  pulumi.Bool(true),
    			SyncStatistics:                  pulumi.Bool(true),
    			IncludePathPrefixPattern:        pulumi.String("/some-repo/"),
    			ExcludePathPrefixPattern:        pulumi.String("/some-other-repo/"),
    			CheckBinaryExistenceInFilestore: pulumi.Bool(true),
    		})
    		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 config = new Config();
        var artifactoryUrl = config.Require("artifactoryUrl");
        var artifactoryUsername = config.Require("artifactoryUsername");
        var artifactoryPassword = config.Require("artifactoryPassword");
        // Create a replication between two artifactory local repositories
        var providerTestSource = new Artifactory.LocalMavenRepository("providerTestSource", new()
        {
            Key = "provider_test_source",
        });
    
        var providerTestDest = new Artifactory.LocalMavenRepository("providerTestDest", new()
        {
            Key = "provider_test_dest",
        });
    
        var foo_rep = new Artifactory.LocalRepositorySingleReplication("foo-rep", new()
        {
            RepoKey = providerTestSource.Key,
            CronExp = "0 0 * * * ?",
            EnableEventReplication = true,
            Url = providerTestDest.Key.Apply(key => $"{artifactoryUrl}/artifactory/{key}"),
            Username = "$var.artifactory_username",
            Password = "$var.artifactory_password",
            Enabled = true,
            SocketTimeoutMillis = 16000,
            SyncDeletes = false,
            SyncProperties = true,
            SyncStatistics = true,
            IncludePathPrefixPattern = "/some-repo/",
            ExcludePathPrefixPattern = "/some-other-repo/",
            CheckBinaryExistenceInFilestore = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.artifactory.LocalMavenRepository;
    import com.pulumi.artifactory.LocalMavenRepositoryArgs;
    import com.pulumi.artifactory.LocalRepositorySingleReplication;
    import com.pulumi.artifactory.LocalRepositorySingleReplicationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var config = ctx.config();
            final var artifactoryUrl = config.get("artifactoryUrl");
            final var artifactoryUsername = config.get("artifactoryUsername");
            final var artifactoryPassword = config.get("artifactoryPassword");
            // Create a replication between two artifactory local repositories
            var providerTestSource = new LocalMavenRepository("providerTestSource", LocalMavenRepositoryArgs.builder()        
                .key("provider_test_source")
                .build());
    
            var providerTestDest = new LocalMavenRepository("providerTestDest", LocalMavenRepositoryArgs.builder()        
                .key("provider_test_dest")
                .build());
    
            var foo_rep = new LocalRepositorySingleReplication("foo-rep", LocalRepositorySingleReplicationArgs.builder()        
                .repoKey(providerTestSource.key())
                .cronExp("0 0 * * * ?")
                .enableEventReplication(true)
                .url(providerTestDest.key().applyValue(key -> String.format("%s/artifactory/%s", artifactoryUrl,key)))
                .username("$var.artifactory_username")
                .password("$var.artifactory_password")
                .enabled(true)
                .socketTimeoutMillis(16000)
                .syncDeletes(false)
                .syncProperties(true)
                .syncStatistics(true)
                .includePathPrefixPattern("/some-repo/")
                .excludePathPrefixPattern("/some-other-repo/")
                .checkBinaryExistenceInFilestore(true)
                .build());
    
        }
    }
    
    configuration:
      artifactoryUrl:
        type: string
      artifactoryUsername:
        type: string
      artifactoryPassword:
        type: string
    resources:
      # Create a replication between two artifactory local repositories
      providerTestSource:
        type: artifactory:LocalMavenRepository
        properties:
          key: provider_test_source
      providerTestDest:
        type: artifactory:LocalMavenRepository
        properties:
          key: provider_test_dest
      foo-rep:
        type: artifactory:LocalRepositorySingleReplication
        properties:
          repoKey: ${providerTestSource.key}
          cronExp: 0 0 * * * ?
          enableEventReplication: true
          url: ${artifactoryUrl}/artifactory/${providerTestDest.key}
          username: $var.artifactory_username
          password: $var.artifactory_password
          enabled: true
          socketTimeoutMillis: 16000
          syncDeletes: false
          syncProperties: true
          syncStatistics: true
          includePathPrefixPattern: /some-repo/
          excludePathPrefixPattern: /some-other-repo/
          checkBinaryExistenceInFilestore: true
    

    Create LocalRepositorySingleReplication Resource

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

    Constructor syntax

    new LocalRepositorySingleReplication(name: string, args: LocalRepositorySingleReplicationArgs, opts?: CustomResourceOptions);
    @overload
    def LocalRepositorySingleReplication(resource_name: str,
                                         args: LocalRepositorySingleReplicationArgs,
                                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def LocalRepositorySingleReplication(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         repo_key: Optional[str] = None,
                                         username: Optional[str] = None,
                                         url: Optional[str] = None,
                                         replication_key: Optional[str] = None,
                                         exclude_path_prefix_pattern: Optional[str] = None,
                                         include_path_prefix_pattern: Optional[str] = None,
                                         password: Optional[str] = None,
                                         proxy: Optional[str] = None,
                                         check_binary_existence_in_filestore: Optional[bool] = None,
                                         enabled: Optional[bool] = None,
                                         socket_timeout_millis: Optional[int] = None,
                                         sync_deletes: Optional[bool] = None,
                                         sync_properties: Optional[bool] = None,
                                         sync_statistics: Optional[bool] = None,
                                         enable_event_replication: Optional[bool] = None,
                                         cron_exp: Optional[str] = None)
    func NewLocalRepositorySingleReplication(ctx *Context, name string, args LocalRepositorySingleReplicationArgs, opts ...ResourceOption) (*LocalRepositorySingleReplication, error)
    public LocalRepositorySingleReplication(string name, LocalRepositorySingleReplicationArgs args, CustomResourceOptions? opts = null)
    public LocalRepositorySingleReplication(String name, LocalRepositorySingleReplicationArgs args)
    public LocalRepositorySingleReplication(String name, LocalRepositorySingleReplicationArgs args, CustomResourceOptions options)
    
    type: artifactory:LocalRepositorySingleReplication
    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 LocalRepositorySingleReplicationArgs
    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 LocalRepositorySingleReplicationArgs
    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 LocalRepositorySingleReplicationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LocalRepositorySingleReplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LocalRepositorySingleReplicationArgs
    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 localRepositorySingleReplicationResource = new Artifactory.LocalRepositorySingleReplication("localRepositorySingleReplicationResource", new()
    {
        RepoKey = "string",
        Username = "string",
        Url = "string",
        ReplicationKey = "string",
        ExcludePathPrefixPattern = "string",
        IncludePathPrefixPattern = "string",
        Password = "string",
        Proxy = "string",
        CheckBinaryExistenceInFilestore = false,
        Enabled = false,
        SocketTimeoutMillis = 0,
        SyncDeletes = false,
        SyncProperties = false,
        SyncStatistics = false,
        EnableEventReplication = false,
        CronExp = "string",
    });
    
    example, err := artifactory.NewLocalRepositorySingleReplication(ctx, "localRepositorySingleReplicationResource", &artifactory.LocalRepositorySingleReplicationArgs{
    	RepoKey:                         pulumi.String("string"),
    	Username:                        pulumi.String("string"),
    	Url:                             pulumi.String("string"),
    	ReplicationKey:                  pulumi.String("string"),
    	ExcludePathPrefixPattern:        pulumi.String("string"),
    	IncludePathPrefixPattern:        pulumi.String("string"),
    	Password:                        pulumi.String("string"),
    	Proxy:                           pulumi.String("string"),
    	CheckBinaryExistenceInFilestore: pulumi.Bool(false),
    	Enabled:                         pulumi.Bool(false),
    	SocketTimeoutMillis:             pulumi.Int(0),
    	SyncDeletes:                     pulumi.Bool(false),
    	SyncProperties:                  pulumi.Bool(false),
    	SyncStatistics:                  pulumi.Bool(false),
    	EnableEventReplication:          pulumi.Bool(false),
    	CronExp:                         pulumi.String("string"),
    })
    
    var localRepositorySingleReplicationResource = new LocalRepositorySingleReplication("localRepositorySingleReplicationResource", LocalRepositorySingleReplicationArgs.builder()        
        .repoKey("string")
        .username("string")
        .url("string")
        .replicationKey("string")
        .excludePathPrefixPattern("string")
        .includePathPrefixPattern("string")
        .password("string")
        .proxy("string")
        .checkBinaryExistenceInFilestore(false)
        .enabled(false)
        .socketTimeoutMillis(0)
        .syncDeletes(false)
        .syncProperties(false)
        .syncStatistics(false)
        .enableEventReplication(false)
        .cronExp("string")
        .build());
    
    local_repository_single_replication_resource = artifactory.LocalRepositorySingleReplication("localRepositorySingleReplicationResource",
        repo_key="string",
        username="string",
        url="string",
        replication_key="string",
        exclude_path_prefix_pattern="string",
        include_path_prefix_pattern="string",
        password="string",
        proxy="string",
        check_binary_existence_in_filestore=False,
        enabled=False,
        socket_timeout_millis=0,
        sync_deletes=False,
        sync_properties=False,
        sync_statistics=False,
        enable_event_replication=False,
        cron_exp="string")
    
    const localRepositorySingleReplicationResource = new artifactory.LocalRepositorySingleReplication("localRepositorySingleReplicationResource", {
        repoKey: "string",
        username: "string",
        url: "string",
        replicationKey: "string",
        excludePathPrefixPattern: "string",
        includePathPrefixPattern: "string",
        password: "string",
        proxy: "string",
        checkBinaryExistenceInFilestore: false,
        enabled: false,
        socketTimeoutMillis: 0,
        syncDeletes: false,
        syncProperties: false,
        syncStatistics: false,
        enableEventReplication: false,
        cronExp: "string",
    });
    
    type: artifactory:LocalRepositorySingleReplication
    properties:
        checkBinaryExistenceInFilestore: false
        cronExp: string
        enableEventReplication: false
        enabled: false
        excludePathPrefixPattern: string
        includePathPrefixPattern: string
        password: string
        proxy: string
        replicationKey: string
        repoKey: string
        socketTimeoutMillis: 0
        syncDeletes: false
        syncProperties: false
        syncStatistics: false
        url: string
        username: string
    

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

    RepoKey string
    Repository name.
    Url string
    The URL of the target local repository on a remote Artifactory server. Use the format https://<artifactory_url>/artifactory/<repository_name>.
    Username string
    Username on the remote Artifactory instance.
    CheckBinaryExistenceInFilestore bool
    Enabling the check_binary_existence_in_filestore flag requires an Enterprise Plus license. When true, enables distributed checksum storage. For more information, see Optimizing Repository Replication with Checksum-Based Storage.
    CronExp string
    A valid CRON expression that you can use to control replication frequency. Eg: 0 0 12 * * ? *, 0 0 2 ? * MON-SAT *. Note: use 6 or 7 parts format - Seconds, Minutes Hours, Day Of Month, Month, Day Of Week, Year (optional). Specifying both a day-of-week AND a day-of-month parameter is not supported. One of them should be replaced by ?. Incorrect: * 5,7,9 14/2 * * WED,SAT *, correct: * 5,7,9 14/2 ? * WED,SAT *. See details in Cron Trigger Tutorial.
    EnableEventReplication bool
    When set, each event will trigger replication of the artifacts changed in this event. This can be any type of event on artifact, e.g. add, deleted or property change. Default value is false.
    Enabled bool
    When set, enables replication of this repository to the target specified in url attribute. Default value is true.
    ExcludePathPrefixPattern string
    List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default, no artifacts are excluded.
    IncludePathPrefixPattern string
    List of 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 (**/*).
    Password string
    Use either the HTTP authentication password or identity token.
    Proxy string
    Proxy key from Artifactory Proxies settings. The proxy configuration will be used when communicating with the remote instance.
    ReplicationKey string
    Replication ID, the value is unknown until the resource is created. Can't be set or updated.
    SocketTimeoutMillis int
    The network timeout in milliseconds to use for remote operations. Default value is 15000.
    SyncDeletes bool
    When set, items that were deleted locally should also be deleted remotely (also applies to properties metadata). Note that enabling this option, will delete artifacts on the target that do not exist in the source repository. Default value is false.
    SyncProperties bool
    When set, the task also synchronizes the properties of replicated artifacts. Default value is true.
    SyncStatistics bool
    When set, the task also synchronizes artifact download statistics. Set to avoid inadvertent cleanup at the target instance when setting up replication for disaster recovery. Default value is false
    RepoKey string
    Repository name.
    Url string
    The URL of the target local repository on a remote Artifactory server. Use the format https://<artifactory_url>/artifactory/<repository_name>.
    Username string
    Username on the remote Artifactory instance.
    CheckBinaryExistenceInFilestore bool
    Enabling the check_binary_existence_in_filestore flag requires an Enterprise Plus license. When true, enables distributed checksum storage. For more information, see Optimizing Repository Replication with Checksum-Based Storage.
    CronExp string
    A valid CRON expression that you can use to control replication frequency. Eg: 0 0 12 * * ? *, 0 0 2 ? * MON-SAT *. Note: use 6 or 7 parts format - Seconds, Minutes Hours, Day Of Month, Month, Day Of Week, Year (optional). Specifying both a day-of-week AND a day-of-month parameter is not supported. One of them should be replaced by ?. Incorrect: * 5,7,9 14/2 * * WED,SAT *, correct: * 5,7,9 14/2 ? * WED,SAT *. See details in Cron Trigger Tutorial.
    EnableEventReplication bool
    When set, each event will trigger replication of the artifacts changed in this event. This can be any type of event on artifact, e.g. add, deleted or property change. Default value is false.
    Enabled bool
    When set, enables replication of this repository to the target specified in url attribute. Default value is true.
    ExcludePathPrefixPattern string
    List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default, no artifacts are excluded.
    IncludePathPrefixPattern string
    List of 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 (**/*).
    Password string
    Use either the HTTP authentication password or identity token.
    Proxy string
    Proxy key from Artifactory Proxies settings. The proxy configuration will be used when communicating with the remote instance.
    ReplicationKey string
    Replication ID, the value is unknown until the resource is created. Can't be set or updated.
    SocketTimeoutMillis int
    The network timeout in milliseconds to use for remote operations. Default value is 15000.
    SyncDeletes bool
    When set, items that were deleted locally should also be deleted remotely (also applies to properties metadata). Note that enabling this option, will delete artifacts on the target that do not exist in the source repository. Default value is false.
    SyncProperties bool
    When set, the task also synchronizes the properties of replicated artifacts. Default value is true.
    SyncStatistics bool
    When set, the task also synchronizes artifact download statistics. Set to avoid inadvertent cleanup at the target instance when setting up replication for disaster recovery. Default value is false
    repoKey String
    Repository name.
    url String
    The URL of the target local repository on a remote Artifactory server. Use the format https://<artifactory_url>/artifactory/<repository_name>.
    username String
    Username on the remote Artifactory instance.
    checkBinaryExistenceInFilestore Boolean
    Enabling the check_binary_existence_in_filestore flag requires an Enterprise Plus license. When true, enables distributed checksum storage. For more information, see Optimizing Repository Replication with Checksum-Based Storage.
    cronExp String
    A valid CRON expression that you can use to control replication frequency. Eg: 0 0 12 * * ? *, 0 0 2 ? * MON-SAT *. Note: use 6 or 7 parts format - Seconds, Minutes Hours, Day Of Month, Month, Day Of Week, Year (optional). Specifying both a day-of-week AND a day-of-month parameter is not supported. One of them should be replaced by ?. Incorrect: * 5,7,9 14/2 * * WED,SAT *, correct: * 5,7,9 14/2 ? * WED,SAT *. See details in Cron Trigger Tutorial.
    enableEventReplication Boolean
    When set, each event will trigger replication of the artifacts changed in this event. This can be any type of event on artifact, e.g. add, deleted or property change. Default value is false.
    enabled Boolean
    When set, enables replication of this repository to the target specified in url attribute. Default value is true.
    excludePathPrefixPattern String
    List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default, no artifacts are excluded.
    includePathPrefixPattern String
    List of 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 (**/*).
    password String
    Use either the HTTP authentication password or identity token.
    proxy String
    Proxy key from Artifactory Proxies settings. The proxy configuration will be used when communicating with the remote instance.
    replicationKey String
    Replication ID, the value is unknown until the resource is created. Can't be set or updated.
    socketTimeoutMillis Integer
    The network timeout in milliseconds to use for remote operations. Default value is 15000.
    syncDeletes Boolean
    When set, items that were deleted locally should also be deleted remotely (also applies to properties metadata). Note that enabling this option, will delete artifacts on the target that do not exist in the source repository. Default value is false.
    syncProperties Boolean
    When set, the task also synchronizes the properties of replicated artifacts. Default value is true.
    syncStatistics Boolean
    When set, the task also synchronizes artifact download statistics. Set to avoid inadvertent cleanup at the target instance when setting up replication for disaster recovery. Default value is false
    repoKey string
    Repository name.
    url string
    The URL of the target local repository on a remote Artifactory server. Use the format https://<artifactory_url>/artifactory/<repository_name>.
    username string
    Username on the remote Artifactory instance.
    checkBinaryExistenceInFilestore boolean
    Enabling the check_binary_existence_in_filestore flag requires an Enterprise Plus license. When true, enables distributed checksum storage. For more information, see Optimizing Repository Replication with Checksum-Based Storage.
    cronExp string
    A valid CRON expression that you can use to control replication frequency. Eg: 0 0 12 * * ? *, 0 0 2 ? * MON-SAT *. Note: use 6 or 7 parts format - Seconds, Minutes Hours, Day Of Month, Month, Day Of Week, Year (optional). Specifying both a day-of-week AND a day-of-month parameter is not supported. One of them should be replaced by ?. Incorrect: * 5,7,9 14/2 * * WED,SAT *, correct: * 5,7,9 14/2 ? * WED,SAT *. See details in Cron Trigger Tutorial.
    enableEventReplication boolean
    When set, each event will trigger replication of the artifacts changed in this event. This can be any type of event on artifact, e.g. add, deleted or property change. Default value is false.
    enabled boolean
    When set, enables replication of this repository to the target specified in url attribute. Default value is true.
    excludePathPrefixPattern string
    List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default, no artifacts are excluded.
    includePathPrefixPattern string
    List of 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 (**/*).
    password string
    Use either the HTTP authentication password or identity token.
    proxy string
    Proxy key from Artifactory Proxies settings. The proxy configuration will be used when communicating with the remote instance.
    replicationKey string
    Replication ID, the value is unknown until the resource is created. Can't be set or updated.
    socketTimeoutMillis number
    The network timeout in milliseconds to use for remote operations. Default value is 15000.
    syncDeletes boolean
    When set, items that were deleted locally should also be deleted remotely (also applies to properties metadata). Note that enabling this option, will delete artifacts on the target that do not exist in the source repository. Default value is false.
    syncProperties boolean
    When set, the task also synchronizes the properties of replicated artifacts. Default value is true.
    syncStatistics boolean
    When set, the task also synchronizes artifact download statistics. Set to avoid inadvertent cleanup at the target instance when setting up replication for disaster recovery. Default value is false
    repo_key str
    Repository name.
    url str
    The URL of the target local repository on a remote Artifactory server. Use the format https://<artifactory_url>/artifactory/<repository_name>.
    username str
    Username on the remote Artifactory instance.
    check_binary_existence_in_filestore bool
    Enabling the check_binary_existence_in_filestore flag requires an Enterprise Plus license. When true, enables distributed checksum storage. For more information, see Optimizing Repository Replication with Checksum-Based Storage.
    cron_exp str
    A valid CRON expression that you can use to control replication frequency. Eg: 0 0 12 * * ? *, 0 0 2 ? * MON-SAT *. Note: use 6 or 7 parts format - Seconds, Minutes Hours, Day Of Month, Month, Day Of Week, Year (optional). Specifying both a day-of-week AND a day-of-month parameter is not supported. One of them should be replaced by ?. Incorrect: * 5,7,9 14/2 * * WED,SAT *, correct: * 5,7,9 14/2 ? * WED,SAT *. See details in Cron Trigger Tutorial.
    enable_event_replication bool
    When set, each event will trigger replication of the artifacts changed in this event. This can be any type of event on artifact, e.g. add, deleted or property change. Default value is false.
    enabled bool
    When set, enables replication of this repository to the target specified in url attribute. Default value is true.
    exclude_path_prefix_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.
    include_path_prefix_pattern str
    List of 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 (**/*).
    password str
    Use either the HTTP authentication password or identity token.
    proxy str
    Proxy key from Artifactory Proxies settings. The proxy configuration will be used when communicating with the remote instance.
    replication_key str
    Replication ID, the value is unknown until the resource is created. Can't be set or updated.
    socket_timeout_millis int
    The network timeout in milliseconds to use for remote operations. Default value is 15000.
    sync_deletes bool
    When set, items that were deleted locally should also be deleted remotely (also applies to properties metadata). Note that enabling this option, will delete artifacts on the target that do not exist in the source repository. Default value is false.
    sync_properties bool
    When set, the task also synchronizes the properties of replicated artifacts. Default value is true.
    sync_statistics bool
    When set, the task also synchronizes artifact download statistics. Set to avoid inadvertent cleanup at the target instance when setting up replication for disaster recovery. Default value is false
    repoKey String
    Repository name.
    url String
    The URL of the target local repository on a remote Artifactory server. Use the format https://<artifactory_url>/artifactory/<repository_name>.
    username String
    Username on the remote Artifactory instance.
    checkBinaryExistenceInFilestore Boolean
    Enabling the check_binary_existence_in_filestore flag requires an Enterprise Plus license. When true, enables distributed checksum storage. For more information, see Optimizing Repository Replication with Checksum-Based Storage.
    cronExp String
    A valid CRON expression that you can use to control replication frequency. Eg: 0 0 12 * * ? *, 0 0 2 ? * MON-SAT *. Note: use 6 or 7 parts format - Seconds, Minutes Hours, Day Of Month, Month, Day Of Week, Year (optional). Specifying both a day-of-week AND a day-of-month parameter is not supported. One of them should be replaced by ?. Incorrect: * 5,7,9 14/2 * * WED,SAT *, correct: * 5,7,9 14/2 ? * WED,SAT *. See details in Cron Trigger Tutorial.
    enableEventReplication Boolean
    When set, each event will trigger replication of the artifacts changed in this event. This can be any type of event on artifact, e.g. add, deleted or property change. Default value is false.
    enabled Boolean
    When set, enables replication of this repository to the target specified in url attribute. Default value is true.
    excludePathPrefixPattern String
    List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default, no artifacts are excluded.
    includePathPrefixPattern String
    List of 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 (**/*).
    password String
    Use either the HTTP authentication password or identity token.
    proxy String
    Proxy key from Artifactory Proxies settings. The proxy configuration will be used when communicating with the remote instance.
    replicationKey String
    Replication ID, the value is unknown until the resource is created. Can't be set or updated.
    socketTimeoutMillis Number
    The network timeout in milliseconds to use for remote operations. Default value is 15000.
    syncDeletes Boolean
    When set, items that were deleted locally should also be deleted remotely (also applies to properties metadata). Note that enabling this option, will delete artifacts on the target that do not exist in the source repository. Default value is false.
    syncProperties Boolean
    When set, the task also synchronizes the properties of replicated artifacts. Default value is true.
    syncStatistics Boolean
    When set, the task also synchronizes artifact download statistics. Set to avoid inadvertent cleanup at the target instance when setting up replication for disaster recovery. Default value is false

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing LocalRepositorySingleReplication Resource

    Get an existing LocalRepositorySingleReplication 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?: LocalRepositorySingleReplicationState, opts?: CustomResourceOptions): LocalRepositorySingleReplication
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            check_binary_existence_in_filestore: Optional[bool] = None,
            cron_exp: Optional[str] = None,
            enable_event_replication: Optional[bool] = None,
            enabled: Optional[bool] = None,
            exclude_path_prefix_pattern: Optional[str] = None,
            include_path_prefix_pattern: Optional[str] = None,
            password: Optional[str] = None,
            proxy: Optional[str] = None,
            replication_key: Optional[str] = None,
            repo_key: Optional[str] = None,
            socket_timeout_millis: Optional[int] = None,
            sync_deletes: Optional[bool] = None,
            sync_properties: Optional[bool] = None,
            sync_statistics: Optional[bool] = None,
            url: Optional[str] = None,
            username: Optional[str] = None) -> LocalRepositorySingleReplication
    func GetLocalRepositorySingleReplication(ctx *Context, name string, id IDInput, state *LocalRepositorySingleReplicationState, opts ...ResourceOption) (*LocalRepositorySingleReplication, error)
    public static LocalRepositorySingleReplication Get(string name, Input<string> id, LocalRepositorySingleReplicationState? state, CustomResourceOptions? opts = null)
    public static LocalRepositorySingleReplication get(String name, Output<String> id, LocalRepositorySingleReplicationState 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:
    CheckBinaryExistenceInFilestore bool
    Enabling the check_binary_existence_in_filestore flag requires an Enterprise Plus license. When true, enables distributed checksum storage. For more information, see Optimizing Repository Replication with Checksum-Based Storage.
    CronExp string
    A valid CRON expression that you can use to control replication frequency. Eg: 0 0 12 * * ? *, 0 0 2 ? * MON-SAT *. Note: use 6 or 7 parts format - Seconds, Minutes Hours, Day Of Month, Month, Day Of Week, Year (optional). Specifying both a day-of-week AND a day-of-month parameter is not supported. One of them should be replaced by ?. Incorrect: * 5,7,9 14/2 * * WED,SAT *, correct: * 5,7,9 14/2 ? * WED,SAT *. See details in Cron Trigger Tutorial.
    EnableEventReplication bool
    When set, each event will trigger replication of the artifacts changed in this event. This can be any type of event on artifact, e.g. add, deleted or property change. Default value is false.
    Enabled bool
    When set, enables replication of this repository to the target specified in url attribute. Default value is true.
    ExcludePathPrefixPattern string
    List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default, no artifacts are excluded.
    IncludePathPrefixPattern string
    List of 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 (**/*).
    Password string
    Use either the HTTP authentication password or identity token.
    Proxy string
    Proxy key from Artifactory Proxies settings. The proxy configuration will be used when communicating with the remote instance.
    ReplicationKey string
    Replication ID, the value is unknown until the resource is created. Can't be set or updated.
    RepoKey string
    Repository name.
    SocketTimeoutMillis int
    The network timeout in milliseconds to use for remote operations. Default value is 15000.
    SyncDeletes bool
    When set, items that were deleted locally should also be deleted remotely (also applies to properties metadata). Note that enabling this option, will delete artifacts on the target that do not exist in the source repository. Default value is false.
    SyncProperties bool
    When set, the task also synchronizes the properties of replicated artifacts. Default value is true.
    SyncStatistics bool
    When set, the task also synchronizes artifact download statistics. Set to avoid inadvertent cleanup at the target instance when setting up replication for disaster recovery. Default value is false
    Url string
    The URL of the target local repository on a remote Artifactory server. Use the format https://<artifactory_url>/artifactory/<repository_name>.
    Username string
    Username on the remote Artifactory instance.
    CheckBinaryExistenceInFilestore bool
    Enabling the check_binary_existence_in_filestore flag requires an Enterprise Plus license. When true, enables distributed checksum storage. For more information, see Optimizing Repository Replication with Checksum-Based Storage.
    CronExp string
    A valid CRON expression that you can use to control replication frequency. Eg: 0 0 12 * * ? *, 0 0 2 ? * MON-SAT *. Note: use 6 or 7 parts format - Seconds, Minutes Hours, Day Of Month, Month, Day Of Week, Year (optional). Specifying both a day-of-week AND a day-of-month parameter is not supported. One of them should be replaced by ?. Incorrect: * 5,7,9 14/2 * * WED,SAT *, correct: * 5,7,9 14/2 ? * WED,SAT *. See details in Cron Trigger Tutorial.
    EnableEventReplication bool
    When set, each event will trigger replication of the artifacts changed in this event. This can be any type of event on artifact, e.g. add, deleted or property change. Default value is false.
    Enabled bool
    When set, enables replication of this repository to the target specified in url attribute. Default value is true.
    ExcludePathPrefixPattern string
    List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default, no artifacts are excluded.
    IncludePathPrefixPattern string
    List of 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 (**/*).
    Password string
    Use either the HTTP authentication password or identity token.
    Proxy string
    Proxy key from Artifactory Proxies settings. The proxy configuration will be used when communicating with the remote instance.
    ReplicationKey string
    Replication ID, the value is unknown until the resource is created. Can't be set or updated.
    RepoKey string
    Repository name.
    SocketTimeoutMillis int
    The network timeout in milliseconds to use for remote operations. Default value is 15000.
    SyncDeletes bool
    When set, items that were deleted locally should also be deleted remotely (also applies to properties metadata). Note that enabling this option, will delete artifacts on the target that do not exist in the source repository. Default value is false.
    SyncProperties bool
    When set, the task also synchronizes the properties of replicated artifacts. Default value is true.
    SyncStatistics bool
    When set, the task also synchronizes artifact download statistics. Set to avoid inadvertent cleanup at the target instance when setting up replication for disaster recovery. Default value is false
    Url string
    The URL of the target local repository on a remote Artifactory server. Use the format https://<artifactory_url>/artifactory/<repository_name>.
    Username string
    Username on the remote Artifactory instance.
    checkBinaryExistenceInFilestore Boolean
    Enabling the check_binary_existence_in_filestore flag requires an Enterprise Plus license. When true, enables distributed checksum storage. For more information, see Optimizing Repository Replication with Checksum-Based Storage.
    cronExp String
    A valid CRON expression that you can use to control replication frequency. Eg: 0 0 12 * * ? *, 0 0 2 ? * MON-SAT *. Note: use 6 or 7 parts format - Seconds, Minutes Hours, Day Of Month, Month, Day Of Week, Year (optional). Specifying both a day-of-week AND a day-of-month parameter is not supported. One of them should be replaced by ?. Incorrect: * 5,7,9 14/2 * * WED,SAT *, correct: * 5,7,9 14/2 ? * WED,SAT *. See details in Cron Trigger Tutorial.
    enableEventReplication Boolean
    When set, each event will trigger replication of the artifacts changed in this event. This can be any type of event on artifact, e.g. add, deleted or property change. Default value is false.
    enabled Boolean
    When set, enables replication of this repository to the target specified in url attribute. Default value is true.
    excludePathPrefixPattern String
    List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default, no artifacts are excluded.
    includePathPrefixPattern String
    List of 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 (**/*).
    password String
    Use either the HTTP authentication password or identity token.
    proxy String
    Proxy key from Artifactory Proxies settings. The proxy configuration will be used when communicating with the remote instance.
    replicationKey String
    Replication ID, the value is unknown until the resource is created. Can't be set or updated.
    repoKey String
    Repository name.
    socketTimeoutMillis Integer
    The network timeout in milliseconds to use for remote operations. Default value is 15000.
    syncDeletes Boolean
    When set, items that were deleted locally should also be deleted remotely (also applies to properties metadata). Note that enabling this option, will delete artifacts on the target that do not exist in the source repository. Default value is false.
    syncProperties Boolean
    When set, the task also synchronizes the properties of replicated artifacts. Default value is true.
    syncStatistics Boolean
    When set, the task also synchronizes artifact download statistics. Set to avoid inadvertent cleanup at the target instance when setting up replication for disaster recovery. Default value is false
    url String
    The URL of the target local repository on a remote Artifactory server. Use the format https://<artifactory_url>/artifactory/<repository_name>.
    username String
    Username on the remote Artifactory instance.
    checkBinaryExistenceInFilestore boolean
    Enabling the check_binary_existence_in_filestore flag requires an Enterprise Plus license. When true, enables distributed checksum storage. For more information, see Optimizing Repository Replication with Checksum-Based Storage.
    cronExp string
    A valid CRON expression that you can use to control replication frequency. Eg: 0 0 12 * * ? *, 0 0 2 ? * MON-SAT *. Note: use 6 or 7 parts format - Seconds, Minutes Hours, Day Of Month, Month, Day Of Week, Year (optional). Specifying both a day-of-week AND a day-of-month parameter is not supported. One of them should be replaced by ?. Incorrect: * 5,7,9 14/2 * * WED,SAT *, correct: * 5,7,9 14/2 ? * WED,SAT *. See details in Cron Trigger Tutorial.
    enableEventReplication boolean
    When set, each event will trigger replication of the artifacts changed in this event. This can be any type of event on artifact, e.g. add, deleted or property change. Default value is false.
    enabled boolean
    When set, enables replication of this repository to the target specified in url attribute. Default value is true.
    excludePathPrefixPattern string
    List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default, no artifacts are excluded.
    includePathPrefixPattern string
    List of 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 (**/*).
    password string
    Use either the HTTP authentication password or identity token.
    proxy string
    Proxy key from Artifactory Proxies settings. The proxy configuration will be used when communicating with the remote instance.
    replicationKey string
    Replication ID, the value is unknown until the resource is created. Can't be set or updated.
    repoKey string
    Repository name.
    socketTimeoutMillis number
    The network timeout in milliseconds to use for remote operations. Default value is 15000.
    syncDeletes boolean
    When set, items that were deleted locally should also be deleted remotely (also applies to properties metadata). Note that enabling this option, will delete artifacts on the target that do not exist in the source repository. Default value is false.
    syncProperties boolean
    When set, the task also synchronizes the properties of replicated artifacts. Default value is true.
    syncStatistics boolean
    When set, the task also synchronizes artifact download statistics. Set to avoid inadvertent cleanup at the target instance when setting up replication for disaster recovery. Default value is false
    url string
    The URL of the target local repository on a remote Artifactory server. Use the format https://<artifactory_url>/artifactory/<repository_name>.
    username string
    Username on the remote Artifactory instance.
    check_binary_existence_in_filestore bool
    Enabling the check_binary_existence_in_filestore flag requires an Enterprise Plus license. When true, enables distributed checksum storage. For more information, see Optimizing Repository Replication with Checksum-Based Storage.
    cron_exp str
    A valid CRON expression that you can use to control replication frequency. Eg: 0 0 12 * * ? *, 0 0 2 ? * MON-SAT *. Note: use 6 or 7 parts format - Seconds, Minutes Hours, Day Of Month, Month, Day Of Week, Year (optional). Specifying both a day-of-week AND a day-of-month parameter is not supported. One of them should be replaced by ?. Incorrect: * 5,7,9 14/2 * * WED,SAT *, correct: * 5,7,9 14/2 ? * WED,SAT *. See details in Cron Trigger Tutorial.
    enable_event_replication bool
    When set, each event will trigger replication of the artifacts changed in this event. This can be any type of event on artifact, e.g. add, deleted or property change. Default value is false.
    enabled bool
    When set, enables replication of this repository to the target specified in url attribute. Default value is true.
    exclude_path_prefix_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.
    include_path_prefix_pattern str
    List of 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 (**/*).
    password str
    Use either the HTTP authentication password or identity token.
    proxy str
    Proxy key from Artifactory Proxies settings. The proxy configuration will be used when communicating with the remote instance.
    replication_key str
    Replication ID, the value is unknown until the resource is created. Can't be set or updated.
    repo_key str
    Repository name.
    socket_timeout_millis int
    The network timeout in milliseconds to use for remote operations. Default value is 15000.
    sync_deletes bool
    When set, items that were deleted locally should also be deleted remotely (also applies to properties metadata). Note that enabling this option, will delete artifacts on the target that do not exist in the source repository. Default value is false.
    sync_properties bool
    When set, the task also synchronizes the properties of replicated artifacts. Default value is true.
    sync_statistics bool
    When set, the task also synchronizes artifact download statistics. Set to avoid inadvertent cleanup at the target instance when setting up replication for disaster recovery. Default value is false
    url str
    The URL of the target local repository on a remote Artifactory server. Use the format https://<artifactory_url>/artifactory/<repository_name>.
    username str
    Username on the remote Artifactory instance.
    checkBinaryExistenceInFilestore Boolean
    Enabling the check_binary_existence_in_filestore flag requires an Enterprise Plus license. When true, enables distributed checksum storage. For more information, see Optimizing Repository Replication with Checksum-Based Storage.
    cronExp String
    A valid CRON expression that you can use to control replication frequency. Eg: 0 0 12 * * ? *, 0 0 2 ? * MON-SAT *. Note: use 6 or 7 parts format - Seconds, Minutes Hours, Day Of Month, Month, Day Of Week, Year (optional). Specifying both a day-of-week AND a day-of-month parameter is not supported. One of them should be replaced by ?. Incorrect: * 5,7,9 14/2 * * WED,SAT *, correct: * 5,7,9 14/2 ? * WED,SAT *. See details in Cron Trigger Tutorial.
    enableEventReplication Boolean
    When set, each event will trigger replication of the artifacts changed in this event. This can be any type of event on artifact, e.g. add, deleted or property change. Default value is false.
    enabled Boolean
    When set, enables replication of this repository to the target specified in url attribute. Default value is true.
    excludePathPrefixPattern String
    List of artifact patterns to exclude when evaluating artifact requests, in the form of x/y/**/z/*. By default, no artifacts are excluded.
    includePathPrefixPattern String
    List of 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 (**/*).
    password String
    Use either the HTTP authentication password or identity token.
    proxy String
    Proxy key from Artifactory Proxies settings. The proxy configuration will be used when communicating with the remote instance.
    replicationKey String
    Replication ID, the value is unknown until the resource is created. Can't be set or updated.
    repoKey String
    Repository name.
    socketTimeoutMillis Number
    The network timeout in milliseconds to use for remote operations. Default value is 15000.
    syncDeletes Boolean
    When set, items that were deleted locally should also be deleted remotely (also applies to properties metadata). Note that enabling this option, will delete artifacts on the target that do not exist in the source repository. Default value is false.
    syncProperties Boolean
    When set, the task also synchronizes the properties of replicated artifacts. Default value is true.
    syncStatistics Boolean
    When set, the task also synchronizes artifact download statistics. Set to avoid inadvertent cleanup at the target instance when setting up replication for disaster recovery. Default value is false
    url String
    The URL of the target local repository on a remote Artifactory server. Use the format https://<artifactory_url>/artifactory/<repository_name>.
    username String
    Username on the remote Artifactory instance.

    Import

    Push replication configs can be imported using their repo key, e.g.

    $ pulumi import artifactory:index/localRepositorySingleReplication:LocalRepositorySingleReplication foo-rep provider_test_source
    

    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.7.0 published on Friday, Apr 19, 2024 by Pulumi