Class RepositoryTagProtection


  • public class RepositoryTagProtection
    extends com.pulumi.resources.CustomResource
    A Forgejo tag protection rule for a repository.
    • 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
      static RepositoryTagProtection 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.lang.String> namePattern()  
      com.pulumi.core.Output<java.lang.String> owner()  
      com.pulumi.core.Output<java.lang.Integer> protectionId()  
      com.pulumi.core.Output<java.lang.String> repository()  
      com.pulumi.core.Output<java.util.Optional<java.util.List<java.lang.String>>> whitelistTeams()  
      com.pulumi.core.Output<java.util.Optional<java.util.List<java.lang.String>>> whitelistUsernames()  
      • 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

      • RepositoryTagProtection

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

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

        public RepositoryTagProtection​(java.lang.String name,
                                       RepositoryTagProtectionArgs 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

      • namePattern

        public com.pulumi.core.Output<java.lang.String> namePattern()
        Returns:
        Protected tag name pattern, for example v*.
      • owner

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

        public com.pulumi.core.Output<java.lang.Integer> protectionId()
      • repository

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

        public com.pulumi.core.Output<java.util.Optional<java.util.List<java.lang.String>>> whitelistTeams()
        Returns:
        Teams allowed to create matching tags.
      • whitelistUsernames

        public com.pulumi.core.Output<java.util.Optional<java.util.List<java.lang.String>>> whitelistUsernames()
        Returns:
        Users allowed to create matching tags.
      • get

        public static RepositoryTagProtection 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.