import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Repository Commit resource in Oracle Cloud Infrastructure Devops service. * * Retrieves a repository's commit by commit ID. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRepositoryCommit = oci.devops.getRepositoryCommit({ * commitId: testCommit.id, * repositoryId: testRepository.id, * }); * ``` */ export declare function getRepositoryCommit(args: GetRepositoryCommitArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRepositoryCommit. */ export interface GetRepositoryCommitArgs { /** * A filter to return only resources that match the given commit ID. */ commitId: string; /** * Unique repository identifier. */ repositoryId: string; } /** * A collection of values returned by getRepositoryCommit. */ export interface GetRepositoryCommitResult { /** * Email of the author of the repository. */ readonly authorEmail: string; /** * Name of the author of the repository. */ readonly authorName: string; /** * Commit hash pointed to by reference name. */ readonly commitId: string; /** * The commit message. */ readonly commitMessage: string; /** * Email of who creates the commit. */ readonly committerEmail: string; /** * Name of who creates the commit. */ readonly committerName: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * An array of parent commit IDs of created commit. */ readonly parentCommitIds: string[]; readonly repositoryId: string; /** * The time at which commit was created. */ readonly timeCreated: string; /** * Tree information for the specified commit. */ readonly treeId: string; } /** * This data source provides details about a specific Repository Commit resource in Oracle Cloud Infrastructure Devops service. * * Retrieves a repository's commit by commit ID. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRepositoryCommit = oci.devops.getRepositoryCommit({ * commitId: testCommit.id, * repositoryId: testRepository.id, * }); * ``` */ export declare function getRepositoryCommitOutput(args: GetRepositoryCommitOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRepositoryCommit. */ export interface GetRepositoryCommitOutputArgs { /** * A filter to return only resources that match the given commit ID. */ commitId: pulumi.Input; /** * Unique repository identifier. */ repositoryId: pulumi.Input; } //# sourceMappingURL=getRepositoryCommit.d.ts.map