import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Create an association between a GCP project and a GitHub Enterprise server. */ export declare class GithubEnterpriseConfig extends pulumi.CustomResource { /** * Get an existing GithubEnterpriseConfig 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): GithubEnterpriseConfig; /** * Returns true if the given object is an instance of GithubEnterpriseConfig. 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 GithubEnterpriseConfig; /** * The GitHub app id of the Cloud Build app on the GitHub Enterprise server. */ readonly appId: pulumi.Output; /** * Time when the installation was associated with the project. */ readonly createTime: pulumi.Output; /** * Name to display for this config. */ readonly displayName: pulumi.Output; /** * Optional. The ID to use for the GithubEnterpriseConfig, which will become the final component of the GithubEnterpriseConfig's resource name. ghe_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 gheConfigId: pulumi.Output; /** * The URL of the github enterprise host the configuration is for. */ readonly hostUrl: pulumi.Output; readonly location: pulumi.Output; /** * Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" */ readonly name: pulumi.Output; /** * Optional. The network to be used when reaching out to the GitHub Enterprise server. The VPC network must be enabled for private service connection. This should be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the GitHub Enterprise server will be made over the public internet. Must be in the format `projects/{project}/global/networks/{network}`, where {project} is a project number or id and {network} is the name of a VPC network in the project. */ readonly peeredNetwork: pulumi.Output; readonly project: pulumi.Output; /** * ID of the project. */ readonly projectId: pulumi.Output; /** * Names of secrets in Secret Manager. */ readonly secrets: pulumi.Output; /** * Optional. SSL certificate to use for requests to GitHub Enterprise. */ readonly sslCa: pulumi.Output; /** * The key that should be attached to webhook calls to the ReceiveWebhook endpoint. */ readonly webhookKey: pulumi.Output; /** * Create a GithubEnterpriseConfig 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: GithubEnterpriseConfigArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a GithubEnterpriseConfig resource. */ export interface GithubEnterpriseConfigArgs { /** * The GitHub app id of the Cloud Build app on the GitHub Enterprise server. */ appId: pulumi.Input; /** * Name to display for this config. */ displayName?: pulumi.Input; /** * Optional. The ID to use for the GithubEnterpriseConfig, which will become the final component of the GithubEnterpriseConfig's resource name. ghe_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 */ gheConfigId?: pulumi.Input; /** * The URL of the github enterprise host the configuration is for. */ hostUrl?: pulumi.Input; location?: pulumi.Input; /** * Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" */ name?: pulumi.Input; /** * Optional. The network to be used when reaching out to the GitHub Enterprise server. The VPC network must be enabled for private service connection. This should be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the GitHub Enterprise server will be made over the public internet. Must be in the format `projects/{project}/global/networks/{network}`, where {project} is a project number or id and {network} is the name of a VPC network in the project. */ peeredNetwork?: pulumi.Input; project?: pulumi.Input; /** * ID of the project. */ projectId?: pulumi.Input; /** * Names of secrets in Secret Manager. */ secrets?: pulumi.Input; /** * Optional. SSL certificate to use for requests to GitHub Enterprise. */ sslCa?: pulumi.Input; /** * The key that should be attached to webhook calls to the ReceiveWebhook endpoint. */ webhookKey?: pulumi.Input; }