com.pulumi.gitlab.kotlin.ApplicationSettings.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gitlab-kotlin Show documentation
Show all versions of pulumi-gitlab-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gitlab.kotlin
import com.pulumi.core.Output
import com.pulumi.kotlin.KotlinCustomResource
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.ResourceMapper
import com.pulumi.kotlin.options.CustomResourceOptions
import com.pulumi.kotlin.options.CustomResourceOptionsBuilder
import com.pulumi.resources.Resource
import kotlin.Boolean
import kotlin.Deprecated
import kotlin.Double
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
/**
* Builder for [ApplicationSettings].
*/
@PulumiTagMarker
public class ApplicationSettingsResourceBuilder internal constructor() {
public var name: String? = null
public var args: ApplicationSettingsArgs = ApplicationSettingsArgs()
public var opts: CustomResourceOptions = CustomResourceOptions()
/**
* @param name The _unique_ name of the resulting resource.
*/
public fun name(`value`: String) {
this.name = value
}
/**
* @param block The arguments to use to populate this resource's properties.
*/
public suspend fun args(block: suspend ApplicationSettingsArgsBuilder.() -> Unit) {
val builder = ApplicationSettingsArgsBuilder()
block(builder)
this.args = builder.build()
}
/**
* @param block A bag of options that control this resource's behavior.
*/
public suspend fun opts(block: suspend CustomResourceOptionsBuilder.() -> Unit) {
this.opts = com.pulumi.kotlin.options.CustomResourceOptions.opts(block)
}
internal fun build(): ApplicationSettings {
val builtJavaResource = com.pulumi.gitlab.ApplicationSettings(
this.name,
this.args.toJava(),
this.opts.toJava(),
)
return ApplicationSettings(builtJavaResource)
}
}
/**
* ## Example Usage
*/
public class ApplicationSettings internal constructor(
override val javaResource: com.pulumi.gitlab.ApplicationSettings,
) : KotlinCustomResource(javaResource, ApplicationSettingsMapper) {
/**
* If set, abuse reports are sent to this address. Abuse reports are always available in the Admin Area.
*/
public val abuseNotificationEmail: Output
get() = javaResource.abuseNotificationEmail().applyValue({ args0 -> args0 })
/**
* Require administrators to enable Admin Mode by re-authenticating for administrative tasks.
*/
public val adminMode: Output
get() = javaResource.adminMode().applyValue({ args0 -> args0 })
/**
* Where to redirect users after logout.
*/
public val afterSignOutPath: Output
get() = javaResource.afterSignOutPath().applyValue({ args0 -> args0 })
/**
* Text shown to the user after signing up.
*/
public val afterSignUpText: Output
get() = javaResource.afterSignUpText().applyValue({ args0 -> args0 })
/**
* API key for Akismet spam protection.
*/
public val akismetApiKey: Output
get() = javaResource.akismetApiKey().applyValue({ args0 -> args0 })
/**
* (If enabled, requires: akismet*api*key) Enable or disable Akismet spam protection.
*/
public val akismetEnabled: Output
get() = javaResource.akismetEnabled().applyValue({ args0 -> args0 })
/**
* Set to true to allow group owners to manage LDAP.
*/
public val allowGroupOwnersToManageLdap: Output
get() = javaResource.allowGroupOwnersToManageLdap().applyValue({ args0 -> args0 })
/**
* Allow requests to the local network from system hooks.
*/
public val allowLocalRequestsFromSystemHooks: Output
get() = javaResource.allowLocalRequestsFromSystemHooks().applyValue({ args0 -> args0 })
/**
* Allow requests to the local network from web hooks and services.
*/
public val allowLocalRequestsFromWebHooksAndServices: Output
get() = javaResource.allowLocalRequestsFromWebHooksAndServices().applyValue({ args0 -> args0 })
/**
* Set the duration for which the jobs are considered as old and expired. After that time passes, the jobs are archived and no longer able to be retried. Make it empty to never expire jobs. It has to be no less than 1 day, for example: 15 days, 1 month, 2 years.
*/
public val archiveBuildsInHumanReadable: Output
get() = javaResource.archiveBuildsInHumanReadable().applyValue({ args0 -> args0 })
/**
* Assets that match these domains are not proxied. Wildcards allowed. Your GitLab installation URL is automatically allowlisted. GitLab restart is required to apply changes.
*/
public val assetProxyAllowlists: Output>
get() = javaResource.assetProxyAllowlists().applyValue({ args0 -> args0.map({ args0 -> args0 }) })
/**
* (If enabled, requires: asset*proxy*url) Enable proxying of assets. GitLab restart is required to apply changes.
*/
public val assetProxyEnabled: Output
get() = javaResource.assetProxyEnabled().applyValue({ args0 -> args0 })
/**
* Shared secret with the asset proxy server. GitLab restart is required to apply changes.
*/
public val assetProxySecretKey: Output
get() = javaResource.assetProxySecretKey().applyValue({ args0 -> args0 })
/**
* URL of the asset proxy server. GitLab restart is required to apply changes.
*/
public val assetProxyUrl: Output
get() = javaResource.assetProxyUrl().applyValue({ args0 -> args0 })
/**
* By default, we write to the authorized_keys file to support Git over SSH without additional configuration. GitLab can be optimized to authenticate SSH keys via the database file. Only disable this if you have configured your OpenSSH server to use the AuthorizedKeysCommand.
*/
public val authorizedKeysEnabled: Output
get() = javaResource.authorizedKeysEnabled().applyValue({ args0 -> args0 })
/**
* Specify a domain to use by default for every project’s Auto Review Apps and Auto Deploy stages.
*/
public val autoDevopsDomain: Output
get() = javaResource.autoDevopsDomain().applyValue({ args0 -> args0 })
/**
* Enable Auto DevOps for projects by default. It automatically builds, tests, and deploys applications based on a predefined CI/CD configuration.
*/
public val autoDevopsEnabled: Output
get() = javaResource.autoDevopsEnabled().applyValue({ args0 -> args0 })
/**
* Enabling this permits automatic allocation of purchased storage in a namespace.
*/
public val automaticPurchasedStorageAllocation: Output
get() = javaResource.automaticPurchasedStorageAllocation().applyValue({ args0 -> args0 })
/**
* Indicates whether users can create top-level groups. Introduced in GitLab 15.5.
*/
public val canCreateGroup: Output
get() = javaResource.canCreateGroup().applyValue({ args0 -> args0 })
/**
* Enabling this makes only licensed EE features available to projects if the project namespace’s plan includes the feature or if the project is public.
*/
public val checkNamespacePlan: Output
get() = javaResource.checkNamespacePlan().applyValue({ args0 -> args0 })
/**
* Custom hostname (for private commit emails).
*/
public val commitEmailHostname: Output
get() = javaResource.commitEmailHostname().applyValue({ args0 -> args0 })
/**
* Enable cleanup policies for all projects.
*/
public val containerExpirationPoliciesEnableHistoricEntries: Output
get() = javaResource.containerExpirationPoliciesEnableHistoricEntries().applyValue({ args0 ->
args0
})
/**
* The maximum number of tags that can be deleted in a single execution of cleanup policies.
*/
public val containerRegistryCleanupTagsServiceMaxListSize: Output
get() = javaResource.containerRegistryCleanupTagsServiceMaxListSize().applyValue({ args0 ->
args0
})
/**
* The maximum time, in seconds, that the cleanup process can take to delete a batch of tags for cleanup policies.
*/
public val containerRegistryDeleteTagsServiceTimeout: Output
get() = javaResource.containerRegistryDeleteTagsServiceTimeout().applyValue({ args0 -> args0 })
/**
* Caching during the execution of cleanup policies.
*/
public val containerRegistryExpirationPoliciesCaching: Output
get() = javaResource.containerRegistryExpirationPoliciesCaching().applyValue({ args0 -> args0 })
/**
* Number of workers for cleanup policies.
*/
public val containerRegistryExpirationPoliciesWorkerCapacity: Output
get() = javaResource.containerRegistryExpirationPoliciesWorkerCapacity().applyValue({ args0 ->
args0
})
/**
* Container Registry token duration in minutes.
*/
public val containerRegistryTokenExpireDelay: Output
get() = javaResource.containerRegistryTokenExpireDelay().applyValue({ args0 -> args0 })
/**
* Enable automatic deactivation of dormant users.
*/
public val deactivateDormantUsers: Output
get() = javaResource.deactivateDormantUsers().applyValue({ args0 -> args0 })
/**
* Set the default expiration time for each job’s artifacts.
*/
public val defaultArtifactsExpireIn: Output
get() = javaResource.defaultArtifactsExpireIn().applyValue({ args0 -> args0 })
/**
* Instance-level custom initial branch name (introduced in GitLab 13.2).
*/
public val defaultBranchName: Output
get() = javaResource.defaultBranchName().applyValue({ args0 -> args0 })
/**
* Determine if developers can push to the default branch. Can take: 0 (not protected, both users with the Developer role or Maintainer role can push new commits and force push), 1 (partially protected, users with the Developer role or Maintainer role can push new commits, but cannot force push) or 2 (fully protected, users with the Developer or Maintainer role cannot push new commits, but users with the Developer or Maintainer role can; no one can force push) as a parameter. Default is 2.
*/
public val defaultBranchProtection: Output
get() = javaResource.defaultBranchProtection().applyValue({ args0 -> args0 })
/**
* Default CI/CD configuration file and path for new projects (.gitlab-ci.yml if not set).
*/
public val defaultCiConfigPath: Output
get() = javaResource.defaultCiConfigPath().applyValue({ args0 -> args0 })
/**
* What visibility level new groups receive. Can take private, internal and public as a parameter.
*/
public val defaultGroupVisibility: Output
get() = javaResource.defaultGroupVisibility().applyValue({ args0 -> args0 })
/**
* Default project creation protection. Can take: 0 (No one), 1 (Maintainers) or 2 (Developers + Maintainers).
*/
public val defaultProjectCreation: Output
get() = javaResource.defaultProjectCreation().applyValue({ args0 -> args0 })
/**
* What visibility level new projects receive. Can take private, internal and public as a parameter.
*/
public val defaultProjectVisibility: Output
get() = javaResource.defaultProjectVisibility().applyValue({ args0 -> args0 })
/**
* Project limit per user.
*/
public val defaultProjectsLimit: Output
get() = javaResource.defaultProjectsLimit().applyValue({ args0 -> args0 })
/**
* What visibility level new snippets receive. Can take private, internal and public as a parameter.
*/
public val defaultSnippetVisibility: Output
get() = javaResource.defaultSnippetVisibility().applyValue({ args0 -> args0 })
/**
* Enable inactive project deletion feature. Introduced in GitLab 14.10. Became operational in GitLab 15.0 (with feature flag inactive*projects*deletion).
*/
public val deleteInactiveProjects: Output
get() = javaResource.deleteInactiveProjects().applyValue({ args0 -> args0 })
/**
* The number of days to wait before deleting a project or group that is marked for deletion. Value must be between 1 and 90.
*/
public val deletionAdjournedPeriod: Output
get() = javaResource.deletionAdjournedPeriod().applyValue({ args0 -> args0 })
/**
* Maximum files in a diff.
*/
public val diffMaxFiles: Output
get() = javaResource.diffMaxFiles().applyValue({ args0 -> args0 })
/**
* Maximum lines in a diff.
*/
public val diffMaxLines: Output
get() = javaResource.diffMaxLines().applyValue({ args0 -> args0 })
/**
* Maximum diff patch size, in bytes.
*/
public val diffMaxPatchBytes: Output
get() = javaResource.diffMaxPatchBytes().applyValue({ args0 -> args0 })
/**
* Disable display of RSS/Atom and calendar feed tokens (introduced in GitLab 13.7).
*/
public val disableFeedToken: Output
get() = javaResource.disableFeedToken().applyValue({ args0 -> args0 })
/**
* Disabled OAuth sign-in sources.
*/
public val disabledOauthSignInSources: Output>
get() = javaResource.disabledOauthSignInSources().applyValue({ args0 ->
args0.map({ args0 ->
args0
})
})
/**
* Enforce DNS rebinding attack protection.
*/
public val dnsRebindingProtectionEnabled: Output
get() = javaResource.dnsRebindingProtectionEnabled().applyValue({ args0 -> args0 })
/**
* Force people to use only corporate emails for sign-up. Null means there is no restriction.
*/
public val domainAllowlists: Output>
get() = javaResource.domainAllowlists().applyValue({ args0 -> args0.map({ args0 -> args0 }) })
/**
* (If enabled, requires: domain_denylist) Allows blocking sign-ups from emails from specific domains.
*/
public val domainDenylistEnabled: Output
get() = javaResource.domainDenylistEnabled().applyValue({ args0 -> args0 })
/**
* Users with email addresses that match these domains cannot sign up. Wildcards allowed. Use separate lines for multiple entries. Ex: domain.com, *.domain.com.
*/
public val domainDenylists: Output>
get() = javaResource.domainDenylists().applyValue({ args0 -> args0.map({ args0 -> args0 }) })
/**
* The minimum allowed bit length of an uploaded DSA key. 0 means no restriction. -1 disables DSA keys.
*/
public val dsaKeyRestriction: Output
get() = javaResource.dsaKeyRestriction().applyValue({ args0 -> args0 })
/**
* The minimum allowed curve size (in bits) of an uploaded ECDSA key. 0 means no restriction. -1 disables ECDSA keys.
*/
public val ecdsaKeyRestriction: Output
get() = javaResource.ecdsaKeyRestriction().applyValue({ args0 -> args0 })
/**
* The minimum allowed curve size (in bits) of an uploaded ECDSA*SK key. 0 means no restriction. -1 disables ECDSA*SK keys.
*/
public val ecdsaSkKeyRestriction: Output
get() = javaResource.ecdsaSkKeyRestriction().applyValue({ args0 -> args0 })
/**
* The minimum allowed curve size (in bits) of an uploaded ED25519 key. 0 means no restriction. -1 disables ED25519 keys.
*/
public val ed25519KeyRestriction: Output
get() = javaResource.ed25519KeyRestriction().applyValue({ args0 -> args0 })
/**
* The minimum allowed curve size (in bits) of an uploaded ED25519*SK key. 0 means no restriction. -1 disables ED25519*SK keys.
*/
public val ed25519SkKeyRestriction: Output
get() = javaResource.ed25519SkKeyRestriction().applyValue({ args0 -> args0 })
/**
* AWS IAM access key ID.
*/
public val eksAccessKeyId: Output
get() = javaResource.eksAccessKeyId().applyValue({ args0 -> args0 })
/**
* Amazon account ID.
*/
public val eksAccountId: Output
get() = javaResource.eksAccountId().applyValue({ args0 -> args0 })
/**
* Enable integration with Amazon EKS.
*/
public val eksIntegrationEnabled: Output
get() = javaResource.eksIntegrationEnabled().applyValue({ args0 -> args0 })
/**
* AWS IAM secret access key.
*/
public val eksSecretAccessKey: Output
get() = javaResource.eksSecretAccessKey().applyValue({ args0 -> args0 })
/**
* Enable the use of AWS hosted Elasticsearch.
*/
public val elasticsearchAws: Output
get() = javaResource.elasticsearchAws().applyValue({ args0 -> args0 })
/**
* AWS IAM access key.
*/
public val elasticsearchAwsAccessKey: Output
get() = javaResource.elasticsearchAwsAccessKey().applyValue({ args0 -> args0 })
/**
* The AWS region the Elasticsearch domain is configured.
*/
public val elasticsearchAwsRegion: Output
get() = javaResource.elasticsearchAwsRegion().applyValue({ args0 -> args0 })
/**
* AWS IAM secret access key.
*/
public val elasticsearchAwsSecretAccessKey: Output
get() = javaResource.elasticsearchAwsSecretAccessKey().applyValue({ args0 -> args0 })
/**
* Maximum size of text fields to index by Elasticsearch. 0 value means no limit. This does not apply to repository and wiki indexing.
*/
public val elasticsearchIndexedFieldLengthLimit: Output
get() = javaResource.elasticsearchIndexedFieldLengthLimit().applyValue({ args0 -> args0 })
/**
* Maximum size of repository and wiki files that are indexed by Elasticsearch.
*/
public val elasticsearchIndexedFileSizeLimitKb: Output
get() = javaResource.elasticsearchIndexedFileSizeLimitKb().applyValue({ args0 -> args0 })
/**
* Enable Elasticsearch indexing.
*/
public val elasticsearchIndexing: Output
get() = javaResource.elasticsearchIndexing().applyValue({ args0 -> args0 })
/**
* Limit Elasticsearch to index certain namespaces and projects.
*/
public val elasticsearchLimitIndexing: Output
get() = javaResource.elasticsearchLimitIndexing().applyValue({ args0 -> args0 })
/**
* Maximum concurrency of Elasticsearch bulk requests per indexing operation. This only applies to repository indexing operations.
*/
public val elasticsearchMaxBulkConcurrency: Output
get() = javaResource.elasticsearchMaxBulkConcurrency().applyValue({ args0 -> args0 })
/**
* Maximum size of Elasticsearch bulk indexing requests in MB. This only applies to repository indexing operations.
*/
public val elasticsearchMaxBulkSizeMb: Output
get() = javaResource.elasticsearchMaxBulkSizeMb().applyValue({ args0 -> args0 })
/**
* The namespaces to index via Elasticsearch if elasticsearch*limit*indexing is enabled.
*/
public val elasticsearchNamespaceIds: Output>
get() = javaResource.elasticsearchNamespaceIds().applyValue({ args0 ->
args0.map({ args0 ->
args0
})
})
/**
* The password of your Elasticsearch instance.
*/
public val elasticsearchPassword: Output
get() = javaResource.elasticsearchPassword().applyValue({ args0 -> args0 })
/**
* The projects to index via Elasticsearch if elasticsearch*limit*indexing is enabled.
*/
public val elasticsearchProjectIds: Output>
get() = javaResource.elasticsearchProjectIds().applyValue({ args0 ->
args0.map({ args0 ->
args0
})
})
/**
* Enable Elasticsearch search.
*/
public val elasticsearchSearch: Output
get() = javaResource.elasticsearchSearch().applyValue({ args0 -> args0 })
/**
* The URL to use for connecting to Elasticsearch. Use a comma-separated list to support cluster (for example, http://localhost:9200, http://localhost:9201).
*/
public val elasticsearchUrls: Output>
get() = javaResource.elasticsearchUrls().applyValue({ args0 -> args0.map({ args0 -> args0 }) })
/**
* The username of your Elasticsearch instance.
*/
public val elasticsearchUsername: Output
get() = javaResource.elasticsearchUsername().applyValue({ args0 -> args0 })
/**
* Additional text added to the bottom of every email for legal/auditing/compliance reasons.
*/
public val emailAdditionalText: Output
get() = javaResource.emailAdditionalText().applyValue({ args0 -> args0 })
/**
* Some email servers do not support overriding the email sender name. Enable this option to include the name of the author of the issue, merge request or comment in the email body instead.
*/
public val emailAuthorInBody: Output
get() = javaResource.emailAuthorInBody().applyValue({ args0 -> args0 })
/**
* Enabled protocols for Git access. Allowed values are: ssh, http, and nil to allow both protocols.
*/
public val enabledGitAccessProtocol: Output
get() = javaResource.enabledGitAccessProtocol().applyValue({ args0 -> args0 })
/**
* Enabling this permits enforcement of namespace storage limits.
*/
public val enforceNamespaceStorageLimit: Output
get() = javaResource.enforceNamespaceStorageLimit().applyValue({ args0 -> args0 })
/**
* (If enabled, requires: terms) Enforce application ToS to all users.
*/
public val enforceTerms: Output
get() = javaResource.enforceTerms().applyValue({ args0 -> args0 })
/**
* (If enabled, requires: external*auth*client_key) The certificate to use to authenticate with the external authorization service.
*/
public val externalAuthClientCert: Output
get() = javaResource.externalAuthClientCert().applyValue({ args0 -> args0 })
/**
* Private key for the certificate when authentication is required for the external authorization service, this is encrypted when stored.
*/
public val externalAuthClientKey: Output
get() = javaResource.externalAuthClientKey().applyValue({ args0 -> args0 })
/**
* Passphrase to use for the private key when authenticating with the external service this is encrypted when stored.
*/
public val externalAuthClientKeyPass: Output
get() = javaResource.externalAuthClientKeyPass().applyValue({ args0 -> args0 })
/**
* The default classification label to use when requesting authorization and no classification label has been specified on the project.
*/
public val externalAuthorizationServiceDefaultLabel: Output
get() = javaResource.externalAuthorizationServiceDefaultLabel().applyValue({ args0 -> args0 })
/**
* (If enabled, requires: external*authorization*service*default*label, external*authorization*service*timeout and external*authorization*service*url) Enable using an external authorization service for accessing projects.
*/
public val externalAuthorizationServiceEnabled: Output
get() = javaResource.externalAuthorizationServiceEnabled().applyValue({ args0 -> args0 })
/**
* The timeout after which an authorization request is aborted, in seconds. When a request times out, access is denied to the user. (min: 0.001, max: 10, step: 0.001).
*/
public val externalAuthorizationServiceTimeout: Output
get() = javaResource.externalAuthorizationServiceTimeout().applyValue({ args0 -> args0 })
/**
* URL to which authorization requests are directed.
*/
public val externalAuthorizationServiceUrl: Output
get() = javaResource.externalAuthorizationServiceUrl().applyValue({ args0 -> args0 })
/**
* How long to wait for a response from the pipeline validation service. Assumes OK if it times out.
*/
public val externalPipelineValidationServiceTimeout: Output
get() = javaResource.externalPipelineValidationServiceTimeout().applyValue({ args0 -> args0 })
/**
* Optional. Token to include as the X-Gitlab-Token header in requests to the URL in external*pipeline*validation*service*url.
*/
public val externalPipelineValidationServiceToken: Output
get() = javaResource.externalPipelineValidationServiceToken().applyValue({ args0 -> args0 })
/**
* URL to use for pipeline validation requests.
*/
public val externalPipelineValidationServiceUrl: Output
get() = javaResource.externalPipelineValidationServiceUrl().applyValue({ args0 -> args0 })
/**
* The ID of a project to load custom file templates from.
*/
public val fileTemplateProjectId: Output
get() = javaResource.fileTemplateProjectId().applyValue({ args0 -> args0 })
/**
* Start day of the week for calendar views and date pickers. Valid values are 0 for Sunday, 1 for Monday, and 6 for Saturday.
*/
public val firstDayOfWeek: Output
get() = javaResource.firstDayOfWeek().applyValue({ args0 -> args0 })
/**
* Comma-separated list of IPs and CIDRs of allowed secondary nodes. For example, 1.1.1.1, 2.2.2.0/24.
*/
public val geoNodeAllowedIps: Output
get() = javaResource.geoNodeAllowedIps().applyValue({ args0 -> args0 })
/**
* The amount of seconds after which a request to get a secondary node status times out.
*/
public val geoStatusTimeout: Output
get() = javaResource.geoStatusTimeout().applyValue({ args0 -> args0 })
/**
* List of usernames excluded from Git anti-abuse rate limits. Maximum: 100 usernames. Introduced in GitLab 15.2.
*/
public val gitRateLimitUsersAllowlists: Output>
get() = javaResource.gitRateLimitUsersAllowlists().applyValue({ args0 ->
args0.map({ args0 ->
args0
})
})
/**
* Maximum duration (in minutes) of a session for Git operations when 2FA is enabled.
*/
public val gitTwoFactorSessionExpiry: Output
get() = javaResource.gitTwoFactorSessionExpiry().applyValue({ args0 -> args0 })
/**
* Default Gitaly timeout, in seconds. This timeout is not enforced for Git fetch/push operations or Sidekiq jobs. Set to 0 to disable timeouts.
*/
public val gitalyTimeoutDefault: Output
get() = javaResource.gitalyTimeoutDefault().applyValue({ args0 -> args0 })
/**
* Gitaly fast operation timeout, in seconds. Some Gitaly operations are expected to be fast. If they exceed this threshold, there may be a problem with a storage shard and ‘failing fast’ can help maintain the stability of the GitLab instance. Set to 0 to disable timeouts.
*/
public val gitalyTimeoutFast: Output
get() = javaResource.gitalyTimeoutFast().applyValue({ args0 -> args0 })
/**
* Medium Gitaly timeout, in seconds. This should be a value between the Fast and the Default timeout. Set to 0 to disable timeouts.
*/
public val gitalyTimeoutMedium: Output
get() = javaResource.gitalyTimeoutMedium().applyValue({ args0 -> args0 })
/**
* Enable Grafana.
*/
public val grafanaEnabled: Output
get() = javaResource.grafanaEnabled().applyValue({ args0 -> args0 })
/**
* Grafana URL.
*/
public val grafanaUrl: Output
get() = javaResource.grafanaUrl().applyValue({ args0 -> args0 })
/**
* Enable Gravatar.
*/
public val gravatarEnabled: Output
get() = javaResource.gravatarEnabled().applyValue({ args0 -> args0 })
/**
* Prevent overrides of default branch protection.
*/
public val groupOwnersCanManageDefaultBranchProtection: Output
get() = javaResource.groupOwnersCanManageDefaultBranchProtection().applyValue({ args0 -> args0 })
/**
* Create new projects using hashed storage paths: Enable immutable, hash-based paths and repository names to store repositories on disk. This prevents repositories from having to be moved or renamed when the Project URL changes and may improve disk I/O performance. (Always enabled in GitLab versions 13.0 and later, configuration is scheduled for removal in 14.0).
*/
public val hashedStorageEnabled: Output
get() = javaResource.hashedStorageEnabled().applyValue({ args0 -> args0 })
/**
* Hide marketing-related entries from help.
*/
public val helpPageHideCommercialContent: Output
get() = javaResource.helpPageHideCommercialContent().applyValue({ args0 -> args0 })
/**
* Alternate support URL for help page and help dropdown.
*/
public val helpPageSupportUrl: Output
get() = javaResource.helpPageSupportUrl().applyValue({ args0 -> args0 })
/**
* Custom text displayed on the help page.
*/
public val helpPageText: Output
get() = javaResource.helpPageText().applyValue({ args0 -> args0 })
/**
* GitLab server administrator information.
*/
public val helpText: Output
get() = javaResource.helpText().applyValue({ args0 -> args0 })
/**
* Do not display offers from third parties in GitLab.
*/
public val hideThirdPartyOffers: Output
get() = javaResource.hideThirdPartyOffers().applyValue({ args0 -> args0 })
/**
* Redirect to this URL when not logged in.
*/
public val homePageUrl: Output
get() = javaResource.homePageUrl().applyValue({ args0 -> args0 })
/**
* Enable or disable Git housekeeping.
* If enabled, requires either housekeeping*optimize*repository*period OR housekeeping*bitmaps*enabled, housekeeping*full*repack*period, housekeeping*gc*period, and housekeeping*incremental*repack*period.
* Options housekeeping*bitmaps*enabled, housekeeping*full*repack*period, housekeeping*gc*period, and housekeeping*incremental*repack*period are deprecated. Use housekeeping*optimize*repository*period instead.
*/
public val housekeepingEnabled: Output
get() = javaResource.housekeepingEnabled().applyValue({ args0 -> args0 })
/**
* Number of Git pushes after which an incremental git repack is run.
*/
@Deprecated(
message = """
housekeeping_full_repack_period is deprecated. Use housekeeping_optimize_repository_period
instead.
""",
)
public val housekeepingFullRepackPeriod: Output
get() = javaResource.housekeepingFullRepackPeriod().applyValue({ args0 -> args0 })
/**
* Number of Git pushes after which git gc is run.
*/
@Deprecated(
message = """
housekeeping_gc_period is deprecated. Use housekeeping_optimize_repository_period instead.
""",
)
public val housekeepingGcPeriod: Output
get() = javaResource.housekeepingGcPeriod().applyValue({ args0 -> args0 })
/**
* Number of Git pushes after which an incremental git repack is run.
*/
@Deprecated(
message = """
housekeeping_incremental_repack_period is deprecated. Use housekeeping_optimize_repository_period
instead.
""",
)
public val housekeepingIncrementalRepackPeriod: Output
get() = javaResource.housekeepingIncrementalRepackPeriod().applyValue({ args0 -> args0 })
/**
* Number of Git pushes after which an incremental git repack is run.
*/
public val housekeepingOptimizeRepositoryPeriod: Output
get() = javaResource.housekeepingOptimizeRepositoryPeriod().applyValue({ args0 -> args0 })
/**
* Enable HTML emails.
*/
public val htmlEmailsEnabled: Output
get() = javaResource.htmlEmailsEnabled().applyValue({ args0 -> args0 })
/**
* Sources to allow project import from. Valid values are: `github`, `bitbucket`, `bitbucket_server`, `fogbugz`, `git`, `gitlab.Project`, `gitea`, `manifest`
*/
public val importSources: Output>
get() = javaResource.importSources().applyValue({ args0 -> args0.map({ args0 -> args0 }) })
/**
* Enable in-product marketing emails.
*/
public val inProductMarketingEmailsEnabled: Output
get() = javaResource.inProductMarketingEmailsEnabled().applyValue({ args0 -> args0 })
/**
* If delete*inactive*projects is true, the time (in months) to wait before deleting inactive projects. Introduced in GitLab 14.10. Became operational in GitLab 15.0.
*/
public val inactiveProjectsDeleteAfterMonths: Output
get() = javaResource.inactiveProjectsDeleteAfterMonths().applyValue({ args0 -> args0 })
/**
* If delete*inactive*projects is true, the minimum repository size for projects to be checked for inactivity. Introduced in GitLab 14.10. Became operational in GitLab 15.0.
*/
public val inactiveProjectsMinSizeMb: Output
get() = javaResource.inactiveProjectsMinSizeMb().applyValue({ args0 -> args0 })
/**
* If delete*inactive*projects is true, sets the time (in months) to wait before emailing maintainers that the project is scheduled be deleted because it is inactive. Introduced in GitLab 14.10. Became operational in GitLab 15.0.
*/
public val inactiveProjectsSendWarningEmailAfterMonths: Output
get() = javaResource.inactiveProjectsSendWarningEmailAfterMonths().applyValue({ args0 -> args0 })
/**
* Enable Invisible CAPTCHA spam detection during sign-up.
*/
public val invisibleCaptchaEnabled: Output
get() = javaResource.invisibleCaptchaEnabled().applyValue({ args0 -> args0 })
/**
* Max number of issue creation requests per minute per user.
*/
public val issuesCreateLimit: Output
get() = javaResource.issuesCreateLimit().applyValue({ args0 -> args0 })
/**
* Prevent the deletion of the artifacts from the most recent successful jobs, regardless of the expiry time.
*/
public val keepLatestArtifact: Output
get() = javaResource.keepLatestArtifact().applyValue({ args0 -> args0 })
/**
* Increase this value when any cached Markdown should be invalidated.
*/
public val localMarkdownVersion: Output
get() = javaResource.localMarkdownVersion().applyValue({ args0 -> args0 })
/**
* Enable Mailgun event receiver.
*/
public val mailgunEventsEnabled: Output
get() = javaResource.mailgunEventsEnabled().applyValue({ args0 -> args0 })
/**
* The Mailgun HTTP webhook signing key for receiving events from webhook.
*/
public val mailgunSigningKey: Output
get() = javaResource.mailgunSigningKey().applyValue({ args0 -> args0 })
/**
* When instance is in maintenance mode, non-administrative users can sign in with read-only access and make read-only API requests.
*/
public val maintenanceMode: Output
get() = javaResource.maintenanceMode().applyValue({ args0 -> args0 })
/**
* Message displayed when instance is in maintenance mode.
*/
public val maintenanceModeMessage: Output
get() = javaResource.maintenanceModeMessage().applyValue({ args0 -> args0 })
/**
* Maximum artifacts size in MB.
*/
public val maxArtifactsSize: Output
get() = javaResource.maxArtifactsSize().applyValue({ args0 -> args0 })
/**
* Limit attachment size in MB.
*/
public val maxAttachmentSize: Output
get() = javaResource.maxAttachmentSize().applyValue({ args0 -> args0 })
/**
* Maximum export size in MB. 0 for unlimited.
*/
public val maxExportSize: Output
get() = javaResource.maxExportSize().applyValue({ args0 -> args0 })
/**
* Maximum import size in MB. 0 for unlimited.
*/
public val maxImportSize: Output
get() = javaResource.maxImportSize().applyValue({ args0 -> args0 })
/**
* Maximum number of unique repositories a user can download in the specified time period before they are banned. Maximum: 10,000 repositories. Introduced in GitLab 15.1.
*/
public val maxNumberOfRepositoryDownloads: Output
get() = javaResource.maxNumberOfRepositoryDownloads().applyValue({ args0 -> args0 })
/**
* Reporting time period (in seconds). Maximum: 864000 seconds (10 days). Introduced in GitLab 15.1.
*/
public val maxNumberOfRepositoryDownloadsWithinTimePeriod: Output
get() = javaResource.maxNumberOfRepositoryDownloadsWithinTimePeriod().applyValue({ args0 ->
args0
})
/**
* Maximum size of pages repositories in MB.
*/
public val maxPagesSize: Output
get() = javaResource.maxPagesSize().applyValue({ args0 -> args0 })
/**
* Maximum allowable lifetime for access tokens in days.
*/
public val maxPersonalAccessTokenLifetime: Output
get() = javaResource.maxPersonalAccessTokenLifetime().applyValue({ args0 -> args0 })
/**
* Maximum allowable lifetime for SSH keys in days. Introduced in GitLab 14.6.
*/
public val maxSshKeyLifetime: Output
get() = javaResource.maxSshKeyLifetime().applyValue({ args0 -> args0 })
public val maxTerraformStateSizeBytes: Output
get() = javaResource.maxTerraformStateSizeBytes().applyValue({ args0 -> args0 })
/**
* A method call is only tracked when it takes longer than the given amount of milliseconds.
*/
public val metricsMethodCallThreshold: Output
get() = javaResource.metricsMethodCallThreshold().applyValue({ args0 -> args0 })
/**
* Indicates whether passwords require a minimum length. Introduced in GitLab 15.1. Premium and Ultimate only.
*/
public val minimumPasswordLength: Output
get() = javaResource.minimumPasswordLength().applyValue({ args0 -> args0 })
/**
* Allow repository mirroring to configured by project Maintainers. If disabled, only Administrators can configure repository mirroring.
*/
public val mirrorAvailable: Output
get() = javaResource.mirrorAvailable().applyValue({ args0 -> args0 })
/**
* Minimum capacity to be available before scheduling more mirrors preemptively.
*/
public val mirrorCapacityThreshold: Output
get() = javaResource.mirrorCapacityThreshold().applyValue({ args0 -> args0 })
/**
* Maximum number of mirrors that can be synchronizing at the same time.
*/
public val mirrorMaxCapacity: Output
get() = javaResource.mirrorMaxCapacity().applyValue({ args0 -> args0 })
/**
* Maximum time (in minutes) between updates that a mirror can have when scheduled to synchronize.
*/
public val mirrorMaxDelay: Output
get() = javaResource.mirrorMaxDelay().applyValue({ args0 -> args0 })
/**
* Use npmjs.org as a default remote repository when the package is not found in the GitLab Package Registry for npm.
*/
public val npmPackageRequestsForwarding: Output
get() = javaResource.npmPackageRequestsForwarding().applyValue({ args0 -> args0 })
/**
* Define a list of trusted domains or IP addresses to which local requests are allowed when local requests for hooks and services are disabled.
*/
public val outboundLocalRequestsWhitelists: Output>
get() = javaResource.outboundLocalRequestsWhitelists().applyValue({ args0 ->
args0.map({ args0 ->
args0
})
})
/**
* Number of workers assigned to the packages cleanup policies.
*/
public val packageRegistryCleanupPoliciesWorkerCapacity: Output
get() = javaResource.packageRegistryCleanupPoliciesWorkerCapacity().applyValue({ args0 -> args0 })
/**
* Require users to prove ownership of custom domains. Domain verification is an essential security measure for public GitLab sites. Users are required to demonstrate they control a domain before it is enabled.
*/
public val pagesDomainVerificationEnabled: Output
get() = javaResource.pagesDomainVerificationEnabled().applyValue({ args0 -> args0 })
/**
* Enable authentication for Git over HTTP(S) via a GitLab account password.
*/
public val passwordAuthenticationEnabledForGit: Output
get() = javaResource.passwordAuthenticationEnabledForGit().applyValue({ args0 -> args0 })
/**
* Enable authentication for the web interface via a GitLab account password.
*/
public val passwordAuthenticationEnabledForWeb: Output
get() = javaResource.passwordAuthenticationEnabledForWeb().applyValue({ args0 -> args0 })
/**
* Indicates whether passwords require at least one lowercase letter. Introduced in GitLab 15.1.
*/
public val passwordLowercaseRequired: Output
get() = javaResource.passwordLowercaseRequired().applyValue({ args0 -> args0 })
/**
* Indicates whether passwords require at least one number. Introduced in GitLab 15.1.
*/
public val passwordNumberRequired: Output
get() = javaResource.passwordNumberRequired().applyValue({ args0 -> args0 })
/**
* Indicates whether passwords require at least one symbol character. Introduced in GitLab 15.1.
*/
public val passwordSymbolRequired: Output
get() = javaResource.passwordSymbolRequired().applyValue({ args0 -> args0 })
/**
* Indicates whether passwords require at least one uppercase letter. Introduced in GitLab 15.1.
*/
public val passwordUppercaseRequired: Output
get() = javaResource.passwordUppercaseRequired().applyValue({ args0 -> args0 })
/**
* Path of the group that is allowed to toggle the performance bar.
*/
public val performanceBarAllowedGroupPath: Output
get() = javaResource.performanceBarAllowedGroupPath().applyValue({ args0 -> args0 })
/**
* Prefix for all generated personal access tokens.
*/
public val personalAccessTokenPrefix: Output
get() = javaResource.personalAccessTokenPrefix().applyValue({ args0 -> args0 })
/**
* Maximum number of pipeline creation requests per minute per user and commit.
*/
public val pipelineLimitPerProjectUserSha: Output
get() = javaResource.pipelineLimitPerProjectUserSha().applyValue({ args0 -> args0 })
/**
* (If enabled, requires: plantuml_url) Enable PlantUML integration.
*/
public val plantumlEnabled: Output
get() = javaResource.plantumlEnabled().applyValue({ args0 -> args0 })
/**
* The PlantUML instance URL for integration.
*/
public val plantumlUrl: Output
get() = javaResource.plantumlUrl().applyValue({ args0 -> args0 })
/**
* Interval multiplier used by endpoints that perform polling. Set to 0 to disable polling.
*/
public val pollingIntervalMultiplier: Output
get() = javaResource.pollingIntervalMultiplier().applyValue({ args0 -> args0 })
/**
* Enable project export.
*/
public val projectExportEnabled: Output
get() = javaResource.projectExportEnabled().applyValue({ args0 -> args0 })
/**
* Enable Prometheus metrics.
*/
public val prometheusMetricsEnabled: Output
get() = javaResource.prometheusMetricsEnabled().applyValue({ args0 -> args0 })
/**
* CI/CD variables are protected by default.
*/
public val protectedCiVariables: Output
get() = javaResource.protectedCiVariables().applyValue({ args0 -> args0 })
/**
* Number of changes (branches or tags) in a single push to determine whether individual push events or bulk push events are created. Bulk push events are created if it surpasses that value.
*/
public val pushEventActivitiesLimit: Output
get() = javaResource.pushEventActivitiesLimit().applyValue({ args0 -> args0 })
/**
* Number of changes (branches or tags) in a single push to determine whether webhooks and services fire or not. Webhooks and services aren’t submitted if it surpasses that value.
*/
public val pushEventHooksLimit: Output
get() = javaResource.pushEventHooksLimit().applyValue({ args0 -> args0 })
/**
* Use pypi.org as a default remote repository when the package is not found in the GitLab Package Registry for PyPI.
*/
public val pypiPackageRequestsForwarding: Output
get() = javaResource.pypiPackageRequestsForwarding().applyValue({ args0 -> args0 })
/**
* When rate limiting is enabled via the throttle_* settings, send this plain text response when a rate limit is exceeded. ‘Retry later’ is sent if this is blank.
*/
public val rateLimitingResponseText: Output
get() = javaResource.rateLimitingResponseText().applyValue({ args0 -> args0 })
/**
* Max number of requests per minute for each raw path. To disable throttling set to 0.
*/
public val rawBlobRequestLimit: Output
get() = javaResource.rawBlobRequestLimit().applyValue({ args0 -> args0 })
/**
* (If enabled, requires: recaptcha*private*key and recaptcha*site*key) Enable reCAPTCHA.
*/
public val recaptchaEnabled: Output
get() = javaResource.recaptchaEnabled().applyValue({ args0 -> args0 })
/**
* Private key for reCAPTCHA.
*/
public val recaptchaPrivateKey: Output
get() = javaResource.recaptchaPrivateKey().applyValue({ args0 -> args0 })
/**
* Site key for reCAPTCHA.
*/
public val recaptchaSiteKey: Output
get() = javaResource.recaptchaSiteKey().applyValue({ args0 -> args0 })
/**
* Maximum push size (MB).
*/
public val receiveMaxInputSize: Output
get() = javaResource.receiveMaxInputSize().applyValue({ args0 -> args0 })
/**
* GitLab periodically runs git fsck in all project and wiki repositories to look for silent disk corruption issues.
*/
public val repositoryChecksEnabled: Output
get() = javaResource.repositoryChecksEnabled().applyValue({ args0 -> args0 })
/**
* Size limit per repository (MB).
*/
public val repositorySizeLimit: Output
get() = javaResource.repositorySizeLimit().applyValue({ args0 -> args0 })
/**
* (GitLab 13.0 and earlier) List of names of enabled storage paths, taken from gitlab.yml. New projects are created in one of these stores, chosen at random.
*/
public val repositoryStorages: Output>
get() = javaResource.repositoryStorages().applyValue({ args0 -> args0.map({ args0 -> args0 }) })
/**
* (GitLab 13.1 and later) Hash of names of taken from gitlab.yml to weights. New projects are created in one of these stores, chosen by a weighted random selection.
*/
public val repositoryStoragesWeighted: Output