Show / Hide Table of Contents

Class ProjectPushRulesArgs

Inheritance
System.Object
InputArgs
ResourceArgs
ProjectPushRulesArgs
Inherited Members
ResourceArgs.Empty
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 ProjectPushRulesArgs : ResourceArgs

Constructors

View Source

ProjectPushRulesArgs()

Declaration
public ProjectPushRulesArgs()

Properties

View Source

AuthorEmailRegex

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>
View Source

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>
View Source

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>
View Source

DenyDeleteTag

Deny deleting a tag

Declaration
public Input<bool> DenyDeleteTag { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

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>
View Source

MaxFileSize

Maximum file size (MB)

Declaration
public Input<int> MaxFileSize { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

MemberCheck

Restrict commits by author (email) to existing GitLab users

Declaration
public Input<bool> MemberCheck { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

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>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.