RepositoryFile

class RepositoryFile : KotlinCustomResource

Example Usage

Import

A Repository File can be imported using an id made up of <project-id>:<branch-name>:<file-path>, e.g.

$ pulumi import gitlab:index/repositoryFile:RepositoryFile this 1:main:foo/bar.txt

Properties

Link copied to clipboard
val authorEmail: Output<String>?

Email of the commit author.

Link copied to clipboard
val authorName: Output<String>?

Name of the commit author.

Link copied to clipboard
val blobId: Output<String>

The blob id.

Link copied to clipboard
val branch: Output<String>

Name of the branch to which to commit to.

Link copied to clipboard
val commitId: Output<String>

The commit id.

Link copied to clipboard
val commitMessage: Output<String>?

Commit message.

Link copied to clipboard
val content: Output<String>

File content.

Link copied to clipboard
val contentSha256: Output<String>

File content sha256 digest.

Link copied to clipboard

Create commit message.

Link copied to clipboard

Delete Commit message.

Link copied to clipboard
val encoding: Output<String>?

The file content encoding. Default value is base64. Valid values are: base64, text.

Link copied to clipboard
val executeFilemode: Output<Boolean>?

Enables or disables the execute flag on the file. Note: requires GitLab 14.10 or newer.

Link copied to clipboard
val fileName: Output<String>

The filename.

Link copied to clipboard
val filePath: Output<String>

The full path of the file. It must be relative to the root of the project without a leading slash / or ./.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val lastCommitId: Output<String>

The last known commit id.

Link copied to clipboard

Enable overwriting existing files, defaults to false. This attribute is only used during create and must be use carefully. We suggest to use imports whenever possible and limit the use of this attribute for when the project was imported on the same apply. This attribute is not supported during a resource import.

Link copied to clipboard
val project: Output<String>

The name or ID of the project.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val ref: Output<String>

The name of branch, tag or commit.

Link copied to clipboard
val size: Output<Int>

The file size.

Link copied to clipboard
val startBranch: Output<String>?

Name of the branch to start the new commit from.

Link copied to clipboard

Update commit message.

Link copied to clipboard
val urn: Output<String>