RepositoryFile

class RepositoryFile : KotlinCustomResource

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. If the content is not yet base64 encoded, it will be encoded automatically. No other encoding is currently supported, because of a GitLab API bug.

Link copied to clipboard
val contentSha256: Output<String>

File content sha256 digest.

Link copied to clipboard
val encoding: Output<String>

The file content encoding.

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 /.

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
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
val urn: Output<String>