Show / Hide Table of Contents

Class ProjectArgs

Inheritance
System.Object
InputArgs
ResourceArgs
ProjectArgs
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 ProjectArgs : ResourceArgs

Constructors

View Source

ProjectArgs()

Declaration
public ProjectArgs()

Properties

View Source

ApprovalsBeforeMerge

Number of merge request approvals required for merging. Default is 0.

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

Archived

Whether the project is in read-only mode (archived). Repositories can be archived/unarchived by toggling this parameter.

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

ContainerRegistryEnabled

Enable container registry for the project.

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

DefaultBranch

The default branch for the project.

Declaration
public Input<string> DefaultBranch { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Description

A description of the project.

Declaration
public Input<string> Description { get; set; }
Property Value
Type Description
Input<System.String>
View Source

InitializeWithReadme

Create master branch with first commit containing a README.md file.

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

IssuesEnabled

Enable issue tracking for the project.

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

LfsEnabled

Enable LFS for the project.

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

MergeMethod

Set to ff to create fast-forward merges Valid values are merge, rebase_merge, ff Repositories are created with merge by default

Declaration
public Input<string> MergeMethod { get; set; }
Property Value
Type Description
Input<System.String>
View Source

MergeRequestsEnabled

Enable merge requests for the project.

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

Name

The name of the project.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

NamespaceId

The namespace (group or user) of the project. Defaults to your user. See gitlab..Group for an example.

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

OnlyAllowMergeIfAllDiscussionsAreResolved

Set to true if you want allow merges only if all discussions are resolved.

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

OnlyAllowMergeIfPipelineSucceeds

Set to true if you want allow merges only if a pipeline succeeds.

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

Path

The path of the repository.

Declaration
public Input<string> Path { get; set; }
Property Value
Type Description
Input<System.String>
View Source

PipelinesEnabled

Enable pipelines for the project.

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

RequestAccessEnabled

Allow users to request member access.

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

SharedRunnersEnabled

Enable shared runners for this project.

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

SharedWithGroups

Enable sharing the project with a list of groups (maps).

Declaration
public InputList<ProjectSharedWithGroupArgs> SharedWithGroups { get; set; }
Property Value
Type Description
InputList<ProjectSharedWithGroupArgs>
View Source

SnippetsEnabled

Enable snippets for the project.

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

Tags

Tags (topics) of the project.

Declaration
public InputList<string> Tags { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

VisibilityLevel

Set to public to create a public project. Valid values are private, internal, public. Repositories are created as private by default.

Declaration
public Input<string> VisibilityLevel { get; set; }
Property Value
Type Description
Input<System.String>
View Source

WikiEnabled

Enable wiki for the project.

Declaration
public Input<bool> WikiEnabled { get; set; }
Property Value
Type Description
Input<System.Boolean>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.