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 Container Repositories in Oracle Cloud Infrastructure Artifacts service. * * List container repositories in a compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testContainerRepositories = oci.artifacts.getContainerRepositories({ * compartmentId: compartmentId, * compartmentIdInSubtree: containerRepositoryCompartmentIdInSubtree === "true", * displayName: containerRepositoryDisplayName, * isPublic: containerRepositoryIsPublic === "true", * repositoryId: testRepository.id, * state: containerRepositoryState, * }); * ``` */ export declare function getContainerRepositories(args: GetContainerRepositoriesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getContainerRepositories. */ export interface GetContainerRepositoriesArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; /** * When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are inspected depending on the the setting of `accessLevel`. Default is false. Can only be set to true when calling the API on the tenancy (root compartment). */ compartmentIdInSubtree?: boolean; /** * A filter to return only resources that match the given display name exactly. */ displayName?: string; filters?: inputs.Artifacts.GetContainerRepositoriesFilter[]; /** * A filter to return resources that match the isPublic value. */ isPublic?: boolean; /** * A filter to return container images only for the specified container repository OCID. */ repositoryId?: string; /** * A filter to return only resources that match the given lifecycle state name exactly. */ state?: string; } /** * A collection of values returned by getContainerRepositories. */ export interface GetContainerRepositoriesResult { /** * The OCID of the compartment in which the container repository exists. */ readonly compartmentId: string; readonly compartmentIdInSubtree?: boolean; /** * The list of container_repository_collection. */ readonly containerRepositoryCollections: outputs.Artifacts.GetContainerRepositoriesContainerRepositoryCollection[]; /** * The container repository name. */ readonly displayName?: string; readonly filters?: outputs.Artifacts.GetContainerRepositoriesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Whether the repository is public. A public repository allows unauthenticated access. */ readonly isPublic?: boolean; readonly repositoryId?: string; /** * The current state of the container repository. */ readonly state?: string; } /** * This data source provides the list of Container Repositories in Oracle Cloud Infrastructure Artifacts service. * * List container repositories in a compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testContainerRepositories = oci.artifacts.getContainerRepositories({ * compartmentId: compartmentId, * compartmentIdInSubtree: containerRepositoryCompartmentIdInSubtree === "true", * displayName: containerRepositoryDisplayName, * isPublic: containerRepositoryIsPublic === "true", * repositoryId: testRepository.id, * state: containerRepositoryState, * }); * ``` */ export declare function getContainerRepositoriesOutput(args: GetContainerRepositoriesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getContainerRepositories. */ export interface GetContainerRepositoriesOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are inspected depending on the the setting of `accessLevel`. Default is false. Can only be set to true when calling the API on the tenancy (root compartment). */ compartmentIdInSubtree?: 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 resources that match the isPublic value. */ isPublic?: pulumi.Input; /** * A filter to return container images only for the specified container repository OCID. */ repositoryId?: pulumi.Input; /** * A filter to return only resources that match the given lifecycle state name exactly. */ state?: pulumi.Input; } //# sourceMappingURL=getContainerRepositories.d.ts.map