import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets a repository. */ export declare function getRepository(args: GetRepositoryArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetRepositoryArgs { location: string; project?: string; repositoryId: string; } export interface GetRepositoryResult { /** * Optional. Cleanup policies for this repository. Cleanup policies indicate when certain package versions can be automatically deleted. Map keys are policy IDs supplied by users during policy creation. They must unique within a repository and be under 128 characters in length. */ readonly cleanupPolicies: { [key: string]: string; }; /** * Optional. If true, the cleanup pipeline is prevented from deleting versions in this repository. */ readonly cleanupPolicyDryRun: boolean; /** * The time when the repository was created. */ readonly createTime: string; /** * The user-provided description of the repository. */ readonly description: string; /** * Docker repository config contains repository level configuration for the repositories of docker type. */ readonly dockerConfig: outputs.artifactregistry.v1.DockerRepositoryConfigResponse; /** * Optional. The format of packages that are stored in the repository. */ readonly format: string; /** * The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created. */ readonly kmsKeyName: string; /** * Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes. */ readonly labels: { [key: string]: string; }; /** * Maven repository config contains repository level configuration for the repositories of maven type. */ readonly mavenConfig: outputs.artifactregistry.v1.MavenRepositoryConfigResponse; /** * Optional. The mode of the repository. */ readonly mode: string; /** * The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. */ readonly name: string; /** * Configuration specific for a Remote Repository. */ readonly remoteRepositoryConfig: outputs.artifactregistry.v1.RemoteRepositoryConfigResponse; /** * If set, the repository satisfies physical zone separation. */ readonly satisfiesPzs: boolean; /** * The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs. */ readonly sizeBytes: string; /** * The time when the repository was last updated. */ readonly updateTime: string; /** * Configuration specific for a Virtual Repository. */ readonly virtualRepositoryConfig: outputs.artifactregistry.v1.VirtualRepositoryConfigResponse; } /** * Gets a repository. */ export declare function getRepositoryOutput(args: GetRepositoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetRepositoryOutputArgs { location: pulumi.Input; project?: pulumi.Input; repositoryId: pulumi.Input; }