import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Repository resource in Oracle Cloud Infrastructure Artifacts service. * * Gets the specified repository's information. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRepository = oci.artifacts.getRepository({ * repositoryId: testRepositoryOciArtifactsRepository.id, * }); * ``` */ export declare function getRepository(args: GetRepositoryArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRepository. */ export interface GetRepositoryArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository. Example: `ocid1.artifactrepository.oc1..exampleuniqueID` */ repositoryId: string; } /** * A collection of values returned by getRepository. */ export interface GetRepositoryResult { /** * The OCID of the repository's compartment. */ readonly compartmentId: 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 repository description. */ readonly description: string; /** * The 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 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; readonly repositoryId: string; /** * The repository's supported artifact type. */ readonly repositoryType: string; /** * The current state of the repository. */ readonly state: string; /** * An RFC 3339 timestamp indicating when the repository was created. */ readonly timeCreated: string; } /** * This data source provides details about a specific Repository resource in Oracle Cloud Infrastructure Artifacts service. * * Gets the specified repository's information. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRepository = oci.artifacts.getRepository({ * repositoryId: testRepositoryOciArtifactsRepository.id, * }); * ``` */ export declare function getRepositoryOutput(args: GetRepositoryOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRepository. */ export interface GetRepositoryOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository. Example: `ocid1.artifactrepository.oc1..exampleuniqueID` */ repositoryId: pulumi.Input; } //# sourceMappingURL=getRepository.d.ts.map