import * as pulumi from "@pulumi/pulumi"; /** * Creates a Repository. */ export declare class Repository extends pulumi.CustomResource { /** * Get an existing Repository resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Repository; /** * Returns true if the given object is an instance of Repository. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Repository; /** * Allows clients to store small amounts of arbitrary data. */ readonly annotations: pulumi.Output<{ [key: string]: string; }>; readonly connectionId: pulumi.Output; /** * Server assigned timestamp for when the connection was created. */ readonly createTime: pulumi.Output; /** * This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. */ readonly etag: pulumi.Output; readonly location: pulumi.Output; /** * Immutable. Resource name of the repository, in the format `projects/*/locations/*/connections/*/repositories/*`. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Git Clone HTTPS URI. */ readonly remoteUri: pulumi.Output; /** * Required. The ID to use for the repository, which will become the final component of the repository's resource name. This ID should be unique in the connection. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@. */ readonly repositoryId: pulumi.Output; /** * Server assigned timestamp for when the connection was updated. */ readonly updateTime: pulumi.Output; /** * External ID of the webhook created for the repository. */ readonly webhookId: pulumi.Output; /** * Create a Repository resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: RepositoryArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Repository resource. */ export interface RepositoryArgs { /** * Allows clients to store small amounts of arbitrary data. */ annotations?: pulumi.Input<{ [key: string]: pulumi.Input; }>; connectionId: pulumi.Input; /** * This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. */ etag?: pulumi.Input; location?: pulumi.Input; /** * Immutable. Resource name of the repository, in the format `projects/*/locations/*/connections/*/repositories/*`. */ name?: pulumi.Input; project?: pulumi.Input; /** * Git Clone HTTPS URI. */ remoteUri: pulumi.Input; /** * Required. The ID to use for the repository, which will become the final component of the repository's resource name. This ID should be unique in the connection. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@. */ repositoryId: pulumi.Input; }