import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new `GitLabConfig`. This API is experimental */ export declare class GitLabConfig extends pulumi.CustomResource { /** * Get an existing GitLabConfig 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): GitLabConfig; /** * Returns true if the given object is an instance of GitLabConfig. 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 GitLabConfig; /** * Connected GitLab.com or GitLabEnterprise repositories for this config. */ readonly connectedRepositories: pulumi.Output; /** * Time when the config was created. */ readonly createTime: pulumi.Output; /** * Optional. GitLabEnterprise config. */ readonly enterpriseConfig: pulumi.Output; /** * Optional. The ID to use for the GitLabConfig, which will become the final component of the GitLabConfig’s resource name. gitlab_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character */ readonly gitlabConfigId: pulumi.Output; readonly location: pulumi.Output; /** * The resource name for the config. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Secret Manager secrets needed by the config. */ readonly secrets: pulumi.Output; /** * Username of the GitLab.com or GitLab Enterprise account Cloud Build will use. */ readonly username: pulumi.Output; /** * UUID included in webhook requests. The UUID is used to look up the corresponding config. */ readonly webhookKey: pulumi.Output; /** * Create a GitLabConfig 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: GitLabConfigArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a GitLabConfig resource. */ export interface GitLabConfigArgs { /** * Connected GitLab.com or GitLabEnterprise repositories for this config. */ connectedRepositories?: pulumi.Input[]>; /** * Optional. GitLabEnterprise config. */ enterpriseConfig?: pulumi.Input; /** * Optional. The ID to use for the GitLabConfig, which will become the final component of the GitLabConfig’s resource name. gitlab_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character */ gitlabConfigId?: pulumi.Input; location?: pulumi.Input; /** * The resource name for the config. */ name?: pulumi.Input; project?: pulumi.Input; /** * Secret Manager secrets needed by the config. */ secrets: pulumi.Input; /** * Username of the GitLab.com or GitLab Enterprise account Cloud Build will use. */ username?: pulumi.Input; }