import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Returns information about a repo. */ export declare function getRepo(args: GetRepoArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetRepoArgs { project?: string; repoId: string; } export interface GetRepoResult { /** * How this repository mirrors a repository managed by another service. Read-only field. */ readonly mirrorConfig: outputs.sourcerepo.v1.MirrorConfigResponse; /** * Resource name of the repository, of the form `projects//repos/`. The repo name may contain slashes. eg, `projects/myproject/repos/name/with/slash` */ readonly name: string; /** * How this repository publishes a change in the repository through Cloud Pub/Sub. Keyed by the topic names. */ readonly pubsubConfigs: { [key: string]: string; }; /** * The disk usage of the repo, in bytes. Read-only field. Size is only returned by GetRepo. */ readonly size: string; /** * URL to clone the repository from Google Cloud Source Repositories. Read-only field. */ readonly url: string; } /** * Returns information about a repo. */ export declare function getRepoOutput(args: GetRepoOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetRepoOutputArgs { project?: pulumi.Input; repoId: pulumi.Input; }