Class RepositoryPushMirror


  • public class RepositoryPushMirror
    extends com.pulumi.resources.CustomResource
    A Forgejo repository push mirror, optionally limited to matching branches.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.pulumi.resources.CustomResource

        com.pulumi.resources.CustomResource.CustomResourceInternal
      • Nested classes/interfaces inherited from class com.pulumi.resources.Resource

        com.pulumi.resources.Resource.LazyField<T extends java.lang.Object>, com.pulumi.resources.Resource.LazyFields, com.pulumi.resources.Resource.ResourceInternal
    • Field Summary

      • Fields inherited from class com.pulumi.resources.Resource

        childResources, remote
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.pulumi.core.Output<java.util.Optional<java.lang.String>> branchFilter()  
      com.pulumi.core.Output<java.lang.String> created()  
      static RepositoryPushMirror get​(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, com.pulumi.resources.CustomResourceOptions options)
      Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
      com.pulumi.core.Output<java.util.Optional<java.lang.String>> interval()  
      com.pulumi.core.Output<java.lang.String> lastError()  
      com.pulumi.core.Output<java.lang.String> lastUpdate()  
      com.pulumi.core.Output<java.lang.String> owner()  
      com.pulumi.core.Output<java.lang.String> publicKey()  
      com.pulumi.core.Output<java.lang.String> remoteAddress()  
      com.pulumi.core.Output<java.lang.String> remoteName()  
      com.pulumi.core.Output<java.util.Optional<java.lang.String>> remotePassword()  
      com.pulumi.core.Output<java.util.Optional<java.lang.String>> remoteUsername()  
      com.pulumi.core.Output<java.lang.String> repository()  
      com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>> syncOnCommit()  
      com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>> useSsh()  
      • Methods inherited from class com.pulumi.resources.CustomResource

        getId, id, idFuture
      • Methods inherited from class com.pulumi.resources.Resource

        getChildResources, getResourceName, getResourceType, getUrn, pulumiChildResources, pulumiResourceName, pulumiResourceType, urn
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RepositoryPushMirror

        public RepositoryPushMirror​(java.lang.String name)
        Parameters:
        name - The _unique_ name of the resulting resource.
      • RepositoryPushMirror

        public RepositoryPushMirror​(java.lang.String name,
                                    RepositoryPushMirrorArgs args)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
      • RepositoryPushMirror

        public RepositoryPushMirror​(java.lang.String name,
                                    RepositoryPushMirrorArgs args,
                                    @Nullable
                                    com.pulumi.resources.CustomResourceOptions options)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
        options - A bag of options that control this resource's behavior.
    • Method Detail

      • branchFilter

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> branchFilter()
        Returns:
        Optional branch filter for the push mirror. Leave empty to mirror all branches.
      • created

        public com.pulumi.core.Output<java.lang.String> created()
      • interval

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> interval()
        Returns:
        Mirror sync interval, for example 8h30m0s. Leave empty to use Forgejo's default.
      • lastError

        public com.pulumi.core.Output<java.lang.String> lastError()
      • lastUpdate

        public com.pulumi.core.Output<java.lang.String> lastUpdate()
      • owner

        public com.pulumi.core.Output<java.lang.String> owner()
        Returns:
        Repository owner.
      • publicKey

        public com.pulumi.core.Output<java.lang.String> publicKey()
      • remoteAddress

        public com.pulumi.core.Output<java.lang.String> remoteAddress()
        Returns:
        Target remote URL for the push mirror.
      • remoteName

        public com.pulumi.core.Output<java.lang.String> remoteName()
      • remotePassword

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> remotePassword()
        Returns:
        Password or token for authenticating to the remote.
      • remoteUsername

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> remoteUsername()
        Returns:
        Username for authenticating to the remote.
      • repository

        public com.pulumi.core.Output<java.lang.String> repository()
        Returns:
        Repository name.
      • syncOnCommit

        public com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>> syncOnCommit()
        Returns:
        Whether pushes to this repository trigger the mirror.
      • useSsh

        public com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>> useSsh()
        Returns:
        Whether Forgejo should use an SSH key for the push mirror remote.
      • get

        public static RepositoryPushMirror get​(java.lang.String name,
                                               com.pulumi.core.Output<java.lang.String> id,
                                               @Nullable
                                               com.pulumi.resources.CustomResourceOptions options)
        Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
        Parameters:
        name - The _unique_ name of the resulting resource.
        id - The _unique_ provider ID of the resource to lookup.
        options - Optional settings to control the behavior of the CustomResource.