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 Artifacts service. * * Lists repositories in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRepositories = oci.artifacts.getRepositories({ * compartmentId: compartmentId, * displayName: repositoryDisplayName, * id: repositoryId, * isImmutable: repositoryIsImmutable === "true", * state: repositoryState, * }); * ``` */ export declare function getRepositories(args: GetRepositoriesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRepositories. */ export interface GetRepositoriesArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; /** * A filter to return only resources that match the given display name exactly. */ displayName?: string; filters?: inputs.Artifacts.GetRepositoriesFilter[]; /** * A filter to return the resources for the specified OCID. */ id?: string; /** * A filter to return resources that match the isImmutable value. */ isImmutable?: boolean; /** * A filter to return only resources that match the given lifecycle state name exactly. */ state?: string; } /** * A collection of values returned by getRepositories. */ export interface GetRepositoriesResult { /** * The OCID of the repository's compartment. */ readonly compartmentId: string; /** * The repository name. */ readonly displayName?: string; readonly filters?: outputs.Artifacts.GetRepositoriesFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository. Example: `ocid1.artifactrepository.oc1..exampleuniqueID` */ readonly id?: string; /** * Whether the repository is immutable. The artifacts of an immutable repository cannot be overwritten. */ readonly isImmutable?: boolean; /** * The list of repository_collection. */ readonly repositoryCollections: outputs.Artifacts.GetRepositoriesRepositoryCollection[]; /** * The current state of the repository. */ readonly state?: string; } /** * This data source provides the list of Repositories in Oracle Cloud Infrastructure Artifacts service. * * Lists repositories in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRepositories = oci.artifacts.getRepositories({ * compartmentId: compartmentId, * displayName: repositoryDisplayName, * id: repositoryId, * isImmutable: repositoryIsImmutable === "true", * 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the given display name exactly. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return the resources for the specified OCID. */ id?: pulumi.Input; /** * A filter to return resources that match the isImmutable value. */ isImmutable?: pulumi.Input; /** * A filter to return only resources that match the given lifecycle state name exactly. */ state?: pulumi.Input; } //# sourceMappingURL=getRepositories.d.ts.map