import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get information about a Google Artifact Registry Repository. For more information see * the [official documentation](https://cloud.google.com/artifact-registry/docs/) * and [API](https://cloud.google.com/artifact-registry/docs/apis). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const my_repo = gcp.artifactregistry.getRepository({ * location: "us-central1", * repositoryId: "my-repository", * }); * ``` */ export declare function getRepository(args: GetRepositoryArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRepository. */ export interface GetRepositoryArgs { /** * The location of the artifact registry repository. eg us-central1 * * - - - */ location: string; /** * The project in which the resource belongs. If it * is not provided, the provider project is used. */ project?: string; /** * The last part of the repository name. */ repositoryId: string; } /** * A collection of values returned by getRepository. */ export interface GetRepositoryResult { readonly cleanupPolicies: outputs.artifactregistry.GetRepositoryCleanupPolicy[]; readonly cleanupPolicyDryRun: boolean; readonly createTime: string; readonly description: string; readonly dockerConfigs: outputs.artifactregistry.GetRepositoryDockerConfig[]; readonly effectiveLabels: { [key: string]: string; }; readonly format: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly kmsKeyName: string; readonly labels: { [key: string]: string; }; readonly location: string; readonly mavenConfigs: outputs.artifactregistry.GetRepositoryMavenConfig[]; readonly mode: string; readonly name: string; readonly project?: string; readonly pulumiLabels: { [key: string]: string; }; readonly registryUri: string; readonly remoteRepositoryConfigs: outputs.artifactregistry.GetRepositoryRemoteRepositoryConfig[]; readonly repositoryId: string; readonly updateTime: string; readonly virtualRepositoryConfigs: outputs.artifactregistry.GetRepositoryVirtualRepositoryConfig[]; readonly vulnerabilityScanningConfigs: outputs.artifactregistry.GetRepositoryVulnerabilityScanningConfig[]; } /** * Get information about a Google Artifact Registry Repository. For more information see * the [official documentation](https://cloud.google.com/artifact-registry/docs/) * and [API](https://cloud.google.com/artifact-registry/docs/apis). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const my_repo = gcp.artifactregistry.getRepository({ * location: "us-central1", * repositoryId: "my-repository", * }); * ``` */ export declare function getRepositoryOutput(args: GetRepositoryOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRepository. */ export interface GetRepositoryOutputArgs { /** * The location of the artifact registry repository. eg us-central1 * * - - - */ location: pulumi.Input; /** * The project in which the resource belongs. If it * is not provided, the provider project is used. */ project?: pulumi.Input; /** * The last part of the repository name. */ repositoryId: pulumi.Input; }