Package casa.siron.forgejo.forgejo
Class RepositoryTagProtection
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- casa.siron.forgejo.forgejo.RepositoryTagProtection
-
public class RepositoryTagProtection extends com.pulumi.resources.CustomResourceA Forgejo tag protection rule for a repository.
-
-
Constructor Summary
Constructors Constructor Description RepositoryTagProtection(java.lang.String name)RepositoryTagProtection(java.lang.String name, RepositoryTagProtectionArgs args)RepositoryTagProtection(java.lang.String name, RepositoryTagProtectionArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RepositoryTagProtectionget(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()
-
-
-
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.
-
-