Class ProjectArgs
Inherited Members
Namespace: Pulumi.GitLab
Assembly: Pulumi.GitLab.dll
Syntax
public sealed class ProjectArgs : ResourceArgs
Constructors
View SourceProjectArgs()
Declaration
public ProjectArgs()
Properties
View SourceApprovalsBeforeMerge
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> |
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> |
ContainerRegistryEnabled
Enable container registry for the project.
Declaration
public Input<bool> ContainerRegistryEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
DefaultBranch
The default branch for the project.
Declaration
public Input<string> DefaultBranch { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Description
A description of the project.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |
IssuesEnabled
Enable issue tracking for the project.
Declaration
public Input<bool> IssuesEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
LfsEnabled
Enable LFS for the project.
Declaration
public Input<bool> LfsEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
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> |
MergeRequestsEnabled
Enable merge requests for the project.
Declaration
public Input<bool> MergeRequestsEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Name
The name of the project.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |
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> |
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> |
Path
The path of the repository.
Declaration
public Input<string> Path { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PipelinesEnabled
Enable pipelines for the project.
Declaration
public Input<bool> PipelinesEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
RequestAccessEnabled
Allow users to request member access.
Declaration
public Input<bool> RequestAccessEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
SharedRunnersEnabled
Enable shared runners for this project.
Declaration
public Input<bool> SharedRunnersEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
SharedWithGroups
Enable sharing the project with a list of groups (maps).
Declaration
public InputList<ProjectSharedWithGroupArgs> SharedWithGroups { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<ProjectSharedWithGroupArgs> |
SnippetsEnabled
Enable snippets for the project.
Declaration
public Input<bool> SnippetsEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Tags
Tags (topics) of the project.
Declaration
public InputList<string> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
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> |
WikiEnabled
Enable wiki for the project.
Declaration
public Input<bool> WikiEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |