import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Repositories in Oracle Cloud Infrastructure Devops service. * * Returns a list of repositories given a compartment ID or a project ID. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRepositories = oci.devops.getRepositories({ * compartmentId: compartmentId, * name: repositoryName, * projectId: testProject.id, * repositoryId: testRepository.id, * state: repositoryState, * }); * ``` */ export declare function getRepositories(args?: GetRepositoriesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRepositories. */ export interface GetRepositoriesArgs { /** * The OCID of the compartment in which to list resources. */ compartmentId?: string; filters?: inputs.DevOps.GetRepositoriesFilter[]; /** * A filter to return only resources that match the entire name given. */ name?: string; /** * unique project identifier */ projectId?: string; /** * Unique repository identifier. */ repositoryId?: string; /** * A filter to return only resources whose lifecycle state matches the given lifecycle state. */ state?: string; } /** * A collection of values returned by getRepositories. */ export interface GetRepositoriesResult { /** * The OCID of the repository's compartment. */ readonly compartmentId?: string; readonly filters?: outputs.DevOps.GetRepositoriesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Name of the repository. Should be unique within the project. This value is mutable. */ readonly name?: string; /** * The OCID of the DevOps project containing the repository. */ readonly projectId?: string; /** * The list of repository_collection. */ readonly repositoryCollections: outputs.DevOps.GetRepositoriesRepositoryCollection[]; readonly repositoryId?: string; /** * The current state of the repository. */ readonly state?: string; } /** * This data source provides the list of Repositories in Oracle Cloud Infrastructure Devops service. * * Returns a list of repositories given a compartment ID or a project ID. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRepositories = oci.devops.getRepositories({ * compartmentId: compartmentId, * name: repositoryName, * projectId: testProject.id, * repositoryId: testRepository.id, * state: repositoryState, * }); * ``` */ export declare function getRepositoriesOutput(args?: GetRepositoriesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRepositories. */ export interface GetRepositoriesOutputArgs { /** * The OCID of the compartment in which to list resources. */ compartmentId?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources that match the entire name given. */ name?: pulumi.Input; /** * unique project identifier */ projectId?: pulumi.Input; /** * Unique repository identifier. */ repositoryId?: pulumi.Input; /** * A filter to return only resources whose lifecycle state matches the given lifecycle state. */ state?: pulumi.Input; } //# sourceMappingURL=getRepositories.d.ts.map