GithubEnterpriseConfigArgs constructor
- required Input<
String> appId, - Input<
String> ? displayName, - Input<
String> ? gheConfigId, - Input<
String> ? hostUrl, - Input<
String> ? location, - Input<
String> ? name, - Input<
String> ? peeredNetwork, - Input<
String> ? project, - Input<
String> ? projectId, - Input<
GitHubEnterpriseSecrets> ? secrets, - Input<
String> ? sslCa, - Input<
String> ? webhookKey,
Creates a new GithubEnterpriseConfigArgs.
appId The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
displayName Name to display for this config.
gheConfigId 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
hostUrl The URL of the github enterprise host the configuration is for.
location Optional.
name Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
peeredNetwork 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.
project Optional.
projectId ID of the project.
secrets Names of secrets in Secret Manager.
sslCa Optional. SSL certificate to use for requests to GitHub Enterprise.
webhookKey The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
Implementation
const GithubEnterpriseConfigArgs({
required this.appId,
this.displayName,
this.gheConfigId,
this.hostUrl,
this.location,
this.name,
this.peeredNetwork,
this.project,
this.projectId,
this.secrets,
this.sslCa,
this.webhookKey,
});