import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Container Repository resource in Oracle Cloud Infrastructure Artifacts service. * * Get container repository. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testContainerRepository = oci.artifacts.getContainerRepository({ * repositoryId: testRepository.id, * }); * ``` */ export declare function getContainerRepository(args: GetContainerRepositoryArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getContainerRepository. */ export interface GetContainerRepositoryArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container repository. Example: `ocid1.containerrepo.oc1..exampleuniqueID` */ repositoryId: string; } /** * A collection of values returned by getContainerRepository. */ export interface GetContainerRepositoryResult { /** * Total storage size in GBs that will be charged. */ readonly billableSizeInGbs: string; /** * The OCID of the compartment in which the container repository exists. */ readonly compartmentId: string; /** * The id of the user or principal that created the resource. */ readonly createdBy: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * The container repository name. */ readonly displayName: string; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container repository. Example: `ocid1.containerrepo.oc1..exampleuniqueID` */ readonly id: string; /** * Total number of images. */ readonly imageCount: number; /** * Whether the repository is immutable. Images cannot be overwritten in an immutable repository. */ readonly isImmutable: boolean; /** * Whether the repository is public. A public repository allows unauthenticated access. */ readonly isPublic: boolean; /** * Total number of layers. */ readonly layerCount: number; /** * Total storage in bytes consumed by layers. */ readonly layersSizeInBytes: string; /** * The tenancy namespace used in the container repository path. */ readonly namespace: string; /** * Container repository readme. */ readonly readmes: outputs.Artifacts.GetContainerRepositoryReadme[]; readonly repositoryId: string; /** * The current state of the container repository. */ readonly state: string; /** * The system tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * An RFC 3339 timestamp indicating when the repository was created. */ readonly timeCreated: string; /** * An RFC 3339 timestamp indicating when an image was last pushed to the repository. */ readonly timeLastPushed: string; } /** * This data source provides details about a specific Container Repository resource in Oracle Cloud Infrastructure Artifacts service. * * Get container repository. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testContainerRepository = oci.artifacts.getContainerRepository({ * repositoryId: testRepository.id, * }); * ``` */ export declare function getContainerRepositoryOutput(args: GetContainerRepositoryOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getContainerRepository. */ export interface GetContainerRepositoryOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container repository. Example: `ocid1.containerrepo.oc1..exampleuniqueID` */ repositoryId: pulumi.Input; } //# sourceMappingURL=getContainerRepository.d.ts.map