Class ProjectPushRulesState
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.GitLab
Assembly: Pulumi.GitLab.dll
Syntax
public sealed class ProjectPushRulesState : ResourceArgs
Constructors
View SourceProjectPushRulesState()
Declaration
public ProjectPushRulesState()
Properties
View SourceAuthorEmailRegex
All commit author emails must match this regex, e.g. "@my-company.com$"
Declaration
public Input<string> AuthorEmailRegex { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
BranchNameRegex
All branch names must match this regex, e.g. "(feature|hotfix)/*"
Declaration
public Input<string> BranchNameRegex { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
CommitMessageRegex
All commit messages must match this regex, e.g. "Fixed \d+..*"
Declaration
public Input<string> CommitMessageRegex { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DenyDeleteTag
Deny deleting a tag
Declaration
public Input<bool> DenyDeleteTag { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
FileNameRegex
All commited filenames must not match this regex, e.g. "(jar|exe)$"
Declaration
public Input<string> FileNameRegex { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
MaxFileSize
Maximum file size (MB)
Declaration
public Input<int> MaxFileSize { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
MemberCheck
Restrict commits by author (email) to existing GitLab users
Declaration
public Input<bool> MemberCheck { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
PreventSecrets
GitLab will reject any files that are likely to contain secrets
Declaration
public Input<bool> PreventSecrets { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Project
The name or id of the project to add the push rules to.
Declaration
public Input<string> Project { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |