import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Repository Path resource in Oracle Cloud Infrastructure Devops service. * * Retrieves a list of files and directories in a repository. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRepositoryPath = oci.devops.getRepositoryPath({ * repositoryId: testRepository.id, * displayName: repositoryPathDisplayName, * folderPath: repositoryPathFolderPath, * pathsInSubtree: repositoryPathPathsInSubtree === "true", * ref: repositoryPathRef, * }); * ``` */ export declare function getRepositoryPath(args: GetRepositoryPathArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRepositoryPath. */ export interface GetRepositoryPathArgs { /** * A filter to return only resources that match the entire display name given. */ displayName?: string; /** * The fully qualified path to the folder whose contents are returned, including the folder name. For example, /examples is a fully-qualified path to a folder named examples that was created off of the root directory (/) of a repository. */ folderPath?: string; /** * Flag to determine if files must be retrived recursively. Flag is False by default. */ pathsInSubtree?: boolean; /** * The name of branch/tag or commit hash it points to. If names conflict, order of preference is commit > branch > tag. You can disambiguate with "heads/foobar" and "tags/foobar". If left blank repository's default branch will be used. */ ref?: string; /** * Unique repository identifier. */ repositoryId: string; } /** * A collection of values returned by getRepositoryPath. */ export interface GetRepositoryPathResult { readonly displayName?: string; readonly folderPath?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * List of objects describing files or directories in a repository. */ readonly items: outputs.DevOps.GetRepositoryPathItem[]; readonly pathsInSubtree?: boolean; readonly ref?: string; readonly repositoryId: string; } /** * This data source provides details about a specific Repository Path resource in Oracle Cloud Infrastructure Devops service. * * Retrieves a list of files and directories in a repository. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRepositoryPath = oci.devops.getRepositoryPath({ * repositoryId: testRepository.id, * displayName: repositoryPathDisplayName, * folderPath: repositoryPathFolderPath, * pathsInSubtree: repositoryPathPathsInSubtree === "true", * ref: repositoryPathRef, * }); * ``` */ export declare function getRepositoryPathOutput(args: GetRepositoryPathOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRepositoryPath. */ export interface GetRepositoryPathOutputArgs { /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; /** * The fully qualified path to the folder whose contents are returned, including the folder name. For example, /examples is a fully-qualified path to a folder named examples that was created off of the root directory (/) of a repository. */ folderPath?: pulumi.Input; /** * Flag to determine if files must be retrived recursively. Flag is False by default. */ pathsInSubtree?: pulumi.Input; /** * The name of branch/tag or commit hash it points to. If names conflict, order of preference is commit > branch > tag. You can disambiguate with "heads/foobar" and "tags/foobar". If left blank repository's default branch will be used. */ ref?: pulumi.Input; /** * Unique repository identifier. */ repositoryId: pulumi.Input; } //# sourceMappingURL=getRepositoryPath.d.ts.map