gitlab

package
v4.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

A Pulumi package for creating and managing GitLab resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type ApplicationSettings added in v4.9.0

type ApplicationSettings struct {
	pulumi.CustomResourceState

	// If set, abuse reports are sent to this address. Abuse reports are always available in the Admin Area.
	AbuseNotificationEmail pulumi.StringOutput `pulumi:"abuseNotificationEmail"`
	// Require administrators to enable Admin Mode by re-authenticating for administrative tasks.
	AdminMode pulumi.BoolOutput `pulumi:"adminMode"`
	// Where to redirect users after logout.
	AfterSignOutPath pulumi.StringOutput `pulumi:"afterSignOutPath"`
	// Text shown to the user after signing up.
	AfterSignUpText pulumi.StringOutput `pulumi:"afterSignUpText"`
	// API key for Akismet spam protection.
	AkismetApiKey pulumi.StringOutput `pulumi:"akismetApiKey"`
	// (If enabled, requires: akismet*api*key) Enable or disable Akismet spam protection.
	AkismetEnabled pulumi.BoolOutput `pulumi:"akismetEnabled"`
	// Set to true to allow group owners to manage LDAP.
	AllowGroupOwnersToManageLdap pulumi.BoolOutput `pulumi:"allowGroupOwnersToManageLdap"`
	// Allow requests to the local network from system hooks.
	AllowLocalRequestsFromSystemHooks pulumi.BoolOutput `pulumi:"allowLocalRequestsFromSystemHooks"`
	// Allow requests to the local network from web hooks and services.
	AllowLocalRequestsFromWebHooksAndServices pulumi.BoolOutput `pulumi:"allowLocalRequestsFromWebHooksAndServices"`
	// 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.
	ArchiveBuildsInHumanReadable pulumi.StringOutput `pulumi:"archiveBuildsInHumanReadable"`
	// Assets that match these domains are not proxied. Wildcards allowed. Your GitLab installation URL is automatically allowlisted. GitLab restart is required to apply changes.
	AssetProxyAllowlists pulumi.StringArrayOutput `pulumi:"assetProxyAllowlists"`
	// (If enabled, requires: asset*proxy*url) Enable proxying of assets. GitLab restart is required to apply changes.
	AssetProxyEnabled pulumi.BoolOutput `pulumi:"assetProxyEnabled"`
	// Shared secret with the asset proxy server. GitLab restart is required to apply changes.
	AssetProxySecretKey pulumi.StringOutput `pulumi:"assetProxySecretKey"`
	// URL of the asset proxy server. GitLab restart is required to apply changes.
	AssetProxyUrl pulumi.StringOutput `pulumi:"assetProxyUrl"`
	// By default, we write to the authorizedKeys 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.
	AuthorizedKeysEnabled pulumi.BoolOutput `pulumi:"authorizedKeysEnabled"`
	// Specify a domain to use by default for every project’s Auto Review Apps and Auto Deploy stages.
	AutoDevopsDomain pulumi.StringOutput `pulumi:"autoDevopsDomain"`
	// Enable Auto DevOps for projects by default. It automatically builds, tests, and deploys applications based on a predefined CI/CD configuration.
	AutoDevopsEnabled pulumi.BoolOutput `pulumi:"autoDevopsEnabled"`
	// Enabling this permits automatic allocation of purchased storage in a namespace.
	AutomaticPurchasedStorageAllocation pulumi.BoolOutput `pulumi:"automaticPurchasedStorageAllocation"`
	// 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.
	CheckNamespacePlan pulumi.BoolOutput `pulumi:"checkNamespacePlan"`
	// Custom hostname (for private commit emails).
	CommitEmailHostname pulumi.StringOutput `pulumi:"commitEmailHostname"`
	// Enable cleanup policies for all projects.
	ContainerExpirationPoliciesEnableHistoricEntries pulumi.BoolOutput `pulumi:"containerExpirationPoliciesEnableHistoricEntries"`
	// The maximum number of tags that can be deleted in a single execution of cleanup policies.
	ContainerRegistryCleanupTagsServiceMaxListSize pulumi.IntOutput `pulumi:"containerRegistryCleanupTagsServiceMaxListSize"`
	// The maximum time, in seconds, that the cleanup process can take to delete a batch of tags for cleanup policies.
	ContainerRegistryDeleteTagsServiceTimeout pulumi.IntOutput `pulumi:"containerRegistryDeleteTagsServiceTimeout"`
	// Caching during the execution of cleanup policies.
	ContainerRegistryExpirationPoliciesCaching pulumi.BoolOutput `pulumi:"containerRegistryExpirationPoliciesCaching"`
	// Number of workers for cleanup policies.
	ContainerRegistryExpirationPoliciesWorkerCapacity pulumi.IntOutput `pulumi:"containerRegistryExpirationPoliciesWorkerCapacity"`
	// Container Registry token duration in minutes.
	ContainerRegistryTokenExpireDelay pulumi.IntOutput `pulumi:"containerRegistryTokenExpireDelay"`
	// Enable automatic deactivation of dormant users.
	DeactivateDormantUsers pulumi.BoolOutput `pulumi:"deactivateDormantUsers"`
	// Set the default expiration time for each job’s artifacts.
	DefaultArtifactsExpireIn pulumi.StringOutput `pulumi:"defaultArtifactsExpireIn"`
	// Instance-level custom initial branch name (introduced in GitLab 13.2).
	DefaultBranchName pulumi.StringOutput `pulumi:"defaultBranchName"`
	// 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.
	DefaultBranchProtection pulumi.IntOutput `pulumi:"defaultBranchProtection"`
	// Default CI/CD configuration file and path for new projects (.gitlab-ci.yml if not set).
	DefaultCiConfigPath pulumi.StringOutput `pulumi:"defaultCiConfigPath"`
	// What visibility level new groups receive. Can take private, internal and public as a parameter. Default is private.
	DefaultGroupVisibility pulumi.StringOutput `pulumi:"defaultGroupVisibility"`
	// Default project creation protection. Can take: 0 (No one), 1 (Maintainers) or 2 (Developers + Maintainers).
	DefaultProjectCreation pulumi.IntOutput `pulumi:"defaultProjectCreation"`
	// What visibility level new projects receive. Can take private, internal and public as a parameter. Default is private.
	DefaultProjectVisibility pulumi.StringOutput `pulumi:"defaultProjectVisibility"`
	// Project limit per user. Default is 100000.
	DefaultProjectsLimit pulumi.IntOutput `pulumi:"defaultProjectsLimit"`
	// What visibility level new snippets receive. Can take private, internal and public as a parameter. Default is private.
	DefaultSnippetVisibility pulumi.StringOutput `pulumi:"defaultSnippetVisibility"`
	// Enable delayed group deletion. Default is true. Introduced in GitLab 15.0. From GitLab 15.1, disables and locks the group-level setting for delayed protect deletion when set to false.
	DelayedGroupDeletion pulumi.BoolOutput `pulumi:"delayedGroupDeletion"`
	// Enable delayed project deletion by default in new groups. Default is false. From GitLab 15.1, can only be enabled when delayed*group*deletion is true.
	DelayedProjectDeletion pulumi.BoolOutput `pulumi:"delayedProjectDeletion"`
	// Enable inactive project deletion feature. Default is false. Introduced in GitLab 14.10. Became operational in GitLab 15.0 (with feature flag inactive*projects*deletion, disabled by default).
	DeleteInactiveProjects pulumi.BoolOutput `pulumi:"deleteInactiveProjects"`
	// The number of days to wait before deleting a project or group that is marked for deletion. Value must be between 1 and 90. Defaults to 7. From GitLab 15.1, a hook on deletion*adjourned*period sets the period to 1 on every update, and sets both delayed*project*deletion and delayed*group*deletion to false if the period is 0.
	DeletionAdjournedPeriod pulumi.IntOutput `pulumi:"deletionAdjournedPeriod"`
	// Maximum files in a diff.
	DiffMaxFiles pulumi.IntOutput `pulumi:"diffMaxFiles"`
	// Maximum lines in a diff.
	DiffMaxLines pulumi.IntOutput `pulumi:"diffMaxLines"`
	// Maximum diff patch size, in bytes.
	DiffMaxPatchBytes pulumi.IntOutput `pulumi:"diffMaxPatchBytes"`
	// Disable display of RSS/Atom and calendar feed tokens (introduced in GitLab 13.7).
	DisableFeedToken pulumi.BoolOutput `pulumi:"disableFeedToken"`
	// Disabled OAuth sign-in sources.
	DisabledOauthSignInSources pulumi.StringArrayOutput `pulumi:"disabledOauthSignInSources"`
	// Enforce DNS rebinding attack protection.
	DnsRebindingProtectionEnabled pulumi.BoolOutput `pulumi:"dnsRebindingProtectionEnabled"`
	// Force people to use only corporate emails for sign-up. Default is null, meaning there is no restriction.
	DomainAllowlists pulumi.StringArrayOutput `pulumi:"domainAllowlists"`
	// (If enabled, requires: domain_denylist) Allows blocking sign-ups from emails from specific domains.
	DomainDenylistEnabled pulumi.BoolOutput `pulumi:"domainDenylistEnabled"`
	// Users with email addresses that match these domains cannot sign up. Wildcards allowed. Use separate lines for multiple entries. Ex: domain.com, *.domain.com.
	DomainDenylists pulumi.StringArrayOutput `pulumi:"domainDenylists"`
	// The minimum allowed bit length of an uploaded DSA key. Default is 0 (no restriction). -1 disables DSA keys.
	DsaKeyRestriction pulumi.IntOutput `pulumi:"dsaKeyRestriction"`
	// The minimum allowed curve size (in bits) of an uploaded ECDSA key. Default is 0 (no restriction). -1 disables ECDSA keys.
	EcdsaKeyRestriction pulumi.IntOutput `pulumi:"ecdsaKeyRestriction"`
	// The minimum allowed curve size (in bits) of an uploaded ECDSA*SK key. Default is 0 (no restriction). -1 disables ECDSA*SK keys.
	EcdsaSkKeyRestriction pulumi.IntOutput `pulumi:"ecdsaSkKeyRestriction"`
	// The minimum allowed curve size (in bits) of an uploaded ED25519 key. Default is 0 (no restriction). -1 disables ED25519 keys.
	Ed25519KeyRestriction pulumi.IntOutput `pulumi:"ed25519KeyRestriction"`
	// The minimum allowed curve size (in bits) of an uploaded ED25519*SK key. Default is 0 (no restriction). -1 disables ED25519*SK keys.
	Ed25519SkKeyRestriction pulumi.IntOutput `pulumi:"ed25519SkKeyRestriction"`
	// AWS IAM access key ID.
	EksAccessKeyId pulumi.StringOutput `pulumi:"eksAccessKeyId"`
	// Amazon account ID.
	EksAccountId pulumi.StringOutput `pulumi:"eksAccountId"`
	// Enable integration with Amazon EKS.
	EksIntegrationEnabled pulumi.BoolOutput `pulumi:"eksIntegrationEnabled"`
	// AWS IAM secret access key.
	EksSecretAccessKey pulumi.StringOutput `pulumi:"eksSecretAccessKey"`
	// Enable the use of AWS hosted Elasticsearch.
	ElasticsearchAws pulumi.BoolOutput `pulumi:"elasticsearchAws"`
	// AWS IAM access key.
	ElasticsearchAwsAccessKey pulumi.StringOutput `pulumi:"elasticsearchAwsAccessKey"`
	// The AWS region the Elasticsearch domain is configured.
	ElasticsearchAwsRegion pulumi.StringOutput `pulumi:"elasticsearchAwsRegion"`
	// AWS IAM secret access key.
	ElasticsearchAwsSecretAccessKey pulumi.StringOutput `pulumi:"elasticsearchAwsSecretAccessKey"`
	// Maximum size of text fields to index by Elasticsearch. 0 value means no limit. This does not apply to repository and wiki indexing.
	ElasticsearchIndexedFieldLengthLimit pulumi.IntOutput `pulumi:"elasticsearchIndexedFieldLengthLimit"`
	// Maximum size of repository and wiki files that are indexed by Elasticsearch.
	ElasticsearchIndexedFileSizeLimitKb pulumi.IntOutput `pulumi:"elasticsearchIndexedFileSizeLimitKb"`
	// Enable Elasticsearch indexing.
	ElasticsearchIndexing pulumi.BoolOutput `pulumi:"elasticsearchIndexing"`
	// Limit Elasticsearch to index certain namespaces and projects.
	ElasticsearchLimitIndexing pulumi.BoolOutput `pulumi:"elasticsearchLimitIndexing"`
	// Maximum concurrency of Elasticsearch bulk requests per indexing operation. This only applies to repository indexing operations.
	ElasticsearchMaxBulkConcurrency pulumi.IntOutput `pulumi:"elasticsearchMaxBulkConcurrency"`
	// Maximum size of Elasticsearch bulk indexing requests in MB. This only applies to repository indexing operations.
	ElasticsearchMaxBulkSizeMb pulumi.IntOutput `pulumi:"elasticsearchMaxBulkSizeMb"`
	// The namespaces to index via Elasticsearch if elasticsearch*limit*indexing is enabled.
	ElasticsearchNamespaceIds pulumi.StringArrayOutput `pulumi:"elasticsearchNamespaceIds"`
	// The password of your Elasticsearch instance.
	ElasticsearchPassword pulumi.StringOutput `pulumi:"elasticsearchPassword"`
	// The projects to index via Elasticsearch if elasticsearch*limit*indexing is enabled.
	ElasticsearchProjectIds pulumi.StringArrayOutput `pulumi:"elasticsearchProjectIds"`
	// Enable Elasticsearch search.
	ElasticsearchSearch pulumi.BoolOutput `pulumi:"elasticsearchSearch"`
	// The URL to use for connecting to Elasticsearch. Use a comma-separated list to support cluster (for example, http://localhost:9200, http://localhost:9201).
	ElasticsearchUrls pulumi.StringArrayOutput `pulumi:"elasticsearchUrls"`
	// The username of your Elasticsearch instance.
	ElasticsearchUsername pulumi.StringOutput `pulumi:"elasticsearchUsername"`
	// Additional text added to the bottom of every email for legal/auditing/compliance reasons.
	EmailAdditionalText pulumi.StringOutput `pulumi:"emailAdditionalText"`
	// 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.
	EmailAuthorInBody pulumi.BoolOutput `pulumi:"emailAuthorInBody"`
	// Enabled protocols for Git access. Allowed values are: ssh, http, and nil to allow both protocols.
	EnabledGitAccessProtocol pulumi.StringOutput `pulumi:"enabledGitAccessProtocol"`
	// Enabling this permits enforcement of namespace storage limits.
	EnforceNamespaceStorageLimit pulumi.BoolOutput `pulumi:"enforceNamespaceStorageLimit"`
	// (If enabled, requires: terms) Enforce application ToS to all users.
	EnforceTerms pulumi.BoolOutput `pulumi:"enforceTerms"`
	// (If enabled, requires: external*auth*client_key) The certificate to use to authenticate with the external authorization service.
	ExternalAuthClientCert pulumi.StringOutput `pulumi:"externalAuthClientCert"`
	// Private key for the certificate when authentication is required for the external authorization service, this is encrypted when stored.
	ExternalAuthClientKey pulumi.StringOutput `pulumi:"externalAuthClientKey"`
	// Passphrase to use for the private key when authenticating with the external service this is encrypted when stored.
	ExternalAuthClientKeyPass pulumi.StringOutput `pulumi:"externalAuthClientKeyPass"`
	// The default classification label to use when requesting authorization and no classification label has been specified on the project.
	ExternalAuthorizationServiceDefaultLabel pulumi.StringOutput `pulumi:"externalAuthorizationServiceDefaultLabel"`
	// (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.
	ExternalAuthorizationServiceEnabled pulumi.BoolOutput `pulumi:"externalAuthorizationServiceEnabled"`
	// 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).
	ExternalAuthorizationServiceTimeout pulumi.Float64Output `pulumi:"externalAuthorizationServiceTimeout"`
	// URL to which authorization requests are directed.
	ExternalAuthorizationServiceUrl pulumi.StringOutput `pulumi:"externalAuthorizationServiceUrl"`
	// How long to wait for a response from the pipeline validation service. Assumes OK if it times out.
	ExternalPipelineValidationServiceTimeout pulumi.IntOutput `pulumi:"externalPipelineValidationServiceTimeout"`
	// Optional. Token to include as the X-Gitlab-Token header in requests to the URL in external*pipeline*validation*service*url.
	ExternalPipelineValidationServiceToken pulumi.StringOutput `pulumi:"externalPipelineValidationServiceToken"`
	// URL to use for pipeline validation requests.
	ExternalPipelineValidationServiceUrl pulumi.StringOutput `pulumi:"externalPipelineValidationServiceUrl"`
	// The ID of a project to load custom file templates from.
	FileTemplateProjectId pulumi.IntOutput `pulumi:"fileTemplateProjectId"`
	// Start day of the week for calendar views and date pickers. Valid values are 0 (default) for Sunday, 1 for Monday, and 6 for Saturday.
	FirstDayOfWeek pulumi.IntOutput `pulumi:"firstDayOfWeek"`
	// Comma-separated list of IPs and CIDRs of allowed secondary nodes. For example, 1.1.1.1, 2.2.2.0/24.
	GeoNodeAllowedIps pulumi.StringOutput `pulumi:"geoNodeAllowedIps"`
	// The amount of seconds after which a request to get a secondary node status times out.
	GeoStatusTimeout pulumi.IntOutput `pulumi:"geoStatusTimeout"`
	// List of usernames excluded from Git anti-abuse rate limits. Default: [], Maximum: 100 usernames. Introduced in GitLab 15.2.
	GitRateLimitUsersAllowlists pulumi.StringArrayOutput `pulumi:"gitRateLimitUsersAllowlists"`
	// Maximum duration (in minutes) of a session for Git operations when 2FA is enabled.
	GitTwoFactorSessionExpiry pulumi.IntOutput `pulumi:"gitTwoFactorSessionExpiry"`
	// Default Gitaly timeout, in seconds. This timeout is not enforced for Git fetch/push operations or Sidekiq jobs. Set to 0 to disable timeouts.
	GitalyTimeoutDefault pulumi.IntOutput `pulumi:"gitalyTimeoutDefault"`
	// 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.
	GitalyTimeoutFast pulumi.IntOutput `pulumi:"gitalyTimeoutFast"`
	// Medium Gitaly timeout, in seconds. This should be a value between the Fast and the Default timeout. Set to 0 to disable timeouts.
	GitalyTimeoutMedium pulumi.IntOutput `pulumi:"gitalyTimeoutMedium"`
	// Enable Grafana.
	GrafanaEnabled pulumi.BoolOutput `pulumi:"grafanaEnabled"`
	// Grafana URL.
	GrafanaUrl pulumi.StringOutput `pulumi:"grafanaUrl"`
	// Enable Gravatar.
	GravatarEnabled pulumi.BoolOutput `pulumi:"gravatarEnabled"`
	// Prevent overrides of default branch protection.
	GroupOwnersCanManageDefaultBranchProtection pulumi.BoolOutput `pulumi:"groupOwnersCanManageDefaultBranchProtection"`
	// 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).
	HashedStorageEnabled pulumi.BoolOutput `pulumi:"hashedStorageEnabled"`
	// Hide marketing-related entries from help.
	HelpPageHideCommercialContent pulumi.BoolOutput `pulumi:"helpPageHideCommercialContent"`
	// Alternate support URL for help page and help dropdown.
	HelpPageSupportUrl pulumi.StringOutput `pulumi:"helpPageSupportUrl"`
	// Custom text displayed on the help page.
	HelpPageText pulumi.StringOutput `pulumi:"helpPageText"`
	// GitLab server administrator information.
	HelpText pulumi.StringOutput `pulumi:"helpText"`
	// Do not display offers from third parties in GitLab.
	HideThirdPartyOffers pulumi.BoolOutput `pulumi:"hideThirdPartyOffers"`
	// Redirect to this URL when not logged in.
	HomePageUrl pulumi.StringOutput `pulumi:"homePageUrl"`
	// (If enabled, requires: housekeeping*bitmaps*enabled, housekeeping*full*repack*period, housekeeping*gc*period, and housekeeping*incremental*repack*period) Enable or disable Git housekeeping.
	HousekeepingEnabled pulumi.BoolOutput `pulumi:"housekeepingEnabled"`
	// Number of Git pushes after which an incremental git repack is run.
	HousekeepingFullRepackPeriod pulumi.IntOutput `pulumi:"housekeepingFullRepackPeriod"`
	// Number of Git pushes after which git gc is run.
	HousekeepingGcPeriod pulumi.IntOutput `pulumi:"housekeepingGcPeriod"`
	// Number of Git pushes after which an incremental git repack is run.
	HousekeepingIncrementalRepackPeriod pulumi.IntOutput `pulumi:"housekeepingIncrementalRepackPeriod"`
	// Enable HTML emails.
	HtmlEmailsEnabled pulumi.BoolOutput `pulumi:"htmlEmailsEnabled"`
	// Sources to allow project import from, possible values: github, bitbucket, bitbucket*server, gitlab, fogbugz, git, gitlab*project, gitea, manifest, and phabricator.
	ImportSources pulumi.StringArrayOutput `pulumi:"importSources"`
	// Enable in-product marketing emails. Enabled by default.
	InProductMarketingEmailsEnabled pulumi.BoolOutput `pulumi:"inProductMarketingEmailsEnabled"`
	// If delete*inactive*projects is true, the time (in months) to wait before deleting inactive projects. Default is 2. Introduced in GitLab 14.10. Became operational in GitLab 15.0.
	InactiveProjectsDeleteAfterMonths pulumi.IntOutput `pulumi:"inactiveProjectsDeleteAfterMonths"`
	// If delete*inactive*projects is true, the minimum repository size for projects to be checked for inactivity. Default is 0. Introduced in GitLab 14.10. Became operational in GitLab 15.0.
	InactiveProjectsMinSizeMb pulumi.IntOutput `pulumi:"inactiveProjectsMinSizeMb"`
	// 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. Default is 1. Introduced in GitLab 14.10. Became operational in GitLab 15.0.
	InactiveProjectsSendWarningEmailAfterMonths pulumi.IntOutput `pulumi:"inactiveProjectsSendWarningEmailAfterMonths"`
	// Enable Invisible CAPTCHA spam detection during sign-up. Disabled by default.
	InvisibleCaptchaEnabled pulumi.BoolOutput `pulumi:"invisibleCaptchaEnabled"`
	// Max number of issue creation requests per minute per user. Disabled by default.
	IssuesCreateLimit pulumi.IntOutput `pulumi:"issuesCreateLimit"`
	// Prevent the deletion of the artifacts from the most recent successful jobs, regardless of the expiry time. Enabled by default.
	KeepLatestArtifact pulumi.BoolOutput `pulumi:"keepLatestArtifact"`
	// Increase this value when any cached Markdown should be invalidated.
	LocalMarkdownVersion pulumi.IntOutput `pulumi:"localMarkdownVersion"`
	// Enable Mailgun event receiver.
	MailgunEventsEnabled pulumi.BoolOutput `pulumi:"mailgunEventsEnabled"`
	// The Mailgun HTTP webhook signing key for receiving events from webhook.
	MailgunSigningKey pulumi.StringOutput `pulumi:"mailgunSigningKey"`
	// When instance is in maintenance mode, non-administrative users can sign in with read-only access and make read-only API requests.
	MaintenanceMode pulumi.BoolOutput `pulumi:"maintenanceMode"`
	// Message displayed when instance is in maintenance mode.
	MaintenanceModeMessage pulumi.StringOutput `pulumi:"maintenanceModeMessage"`
	// Maximum artifacts size in MB.
	MaxArtifactsSize pulumi.IntOutput `pulumi:"maxArtifactsSize"`
	// Limit attachment size in MB.
	MaxAttachmentSize pulumi.IntOutput `pulumi:"maxAttachmentSize"`
	// Maximum export size in MB. 0 for unlimited. Default = 0 (unlimited).
	MaxExportSize pulumi.IntOutput `pulumi:"maxExportSize"`
	// Maximum import size in MB. 0 for unlimited. Default = 0 (unlimited) Modified from 50MB to 0 in GitLab 13.8.
	MaxImportSize pulumi.IntOutput `pulumi:"maxImportSize"`
	// Maximum number of unique repositories a user can download in the specified time period before they are banned. Default: 0, Maximum: 10,000 repositories. Introduced in GitLab 15.1.
	MaxNumberOfRepositoryDownloads pulumi.IntOutput `pulumi:"maxNumberOfRepositoryDownloads"`
	// Reporting time period (in seconds). Default: 0, Maximum: 864000 seconds (10 days). Introduced in GitLab 15.1.
	MaxNumberOfRepositoryDownloadsWithinTimePeriod pulumi.IntOutput `pulumi:"maxNumberOfRepositoryDownloadsWithinTimePeriod"`
	// Maximum size of pages repositories in MB.
	MaxPagesSize pulumi.IntOutput `pulumi:"maxPagesSize"`
	// Maximum allowable lifetime for access tokens in days.
	MaxPersonalAccessTokenLifetime pulumi.IntOutput `pulumi:"maxPersonalAccessTokenLifetime"`
	// Maximum allowable lifetime for SSH keys in days. Introduced in GitLab 14.6.
	MaxSshKeyLifetime pulumi.IntOutput `pulumi:"maxSshKeyLifetime"`
	// A method call is only tracked when it takes longer than the given amount of milliseconds.
	MetricsMethodCallThreshold pulumi.IntOutput `pulumi:"metricsMethodCallThreshold"`
	// Allow repository mirroring to configured by project Maintainers. If disabled, only Administrators can configure repository mirroring.
	MirrorAvailable pulumi.BoolOutput `pulumi:"mirrorAvailable"`
	// Minimum capacity to be available before scheduling more mirrors preemptively.
	MirrorCapacityThreshold pulumi.IntOutput `pulumi:"mirrorCapacityThreshold"`
	// Maximum number of mirrors that can be synchronizing at the same time.
	MirrorMaxCapacity pulumi.IntOutput `pulumi:"mirrorMaxCapacity"`
	// Maximum time (in minutes) between updates that a mirror can have when scheduled to synchronize.
	MirrorMaxDelay pulumi.IntOutput `pulumi:"mirrorMaxDelay"`
	// Use npmjs.org as a default remote repository when the package is not found in the GitLab Package Registry for npm.
	NpmPackageRequestsForwarding pulumi.BoolOutput `pulumi:"npmPackageRequestsForwarding"`
	// Define a list of trusted domains or IP addresses to which local requests are allowed when local requests for hooks and services are disabled.
	OutboundLocalRequestsWhitelists pulumi.StringArrayOutput `pulumi:"outboundLocalRequestsWhitelists"`
	// Number of workers assigned to the packages cleanup policies.
	PackageRegistryCleanupPoliciesWorkerCapacity pulumi.IntOutput `pulumi:"packageRegistryCleanupPoliciesWorkerCapacity"`
	// 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.
	PagesDomainVerificationEnabled pulumi.BoolOutput `pulumi:"pagesDomainVerificationEnabled"`
	// Enable authentication for Git over HTTP(S) via a GitLab account password. Default is true.
	PasswordAuthenticationEnabledForGit pulumi.BoolOutput `pulumi:"passwordAuthenticationEnabledForGit"`
	// Enable authentication for the web interface via a GitLab account password. Default is true.
	PasswordAuthenticationEnabledForWeb pulumi.BoolOutput `pulumi:"passwordAuthenticationEnabledForWeb"`
	// Indicates whether passwords require at least one lowercase letter. Introduced in GitLab 15.1.
	PasswordLowercaseRequired pulumi.BoolOutput `pulumi:"passwordLowercaseRequired"`
	// Indicates whether passwords require at least one number. Introduced in GitLab 15.1.
	PasswordNumberRequired pulumi.BoolOutput `pulumi:"passwordNumberRequired"`
	// Indicates whether passwords require at least one symbol character. Introduced in GitLab 15.1.
	PasswordSymbolRequired pulumi.BoolOutput `pulumi:"passwordSymbolRequired"`
	// Indicates whether passwords require at least one uppercase letter. Introduced in GitLab 15.1.
	PasswordUppercaseRequired pulumi.BoolOutput `pulumi:"passwordUppercaseRequired"`
	// Path of the group that is allowed to toggle the performance bar.
	PerformanceBarAllowedGroupPath pulumi.StringOutput `pulumi:"performanceBarAllowedGroupPath"`
	// Prefix for all generated personal access tokens.
	PersonalAccessTokenPrefix pulumi.StringOutput `pulumi:"personalAccessTokenPrefix"`
	// Maximum number of pipeline creation requests per minute per user and commit. Disabled by default.
	PipelineLimitPerProjectUserSha pulumi.IntOutput `pulumi:"pipelineLimitPerProjectUserSha"`
	// (If enabled, requires: plantuml_url) Enable PlantUML integration. Default is false.
	PlantumlEnabled pulumi.BoolOutput `pulumi:"plantumlEnabled"`
	// The PlantUML instance URL for integration.
	PlantumlUrl pulumi.StringOutput `pulumi:"plantumlUrl"`
	// Interval multiplier used by endpoints that perform polling. Set to 0 to disable polling.
	PollingIntervalMultiplier pulumi.Float64Output `pulumi:"pollingIntervalMultiplier"`
	// Enable project export.
	ProjectExportEnabled pulumi.BoolOutput `pulumi:"projectExportEnabled"`
	// Enable Prometheus metrics.
	PrometheusMetricsEnabled pulumi.BoolOutput `pulumi:"prometheusMetricsEnabled"`
	// CI/CD variables are protected by default.
	ProtectedCiVariables pulumi.BoolOutput `pulumi:"protectedCiVariables"`
	// 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.
	PushEventActivitiesLimit pulumi.IntOutput `pulumi:"pushEventActivitiesLimit"`
	// 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.
	PushEventHooksLimit pulumi.IntOutput `pulumi:"pushEventHooksLimit"`
	// Use pypi.org as a default remote repository when the package is not found in the GitLab Package Registry for PyPI.
	PypiPackageRequestsForwarding pulumi.BoolOutput `pulumi:"pypiPackageRequestsForwarding"`
	// 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.
	RateLimitingResponseText pulumi.StringOutput `pulumi:"rateLimitingResponseText"`
	// Max number of requests per minute for each raw path. Default: 300. To disable throttling set to 0.
	RawBlobRequestLimit pulumi.IntOutput `pulumi:"rawBlobRequestLimit"`
	// (If enabled, requires: recaptcha*private*key and recaptcha*site*key) Enable reCAPTCHA.
	RecaptchaEnabled pulumi.BoolOutput `pulumi:"recaptchaEnabled"`
	// Private key for reCAPTCHA.
	RecaptchaPrivateKey pulumi.StringOutput `pulumi:"recaptchaPrivateKey"`
	// Site key for reCAPTCHA.
	RecaptchaSiteKey pulumi.StringOutput `pulumi:"recaptchaSiteKey"`
	// Maximum push size (MB).
	ReceiveMaxInputSize pulumi.IntOutput `pulumi:"receiveMaxInputSize"`
	// GitLab periodically runs git fsck in all project and wiki repositories to look for silent disk corruption issues.
	RepositoryChecksEnabled pulumi.BoolOutput `pulumi:"repositoryChecksEnabled"`
	// Size limit per repository (MB).
	RepositorySizeLimit pulumi.IntOutput `pulumi:"repositorySizeLimit"`
	// (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.
	RepositoryStorages pulumi.StringArrayOutput `pulumi:"repositoryStorages"`
	// (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.
	RepositoryStoragesWeighted pulumi.IntMapOutput `pulumi:"repositoryStoragesWeighted"`
	// When enabled, any user that signs up for an account using the registration form is placed under a Pending approval state and has to be explicitly approved by an administrator.
	RequireAdminApprovalAfterUserSignup pulumi.BoolOutput `pulumi:"requireAdminApprovalAfterUserSignup"`
	// (If enabled, requires: two*factor*grace_period) Require all users to set up Two-factor authentication.
	RequireTwoFactorAuthentication pulumi.BoolOutput `pulumi:"requireTwoFactorAuthentication"`
	// Selected levels cannot be used by non-Administrator users for groups, projects or snippets. Can take private, internal and public as a parameter. Default is null which means there is no restriction.
	RestrictedVisibilityLevels pulumi.StringArrayOutput `pulumi:"restrictedVisibilityLevels"`
	// The minimum allowed bit length of an uploaded RSA key. Default is 0 (no restriction). -1 disables RSA keys.
	RsaKeyRestriction pulumi.IntOutput `pulumi:"rsaKeyRestriction"`
	// Max number of requests per minute for performing a search while authenticated. Default: 30. To disable throttling set to 0.
	SearchRateLimit pulumi.IntOutput `pulumi:"searchRateLimit"`
	// Max number of requests per minute for performing a search while unauthenticated. Default: 10. To disable throttling set to 0.
	SearchRateLimitUnauthenticated pulumi.IntOutput `pulumi:"searchRateLimitUnauthenticated"`
	// Send confirmation email on sign-up.
	SendUserConfirmationEmail pulumi.BoolOutput `pulumi:"sendUserConfirmationEmail"`
	// Session duration in minutes. GitLab restart is required to apply changes.
	SessionExpireDelay pulumi.IntOutput `pulumi:"sessionExpireDelay"`
	// (If enabled, requires: shared*runners*text and shared*runners*minutes) Enable shared runners for new projects.
	SharedRunnersEnabled pulumi.BoolOutput `pulumi:"sharedRunnersEnabled"`
	// Set the maximum number of CI/CD minutes that a group can use on shared runners per month.
	SharedRunnersMinutes pulumi.IntOutput `pulumi:"sharedRunnersMinutes"`
	// Shared runners text.
	SharedRunnersText pulumi.StringOutput `pulumi:"sharedRunnersText"`
	// The threshold in bytes at which Sidekiq jobs are compressed before being stored in Redis. Default: 100 000 bytes (100KB).
	SidekiqJobLimiterCompressionThresholdBytes pulumi.IntOutput `pulumi:"sidekiqJobLimiterCompressionThresholdBytes"`
	// The threshold in bytes at which Sidekiq jobs are rejected. Default: 0 bytes (doesn’t reject any job).
	SidekiqJobLimiterLimitBytes pulumi.IntOutput `pulumi:"sidekiqJobLimiterLimitBytes"`
	// track or compress. Sets the behavior for Sidekiq job size limits. Default: ‘compress’.
	SidekiqJobLimiterMode pulumi.StringOutput `pulumi:"sidekiqJobLimiterMode"`
	// Text on the login page.
	SignInText pulumi.StringOutput `pulumi:"signInText"`
	// Enable registration. Default is true.
	SignupEnabled pulumi.BoolOutput `pulumi:"signupEnabled"`
	// (If enabled, requires: slack*app*id, slack*app*secret and slack*app*secret) Enable Slack app.
	SlackAppEnabled pulumi.BoolOutput `pulumi:"slackAppEnabled"`
	// The app ID of the Slack-app.
	SlackAppId pulumi.StringOutput `pulumi:"slackAppId"`
	// The app secret of the Slack-app.
	SlackAppSecret pulumi.StringOutput `pulumi:"slackAppSecret"`
	// The signing secret of the Slack-app.
	SlackAppSigningSecret pulumi.StringOutput `pulumi:"slackAppSigningSecret"`
	// The verification token of the Slack-app.
	SlackAppVerificationToken pulumi.StringOutput `pulumi:"slackAppVerificationToken"`
	// Max snippet content size in bytes. Default: 52428800 Bytes (50MB).
	SnippetSizeLimit pulumi.IntOutput `pulumi:"snippetSizeLimit"`
	// The Snowplow site name / application ID. (for example, gitlab)
	SnowplowAppId pulumi.StringOutput `pulumi:"snowplowAppId"`
	// The Snowplow collector hostname. (for example, snowplow.trx.gitlab.net)
	SnowplowCollectorHostname pulumi.StringOutput `pulumi:"snowplowCollectorHostname"`
	// The Snowplow cookie domain. (for example, .gitlab.com)
	SnowplowCookieDomain pulumi.StringOutput `pulumi:"snowplowCookieDomain"`
	// Enable snowplow tracking.
	SnowplowEnabled pulumi.BoolOutput `pulumi:"snowplowEnabled"`
	// Enables Sourcegraph integration. Default is false. If enabled, requires sourcegraph_url.
	SourcegraphEnabled pulumi.BoolOutput `pulumi:"sourcegraphEnabled"`
	// Blocks Sourcegraph from being loaded on private and internal projects. Default is true.
	SourcegraphPublicOnly pulumi.BoolOutput `pulumi:"sourcegraphPublicOnly"`
	// The Sourcegraph instance URL for integration.
	SourcegraphUrl pulumi.StringOutput `pulumi:"sourcegraphUrl"`
	// API key used by GitLab for accessing the Spam Check service endpoint.
	SpamCheckApiKey pulumi.StringOutput `pulumi:"spamCheckApiKey"`
	// Enables spam checking using external Spam Check API endpoint. Default is false.
	SpamCheckEndpointEnabled pulumi.BoolOutput `pulumi:"spamCheckEndpointEnabled"`
	// URL of the external Spamcheck service endpoint. Valid URI schemes are grpc or tls. Specifying tls forces communication to be encrypted.
	SpamCheckEndpointUrl pulumi.StringOutput `pulumi:"spamCheckEndpointUrl"`
	// Enable pipeline suggestion banner.
	SuggestPipelineEnabled pulumi.BoolOutput `pulumi:"suggestPipelineEnabled"`
	// Maximum time for web terminal websocket connection (in seconds). Set to 0 for unlimited time.
	TerminalMaxSessionTime pulumi.IntOutput `pulumi:"terminalMaxSessionTime"`
	// (Required by: enforce_terms) Markdown content for the ToS.
	Terms pulumi.StringOutput `pulumi:"terms"`
	// (If enabled, requires: throttle*authenticated*api*period*in*seconds and throttle*authenticated*api*requests*per*period) Enable authenticated API request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots).
	ThrottleAuthenticatedApiEnabled pulumi.BoolOutput `pulumi:"throttleAuthenticatedApiEnabled"`
	// Rate limit period (in seconds).
	ThrottleAuthenticatedApiPeriodInSeconds pulumi.IntOutput `pulumi:"throttleAuthenticatedApiPeriodInSeconds"`
	// Maximum requests per period per user.
	ThrottleAuthenticatedApiRequestsPerPeriod pulumi.IntOutput `pulumi:"throttleAuthenticatedApiRequestsPerPeriod"`
	// (If enabled, requires: throttle*authenticated*packages*api*period*in*seconds and throttle*authenticated*packages*api*requests*per*period) Enable authenticated API request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots). View Package Registry rate limits for more details.
	ThrottleAuthenticatedPackagesApiEnabled pulumi.BoolOutput `pulumi:"throttleAuthenticatedPackagesApiEnabled"`
	// Rate limit period (in seconds). View Package Registry rate limits for more details.
	ThrottleAuthenticatedPackagesApiPeriodInSeconds pulumi.IntOutput `pulumi:"throttleAuthenticatedPackagesApiPeriodInSeconds"`
	// Maximum requests per period per user. View Package Registry rate limits for more details.
	ThrottleAuthenticatedPackagesApiRequestsPerPeriod pulumi.IntOutput `pulumi:"throttleAuthenticatedPackagesApiRequestsPerPeriod"`
	// (If enabled, requires: throttle*authenticated*web*period*in*seconds and throttle*authenticated*web*requests*per*period) Enable authenticated web request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots).
	ThrottleAuthenticatedWebEnabled pulumi.BoolOutput `pulumi:"throttleAuthenticatedWebEnabled"`
	// Rate limit period (in seconds).
	ThrottleAuthenticatedWebPeriodInSeconds pulumi.IntOutput `pulumi:"throttleAuthenticatedWebPeriodInSeconds"`
	// Maximum requests per period per user.
	ThrottleAuthenticatedWebRequestsPerPeriod pulumi.IntOutput `pulumi:"throttleAuthenticatedWebRequestsPerPeriod"`
	// (If enabled, requires: throttle*unauthenticated*api*period*in*seconds and throttle*unauthenticated*api*requests*per*period) Enable unauthenticated API request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots).
	ThrottleUnauthenticatedApiEnabled pulumi.BoolOutput `pulumi:"throttleUnauthenticatedApiEnabled"`
	// Rate limit period in seconds.
	ThrottleUnauthenticatedApiPeriodInSeconds pulumi.IntOutput `pulumi:"throttleUnauthenticatedApiPeriodInSeconds"`
	// Max requests per period per IP.
	ThrottleUnauthenticatedApiRequestsPerPeriod pulumi.IntOutput `pulumi:"throttleUnauthenticatedApiRequestsPerPeriod"`
	// (If enabled, requires: throttle*unauthenticated*packages*api*period*in*seconds and throttle*unauthenticated*packages*api*requests*per*period) Enable authenticated API request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots). View Package Registry rate limits for more details.
	ThrottleUnauthenticatedPackagesApiEnabled pulumi.BoolOutput `pulumi:"throttleUnauthenticatedPackagesApiEnabled"`
	// Rate limit period (in seconds). View Package Registry rate limits for more details.
	ThrottleUnauthenticatedPackagesApiPeriodInSeconds pulumi.IntOutput `pulumi:"throttleUnauthenticatedPackagesApiPeriodInSeconds"`
	// Maximum requests per period per user. View Package Registry rate limits for more details.
	ThrottleUnauthenticatedPackagesApiRequestsPerPeriod pulumi.IntOutput `pulumi:"throttleUnauthenticatedPackagesApiRequestsPerPeriod"`
	// (If enabled, requires: throttle*unauthenticated*web*period*in*seconds and throttle*unauthenticated*web*requests*per*period) Enable unauthenticated web request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots).
	ThrottleUnauthenticatedWebEnabled pulumi.BoolOutput `pulumi:"throttleUnauthenticatedWebEnabled"`
	// Rate limit period in seconds.
	ThrottleUnauthenticatedWebPeriodInSeconds pulumi.IntOutput `pulumi:"throttleUnauthenticatedWebPeriodInSeconds"`
	// Max requests per period per IP.
	ThrottleUnauthenticatedWebRequestsPerPeriod pulumi.IntOutput `pulumi:"throttleUnauthenticatedWebRequestsPerPeriod"`
	// Limit display of time tracking units to hours. Default is false.
	TimeTrackingLimitToHours pulumi.BoolOutput `pulumi:"timeTrackingLimitToHours"`
	// Amount of time (in hours) that users are allowed to skip forced configuration of two-factor authentication.
	TwoFactorGracePeriod pulumi.IntOutput `pulumi:"twoFactorGracePeriod"`
	// (If enabled, requires: unique*ips*limit*per*user and unique*ips*limit*time*window) Limit sign in from multiple IPs.
	UniqueIpsLimitEnabled pulumi.BoolOutput `pulumi:"uniqueIpsLimitEnabled"`
	// Maximum number of IPs per user.
	UniqueIpsLimitPerUser pulumi.IntOutput `pulumi:"uniqueIpsLimitPerUser"`
	// How many seconds an IP is counted towards the limit.
	UniqueIpsLimitTimeWindow pulumi.IntOutput `pulumi:"uniqueIpsLimitTimeWindow"`
	// Every week GitLab reports license usage back to GitLab, Inc.
	UsagePingEnabled pulumi.BoolOutput `pulumi:"usagePingEnabled"`
	// Send an email to users upon account deactivation.
	UserDeactivationEmailsEnabled pulumi.BoolOutput `pulumi:"userDeactivationEmailsEnabled"`
	// Newly registered users are external by default.
	UserDefaultExternal pulumi.BoolOutput `pulumi:"userDefaultExternal"`
	// Specify an email address regex pattern to identify default internal users.
	UserDefaultInternalRegex pulumi.StringOutput `pulumi:"userDefaultInternalRegex"`
	// Allow users to register any application to use GitLab as an OAuth provider.
	UserOauthApplications pulumi.BoolOutput `pulumi:"userOauthApplications"`
	// When set to false disable the You won't be able to pull or push project code via SSH warning shown to users with no uploaded SSH key.
	UserShowAddSshKeyMessage pulumi.BoolOutput `pulumi:"userShowAddSshKeyMessage"`
	// Let GitLab inform you when an update is available.
	VersionCheckEnabled pulumi.BoolOutput `pulumi:"versionCheckEnabled"`
	// Live Preview (allow live previews of JavaScript projects in the Web IDE using CodeSandbox Live Preview).
	WebIdeClientsidePreviewEnabled pulumi.BoolOutput `pulumi:"webIdeClientsidePreviewEnabled"`
	// What’s new variant, possible values: all*tiers, current*tier, and disabled.
	WhatsNewVariant pulumi.StringOutput `pulumi:"whatsNewVariant"`
	// Maximum wiki page content size in bytes. Default: 52428800 Bytes (50 MB). The minimum value is 1024 bytes.
	WikiPageMaxContentBytes pulumi.IntOutput `pulumi:"wikiPageMaxContentBytes"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewApplicationSettings(ctx, "this", &gitlab.ApplicationSettingsArgs{
			RequireTwoFactorAuthentication: pulumi.Bool(true),
			TwoFactorGracePeriod:           pulumi.Int(24),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetApplicationSettings added in v4.9.0

func GetApplicationSettings(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApplicationSettingsState, opts ...pulumi.ResourceOption) (*ApplicationSettings, error)

GetApplicationSettings gets an existing ApplicationSettings resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewApplicationSettings added in v4.9.0

func NewApplicationSettings(ctx *pulumi.Context,
	name string, args *ApplicationSettingsArgs, opts ...pulumi.ResourceOption) (*ApplicationSettings, error)

NewApplicationSettings registers a new resource with the given unique name, arguments, and options.

func (*ApplicationSettings) ElementType added in v4.9.0

func (*ApplicationSettings) ElementType() reflect.Type

func (*ApplicationSettings) ToApplicationSettingsOutput added in v4.9.0

func (i *ApplicationSettings) ToApplicationSettingsOutput() ApplicationSettingsOutput

func (*ApplicationSettings) ToApplicationSettingsOutputWithContext added in v4.9.0

func (i *ApplicationSettings) ToApplicationSettingsOutputWithContext(ctx context.Context) ApplicationSettingsOutput

type ApplicationSettingsArgs added in v4.9.0

type ApplicationSettingsArgs struct {
	// If set, abuse reports are sent to this address. Abuse reports are always available in the Admin Area.
	AbuseNotificationEmail pulumi.StringPtrInput
	// Require administrators to enable Admin Mode by re-authenticating for administrative tasks.
	AdminMode pulumi.BoolPtrInput
	// Where to redirect users after logout.
	AfterSignOutPath pulumi.StringPtrInput
	// Text shown to the user after signing up.
	AfterSignUpText pulumi.StringPtrInput
	// API key for Akismet spam protection.
	AkismetApiKey pulumi.StringPtrInput
	// (If enabled, requires: akismet*api*key) Enable or disable Akismet spam protection.
	AkismetEnabled pulumi.BoolPtrInput
	// Set to true to allow group owners to manage LDAP.
	AllowGroupOwnersToManageLdap pulumi.BoolPtrInput
	// Allow requests to the local network from system hooks.
	AllowLocalRequestsFromSystemHooks pulumi.BoolPtrInput
	// Allow requests to the local network from web hooks and services.
	AllowLocalRequestsFromWebHooksAndServices pulumi.BoolPtrInput
	// 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.
	ArchiveBuildsInHumanReadable pulumi.StringPtrInput
	// Assets that match these domains are not proxied. Wildcards allowed. Your GitLab installation URL is automatically allowlisted. GitLab restart is required to apply changes.
	AssetProxyAllowlists pulumi.StringArrayInput
	// (If enabled, requires: asset*proxy*url) Enable proxying of assets. GitLab restart is required to apply changes.
	AssetProxyEnabled pulumi.BoolPtrInput
	// Shared secret with the asset proxy server. GitLab restart is required to apply changes.
	AssetProxySecretKey pulumi.StringPtrInput
	// URL of the asset proxy server. GitLab restart is required to apply changes.
	AssetProxyUrl pulumi.StringPtrInput
	// By default, we write to the authorizedKeys 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.
	AuthorizedKeysEnabled pulumi.BoolPtrInput
	// Specify a domain to use by default for every project’s Auto Review Apps and Auto Deploy stages.
	AutoDevopsDomain pulumi.StringPtrInput
	// Enable Auto DevOps for projects by default. It automatically builds, tests, and deploys applications based on a predefined CI/CD configuration.
	AutoDevopsEnabled pulumi.BoolPtrInput
	// Enabling this permits automatic allocation of purchased storage in a namespace.
	AutomaticPurchasedStorageAllocation pulumi.BoolPtrInput
	// 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.
	CheckNamespacePlan pulumi.BoolPtrInput
	// Custom hostname (for private commit emails).
	CommitEmailHostname pulumi.StringPtrInput
	// Enable cleanup policies for all projects.
	ContainerExpirationPoliciesEnableHistoricEntries pulumi.BoolPtrInput
	// The maximum number of tags that can be deleted in a single execution of cleanup policies.
	ContainerRegistryCleanupTagsServiceMaxListSize pulumi.IntPtrInput
	// The maximum time, in seconds, that the cleanup process can take to delete a batch of tags for cleanup policies.
	ContainerRegistryDeleteTagsServiceTimeout pulumi.IntPtrInput
	// Caching during the execution of cleanup policies.
	ContainerRegistryExpirationPoliciesCaching pulumi.BoolPtrInput
	// Number of workers for cleanup policies.
	ContainerRegistryExpirationPoliciesWorkerCapacity pulumi.IntPtrInput
	// Container Registry token duration in minutes.
	ContainerRegistryTokenExpireDelay pulumi.IntPtrInput
	// Enable automatic deactivation of dormant users.
	DeactivateDormantUsers pulumi.BoolPtrInput
	// Set the default expiration time for each job’s artifacts.
	DefaultArtifactsExpireIn pulumi.StringPtrInput
	// Instance-level custom initial branch name (introduced in GitLab 13.2).
	DefaultBranchName pulumi.StringPtrInput
	// 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.
	DefaultBranchProtection pulumi.IntPtrInput
	// Default CI/CD configuration file and path for new projects (.gitlab-ci.yml if not set).
	DefaultCiConfigPath pulumi.StringPtrInput
	// What visibility level new groups receive. Can take private, internal and public as a parameter. Default is private.
	DefaultGroupVisibility pulumi.StringPtrInput
	// Default project creation protection. Can take: 0 (No one), 1 (Maintainers) or 2 (Developers + Maintainers).
	DefaultProjectCreation pulumi.IntPtrInput
	// What visibility level new projects receive. Can take private, internal and public as a parameter. Default is private.
	DefaultProjectVisibility pulumi.StringPtrInput
	// Project limit per user. Default is 100000.
	DefaultProjectsLimit pulumi.IntPtrInput
	// What visibility level new snippets receive. Can take private, internal and public as a parameter. Default is private.
	DefaultSnippetVisibility pulumi.StringPtrInput
	// Enable delayed group deletion. Default is true. Introduced in GitLab 15.0. From GitLab 15.1, disables and locks the group-level setting for delayed protect deletion when set to false.
	DelayedGroupDeletion pulumi.BoolPtrInput
	// Enable delayed project deletion by default in new groups. Default is false. From GitLab 15.1, can only be enabled when delayed*group*deletion is true.
	DelayedProjectDeletion pulumi.BoolPtrInput
	// Enable inactive project deletion feature. Default is false. Introduced in GitLab 14.10. Became operational in GitLab 15.0 (with feature flag inactive*projects*deletion, disabled by default).
	DeleteInactiveProjects pulumi.BoolPtrInput
	// The number of days to wait before deleting a project or group that is marked for deletion. Value must be between 1 and 90. Defaults to 7. From GitLab 15.1, a hook on deletion*adjourned*period sets the period to 1 on every update, and sets both delayed*project*deletion and delayed*group*deletion to false if the period is 0.
	DeletionAdjournedPeriod pulumi.IntPtrInput
	// Maximum files in a diff.
	DiffMaxFiles pulumi.IntPtrInput
	// Maximum lines in a diff.
	DiffMaxLines pulumi.IntPtrInput
	// Maximum diff patch size, in bytes.
	DiffMaxPatchBytes pulumi.IntPtrInput
	// Disable display of RSS/Atom and calendar feed tokens (introduced in GitLab 13.7).
	DisableFeedToken pulumi.BoolPtrInput
	// Disabled OAuth sign-in sources.
	DisabledOauthSignInSources pulumi.StringArrayInput
	// Enforce DNS rebinding attack protection.
	DnsRebindingProtectionEnabled pulumi.BoolPtrInput
	// Force people to use only corporate emails for sign-up. Default is null, meaning there is no restriction.
	DomainAllowlists pulumi.StringArrayInput
	// (If enabled, requires: domain_denylist) Allows blocking sign-ups from emails from specific domains.
	DomainDenylistEnabled pulumi.BoolPtrInput
	// Users with email addresses that match these domains cannot sign up. Wildcards allowed. Use separate lines for multiple entries. Ex: domain.com, *.domain.com.
	DomainDenylists pulumi.StringArrayInput
	// The minimum allowed bit length of an uploaded DSA key. Default is 0 (no restriction). -1 disables DSA keys.
	DsaKeyRestriction pulumi.IntPtrInput
	// The minimum allowed curve size (in bits) of an uploaded ECDSA key. Default is 0 (no restriction). -1 disables ECDSA keys.
	EcdsaKeyRestriction pulumi.IntPtrInput
	// The minimum allowed curve size (in bits) of an uploaded ECDSA*SK key. Default is 0 (no restriction). -1 disables ECDSA*SK keys.
	EcdsaSkKeyRestriction pulumi.IntPtrInput
	// The minimum allowed curve size (in bits) of an uploaded ED25519 key. Default is 0 (no restriction). -1 disables ED25519 keys.
	Ed25519KeyRestriction pulumi.IntPtrInput
	// The minimum allowed curve size (in bits) of an uploaded ED25519*SK key. Default is 0 (no restriction). -1 disables ED25519*SK keys.
	Ed25519SkKeyRestriction pulumi.IntPtrInput
	// AWS IAM access key ID.
	EksAccessKeyId pulumi.StringPtrInput
	// Amazon account ID.
	EksAccountId pulumi.StringPtrInput
	// Enable integration with Amazon EKS.
	EksIntegrationEnabled pulumi.BoolPtrInput
	// AWS IAM secret access key.
	EksSecretAccessKey pulumi.StringPtrInput
	// Enable the use of AWS hosted Elasticsearch.
	ElasticsearchAws pulumi.BoolPtrInput
	// AWS IAM access key.
	ElasticsearchAwsAccessKey pulumi.StringPtrInput
	// The AWS region the Elasticsearch domain is configured.
	ElasticsearchAwsRegion pulumi.StringPtrInput
	// AWS IAM secret access key.
	ElasticsearchAwsSecretAccessKey pulumi.StringPtrInput
	// Maximum size of text fields to index by Elasticsearch. 0 value means no limit. This does not apply to repository and wiki indexing.
	ElasticsearchIndexedFieldLengthLimit pulumi.IntPtrInput
	// Maximum size of repository and wiki files that are indexed by Elasticsearch.
	ElasticsearchIndexedFileSizeLimitKb pulumi.IntPtrInput
	// Enable Elasticsearch indexing.
	ElasticsearchIndexing pulumi.BoolPtrInput
	// Limit Elasticsearch to index certain namespaces and projects.
	ElasticsearchLimitIndexing pulumi.BoolPtrInput
	// Maximum concurrency of Elasticsearch bulk requests per indexing operation. This only applies to repository indexing operations.
	ElasticsearchMaxBulkConcurrency pulumi.IntPtrInput
	// Maximum size of Elasticsearch bulk indexing requests in MB. This only applies to repository indexing operations.
	ElasticsearchMaxBulkSizeMb pulumi.IntPtrInput
	// The namespaces to index via Elasticsearch if elasticsearch*limit*indexing is enabled.
	ElasticsearchNamespaceIds pulumi.StringArrayInput
	// The password of your Elasticsearch instance.
	ElasticsearchPassword pulumi.StringPtrInput
	// The projects to index via Elasticsearch if elasticsearch*limit*indexing is enabled.
	ElasticsearchProjectIds pulumi.StringArrayInput
	// Enable Elasticsearch search.
	ElasticsearchSearch pulumi.BoolPtrInput
	// The URL to use for connecting to Elasticsearch. Use a comma-separated list to support cluster (for example, http://localhost:9200, http://localhost:9201).
	ElasticsearchUrls pulumi.StringArrayInput
	// The username of your Elasticsearch instance.
	ElasticsearchUsername pulumi.StringPtrInput
	// Additional text added to the bottom of every email for legal/auditing/compliance reasons.
	EmailAdditionalText pulumi.StringPtrInput
	// 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.
	EmailAuthorInBody pulumi.BoolPtrInput
	// Enabled protocols for Git access. Allowed values are: ssh, http, and nil to allow both protocols.
	EnabledGitAccessProtocol pulumi.StringPtrInput
	// Enabling this permits enforcement of namespace storage limits.
	EnforceNamespaceStorageLimit pulumi.BoolPtrInput
	// (If enabled, requires: terms) Enforce application ToS to all users.
	EnforceTerms pulumi.BoolPtrInput
	// (If enabled, requires: external*auth*client_key) The certificate to use to authenticate with the external authorization service.
	ExternalAuthClientCert pulumi.StringPtrInput
	// Private key for the certificate when authentication is required for the external authorization service, this is encrypted when stored.
	ExternalAuthClientKey pulumi.StringPtrInput
	// Passphrase to use for the private key when authenticating with the external service this is encrypted when stored.
	ExternalAuthClientKeyPass pulumi.StringPtrInput
	// The default classification label to use when requesting authorization and no classification label has been specified on the project.
	ExternalAuthorizationServiceDefaultLabel pulumi.StringPtrInput
	// (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.
	ExternalAuthorizationServiceEnabled pulumi.BoolPtrInput
	// 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).
	ExternalAuthorizationServiceTimeout pulumi.Float64PtrInput
	// URL to which authorization requests are directed.
	ExternalAuthorizationServiceUrl pulumi.StringPtrInput
	// How long to wait for a response from the pipeline validation service. Assumes OK if it times out.
	ExternalPipelineValidationServiceTimeout pulumi.IntPtrInput
	// Optional. Token to include as the X-Gitlab-Token header in requests to the URL in external*pipeline*validation*service*url.
	ExternalPipelineValidationServiceToken pulumi.StringPtrInput
	// URL to use for pipeline validation requests.
	ExternalPipelineValidationServiceUrl pulumi.StringPtrInput
	// The ID of a project to load custom file templates from.
	FileTemplateProjectId pulumi.IntPtrInput
	// Start day of the week for calendar views and date pickers. Valid values are 0 (default) for Sunday, 1 for Monday, and 6 for Saturday.
	FirstDayOfWeek pulumi.IntPtrInput
	// Comma-separated list of IPs and CIDRs of allowed secondary nodes. For example, 1.1.1.1, 2.2.2.0/24.
	GeoNodeAllowedIps pulumi.StringPtrInput
	// The amount of seconds after which a request to get a secondary node status times out.
	GeoStatusTimeout pulumi.IntPtrInput
	// List of usernames excluded from Git anti-abuse rate limits. Default: [], Maximum: 100 usernames. Introduced in GitLab 15.2.
	GitRateLimitUsersAllowlists pulumi.StringArrayInput
	// Maximum duration (in minutes) of a session for Git operations when 2FA is enabled.
	GitTwoFactorSessionExpiry pulumi.IntPtrInput
	// Default Gitaly timeout, in seconds. This timeout is not enforced for Git fetch/push operations or Sidekiq jobs. Set to 0 to disable timeouts.
	GitalyTimeoutDefault pulumi.IntPtrInput
	// 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.
	GitalyTimeoutFast pulumi.IntPtrInput
	// Medium Gitaly timeout, in seconds. This should be a value between the Fast and the Default timeout. Set to 0 to disable timeouts.
	GitalyTimeoutMedium pulumi.IntPtrInput
	// Enable Grafana.
	GrafanaEnabled pulumi.BoolPtrInput
	// Grafana URL.
	GrafanaUrl pulumi.StringPtrInput
	// Enable Gravatar.
	GravatarEnabled pulumi.BoolPtrInput
	// Prevent overrides of default branch protection.
	GroupOwnersCanManageDefaultBranchProtection pulumi.BoolPtrInput
	// 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).
	HashedStorageEnabled pulumi.BoolPtrInput
	// Hide marketing-related entries from help.
	HelpPageHideCommercialContent pulumi.BoolPtrInput
	// Alternate support URL for help page and help dropdown.
	HelpPageSupportUrl pulumi.StringPtrInput
	// Custom text displayed on the help page.
	HelpPageText pulumi.StringPtrInput
	// GitLab server administrator information.
	HelpText pulumi.StringPtrInput
	// Do not display offers from third parties in GitLab.
	HideThirdPartyOffers pulumi.BoolPtrInput
	// Redirect to this URL when not logged in.
	HomePageUrl pulumi.StringPtrInput
	// (If enabled, requires: housekeeping*bitmaps*enabled, housekeeping*full*repack*period, housekeeping*gc*period, and housekeeping*incremental*repack*period) Enable or disable Git housekeeping.
	HousekeepingEnabled pulumi.BoolPtrInput
	// Number of Git pushes after which an incremental git repack is run.
	HousekeepingFullRepackPeriod pulumi.IntPtrInput
	// Number of Git pushes after which git gc is run.
	HousekeepingGcPeriod pulumi.IntPtrInput
	// Number of Git pushes after which an incremental git repack is run.
	HousekeepingIncrementalRepackPeriod pulumi.IntPtrInput
	// Enable HTML emails.
	HtmlEmailsEnabled pulumi.BoolPtrInput
	// Sources to allow project import from, possible values: github, bitbucket, bitbucket*server, gitlab, fogbugz, git, gitlab*project, gitea, manifest, and phabricator.
	ImportSources pulumi.StringArrayInput
	// Enable in-product marketing emails. Enabled by default.
	InProductMarketingEmailsEnabled pulumi.BoolPtrInput
	// If delete*inactive*projects is true, the time (in months) to wait before deleting inactive projects. Default is 2. Introduced in GitLab 14.10. Became operational in GitLab 15.0.
	InactiveProjectsDeleteAfterMonths pulumi.IntPtrInput
	// If delete*inactive*projects is true, the minimum repository size for projects to be checked for inactivity. Default is 0. Introduced in GitLab 14.10. Became operational in GitLab 15.0.
	InactiveProjectsMinSizeMb pulumi.IntPtrInput
	// 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. Default is 1. Introduced in GitLab 14.10. Became operational in GitLab 15.0.
	InactiveProjectsSendWarningEmailAfterMonths pulumi.IntPtrInput
	// Enable Invisible CAPTCHA spam detection during sign-up. Disabled by default.
	InvisibleCaptchaEnabled pulumi.BoolPtrInput
	// Max number of issue creation requests per minute per user. Disabled by default.
	IssuesCreateLimit pulumi.IntPtrInput
	// Prevent the deletion of the artifacts from the most recent successful jobs, regardless of the expiry time. Enabled by default.
	KeepLatestArtifact pulumi.BoolPtrInput
	// Increase this value when any cached Markdown should be invalidated.
	LocalMarkdownVersion pulumi.IntPtrInput
	// Enable Mailgun event receiver.
	MailgunEventsEnabled pulumi.BoolPtrInput
	// The Mailgun HTTP webhook signing key for receiving events from webhook.
	MailgunSigningKey pulumi.StringPtrInput
	// When instance is in maintenance mode, non-administrative users can sign in with read-only access and make read-only API requests.
	MaintenanceMode pulumi.BoolPtrInput
	// Message displayed when instance is in maintenance mode.
	MaintenanceModeMessage pulumi.StringPtrInput
	// Maximum artifacts size in MB.
	MaxArtifactsSize pulumi.IntPtrInput
	// Limit attachment size in MB.
	MaxAttachmentSize pulumi.IntPtrInput
	// Maximum export size in MB. 0 for unlimited. Default = 0 (unlimited).
	MaxExportSize pulumi.IntPtrInput
	// Maximum import size in MB. 0 for unlimited. Default = 0 (unlimited) Modified from 50MB to 0 in GitLab 13.8.
	MaxImportSize pulumi.IntPtrInput
	// Maximum number of unique repositories a user can download in the specified time period before they are banned. Default: 0, Maximum: 10,000 repositories. Introduced in GitLab 15.1.
	MaxNumberOfRepositoryDownloads pulumi.IntPtrInput
	// Reporting time period (in seconds). Default: 0, Maximum: 864000 seconds (10 days). Introduced in GitLab 15.1.
	MaxNumberOfRepositoryDownloadsWithinTimePeriod pulumi.IntPtrInput
	// Maximum size of pages repositories in MB.
	MaxPagesSize pulumi.IntPtrInput
	// Maximum allowable lifetime for access tokens in days.
	MaxPersonalAccessTokenLifetime pulumi.IntPtrInput
	// Maximum allowable lifetime for SSH keys in days. Introduced in GitLab 14.6.
	MaxSshKeyLifetime pulumi.IntPtrInput
	// A method call is only tracked when it takes longer than the given amount of milliseconds.
	MetricsMethodCallThreshold pulumi.IntPtrInput
	// Allow repository mirroring to configured by project Maintainers. If disabled, only Administrators can configure repository mirroring.
	MirrorAvailable pulumi.BoolPtrInput
	// Minimum capacity to be available before scheduling more mirrors preemptively.
	MirrorCapacityThreshold pulumi.IntPtrInput
	// Maximum number of mirrors that can be synchronizing at the same time.
	MirrorMaxCapacity pulumi.IntPtrInput
	// Maximum time (in minutes) between updates that a mirror can have when scheduled to synchronize.
	MirrorMaxDelay pulumi.IntPtrInput
	// Use npmjs.org as a default remote repository when the package is not found in the GitLab Package Registry for npm.
	NpmPackageRequestsForwarding pulumi.BoolPtrInput
	// Define a list of trusted domains or IP addresses to which local requests are allowed when local requests for hooks and services are disabled.
	OutboundLocalRequestsWhitelists pulumi.StringArrayInput
	// Number of workers assigned to the packages cleanup policies.
	PackageRegistryCleanupPoliciesWorkerCapacity pulumi.IntPtrInput
	// 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.
	PagesDomainVerificationEnabled pulumi.BoolPtrInput
	// Enable authentication for Git over HTTP(S) via a GitLab account password. Default is true.
	PasswordAuthenticationEnabledForGit pulumi.BoolPtrInput
	// Enable authentication for the web interface via a GitLab account password. Default is true.
	PasswordAuthenticationEnabledForWeb pulumi.BoolPtrInput
	// Indicates whether passwords require at least one lowercase letter. Introduced in GitLab 15.1.
	PasswordLowercaseRequired pulumi.BoolPtrInput
	// Indicates whether passwords require at least one number. Introduced in GitLab 15.1.
	PasswordNumberRequired pulumi.BoolPtrInput
	// Indicates whether passwords require at least one symbol character. Introduced in GitLab 15.1.
	PasswordSymbolRequired pulumi.BoolPtrInput
	// Indicates whether passwords require at least one uppercase letter. Introduced in GitLab 15.1.
	PasswordUppercaseRequired pulumi.BoolPtrInput
	// Path of the group that is allowed to toggle the performance bar.
	PerformanceBarAllowedGroupPath pulumi.StringPtrInput
	// Prefix for all generated personal access tokens.
	PersonalAccessTokenPrefix pulumi.StringPtrInput
	// Maximum number of pipeline creation requests per minute per user and commit. Disabled by default.
	PipelineLimitPerProjectUserSha pulumi.IntPtrInput
	// (If enabled, requires: plantuml_url) Enable PlantUML integration. Default is false.
	PlantumlEnabled pulumi.BoolPtrInput
	// The PlantUML instance URL for integration.
	PlantumlUrl pulumi.StringPtrInput
	// Interval multiplier used by endpoints that perform polling. Set to 0 to disable polling.
	PollingIntervalMultiplier pulumi.Float64PtrInput
	// Enable project export.
	ProjectExportEnabled pulumi.BoolPtrInput
	// Enable Prometheus metrics.
	PrometheusMetricsEnabled pulumi.BoolPtrInput
	// CI/CD variables are protected by default.
	ProtectedCiVariables pulumi.BoolPtrInput
	// 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.
	PushEventActivitiesLimit pulumi.IntPtrInput
	// 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.
	PushEventHooksLimit pulumi.IntPtrInput
	// Use pypi.org as a default remote repository when the package is not found in the GitLab Package Registry for PyPI.
	PypiPackageRequestsForwarding pulumi.BoolPtrInput
	// 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.
	RateLimitingResponseText pulumi.StringPtrInput
	// Max number of requests per minute for each raw path. Default: 300. To disable throttling set to 0.
	RawBlobRequestLimit pulumi.IntPtrInput
	// (If enabled, requires: recaptcha*private*key and recaptcha*site*key) Enable reCAPTCHA.
	RecaptchaEnabled pulumi.BoolPtrInput
	// Private key for reCAPTCHA.
	RecaptchaPrivateKey pulumi.StringPtrInput
	// Site key for reCAPTCHA.
	RecaptchaSiteKey pulumi.StringPtrInput
	// Maximum push size (MB).
	ReceiveMaxInputSize pulumi.IntPtrInput
	// GitLab periodically runs git fsck in all project and wiki repositories to look for silent disk corruption issues.
	RepositoryChecksEnabled pulumi.BoolPtrInput
	// Size limit per repository (MB).
	RepositorySizeLimit pulumi.IntPtrInput
	// (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.
	RepositoryStorages pulumi.StringArrayInput
	// (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.
	RepositoryStoragesWeighted pulumi.IntMapInput
	// When enabled, any user that signs up for an account using the registration form is placed under a Pending approval state and has to be explicitly approved by an administrator.
	RequireAdminApprovalAfterUserSignup pulumi.BoolPtrInput
	// (If enabled, requires: two*factor*grace_period) Require all users to set up Two-factor authentication.
	RequireTwoFactorAuthentication pulumi.BoolPtrInput
	// Selected levels cannot be used by non-Administrator users for groups, projects or snippets. Can take private, internal and public as a parameter. Default is null which means there is no restriction.
	RestrictedVisibilityLevels pulumi.StringArrayInput
	// The minimum allowed bit length of an uploaded RSA key. Default is 0 (no restriction). -1 disables RSA keys.
	RsaKeyRestriction pulumi.IntPtrInput
	// Max number of requests per minute for performing a search while authenticated. Default: 30. To disable throttling set to 0.
	SearchRateLimit pulumi.IntPtrInput
	// Max number of requests per minute for performing a search while unauthenticated. Default: 10. To disable throttling set to 0.
	SearchRateLimitUnauthenticated pulumi.IntPtrInput
	// Send confirmation email on sign-up.
	SendUserConfirmationEmail pulumi.BoolPtrInput
	// Session duration in minutes. GitLab restart is required to apply changes.
	SessionExpireDelay pulumi.IntPtrInput
	// (If enabled, requires: shared*runners*text and shared*runners*minutes) Enable shared runners for new projects.
	SharedRunnersEnabled pulumi.BoolPtrInput
	// Set the maximum number of CI/CD minutes that a group can use on shared runners per month.
	SharedRunnersMinutes pulumi.IntPtrInput
	// Shared runners text.
	SharedRunnersText pulumi.StringPtrInput
	// The threshold in bytes at which Sidekiq jobs are compressed before being stored in Redis. Default: 100 000 bytes (100KB).
	SidekiqJobLimiterCompressionThresholdBytes pulumi.IntPtrInput
	// The threshold in bytes at which Sidekiq jobs are rejected. Default: 0 bytes (doesn’t reject any job).
	SidekiqJobLimiterLimitBytes pulumi.IntPtrInput
	// track or compress. Sets the behavior for Sidekiq job size limits. Default: ‘compress’.
	SidekiqJobLimiterMode pulumi.StringPtrInput
	// Text on the login page.
	SignInText pulumi.StringPtrInput
	// Enable registration. Default is true.
	SignupEnabled pulumi.BoolPtrInput
	// (If enabled, requires: slack*app*id, slack*app*secret and slack*app*secret) Enable Slack app.
	SlackAppEnabled pulumi.BoolPtrInput
	// The app ID of the Slack-app.
	SlackAppId pulumi.StringPtrInput
	// The app secret of the Slack-app.
	SlackAppSecret pulumi.StringPtrInput
	// The signing secret of the Slack-app.
	SlackAppSigningSecret pulumi.StringPtrInput
	// The verification token of the Slack-app.
	SlackAppVerificationToken pulumi.StringPtrInput
	// Max snippet content size in bytes. Default: 52428800 Bytes (50MB).
	SnippetSizeLimit pulumi.IntPtrInput
	// The Snowplow site name / application ID. (for example, gitlab)
	SnowplowAppId pulumi.StringPtrInput
	// The Snowplow collector hostname. (for example, snowplow.trx.gitlab.net)
	SnowplowCollectorHostname pulumi.StringPtrInput
	// The Snowplow cookie domain. (for example, .gitlab.com)
	SnowplowCookieDomain pulumi.StringPtrInput
	// Enable snowplow tracking.
	SnowplowEnabled pulumi.BoolPtrInput
	// Enables Sourcegraph integration. Default is false. If enabled, requires sourcegraph_url.
	SourcegraphEnabled pulumi.BoolPtrInput
	// Blocks Sourcegraph from being loaded on private and internal projects. Default is true.
	SourcegraphPublicOnly pulumi.BoolPtrInput
	// The Sourcegraph instance URL for integration.
	SourcegraphUrl pulumi.StringPtrInput
	// API key used by GitLab for accessing the Spam Check service endpoint.
	SpamCheckApiKey pulumi.StringPtrInput
	// Enables spam checking using external Spam Check API endpoint. Default is false.
	SpamCheckEndpointEnabled pulumi.BoolPtrInput
	// URL of the external Spamcheck service endpoint. Valid URI schemes are grpc or tls. Specifying tls forces communication to be encrypted.
	SpamCheckEndpointUrl pulumi.StringPtrInput
	// Enable pipeline suggestion banner.
	SuggestPipelineEnabled pulumi.BoolPtrInput
	// Maximum time for web terminal websocket connection (in seconds). Set to 0 for unlimited time.
	TerminalMaxSessionTime pulumi.IntPtrInput
	// (Required by: enforce_terms) Markdown content for the ToS.
	Terms pulumi.StringPtrInput
	// (If enabled, requires: throttle*authenticated*api*period*in*seconds and throttle*authenticated*api*requests*per*period) Enable authenticated API request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots).
	ThrottleAuthenticatedApiEnabled pulumi.BoolPtrInput
	// Rate limit period (in seconds).
	ThrottleAuthenticatedApiPeriodInSeconds pulumi.IntPtrInput
	// Maximum requests per period per user.
	ThrottleAuthenticatedApiRequestsPerPeriod pulumi.IntPtrInput
	// (If enabled, requires: throttle*authenticated*packages*api*period*in*seconds and throttle*authenticated*packages*api*requests*per*period) Enable authenticated API request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots). View Package Registry rate limits for more details.
	ThrottleAuthenticatedPackagesApiEnabled pulumi.BoolPtrInput
	// Rate limit period (in seconds). View Package Registry rate limits for more details.
	ThrottleAuthenticatedPackagesApiPeriodInSeconds pulumi.IntPtrInput
	// Maximum requests per period per user. View Package Registry rate limits for more details.
	ThrottleAuthenticatedPackagesApiRequestsPerPeriod pulumi.IntPtrInput
	// (If enabled, requires: throttle*authenticated*web*period*in*seconds and throttle*authenticated*web*requests*per*period) Enable authenticated web request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots).
	ThrottleAuthenticatedWebEnabled pulumi.BoolPtrInput
	// Rate limit period (in seconds).
	ThrottleAuthenticatedWebPeriodInSeconds pulumi.IntPtrInput
	// Maximum requests per period per user.
	ThrottleAuthenticatedWebRequestsPerPeriod pulumi.IntPtrInput
	// (If enabled, requires: throttle*unauthenticated*api*period*in*seconds and throttle*unauthenticated*api*requests*per*period) Enable unauthenticated API request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots).
	ThrottleUnauthenticatedApiEnabled pulumi.BoolPtrInput
	// Rate limit period in seconds.
	ThrottleUnauthenticatedApiPeriodInSeconds pulumi.IntPtrInput
	// Max requests per period per IP.
	ThrottleUnauthenticatedApiRequestsPerPeriod pulumi.IntPtrInput
	// (If enabled, requires: throttle*unauthenticated*packages*api*period*in*seconds and throttle*unauthenticated*packages*api*requests*per*period) Enable authenticated API request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots). View Package Registry rate limits for more details.
	ThrottleUnauthenticatedPackagesApiEnabled pulumi.BoolPtrInput
	// Rate limit period (in seconds). View Package Registry rate limits for more details.
	ThrottleUnauthenticatedPackagesApiPeriodInSeconds pulumi.IntPtrInput
	// Maximum requests per period per user. View Package Registry rate limits for more details.
	ThrottleUnauthenticatedPackagesApiRequestsPerPeriod pulumi.IntPtrInput
	// (If enabled, requires: throttle*unauthenticated*web*period*in*seconds and throttle*unauthenticated*web*requests*per*period) Enable unauthenticated web request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots).
	ThrottleUnauthenticatedWebEnabled pulumi.BoolPtrInput
	// Rate limit period in seconds.
	ThrottleUnauthenticatedWebPeriodInSeconds pulumi.IntPtrInput
	// Max requests per period per IP.
	ThrottleUnauthenticatedWebRequestsPerPeriod pulumi.IntPtrInput
	// Limit display of time tracking units to hours. Default is false.
	TimeTrackingLimitToHours pulumi.BoolPtrInput
	// Amount of time (in hours) that users are allowed to skip forced configuration of two-factor authentication.
	TwoFactorGracePeriod pulumi.IntPtrInput
	// (If enabled, requires: unique*ips*limit*per*user and unique*ips*limit*time*window) Limit sign in from multiple IPs.
	UniqueIpsLimitEnabled pulumi.BoolPtrInput
	// Maximum number of IPs per user.
	UniqueIpsLimitPerUser pulumi.IntPtrInput
	// How many seconds an IP is counted towards the limit.
	UniqueIpsLimitTimeWindow pulumi.IntPtrInput
	// Every week GitLab reports license usage back to GitLab, Inc.
	UsagePingEnabled pulumi.BoolPtrInput
	// Send an email to users upon account deactivation.
	UserDeactivationEmailsEnabled pulumi.BoolPtrInput
	// Newly registered users are external by default.
	UserDefaultExternal pulumi.BoolPtrInput
	// Specify an email address regex pattern to identify default internal users.
	UserDefaultInternalRegex pulumi.StringPtrInput
	// Allow users to register any application to use GitLab as an OAuth provider.
	UserOauthApplications pulumi.BoolPtrInput
	// When set to false disable the You won't be able to pull or push project code via SSH warning shown to users with no uploaded SSH key.
	UserShowAddSshKeyMessage pulumi.BoolPtrInput
	// Let GitLab inform you when an update is available.
	VersionCheckEnabled pulumi.BoolPtrInput
	// Live Preview (allow live previews of JavaScript projects in the Web IDE using CodeSandbox Live Preview).
	WebIdeClientsidePreviewEnabled pulumi.BoolPtrInput
	// What’s new variant, possible values: all*tiers, current*tier, and disabled.
	WhatsNewVariant pulumi.StringPtrInput
	// Maximum wiki page content size in bytes. Default: 52428800 Bytes (50 MB). The minimum value is 1024 bytes.
	WikiPageMaxContentBytes pulumi.IntPtrInput
}

The set of arguments for constructing a ApplicationSettings resource.

func (ApplicationSettingsArgs) ElementType added in v4.9.0

func (ApplicationSettingsArgs) ElementType() reflect.Type

type ApplicationSettingsArray added in v4.9.0

type ApplicationSettingsArray []ApplicationSettingsInput

func (ApplicationSettingsArray) ElementType added in v4.9.0

func (ApplicationSettingsArray) ElementType() reflect.Type

func (ApplicationSettingsArray) ToApplicationSettingsArrayOutput added in v4.9.0

func (i ApplicationSettingsArray) ToApplicationSettingsArrayOutput() ApplicationSettingsArrayOutput

func (ApplicationSettingsArray) ToApplicationSettingsArrayOutputWithContext added in v4.9.0

func (i ApplicationSettingsArray) ToApplicationSettingsArrayOutputWithContext(ctx context.Context) ApplicationSettingsArrayOutput

type ApplicationSettingsArrayInput added in v4.9.0

type ApplicationSettingsArrayInput interface {
	pulumi.Input

	ToApplicationSettingsArrayOutput() ApplicationSettingsArrayOutput
	ToApplicationSettingsArrayOutputWithContext(context.Context) ApplicationSettingsArrayOutput
}

ApplicationSettingsArrayInput is an input type that accepts ApplicationSettingsArray and ApplicationSettingsArrayOutput values. You can construct a concrete instance of `ApplicationSettingsArrayInput` via:

ApplicationSettingsArray{ ApplicationSettingsArgs{...} }

type ApplicationSettingsArrayOutput added in v4.9.0

type ApplicationSettingsArrayOutput struct{ *pulumi.OutputState }

func (ApplicationSettingsArrayOutput) ElementType added in v4.9.0

func (ApplicationSettingsArrayOutput) Index added in v4.9.0

func (ApplicationSettingsArrayOutput) ToApplicationSettingsArrayOutput added in v4.9.0

func (o ApplicationSettingsArrayOutput) ToApplicationSettingsArrayOutput() ApplicationSettingsArrayOutput

func (ApplicationSettingsArrayOutput) ToApplicationSettingsArrayOutputWithContext added in v4.9.0

func (o ApplicationSettingsArrayOutput) ToApplicationSettingsArrayOutputWithContext(ctx context.Context) ApplicationSettingsArrayOutput

type ApplicationSettingsInput added in v4.9.0

type ApplicationSettingsInput interface {
	pulumi.Input

	ToApplicationSettingsOutput() ApplicationSettingsOutput
	ToApplicationSettingsOutputWithContext(ctx context.Context) ApplicationSettingsOutput
}

type ApplicationSettingsMap added in v4.9.0

type ApplicationSettingsMap map[string]ApplicationSettingsInput

func (ApplicationSettingsMap) ElementType added in v4.9.0

func (ApplicationSettingsMap) ElementType() reflect.Type

func (ApplicationSettingsMap) ToApplicationSettingsMapOutput added in v4.9.0

func (i ApplicationSettingsMap) ToApplicationSettingsMapOutput() ApplicationSettingsMapOutput

func (ApplicationSettingsMap) ToApplicationSettingsMapOutputWithContext added in v4.9.0

func (i ApplicationSettingsMap) ToApplicationSettingsMapOutputWithContext(ctx context.Context) ApplicationSettingsMapOutput

type ApplicationSettingsMapInput added in v4.9.0

type ApplicationSettingsMapInput interface {
	pulumi.Input

	ToApplicationSettingsMapOutput() ApplicationSettingsMapOutput
	ToApplicationSettingsMapOutputWithContext(context.Context) ApplicationSettingsMapOutput
}

ApplicationSettingsMapInput is an input type that accepts ApplicationSettingsMap and ApplicationSettingsMapOutput values. You can construct a concrete instance of `ApplicationSettingsMapInput` via:

ApplicationSettingsMap{ "key": ApplicationSettingsArgs{...} }

type ApplicationSettingsMapOutput added in v4.9.0

type ApplicationSettingsMapOutput struct{ *pulumi.OutputState }

func (ApplicationSettingsMapOutput) ElementType added in v4.9.0

func (ApplicationSettingsMapOutput) MapIndex added in v4.9.0

func (ApplicationSettingsMapOutput) ToApplicationSettingsMapOutput added in v4.9.0

func (o ApplicationSettingsMapOutput) ToApplicationSettingsMapOutput() ApplicationSettingsMapOutput

func (ApplicationSettingsMapOutput) ToApplicationSettingsMapOutputWithContext added in v4.9.0

func (o ApplicationSettingsMapOutput) ToApplicationSettingsMapOutputWithContext(ctx context.Context) ApplicationSettingsMapOutput

type ApplicationSettingsOutput added in v4.9.0

type ApplicationSettingsOutput struct{ *pulumi.OutputState }

func (ApplicationSettingsOutput) AbuseNotificationEmail added in v4.9.0

func (o ApplicationSettingsOutput) AbuseNotificationEmail() pulumi.StringOutput

If set, abuse reports are sent to this address. Abuse reports are always available in the Admin Area.

func (ApplicationSettingsOutput) AdminMode added in v4.9.0

Require administrators to enable Admin Mode by re-authenticating for administrative tasks.

func (ApplicationSettingsOutput) AfterSignOutPath added in v4.9.0

func (o ApplicationSettingsOutput) AfterSignOutPath() pulumi.StringOutput

Where to redirect users after logout.

func (ApplicationSettingsOutput) AfterSignUpText added in v4.9.0

func (o ApplicationSettingsOutput) AfterSignUpText() pulumi.StringOutput

Text shown to the user after signing up.

func (ApplicationSettingsOutput) AkismetApiKey added in v4.9.0

func (o ApplicationSettingsOutput) AkismetApiKey() pulumi.StringOutput

API key for Akismet spam protection.

func (ApplicationSettingsOutput) AkismetEnabled added in v4.9.0

func (o ApplicationSettingsOutput) AkismetEnabled() pulumi.BoolOutput

(If enabled, requires: akismet*api*key) Enable or disable Akismet spam protection.

func (ApplicationSettingsOutput) AllowGroupOwnersToManageLdap added in v4.9.0

func (o ApplicationSettingsOutput) AllowGroupOwnersToManageLdap() pulumi.BoolOutput

Set to true to allow group owners to manage LDAP.

func (ApplicationSettingsOutput) AllowLocalRequestsFromSystemHooks added in v4.9.0

func (o ApplicationSettingsOutput) AllowLocalRequestsFromSystemHooks() pulumi.BoolOutput

Allow requests to the local network from system hooks.

func (ApplicationSettingsOutput) AllowLocalRequestsFromWebHooksAndServices added in v4.9.0

func (o ApplicationSettingsOutput) AllowLocalRequestsFromWebHooksAndServices() pulumi.BoolOutput

Allow requests to the local network from web hooks and services.

func (ApplicationSettingsOutput) ArchiveBuildsInHumanReadable added in v4.9.0

func (o ApplicationSettingsOutput) ArchiveBuildsInHumanReadable() pulumi.StringOutput

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.

func (ApplicationSettingsOutput) AssetProxyAllowlists added in v4.9.0

func (o ApplicationSettingsOutput) AssetProxyAllowlists() pulumi.StringArrayOutput

Assets that match these domains are not proxied. Wildcards allowed. Your GitLab installation URL is automatically allowlisted. GitLab restart is required to apply changes.

func (ApplicationSettingsOutput) AssetProxyEnabled added in v4.9.0

func (o ApplicationSettingsOutput) AssetProxyEnabled() pulumi.BoolOutput

(If enabled, requires: asset*proxy*url) Enable proxying of assets. GitLab restart is required to apply changes.

func (ApplicationSettingsOutput) AssetProxySecretKey added in v4.9.0

func (o ApplicationSettingsOutput) AssetProxySecretKey() pulumi.StringOutput

Shared secret with the asset proxy server. GitLab restart is required to apply changes.

func (ApplicationSettingsOutput) AssetProxyUrl added in v4.9.0

func (o ApplicationSettingsOutput) AssetProxyUrl() pulumi.StringOutput

URL of the asset proxy server. GitLab restart is required to apply changes.

func (ApplicationSettingsOutput) AuthorizedKeysEnabled added in v4.9.0

func (o ApplicationSettingsOutput) AuthorizedKeysEnabled() pulumi.BoolOutput

By default, we write to the authorizedKeys 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.

func (ApplicationSettingsOutput) AutoDevopsDomain added in v4.9.0

func (o ApplicationSettingsOutput) AutoDevopsDomain() pulumi.StringOutput

Specify a domain to use by default for every project’s Auto Review Apps and Auto Deploy stages.

func (ApplicationSettingsOutput) AutoDevopsEnabled added in v4.9.0

func (o ApplicationSettingsOutput) AutoDevopsEnabled() pulumi.BoolOutput

Enable Auto DevOps for projects by default. It automatically builds, tests, and deploys applications based on a predefined CI/CD configuration.

func (ApplicationSettingsOutput) AutomaticPurchasedStorageAllocation added in v4.9.0

func (o ApplicationSettingsOutput) AutomaticPurchasedStorageAllocation() pulumi.BoolOutput

Enabling this permits automatic allocation of purchased storage in a namespace.

func (ApplicationSettingsOutput) CheckNamespacePlan added in v4.9.0

func (o ApplicationSettingsOutput) CheckNamespacePlan() pulumi.BoolOutput

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.

func (ApplicationSettingsOutput) CommitEmailHostname added in v4.9.0

func (o ApplicationSettingsOutput) CommitEmailHostname() pulumi.StringOutput

Custom hostname (for private commit emails).

func (ApplicationSettingsOutput) ContainerExpirationPoliciesEnableHistoricEntries added in v4.9.0

func (o ApplicationSettingsOutput) ContainerExpirationPoliciesEnableHistoricEntries() pulumi.BoolOutput

Enable cleanup policies for all projects.

func (ApplicationSettingsOutput) ContainerRegistryCleanupTagsServiceMaxListSize added in v4.9.0

func (o ApplicationSettingsOutput) ContainerRegistryCleanupTagsServiceMaxListSize() pulumi.IntOutput

The maximum number of tags that can be deleted in a single execution of cleanup policies.

func (ApplicationSettingsOutput) ContainerRegistryDeleteTagsServiceTimeout added in v4.9.0

func (o ApplicationSettingsOutput) ContainerRegistryDeleteTagsServiceTimeout() pulumi.IntOutput

The maximum time, in seconds, that the cleanup process can take to delete a batch of tags for cleanup policies.

func (ApplicationSettingsOutput) ContainerRegistryExpirationPoliciesCaching added in v4.9.0

func (o ApplicationSettingsOutput) ContainerRegistryExpirationPoliciesCaching() pulumi.BoolOutput

Caching during the execution of cleanup policies.

func (ApplicationSettingsOutput) ContainerRegistryExpirationPoliciesWorkerCapacity added in v4.9.0

func (o ApplicationSettingsOutput) ContainerRegistryExpirationPoliciesWorkerCapacity() pulumi.IntOutput

Number of workers for cleanup policies.

func (ApplicationSettingsOutput) ContainerRegistryTokenExpireDelay added in v4.9.0

func (o ApplicationSettingsOutput) ContainerRegistryTokenExpireDelay() pulumi.IntOutput

Container Registry token duration in minutes.

func (ApplicationSettingsOutput) DeactivateDormantUsers added in v4.9.0

func (o ApplicationSettingsOutput) DeactivateDormantUsers() pulumi.BoolOutput

Enable automatic deactivation of dormant users.

func (ApplicationSettingsOutput) DefaultArtifactsExpireIn added in v4.9.0

func (o ApplicationSettingsOutput) DefaultArtifactsExpireIn() pulumi.StringOutput

Set the default expiration time for each job’s artifacts.

func (ApplicationSettingsOutput) DefaultBranchName added in v4.9.0

func (o ApplicationSettingsOutput) DefaultBranchName() pulumi.StringOutput

Instance-level custom initial branch name (introduced in GitLab 13.2).

func (ApplicationSettingsOutput) DefaultBranchProtection added in v4.9.0

func (o ApplicationSettingsOutput) DefaultBranchProtection() pulumi.IntOutput

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.

func (ApplicationSettingsOutput) DefaultCiConfigPath added in v4.9.0

func (o ApplicationSettingsOutput) DefaultCiConfigPath() pulumi.StringOutput

Default CI/CD configuration file and path for new projects (.gitlab-ci.yml if not set).

func (ApplicationSettingsOutput) DefaultGroupVisibility added in v4.9.0

func (o ApplicationSettingsOutput) DefaultGroupVisibility() pulumi.StringOutput

What visibility level new groups receive. Can take private, internal and public as a parameter. Default is private.

func (ApplicationSettingsOutput) DefaultProjectCreation added in v4.9.0

func (o ApplicationSettingsOutput) DefaultProjectCreation() pulumi.IntOutput

Default project creation protection. Can take: 0 (No one), 1 (Maintainers) or 2 (Developers + Maintainers).

func (ApplicationSettingsOutput) DefaultProjectVisibility added in v4.9.0

func (o ApplicationSettingsOutput) DefaultProjectVisibility() pulumi.StringOutput

What visibility level new projects receive. Can take private, internal and public as a parameter. Default is private.

func (ApplicationSettingsOutput) DefaultProjectsLimit added in v4.9.0

func (o ApplicationSettingsOutput) DefaultProjectsLimit() pulumi.IntOutput

Project limit per user. Default is 100000.

func (ApplicationSettingsOutput) DefaultSnippetVisibility added in v4.9.0

func (o ApplicationSettingsOutput) DefaultSnippetVisibility() pulumi.StringOutput

What visibility level new snippets receive. Can take private, internal and public as a parameter. Default is private.

func (ApplicationSettingsOutput) DelayedGroupDeletion added in v4.9.0

func (o ApplicationSettingsOutput) DelayedGroupDeletion() pulumi.BoolOutput

Enable delayed group deletion. Default is true. Introduced in GitLab 15.0. From GitLab 15.1, disables and locks the group-level setting for delayed protect deletion when set to false.

func (ApplicationSettingsOutput) DelayedProjectDeletion added in v4.9.0

func (o ApplicationSettingsOutput) DelayedProjectDeletion() pulumi.BoolOutput

Enable delayed project deletion by default in new groups. Default is false. From GitLab 15.1, can only be enabled when delayed*group*deletion is true.

func (ApplicationSettingsOutput) DeleteInactiveProjects added in v4.9.0

func (o ApplicationSettingsOutput) DeleteInactiveProjects() pulumi.BoolOutput

Enable inactive project deletion feature. Default is false. Introduced in GitLab 14.10. Became operational in GitLab 15.0 (with feature flag inactive*projects*deletion, disabled by default).

func (ApplicationSettingsOutput) DeletionAdjournedPeriod added in v4.9.0

func (o ApplicationSettingsOutput) DeletionAdjournedPeriod() pulumi.IntOutput

The number of days to wait before deleting a project or group that is marked for deletion. Value must be between 1 and 90. Defaults to 7. From GitLab 15.1, a hook on deletion*adjourned*period sets the period to 1 on every update, and sets both delayed*project*deletion and delayed*group*deletion to false if the period is 0.

func (ApplicationSettingsOutput) DiffMaxFiles added in v4.9.0

func (o ApplicationSettingsOutput) DiffMaxFiles() pulumi.IntOutput

Maximum files in a diff.

func (ApplicationSettingsOutput) DiffMaxLines added in v4.9.0

func (o ApplicationSettingsOutput) DiffMaxLines() pulumi.IntOutput

Maximum lines in a diff.

func (ApplicationSettingsOutput) DiffMaxPatchBytes added in v4.9.0

func (o ApplicationSettingsOutput) DiffMaxPatchBytes() pulumi.IntOutput

Maximum diff patch size, in bytes.

func (ApplicationSettingsOutput) DisableFeedToken added in v4.9.0

func (o ApplicationSettingsOutput) DisableFeedToken() pulumi.BoolOutput

Disable display of RSS/Atom and calendar feed tokens (introduced in GitLab 13.7).

func (ApplicationSettingsOutput) DisabledOauthSignInSources added in v4.9.0

func (o ApplicationSettingsOutput) DisabledOauthSignInSources() pulumi.StringArrayOutput

Disabled OAuth sign-in sources.

func (ApplicationSettingsOutput) DnsRebindingProtectionEnabled added in v4.9.0

func (o ApplicationSettingsOutput) DnsRebindingProtectionEnabled() pulumi.BoolOutput

Enforce DNS rebinding attack protection.

func (ApplicationSettingsOutput) DomainAllowlists added in v4.9.0

func (o ApplicationSettingsOutput) DomainAllowlists() pulumi.StringArrayOutput

Force people to use only corporate emails for sign-up. Default is null, meaning there is no restriction.

func (ApplicationSettingsOutput) DomainDenylistEnabled added in v4.9.0

func (o ApplicationSettingsOutput) DomainDenylistEnabled() pulumi.BoolOutput

(If enabled, requires: domain_denylist) Allows blocking sign-ups from emails from specific domains.

func (ApplicationSettingsOutput) DomainDenylists added in v4.9.0

Users with email addresses that match these domains cannot sign up. Wildcards allowed. Use separate lines for multiple entries. Ex: domain.com, *.domain.com.

func (ApplicationSettingsOutput) DsaKeyRestriction added in v4.9.0

func (o ApplicationSettingsOutput) DsaKeyRestriction() pulumi.IntOutput

The minimum allowed bit length of an uploaded DSA key. Default is 0 (no restriction). -1 disables DSA keys.

func (ApplicationSettingsOutput) EcdsaKeyRestriction added in v4.9.0

func (o ApplicationSettingsOutput) EcdsaKeyRestriction() pulumi.IntOutput

The minimum allowed curve size (in bits) of an uploaded ECDSA key. Default is 0 (no restriction). -1 disables ECDSA keys.

func (ApplicationSettingsOutput) EcdsaSkKeyRestriction added in v4.9.0

func (o ApplicationSettingsOutput) EcdsaSkKeyRestriction() pulumi.IntOutput

The minimum allowed curve size (in bits) of an uploaded ECDSA*SK key. Default is 0 (no restriction). -1 disables ECDSA*SK keys.

func (ApplicationSettingsOutput) Ed25519KeyRestriction added in v4.9.0

func (o ApplicationSettingsOutput) Ed25519KeyRestriction() pulumi.IntOutput

The minimum allowed curve size (in bits) of an uploaded ED25519 key. Default is 0 (no restriction). -1 disables ED25519 keys.

func (ApplicationSettingsOutput) Ed25519SkKeyRestriction added in v4.9.0

func (o ApplicationSettingsOutput) Ed25519SkKeyRestriction() pulumi.IntOutput

The minimum allowed curve size (in bits) of an uploaded ED25519*SK key. Default is 0 (no restriction). -1 disables ED25519*SK keys.

func (ApplicationSettingsOutput) EksAccessKeyId added in v4.9.0

func (o ApplicationSettingsOutput) EksAccessKeyId() pulumi.StringOutput

AWS IAM access key ID.

func (ApplicationSettingsOutput) EksAccountId added in v4.9.0

Amazon account ID.

func (ApplicationSettingsOutput) EksIntegrationEnabled added in v4.9.0

func (o ApplicationSettingsOutput) EksIntegrationEnabled() pulumi.BoolOutput

Enable integration with Amazon EKS.

func (ApplicationSettingsOutput) EksSecretAccessKey added in v4.9.0

func (o ApplicationSettingsOutput) EksSecretAccessKey() pulumi.StringOutput

AWS IAM secret access key.

func (ApplicationSettingsOutput) ElasticsearchAws added in v4.9.0

func (o ApplicationSettingsOutput) ElasticsearchAws() pulumi.BoolOutput

Enable the use of AWS hosted Elasticsearch.

func (ApplicationSettingsOutput) ElasticsearchAwsAccessKey added in v4.9.0

func (o ApplicationSettingsOutput) ElasticsearchAwsAccessKey() pulumi.StringOutput

AWS IAM access key.

func (ApplicationSettingsOutput) ElasticsearchAwsRegion added in v4.9.0

func (o ApplicationSettingsOutput) ElasticsearchAwsRegion() pulumi.StringOutput

The AWS region the Elasticsearch domain is configured.

func (ApplicationSettingsOutput) ElasticsearchAwsSecretAccessKey added in v4.9.0

func (o ApplicationSettingsOutput) ElasticsearchAwsSecretAccessKey() pulumi.StringOutput

AWS IAM secret access key.

func (ApplicationSettingsOutput) ElasticsearchIndexedFieldLengthLimit added in v4.9.0

func (o ApplicationSettingsOutput) ElasticsearchIndexedFieldLengthLimit() pulumi.IntOutput

Maximum size of text fields to index by Elasticsearch. 0 value means no limit. This does not apply to repository and wiki indexing.

func (ApplicationSettingsOutput) ElasticsearchIndexedFileSizeLimitKb added in v4.9.0

func (o ApplicationSettingsOutput) ElasticsearchIndexedFileSizeLimitKb() pulumi.IntOutput

Maximum size of repository and wiki files that are indexed by Elasticsearch.

func (ApplicationSettingsOutput) ElasticsearchIndexing added in v4.9.0

func (o ApplicationSettingsOutput) ElasticsearchIndexing() pulumi.BoolOutput

Enable Elasticsearch indexing.

func (ApplicationSettingsOutput) ElasticsearchLimitIndexing added in v4.9.0

func (o ApplicationSettingsOutput) ElasticsearchLimitIndexing() pulumi.BoolOutput

Limit Elasticsearch to index certain namespaces and projects.

func (ApplicationSettingsOutput) ElasticsearchMaxBulkConcurrency added in v4.9.0

func (o ApplicationSettingsOutput) ElasticsearchMaxBulkConcurrency() pulumi.IntOutput

Maximum concurrency of Elasticsearch bulk requests per indexing operation. This only applies to repository indexing operations.

func (ApplicationSettingsOutput) ElasticsearchMaxBulkSizeMb added in v4.9.0

func (o ApplicationSettingsOutput) ElasticsearchMaxBulkSizeMb() pulumi.IntOutput

Maximum size of Elasticsearch bulk indexing requests in MB. This only applies to repository indexing operations.

func (ApplicationSettingsOutput) ElasticsearchNamespaceIds added in v4.9.0

func (o ApplicationSettingsOutput) ElasticsearchNamespaceIds() pulumi.StringArrayOutput

The namespaces to index via Elasticsearch if elasticsearch*limit*indexing is enabled.

func (ApplicationSettingsOutput) ElasticsearchPassword added in v4.9.0

func (o ApplicationSettingsOutput) ElasticsearchPassword() pulumi.StringOutput

The password of your Elasticsearch instance.

func (ApplicationSettingsOutput) ElasticsearchProjectIds added in v4.9.0

func (o ApplicationSettingsOutput) ElasticsearchProjectIds() pulumi.StringArrayOutput

The projects to index via Elasticsearch if elasticsearch*limit*indexing is enabled.

func (ApplicationSettingsOutput) ElasticsearchSearch added in v4.9.0

func (o ApplicationSettingsOutput) ElasticsearchSearch() pulumi.BoolOutput

Enable Elasticsearch search.

func (ApplicationSettingsOutput) ElasticsearchUrls added in v4.9.0

func (o ApplicationSettingsOutput) ElasticsearchUrls() pulumi.StringArrayOutput

The URL to use for connecting to Elasticsearch. Use a comma-separated list to support cluster (for example, http://localhost:9200, http://localhost:9201).

func (ApplicationSettingsOutput) ElasticsearchUsername added in v4.9.0

func (o ApplicationSettingsOutput) ElasticsearchUsername() pulumi.StringOutput

The username of your Elasticsearch instance.

func (ApplicationSettingsOutput) ElementType added in v4.9.0

func (ApplicationSettingsOutput) ElementType() reflect.Type

func (ApplicationSettingsOutput) EmailAdditionalText added in v4.9.0

func (o ApplicationSettingsOutput) EmailAdditionalText() pulumi.StringOutput

Additional text added to the bottom of every email for legal/auditing/compliance reasons.

func (ApplicationSettingsOutput) EmailAuthorInBody added in v4.9.0

func (o ApplicationSettingsOutput) EmailAuthorInBody() pulumi.BoolOutput

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.

func (ApplicationSettingsOutput) EnabledGitAccessProtocol added in v4.9.0

func (o ApplicationSettingsOutput) EnabledGitAccessProtocol() pulumi.StringOutput

Enabled protocols for Git access. Allowed values are: ssh, http, and nil to allow both protocols.

func (ApplicationSettingsOutput) EnforceNamespaceStorageLimit added in v4.9.0

func (o ApplicationSettingsOutput) EnforceNamespaceStorageLimit() pulumi.BoolOutput

Enabling this permits enforcement of namespace storage limits.

func (ApplicationSettingsOutput) EnforceTerms added in v4.9.0

func (o ApplicationSettingsOutput) EnforceTerms() pulumi.BoolOutput

(If enabled, requires: terms) Enforce application ToS to all users.

func (ApplicationSettingsOutput) ExternalAuthClientCert added in v4.9.0

func (o ApplicationSettingsOutput) ExternalAuthClientCert() pulumi.StringOutput

(If enabled, requires: external*auth*client_key) The certificate to use to authenticate with the external authorization service.

func (ApplicationSettingsOutput) ExternalAuthClientKey added in v4.9.0

func (o ApplicationSettingsOutput) ExternalAuthClientKey() pulumi.StringOutput

Private key for the certificate when authentication is required for the external authorization service, this is encrypted when stored.

func (ApplicationSettingsOutput) ExternalAuthClientKeyPass added in v4.9.0

func (o ApplicationSettingsOutput) ExternalAuthClientKeyPass() pulumi.StringOutput

Passphrase to use for the private key when authenticating with the external service this is encrypted when stored.

func (ApplicationSettingsOutput) ExternalAuthorizationServiceDefaultLabel added in v4.9.0

func (o ApplicationSettingsOutput) ExternalAuthorizationServiceDefaultLabel() pulumi.StringOutput

The default classification label to use when requesting authorization and no classification label has been specified on the project.

func (ApplicationSettingsOutput) ExternalAuthorizationServiceEnabled added in v4.9.0

func (o ApplicationSettingsOutput) ExternalAuthorizationServiceEnabled() pulumi.BoolOutput

(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.

func (ApplicationSettingsOutput) ExternalAuthorizationServiceTimeout added in v4.9.0

func (o ApplicationSettingsOutput) ExternalAuthorizationServiceTimeout() pulumi.Float64Output

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).

func (ApplicationSettingsOutput) ExternalAuthorizationServiceUrl added in v4.9.0

func (o ApplicationSettingsOutput) ExternalAuthorizationServiceUrl() pulumi.StringOutput

URL to which authorization requests are directed.

func (ApplicationSettingsOutput) ExternalPipelineValidationServiceTimeout added in v4.9.0

func (o ApplicationSettingsOutput) ExternalPipelineValidationServiceTimeout() pulumi.IntOutput

How long to wait for a response from the pipeline validation service. Assumes OK if it times out.

func (ApplicationSettingsOutput) ExternalPipelineValidationServiceToken added in v4.9.0

func (o ApplicationSettingsOutput) ExternalPipelineValidationServiceToken() pulumi.StringOutput

Optional. Token to include as the X-Gitlab-Token header in requests to the URL in external*pipeline*validation*service*url.

func (ApplicationSettingsOutput) ExternalPipelineValidationServiceUrl added in v4.9.0

func (o ApplicationSettingsOutput) ExternalPipelineValidationServiceUrl() pulumi.StringOutput

URL to use for pipeline validation requests.

func (ApplicationSettingsOutput) FileTemplateProjectId added in v4.9.0

func (o ApplicationSettingsOutput) FileTemplateProjectId() pulumi.IntOutput

The ID of a project to load custom file templates from.

func (ApplicationSettingsOutput) FirstDayOfWeek added in v4.9.0

func (o ApplicationSettingsOutput) FirstDayOfWeek() pulumi.IntOutput

Start day of the week for calendar views and date pickers. Valid values are 0 (default) for Sunday, 1 for Monday, and 6 for Saturday.

func (ApplicationSettingsOutput) GeoNodeAllowedIps added in v4.9.0

func (o ApplicationSettingsOutput) GeoNodeAllowedIps() pulumi.StringOutput

Comma-separated list of IPs and CIDRs of allowed secondary nodes. For example, 1.1.1.1, 2.2.2.0/24.

func (ApplicationSettingsOutput) GeoStatusTimeout added in v4.9.0

func (o ApplicationSettingsOutput) GeoStatusTimeout() pulumi.IntOutput

The amount of seconds after which a request to get a secondary node status times out.

func (ApplicationSettingsOutput) GitRateLimitUsersAllowlists added in v4.9.0

func (o ApplicationSettingsOutput) GitRateLimitUsersAllowlists() pulumi.StringArrayOutput

List of usernames excluded from Git anti-abuse rate limits. Default: [], Maximum: 100 usernames. Introduced in GitLab 15.2.

func (ApplicationSettingsOutput) GitTwoFactorSessionExpiry added in v4.9.0

func (o ApplicationSettingsOutput) GitTwoFactorSessionExpiry() pulumi.IntOutput

Maximum duration (in minutes) of a session for Git operations when 2FA is enabled.

func (ApplicationSettingsOutput) GitalyTimeoutDefault added in v4.9.0

func (o ApplicationSettingsOutput) GitalyTimeoutDefault() pulumi.IntOutput

Default Gitaly timeout, in seconds. This timeout is not enforced for Git fetch/push operations or Sidekiq jobs. Set to 0 to disable timeouts.

func (ApplicationSettingsOutput) GitalyTimeoutFast added in v4.9.0

func (o ApplicationSettingsOutput) GitalyTimeoutFast() pulumi.IntOutput

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.

func (ApplicationSettingsOutput) GitalyTimeoutMedium added in v4.9.0

func (o ApplicationSettingsOutput) GitalyTimeoutMedium() pulumi.IntOutput

Medium Gitaly timeout, in seconds. This should be a value between the Fast and the Default timeout. Set to 0 to disable timeouts.

func (ApplicationSettingsOutput) GrafanaEnabled added in v4.9.0

func (o ApplicationSettingsOutput) GrafanaEnabled() pulumi.BoolOutput

Enable Grafana.

func (ApplicationSettingsOutput) GrafanaUrl added in v4.9.0

Grafana URL.

func (ApplicationSettingsOutput) GravatarEnabled added in v4.9.0

func (o ApplicationSettingsOutput) GravatarEnabled() pulumi.BoolOutput

Enable Gravatar.

func (ApplicationSettingsOutput) GroupOwnersCanManageDefaultBranchProtection added in v4.10.0

func (o ApplicationSettingsOutput) GroupOwnersCanManageDefaultBranchProtection() pulumi.BoolOutput

Prevent overrides of default branch protection.

func (ApplicationSettingsOutput) HashedStorageEnabled added in v4.9.0

func (o ApplicationSettingsOutput) HashedStorageEnabled() pulumi.BoolOutput

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).

func (ApplicationSettingsOutput) HelpPageHideCommercialContent added in v4.9.0

func (o ApplicationSettingsOutput) HelpPageHideCommercialContent() pulumi.BoolOutput

Hide marketing-related entries from help.

func (ApplicationSettingsOutput) HelpPageSupportUrl added in v4.9.0

func (o ApplicationSettingsOutput) HelpPageSupportUrl() pulumi.StringOutput

Alternate support URL for help page and help dropdown.

func (ApplicationSettingsOutput) HelpPageText added in v4.9.0

Custom text displayed on the help page.

func (ApplicationSettingsOutput) HelpText added in v4.9.0

GitLab server administrator information.

func (ApplicationSettingsOutput) HideThirdPartyOffers added in v4.9.0

func (o ApplicationSettingsOutput) HideThirdPartyOffers() pulumi.BoolOutput

Do not display offers from third parties in GitLab.

func (ApplicationSettingsOutput) HomePageUrl added in v4.9.0

Redirect to this URL when not logged in.

func (ApplicationSettingsOutput) HousekeepingEnabled added in v4.9.0

func (o ApplicationSettingsOutput) HousekeepingEnabled() pulumi.BoolOutput

(If enabled, requires: housekeeping*bitmaps*enabled, housekeeping*full*repack*period, housekeeping*gc*period, and housekeeping*incremental*repack*period) Enable or disable Git housekeeping.

func (ApplicationSettingsOutput) HousekeepingFullRepackPeriod added in v4.9.0

func (o ApplicationSettingsOutput) HousekeepingFullRepackPeriod() pulumi.IntOutput

Number of Git pushes after which an incremental git repack is run.

func (ApplicationSettingsOutput) HousekeepingGcPeriod added in v4.9.0

func (o ApplicationSettingsOutput) HousekeepingGcPeriod() pulumi.IntOutput

Number of Git pushes after which git gc is run.

func (ApplicationSettingsOutput) HousekeepingIncrementalRepackPeriod added in v4.9.0

func (o ApplicationSettingsOutput) HousekeepingIncrementalRepackPeriod() pulumi.IntOutput

Number of Git pushes after which an incremental git repack is run.

func (ApplicationSettingsOutput) HtmlEmailsEnabled added in v4.9.0

func (o ApplicationSettingsOutput) HtmlEmailsEnabled() pulumi.BoolOutput

Enable HTML emails.

func (ApplicationSettingsOutput) ImportSources added in v4.9.0

Sources to allow project import from, possible values: github, bitbucket, bitbucket*server, gitlab, fogbugz, git, gitlab*project, gitea, manifest, and phabricator.

func (ApplicationSettingsOutput) InProductMarketingEmailsEnabled added in v4.9.0

func (o ApplicationSettingsOutput) InProductMarketingEmailsEnabled() pulumi.BoolOutput

Enable in-product marketing emails. Enabled by default.

func (ApplicationSettingsOutput) InactiveProjectsDeleteAfterMonths added in v4.9.0

func (o ApplicationSettingsOutput) InactiveProjectsDeleteAfterMonths() pulumi.IntOutput

If delete*inactive*projects is true, the time (in months) to wait before deleting inactive projects. Default is 2. Introduced in GitLab 14.10. Became operational in GitLab 15.0.

func (ApplicationSettingsOutput) InactiveProjectsMinSizeMb added in v4.9.0

func (o ApplicationSettingsOutput) InactiveProjectsMinSizeMb() pulumi.IntOutput

If delete*inactive*projects is true, the minimum repository size for projects to be checked for inactivity. Default is 0. Introduced in GitLab 14.10. Became operational in GitLab 15.0.

func (ApplicationSettingsOutput) InactiveProjectsSendWarningEmailAfterMonths added in v4.9.0

func (o ApplicationSettingsOutput) InactiveProjectsSendWarningEmailAfterMonths() pulumi.IntOutput

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. Default is 1. Introduced in GitLab 14.10. Became operational in GitLab 15.0.

func (ApplicationSettingsOutput) InvisibleCaptchaEnabled added in v4.9.0

func (o ApplicationSettingsOutput) InvisibleCaptchaEnabled() pulumi.BoolOutput

Enable Invisible CAPTCHA spam detection during sign-up. Disabled by default.

func (ApplicationSettingsOutput) IssuesCreateLimit added in v4.9.0

func (o ApplicationSettingsOutput) IssuesCreateLimit() pulumi.IntOutput

Max number of issue creation requests per minute per user. Disabled by default.

func (ApplicationSettingsOutput) KeepLatestArtifact added in v4.9.0

func (o ApplicationSettingsOutput) KeepLatestArtifact() pulumi.BoolOutput

Prevent the deletion of the artifacts from the most recent successful jobs, regardless of the expiry time. Enabled by default.

func (ApplicationSettingsOutput) LocalMarkdownVersion added in v4.9.0

func (o ApplicationSettingsOutput) LocalMarkdownVersion() pulumi.IntOutput

Increase this value when any cached Markdown should be invalidated.

func (ApplicationSettingsOutput) MailgunEventsEnabled added in v4.9.0

func (o ApplicationSettingsOutput) MailgunEventsEnabled() pulumi.BoolOutput

Enable Mailgun event receiver.

func (ApplicationSettingsOutput) MailgunSigningKey added in v4.9.0

func (o ApplicationSettingsOutput) MailgunSigningKey() pulumi.StringOutput

The Mailgun HTTP webhook signing key for receiving events from webhook.

func (ApplicationSettingsOutput) MaintenanceMode added in v4.9.0

func (o ApplicationSettingsOutput) MaintenanceMode() pulumi.BoolOutput

When instance is in maintenance mode, non-administrative users can sign in with read-only access and make read-only API requests.

func (ApplicationSettingsOutput) MaintenanceModeMessage added in v4.9.0

func (o ApplicationSettingsOutput) MaintenanceModeMessage() pulumi.StringOutput

Message displayed when instance is in maintenance mode.

func (ApplicationSettingsOutput) MaxArtifactsSize added in v4.9.0

func (o ApplicationSettingsOutput) MaxArtifactsSize() pulumi.IntOutput

Maximum artifacts size in MB.

func (ApplicationSettingsOutput) MaxAttachmentSize added in v4.9.0

func (o ApplicationSettingsOutput) MaxAttachmentSize() pulumi.IntOutput

Limit attachment size in MB.

func (ApplicationSettingsOutput) MaxExportSize added in v4.9.0

func (o ApplicationSettingsOutput) MaxExportSize() pulumi.IntOutput

Maximum export size in MB. 0 for unlimited. Default = 0 (unlimited).

func (ApplicationSettingsOutput) MaxImportSize added in v4.9.0

func (o ApplicationSettingsOutput) MaxImportSize() pulumi.IntOutput

Maximum import size in MB. 0 for unlimited. Default = 0 (unlimited) Modified from 50MB to 0 in GitLab 13.8.

func (ApplicationSettingsOutput) MaxNumberOfRepositoryDownloads added in v4.9.0

func (o ApplicationSettingsOutput) MaxNumberOfRepositoryDownloads() pulumi.IntOutput

Maximum number of unique repositories a user can download in the specified time period before they are banned. Default: 0, Maximum: 10,000 repositories. Introduced in GitLab 15.1.

func (ApplicationSettingsOutput) MaxNumberOfRepositoryDownloadsWithinTimePeriod added in v4.9.0

func (o ApplicationSettingsOutput) MaxNumberOfRepositoryDownloadsWithinTimePeriod() pulumi.IntOutput

Reporting time period (in seconds). Default: 0, Maximum: 864000 seconds (10 days). Introduced in GitLab 15.1.

func (ApplicationSettingsOutput) MaxPagesSize added in v4.9.0

func (o ApplicationSettingsOutput) MaxPagesSize() pulumi.IntOutput

Maximum size of pages repositories in MB.

func (ApplicationSettingsOutput) MaxPersonalAccessTokenLifetime added in v4.9.0

func (o ApplicationSettingsOutput) MaxPersonalAccessTokenLifetime() pulumi.IntOutput

Maximum allowable lifetime for access tokens in days.

func (ApplicationSettingsOutput) MaxSshKeyLifetime added in v4.9.0

func (o ApplicationSettingsOutput) MaxSshKeyLifetime() pulumi.IntOutput

Maximum allowable lifetime for SSH keys in days. Introduced in GitLab 14.6.

func (ApplicationSettingsOutput) MetricsMethodCallThreshold added in v4.9.0

func (o ApplicationSettingsOutput) MetricsMethodCallThreshold() pulumi.IntOutput

A method call is only tracked when it takes longer than the given amount of milliseconds.

func (ApplicationSettingsOutput) MirrorAvailable added in v4.9.0

func (o ApplicationSettingsOutput) MirrorAvailable() pulumi.BoolOutput

Allow repository mirroring to configured by project Maintainers. If disabled, only Administrators can configure repository mirroring.

func (ApplicationSettingsOutput) MirrorCapacityThreshold added in v4.9.0

func (o ApplicationSettingsOutput) MirrorCapacityThreshold() pulumi.IntOutput

Minimum capacity to be available before scheduling more mirrors preemptively.

func (ApplicationSettingsOutput) MirrorMaxCapacity added in v4.9.0

func (o ApplicationSettingsOutput) MirrorMaxCapacity() pulumi.IntOutput

Maximum number of mirrors that can be synchronizing at the same time.

func (ApplicationSettingsOutput) MirrorMaxDelay added in v4.9.0

func (o ApplicationSettingsOutput) MirrorMaxDelay() pulumi.IntOutput

Maximum time (in minutes) between updates that a mirror can have when scheduled to synchronize.

func (ApplicationSettingsOutput) NpmPackageRequestsForwarding added in v4.9.0

func (o ApplicationSettingsOutput) NpmPackageRequestsForwarding() pulumi.BoolOutput

Use npmjs.org as a default remote repository when the package is not found in the GitLab Package Registry for npm.

func (ApplicationSettingsOutput) OutboundLocalRequestsWhitelists added in v4.9.0

func (o ApplicationSettingsOutput) OutboundLocalRequestsWhitelists() pulumi.StringArrayOutput

Define a list of trusted domains or IP addresses to which local requests are allowed when local requests for hooks and services are disabled.

func (ApplicationSettingsOutput) PackageRegistryCleanupPoliciesWorkerCapacity added in v4.9.0

func (o ApplicationSettingsOutput) PackageRegistryCleanupPoliciesWorkerCapacity() pulumi.IntOutput

Number of workers assigned to the packages cleanup policies.

func (ApplicationSettingsOutput) PagesDomainVerificationEnabled added in v4.9.0

func (o ApplicationSettingsOutput) PagesDomainVerificationEnabled() pulumi.BoolOutput

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.

func (ApplicationSettingsOutput) PasswordAuthenticationEnabledForGit added in v4.9.0

func (o ApplicationSettingsOutput) PasswordAuthenticationEnabledForGit() pulumi.BoolOutput

Enable authentication for Git over HTTP(S) via a GitLab account password. Default is true.

func (ApplicationSettingsOutput) PasswordAuthenticationEnabledForWeb added in v4.9.0

func (o ApplicationSettingsOutput) PasswordAuthenticationEnabledForWeb() pulumi.BoolOutput

Enable authentication for the web interface via a GitLab account password. Default is true.

func (ApplicationSettingsOutput) PasswordLowercaseRequired added in v4.9.0

func (o ApplicationSettingsOutput) PasswordLowercaseRequired() pulumi.BoolOutput

Indicates whether passwords require at least one lowercase letter. Introduced in GitLab 15.1.

func (ApplicationSettingsOutput) PasswordNumberRequired added in v4.9.0

func (o ApplicationSettingsOutput) PasswordNumberRequired() pulumi.BoolOutput

Indicates whether passwords require at least one number. Introduced in GitLab 15.1.

func (ApplicationSettingsOutput) PasswordSymbolRequired added in v4.9.0

func (o ApplicationSettingsOutput) PasswordSymbolRequired() pulumi.BoolOutput

Indicates whether passwords require at least one symbol character. Introduced in GitLab 15.1.

func (ApplicationSettingsOutput) PasswordUppercaseRequired added in v4.9.0

func (o ApplicationSettingsOutput) PasswordUppercaseRequired() pulumi.BoolOutput

Indicates whether passwords require at least one uppercase letter. Introduced in GitLab 15.1.

func (ApplicationSettingsOutput) PerformanceBarAllowedGroupPath added in v4.9.0

func (o ApplicationSettingsOutput) PerformanceBarAllowedGroupPath() pulumi.StringOutput

Path of the group that is allowed to toggle the performance bar.

func (ApplicationSettingsOutput) PersonalAccessTokenPrefix added in v4.9.0

func (o ApplicationSettingsOutput) PersonalAccessTokenPrefix() pulumi.StringOutput

Prefix for all generated personal access tokens.

func (ApplicationSettingsOutput) PipelineLimitPerProjectUserSha added in v4.9.0

func (o ApplicationSettingsOutput) PipelineLimitPerProjectUserSha() pulumi.IntOutput

Maximum number of pipeline creation requests per minute per user and commit. Disabled by default.

func (ApplicationSettingsOutput) PlantumlEnabled added in v4.9.0

func (o ApplicationSettingsOutput) PlantumlEnabled() pulumi.BoolOutput

(If enabled, requires: plantuml_url) Enable PlantUML integration. Default is false.

func (ApplicationSettingsOutput) PlantumlUrl added in v4.9.0

The PlantUML instance URL for integration.

func (ApplicationSettingsOutput) PollingIntervalMultiplier added in v4.9.0

func (o ApplicationSettingsOutput) PollingIntervalMultiplier() pulumi.Float64Output

Interval multiplier used by endpoints that perform polling. Set to 0 to disable polling.

func (ApplicationSettingsOutput) ProjectExportEnabled added in v4.9.0

func (o ApplicationSettingsOutput) ProjectExportEnabled() pulumi.BoolOutput

Enable project export.

func (ApplicationSettingsOutput) PrometheusMetricsEnabled added in v4.9.0

func (o ApplicationSettingsOutput) PrometheusMetricsEnabled() pulumi.BoolOutput

Enable Prometheus metrics.

func (ApplicationSettingsOutput) ProtectedCiVariables added in v4.9.0

func (o ApplicationSettingsOutput) ProtectedCiVariables() pulumi.BoolOutput

CI/CD variables are protected by default.

func (ApplicationSettingsOutput) PushEventActivitiesLimit added in v4.9.0

func (o ApplicationSettingsOutput) PushEventActivitiesLimit() pulumi.IntOutput

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.

func (ApplicationSettingsOutput) PushEventHooksLimit added in v4.9.0

func (o ApplicationSettingsOutput) PushEventHooksLimit() pulumi.IntOutput

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.

func (ApplicationSettingsOutput) PypiPackageRequestsForwarding added in v4.9.0

func (o ApplicationSettingsOutput) PypiPackageRequestsForwarding() pulumi.BoolOutput

Use pypi.org as a default remote repository when the package is not found in the GitLab Package Registry for PyPI.

func (ApplicationSettingsOutput) RateLimitingResponseText added in v4.9.0

func (o ApplicationSettingsOutput) RateLimitingResponseText() pulumi.StringOutput

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.

func (ApplicationSettingsOutput) RawBlobRequestLimit added in v4.9.0

func (o ApplicationSettingsOutput) RawBlobRequestLimit() pulumi.IntOutput

Max number of requests per minute for each raw path. Default: 300. To disable throttling set to 0.

func (ApplicationSettingsOutput) RecaptchaEnabled added in v4.9.0

func (o ApplicationSettingsOutput) RecaptchaEnabled() pulumi.BoolOutput

(If enabled, requires: recaptcha*private*key and recaptcha*site*key) Enable reCAPTCHA.

func (ApplicationSettingsOutput) RecaptchaPrivateKey added in v4.9.0

func (o ApplicationSettingsOutput) RecaptchaPrivateKey() pulumi.StringOutput

Private key for reCAPTCHA.

func (ApplicationSettingsOutput) RecaptchaSiteKey added in v4.9.0

func (o ApplicationSettingsOutput) RecaptchaSiteKey() pulumi.StringOutput

Site key for reCAPTCHA.

func (ApplicationSettingsOutput) ReceiveMaxInputSize added in v4.9.0

func (o ApplicationSettingsOutput) ReceiveMaxInputSize() pulumi.IntOutput

Maximum push size (MB).

func (ApplicationSettingsOutput) RepositoryChecksEnabled added in v4.9.0

func (o ApplicationSettingsOutput) RepositoryChecksEnabled() pulumi.BoolOutput

GitLab periodically runs git fsck in all project and wiki repositories to look for silent disk corruption issues.

func (ApplicationSettingsOutput) RepositorySizeLimit added in v4.9.0

func (o ApplicationSettingsOutput) RepositorySizeLimit() pulumi.IntOutput

Size limit per repository (MB).

func (ApplicationSettingsOutput) RepositoryStorages added in v4.9.0

func (o ApplicationSettingsOutput) RepositoryStorages() pulumi.StringArrayOutput

(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.

func (ApplicationSettingsOutput) RepositoryStoragesWeighted added in v4.9.0

func (o ApplicationSettingsOutput) RepositoryStoragesWeighted() pulumi.IntMapOutput

(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.

func (ApplicationSettingsOutput) RequireAdminApprovalAfterUserSignup added in v4.9.0

func (o ApplicationSettingsOutput) RequireAdminApprovalAfterUserSignup() pulumi.BoolOutput

When enabled, any user that signs up for an account using the registration form is placed under a Pending approval state and has to be explicitly approved by an administrator.

func (ApplicationSettingsOutput) RequireTwoFactorAuthentication added in v4.9.0

func (o ApplicationSettingsOutput) RequireTwoFactorAuthentication() pulumi.BoolOutput

(If enabled, requires: two*factor*grace_period) Require all users to set up Two-factor authentication.

func (ApplicationSettingsOutput) RestrictedVisibilityLevels added in v4.9.0

func (o ApplicationSettingsOutput) RestrictedVisibilityLevels() pulumi.StringArrayOutput

Selected levels cannot be used by non-Administrator users for groups, projects or snippets. Can take private, internal and public as a parameter. Default is null which means there is no restriction.

func (ApplicationSettingsOutput) RsaKeyRestriction added in v4.9.0

func (o ApplicationSettingsOutput) RsaKeyRestriction() pulumi.IntOutput

The minimum allowed bit length of an uploaded RSA key. Default is 0 (no restriction). -1 disables RSA keys.

func (ApplicationSettingsOutput) SearchRateLimit added in v4.9.0

func (o ApplicationSettingsOutput) SearchRateLimit() pulumi.IntOutput

Max number of requests per minute for performing a search while authenticated. Default: 30. To disable throttling set to 0.

func (ApplicationSettingsOutput) SearchRateLimitUnauthenticated added in v4.9.0

func (o ApplicationSettingsOutput) SearchRateLimitUnauthenticated() pulumi.IntOutput

Max number of requests per minute for performing a search while unauthenticated. Default: 10. To disable throttling set to 0.

func (ApplicationSettingsOutput) SendUserConfirmationEmail added in v4.9.0

func (o ApplicationSettingsOutput) SendUserConfirmationEmail() pulumi.BoolOutput

Send confirmation email on sign-up.

func (ApplicationSettingsOutput) SessionExpireDelay added in v4.9.0

func (o ApplicationSettingsOutput) SessionExpireDelay() pulumi.IntOutput

Session duration in minutes. GitLab restart is required to apply changes.

func (ApplicationSettingsOutput) SharedRunnersEnabled added in v4.9.0

func (o ApplicationSettingsOutput) SharedRunnersEnabled() pulumi.BoolOutput

(If enabled, requires: shared*runners*text and shared*runners*minutes) Enable shared runners for new projects.

func (ApplicationSettingsOutput) SharedRunnersMinutes added in v4.9.0

func (o ApplicationSettingsOutput) SharedRunnersMinutes() pulumi.IntOutput

Set the maximum number of CI/CD minutes that a group can use on shared runners per month.

func (ApplicationSettingsOutput) SharedRunnersText added in v4.9.0

func (o ApplicationSettingsOutput) SharedRunnersText() pulumi.StringOutput

Shared runners text.

func (ApplicationSettingsOutput) SidekiqJobLimiterCompressionThresholdBytes added in v4.9.0

func (o ApplicationSettingsOutput) SidekiqJobLimiterCompressionThresholdBytes() pulumi.IntOutput

The threshold in bytes at which Sidekiq jobs are compressed before being stored in Redis. Default: 100 000 bytes (100KB).

func (ApplicationSettingsOutput) SidekiqJobLimiterLimitBytes added in v4.9.0

func (o ApplicationSettingsOutput) SidekiqJobLimiterLimitBytes() pulumi.IntOutput

The threshold in bytes at which Sidekiq jobs are rejected. Default: 0 bytes (doesn’t reject any job).

func (ApplicationSettingsOutput) SidekiqJobLimiterMode added in v4.9.0

func (o ApplicationSettingsOutput) SidekiqJobLimiterMode() pulumi.StringOutput

track or compress. Sets the behavior for Sidekiq job size limits. Default: ‘compress’.

func (ApplicationSettingsOutput) SignInText added in v4.9.0

Text on the login page.

func (ApplicationSettingsOutput) SignupEnabled added in v4.9.0

func (o ApplicationSettingsOutput) SignupEnabled() pulumi.BoolOutput

Enable registration. Default is true.

func (ApplicationSettingsOutput) SlackAppEnabled added in v4.9.0

func (o ApplicationSettingsOutput) SlackAppEnabled() pulumi.BoolOutput

(If enabled, requires: slack*app*id, slack*app*secret and slack*app*secret) Enable Slack app.

func (ApplicationSettingsOutput) SlackAppId added in v4.9.0

The app ID of the Slack-app.

func (ApplicationSettingsOutput) SlackAppSecret added in v4.9.0

func (o ApplicationSettingsOutput) SlackAppSecret() pulumi.StringOutput

The app secret of the Slack-app.

func (ApplicationSettingsOutput) SlackAppSigningSecret added in v4.9.0

func (o ApplicationSettingsOutput) SlackAppSigningSecret() pulumi.StringOutput

The signing secret of the Slack-app.

func (ApplicationSettingsOutput) SlackAppVerificationToken added in v4.9.0

func (o ApplicationSettingsOutput) SlackAppVerificationToken() pulumi.StringOutput

The verification token of the Slack-app.

func (ApplicationSettingsOutput) SnippetSizeLimit added in v4.9.0

func (o ApplicationSettingsOutput) SnippetSizeLimit() pulumi.IntOutput

Max snippet content size in bytes. Default: 52428800 Bytes (50MB).

func (ApplicationSettingsOutput) SnowplowAppId added in v4.9.0

func (o ApplicationSettingsOutput) SnowplowAppId() pulumi.StringOutput

The Snowplow site name / application ID. (for example, gitlab)

func (ApplicationSettingsOutput) SnowplowCollectorHostname added in v4.9.0

func (o ApplicationSettingsOutput) SnowplowCollectorHostname() pulumi.StringOutput

The Snowplow collector hostname. (for example, snowplow.trx.gitlab.net)

func (ApplicationSettingsOutput) SnowplowCookieDomain added in v4.9.0

func (o ApplicationSettingsOutput) SnowplowCookieDomain() pulumi.StringOutput

The Snowplow cookie domain. (for example, .gitlab.com)

func (ApplicationSettingsOutput) SnowplowEnabled added in v4.9.0

func (o ApplicationSettingsOutput) SnowplowEnabled() pulumi.BoolOutput

Enable snowplow tracking.

func (ApplicationSettingsOutput) SourcegraphEnabled added in v4.9.0

func (o ApplicationSettingsOutput) SourcegraphEnabled() pulumi.BoolOutput

Enables Sourcegraph integration. Default is false. If enabled, requires sourcegraph_url.

func (ApplicationSettingsOutput) SourcegraphPublicOnly added in v4.9.0

func (o ApplicationSettingsOutput) SourcegraphPublicOnly() pulumi.BoolOutput

Blocks Sourcegraph from being loaded on private and internal projects. Default is true.

func (ApplicationSettingsOutput) SourcegraphUrl added in v4.9.0

func (o ApplicationSettingsOutput) SourcegraphUrl() pulumi.StringOutput

The Sourcegraph instance URL for integration.

func (ApplicationSettingsOutput) SpamCheckApiKey added in v4.9.0

func (o ApplicationSettingsOutput) SpamCheckApiKey() pulumi.StringOutput

API key used by GitLab for accessing the Spam Check service endpoint.

func (ApplicationSettingsOutput) SpamCheckEndpointEnabled added in v4.9.0

func (o ApplicationSettingsOutput) SpamCheckEndpointEnabled() pulumi.BoolOutput

Enables spam checking using external Spam Check API endpoint. Default is false.

func (ApplicationSettingsOutput) SpamCheckEndpointUrl added in v4.9.0

func (o ApplicationSettingsOutput) SpamCheckEndpointUrl() pulumi.StringOutput

URL of the external Spamcheck service endpoint. Valid URI schemes are grpc or tls. Specifying tls forces communication to be encrypted.

func (ApplicationSettingsOutput) SuggestPipelineEnabled added in v4.9.0

func (o ApplicationSettingsOutput) SuggestPipelineEnabled() pulumi.BoolOutput

Enable pipeline suggestion banner.

func (ApplicationSettingsOutput) TerminalMaxSessionTime added in v4.9.0

func (o ApplicationSettingsOutput) TerminalMaxSessionTime() pulumi.IntOutput

Maximum time for web terminal websocket connection (in seconds). Set to 0 for unlimited time.

func (ApplicationSettingsOutput) Terms added in v4.9.0

(Required by: enforce_terms) Markdown content for the ToS.

func (ApplicationSettingsOutput) ThrottleAuthenticatedApiEnabled added in v4.9.0

func (o ApplicationSettingsOutput) ThrottleAuthenticatedApiEnabled() pulumi.BoolOutput

(If enabled, requires: throttle*authenticated*api*period*in*seconds and throttle*authenticated*api*requests*per*period) Enable authenticated API request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots).

func (ApplicationSettingsOutput) ThrottleAuthenticatedApiPeriodInSeconds added in v4.9.0

func (o ApplicationSettingsOutput) ThrottleAuthenticatedApiPeriodInSeconds() pulumi.IntOutput

Rate limit period (in seconds).

func (ApplicationSettingsOutput) ThrottleAuthenticatedApiRequestsPerPeriod added in v4.9.0

func (o ApplicationSettingsOutput) ThrottleAuthenticatedApiRequestsPerPeriod() pulumi.IntOutput

Maximum requests per period per user.

func (ApplicationSettingsOutput) ThrottleAuthenticatedPackagesApiEnabled added in v4.9.0

func (o ApplicationSettingsOutput) ThrottleAuthenticatedPackagesApiEnabled() pulumi.BoolOutput

(If enabled, requires: throttle*authenticated*packages*api*period*in*seconds and throttle*authenticated*packages*api*requests*per*period) Enable authenticated API request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots). View Package Registry rate limits for more details.

func (ApplicationSettingsOutput) ThrottleAuthenticatedPackagesApiPeriodInSeconds added in v4.9.0

func (o ApplicationSettingsOutput) ThrottleAuthenticatedPackagesApiPeriodInSeconds() pulumi.IntOutput

Rate limit period (in seconds). View Package Registry rate limits for more details.

func (ApplicationSettingsOutput) ThrottleAuthenticatedPackagesApiRequestsPerPeriod added in v4.9.0

func (o ApplicationSettingsOutput) ThrottleAuthenticatedPackagesApiRequestsPerPeriod() pulumi.IntOutput

Maximum requests per period per user. View Package Registry rate limits for more details.

func (ApplicationSettingsOutput) ThrottleAuthenticatedWebEnabled added in v4.9.0

func (o ApplicationSettingsOutput) ThrottleAuthenticatedWebEnabled() pulumi.BoolOutput

(If enabled, requires: throttle*authenticated*web*period*in*seconds and throttle*authenticated*web*requests*per*period) Enable authenticated web request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots).

func (ApplicationSettingsOutput) ThrottleAuthenticatedWebPeriodInSeconds added in v4.9.0

func (o ApplicationSettingsOutput) ThrottleAuthenticatedWebPeriodInSeconds() pulumi.IntOutput

Rate limit period (in seconds).

func (ApplicationSettingsOutput) ThrottleAuthenticatedWebRequestsPerPeriod added in v4.9.0

func (o ApplicationSettingsOutput) ThrottleAuthenticatedWebRequestsPerPeriod() pulumi.IntOutput

Maximum requests per period per user.

func (ApplicationSettingsOutput) ThrottleUnauthenticatedApiEnabled added in v4.9.0

func (o ApplicationSettingsOutput) ThrottleUnauthenticatedApiEnabled() pulumi.BoolOutput

(If enabled, requires: throttle*unauthenticated*api*period*in*seconds and throttle*unauthenticated*api*requests*per*period) Enable unauthenticated API request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots).

func (ApplicationSettingsOutput) ThrottleUnauthenticatedApiPeriodInSeconds added in v4.9.0

func (o ApplicationSettingsOutput) ThrottleUnauthenticatedApiPeriodInSeconds() pulumi.IntOutput

Rate limit period in seconds.

func (ApplicationSettingsOutput) ThrottleUnauthenticatedApiRequestsPerPeriod added in v4.9.0

func (o ApplicationSettingsOutput) ThrottleUnauthenticatedApiRequestsPerPeriod() pulumi.IntOutput

Max requests per period per IP.

func (ApplicationSettingsOutput) ThrottleUnauthenticatedPackagesApiEnabled added in v4.9.0

func (o ApplicationSettingsOutput) ThrottleUnauthenticatedPackagesApiEnabled() pulumi.BoolOutput

(If enabled, requires: throttle*unauthenticated*packages*api*period*in*seconds and throttle*unauthenticated*packages*api*requests*per*period) Enable authenticated API request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots). View Package Registry rate limits for more details.

func (ApplicationSettingsOutput) ThrottleUnauthenticatedPackagesApiPeriodInSeconds added in v4.9.0

func (o ApplicationSettingsOutput) ThrottleUnauthenticatedPackagesApiPeriodInSeconds() pulumi.IntOutput

Rate limit period (in seconds). View Package Registry rate limits for more details.

func (ApplicationSettingsOutput) ThrottleUnauthenticatedPackagesApiRequestsPerPeriod added in v4.9.0

func (o ApplicationSettingsOutput) ThrottleUnauthenticatedPackagesApiRequestsPerPeriod() pulumi.IntOutput

Maximum requests per period per user. View Package Registry rate limits for more details.

func (ApplicationSettingsOutput) ThrottleUnauthenticatedWebEnabled added in v4.9.0

func (o ApplicationSettingsOutput) ThrottleUnauthenticatedWebEnabled() pulumi.BoolOutput

(If enabled, requires: throttle*unauthenticated*web*period*in*seconds and throttle*unauthenticated*web*requests*per*period) Enable unauthenticated web request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots).

func (ApplicationSettingsOutput) ThrottleUnauthenticatedWebPeriodInSeconds added in v4.9.0

func (o ApplicationSettingsOutput) ThrottleUnauthenticatedWebPeriodInSeconds() pulumi.IntOutput

Rate limit period in seconds.

func (ApplicationSettingsOutput) ThrottleUnauthenticatedWebRequestsPerPeriod added in v4.9.0

func (o ApplicationSettingsOutput) ThrottleUnauthenticatedWebRequestsPerPeriod() pulumi.IntOutput

Max requests per period per IP.

func (ApplicationSettingsOutput) TimeTrackingLimitToHours added in v4.9.0

func (o ApplicationSettingsOutput) TimeTrackingLimitToHours() pulumi.BoolOutput

Limit display of time tracking units to hours. Default is false.

func (ApplicationSettingsOutput) ToApplicationSettingsOutput added in v4.9.0

func (o ApplicationSettingsOutput) ToApplicationSettingsOutput() ApplicationSettingsOutput

func (ApplicationSettingsOutput) ToApplicationSettingsOutputWithContext added in v4.9.0

func (o ApplicationSettingsOutput) ToApplicationSettingsOutputWithContext(ctx context.Context) ApplicationSettingsOutput

func (ApplicationSettingsOutput) TwoFactorGracePeriod added in v4.9.0

func (o ApplicationSettingsOutput) TwoFactorGracePeriod() pulumi.IntOutput

Amount of time (in hours) that users are allowed to skip forced configuration of two-factor authentication.

func (ApplicationSettingsOutput) UniqueIpsLimitEnabled added in v4.9.0

func (o ApplicationSettingsOutput) UniqueIpsLimitEnabled() pulumi.BoolOutput

(If enabled, requires: unique*ips*limit*per*user and unique*ips*limit*time*window) Limit sign in from multiple IPs.

func (ApplicationSettingsOutput) UniqueIpsLimitPerUser added in v4.9.0

func (o ApplicationSettingsOutput) UniqueIpsLimitPerUser() pulumi.IntOutput

Maximum number of IPs per user.

func (ApplicationSettingsOutput) UniqueIpsLimitTimeWindow added in v4.9.0

func (o ApplicationSettingsOutput) UniqueIpsLimitTimeWindow() pulumi.IntOutput

How many seconds an IP is counted towards the limit.

func (ApplicationSettingsOutput) UsagePingEnabled added in v4.9.0

func (o ApplicationSettingsOutput) UsagePingEnabled() pulumi.BoolOutput

Every week GitLab reports license usage back to GitLab, Inc.

func (ApplicationSettingsOutput) UserDeactivationEmailsEnabled added in v4.9.0

func (o ApplicationSettingsOutput) UserDeactivationEmailsEnabled() pulumi.BoolOutput

Send an email to users upon account deactivation.

func (ApplicationSettingsOutput) UserDefaultExternal added in v4.9.0

func (o ApplicationSettingsOutput) UserDefaultExternal() pulumi.BoolOutput

Newly registered users are external by default.

func (ApplicationSettingsOutput) UserDefaultInternalRegex added in v4.9.0

func (o ApplicationSettingsOutput) UserDefaultInternalRegex() pulumi.StringOutput

Specify an email address regex pattern to identify default internal users.

func (ApplicationSettingsOutput) UserOauthApplications added in v4.9.0

func (o ApplicationSettingsOutput) UserOauthApplications() pulumi.BoolOutput

Allow users to register any application to use GitLab as an OAuth provider.

func (ApplicationSettingsOutput) UserShowAddSshKeyMessage added in v4.9.0

func (o ApplicationSettingsOutput) UserShowAddSshKeyMessage() pulumi.BoolOutput

When set to false disable the You won't be able to pull or push project code via SSH warning shown to users with no uploaded SSH key.

func (ApplicationSettingsOutput) VersionCheckEnabled added in v4.9.0

func (o ApplicationSettingsOutput) VersionCheckEnabled() pulumi.BoolOutput

Let GitLab inform you when an update is available.

func (ApplicationSettingsOutput) WebIdeClientsidePreviewEnabled added in v4.9.0

func (o ApplicationSettingsOutput) WebIdeClientsidePreviewEnabled() pulumi.BoolOutput

Live Preview (allow live previews of JavaScript projects in the Web IDE using CodeSandbox Live Preview).

func (ApplicationSettingsOutput) WhatsNewVariant added in v4.9.0

func (o ApplicationSettingsOutput) WhatsNewVariant() pulumi.StringOutput

What’s new variant, possible values: all*tiers, current*tier, and disabled.

func (ApplicationSettingsOutput) WikiPageMaxContentBytes added in v4.9.0

func (o ApplicationSettingsOutput) WikiPageMaxContentBytes() pulumi.IntOutput

Maximum wiki page content size in bytes. Default: 52428800 Bytes (50 MB). The minimum value is 1024 bytes.

type ApplicationSettingsState added in v4.9.0

type ApplicationSettingsState struct {
	// If set, abuse reports are sent to this address. Abuse reports are always available in the Admin Area.
	AbuseNotificationEmail pulumi.StringPtrInput
	// Require administrators to enable Admin Mode by re-authenticating for administrative tasks.
	AdminMode pulumi.BoolPtrInput
	// Where to redirect users after logout.
	AfterSignOutPath pulumi.StringPtrInput
	// Text shown to the user after signing up.
	AfterSignUpText pulumi.StringPtrInput
	// API key for Akismet spam protection.
	AkismetApiKey pulumi.StringPtrInput
	// (If enabled, requires: akismet*api*key) Enable or disable Akismet spam protection.
	AkismetEnabled pulumi.BoolPtrInput
	// Set to true to allow group owners to manage LDAP.
	AllowGroupOwnersToManageLdap pulumi.BoolPtrInput
	// Allow requests to the local network from system hooks.
	AllowLocalRequestsFromSystemHooks pulumi.BoolPtrInput
	// Allow requests to the local network from web hooks and services.
	AllowLocalRequestsFromWebHooksAndServices pulumi.BoolPtrInput
	// 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.
	ArchiveBuildsInHumanReadable pulumi.StringPtrInput
	// Assets that match these domains are not proxied. Wildcards allowed. Your GitLab installation URL is automatically allowlisted. GitLab restart is required to apply changes.
	AssetProxyAllowlists pulumi.StringArrayInput
	// (If enabled, requires: asset*proxy*url) Enable proxying of assets. GitLab restart is required to apply changes.
	AssetProxyEnabled pulumi.BoolPtrInput
	// Shared secret with the asset proxy server. GitLab restart is required to apply changes.
	AssetProxySecretKey pulumi.StringPtrInput
	// URL of the asset proxy server. GitLab restart is required to apply changes.
	AssetProxyUrl pulumi.StringPtrInput
	// By default, we write to the authorizedKeys 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.
	AuthorizedKeysEnabled pulumi.BoolPtrInput
	// Specify a domain to use by default for every project’s Auto Review Apps and Auto Deploy stages.
	AutoDevopsDomain pulumi.StringPtrInput
	// Enable Auto DevOps for projects by default. It automatically builds, tests, and deploys applications based on a predefined CI/CD configuration.
	AutoDevopsEnabled pulumi.BoolPtrInput
	// Enabling this permits automatic allocation of purchased storage in a namespace.
	AutomaticPurchasedStorageAllocation pulumi.BoolPtrInput
	// 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.
	CheckNamespacePlan pulumi.BoolPtrInput
	// Custom hostname (for private commit emails).
	CommitEmailHostname pulumi.StringPtrInput
	// Enable cleanup policies for all projects.
	ContainerExpirationPoliciesEnableHistoricEntries pulumi.BoolPtrInput
	// The maximum number of tags that can be deleted in a single execution of cleanup policies.
	ContainerRegistryCleanupTagsServiceMaxListSize pulumi.IntPtrInput
	// The maximum time, in seconds, that the cleanup process can take to delete a batch of tags for cleanup policies.
	ContainerRegistryDeleteTagsServiceTimeout pulumi.IntPtrInput
	// Caching during the execution of cleanup policies.
	ContainerRegistryExpirationPoliciesCaching pulumi.BoolPtrInput
	// Number of workers for cleanup policies.
	ContainerRegistryExpirationPoliciesWorkerCapacity pulumi.IntPtrInput
	// Container Registry token duration in minutes.
	ContainerRegistryTokenExpireDelay pulumi.IntPtrInput
	// Enable automatic deactivation of dormant users.
	DeactivateDormantUsers pulumi.BoolPtrInput
	// Set the default expiration time for each job’s artifacts.
	DefaultArtifactsExpireIn pulumi.StringPtrInput
	// Instance-level custom initial branch name (introduced in GitLab 13.2).
	DefaultBranchName pulumi.StringPtrInput
	// 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.
	DefaultBranchProtection pulumi.IntPtrInput
	// Default CI/CD configuration file and path for new projects (.gitlab-ci.yml if not set).
	DefaultCiConfigPath pulumi.StringPtrInput
	// What visibility level new groups receive. Can take private, internal and public as a parameter. Default is private.
	DefaultGroupVisibility pulumi.StringPtrInput
	// Default project creation protection. Can take: 0 (No one), 1 (Maintainers) or 2 (Developers + Maintainers).
	DefaultProjectCreation pulumi.IntPtrInput
	// What visibility level new projects receive. Can take private, internal and public as a parameter. Default is private.
	DefaultProjectVisibility pulumi.StringPtrInput
	// Project limit per user. Default is 100000.
	DefaultProjectsLimit pulumi.IntPtrInput
	// What visibility level new snippets receive. Can take private, internal and public as a parameter. Default is private.
	DefaultSnippetVisibility pulumi.StringPtrInput
	// Enable delayed group deletion. Default is true. Introduced in GitLab 15.0. From GitLab 15.1, disables and locks the group-level setting for delayed protect deletion when set to false.
	DelayedGroupDeletion pulumi.BoolPtrInput
	// Enable delayed project deletion by default in new groups. Default is false. From GitLab 15.1, can only be enabled when delayed*group*deletion is true.
	DelayedProjectDeletion pulumi.BoolPtrInput
	// Enable inactive project deletion feature. Default is false. Introduced in GitLab 14.10. Became operational in GitLab 15.0 (with feature flag inactive*projects*deletion, disabled by default).
	DeleteInactiveProjects pulumi.BoolPtrInput
	// The number of days to wait before deleting a project or group that is marked for deletion. Value must be between 1 and 90. Defaults to 7. From GitLab 15.1, a hook on deletion*adjourned*period sets the period to 1 on every update, and sets both delayed*project*deletion and delayed*group*deletion to false if the period is 0.
	DeletionAdjournedPeriod pulumi.IntPtrInput
	// Maximum files in a diff.
	DiffMaxFiles pulumi.IntPtrInput
	// Maximum lines in a diff.
	DiffMaxLines pulumi.IntPtrInput
	// Maximum diff patch size, in bytes.
	DiffMaxPatchBytes pulumi.IntPtrInput
	// Disable display of RSS/Atom and calendar feed tokens (introduced in GitLab 13.7).
	DisableFeedToken pulumi.BoolPtrInput
	// Disabled OAuth sign-in sources.
	DisabledOauthSignInSources pulumi.StringArrayInput
	// Enforce DNS rebinding attack protection.
	DnsRebindingProtectionEnabled pulumi.BoolPtrInput
	// Force people to use only corporate emails for sign-up. Default is null, meaning there is no restriction.
	DomainAllowlists pulumi.StringArrayInput
	// (If enabled, requires: domain_denylist) Allows blocking sign-ups from emails from specific domains.
	DomainDenylistEnabled pulumi.BoolPtrInput
	// Users with email addresses that match these domains cannot sign up. Wildcards allowed. Use separate lines for multiple entries. Ex: domain.com, *.domain.com.
	DomainDenylists pulumi.StringArrayInput
	// The minimum allowed bit length of an uploaded DSA key. Default is 0 (no restriction). -1 disables DSA keys.
	DsaKeyRestriction pulumi.IntPtrInput
	// The minimum allowed curve size (in bits) of an uploaded ECDSA key. Default is 0 (no restriction). -1 disables ECDSA keys.
	EcdsaKeyRestriction pulumi.IntPtrInput
	// The minimum allowed curve size (in bits) of an uploaded ECDSA*SK key. Default is 0 (no restriction). -1 disables ECDSA*SK keys.
	EcdsaSkKeyRestriction pulumi.IntPtrInput
	// The minimum allowed curve size (in bits) of an uploaded ED25519 key. Default is 0 (no restriction). -1 disables ED25519 keys.
	Ed25519KeyRestriction pulumi.IntPtrInput
	// The minimum allowed curve size (in bits) of an uploaded ED25519*SK key. Default is 0 (no restriction). -1 disables ED25519*SK keys.
	Ed25519SkKeyRestriction pulumi.IntPtrInput
	// AWS IAM access key ID.
	EksAccessKeyId pulumi.StringPtrInput
	// Amazon account ID.
	EksAccountId pulumi.StringPtrInput
	// Enable integration with Amazon EKS.
	EksIntegrationEnabled pulumi.BoolPtrInput
	// AWS IAM secret access key.
	EksSecretAccessKey pulumi.StringPtrInput
	// Enable the use of AWS hosted Elasticsearch.
	ElasticsearchAws pulumi.BoolPtrInput
	// AWS IAM access key.
	ElasticsearchAwsAccessKey pulumi.StringPtrInput
	// The AWS region the Elasticsearch domain is configured.
	ElasticsearchAwsRegion pulumi.StringPtrInput
	// AWS IAM secret access key.
	ElasticsearchAwsSecretAccessKey pulumi.StringPtrInput
	// Maximum size of text fields to index by Elasticsearch. 0 value means no limit. This does not apply to repository and wiki indexing.
	ElasticsearchIndexedFieldLengthLimit pulumi.IntPtrInput
	// Maximum size of repository and wiki files that are indexed by Elasticsearch.
	ElasticsearchIndexedFileSizeLimitKb pulumi.IntPtrInput
	// Enable Elasticsearch indexing.
	ElasticsearchIndexing pulumi.BoolPtrInput
	// Limit Elasticsearch to index certain namespaces and projects.
	ElasticsearchLimitIndexing pulumi.BoolPtrInput
	// Maximum concurrency of Elasticsearch bulk requests per indexing operation. This only applies to repository indexing operations.
	ElasticsearchMaxBulkConcurrency pulumi.IntPtrInput
	// Maximum size of Elasticsearch bulk indexing requests in MB. This only applies to repository indexing operations.
	ElasticsearchMaxBulkSizeMb pulumi.IntPtrInput
	// The namespaces to index via Elasticsearch if elasticsearch*limit*indexing is enabled.
	ElasticsearchNamespaceIds pulumi.StringArrayInput
	// The password of your Elasticsearch instance.
	ElasticsearchPassword pulumi.StringPtrInput
	// The projects to index via Elasticsearch if elasticsearch*limit*indexing is enabled.
	ElasticsearchProjectIds pulumi.StringArrayInput
	// Enable Elasticsearch search.
	ElasticsearchSearch pulumi.BoolPtrInput
	// The URL to use for connecting to Elasticsearch. Use a comma-separated list to support cluster (for example, http://localhost:9200, http://localhost:9201).
	ElasticsearchUrls pulumi.StringArrayInput
	// The username of your Elasticsearch instance.
	ElasticsearchUsername pulumi.StringPtrInput
	// Additional text added to the bottom of every email for legal/auditing/compliance reasons.
	EmailAdditionalText pulumi.StringPtrInput
	// 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.
	EmailAuthorInBody pulumi.BoolPtrInput
	// Enabled protocols for Git access. Allowed values are: ssh, http, and nil to allow both protocols.
	EnabledGitAccessProtocol pulumi.StringPtrInput
	// Enabling this permits enforcement of namespace storage limits.
	EnforceNamespaceStorageLimit pulumi.BoolPtrInput
	// (If enabled, requires: terms) Enforce application ToS to all users.
	EnforceTerms pulumi.BoolPtrInput
	// (If enabled, requires: external*auth*client_key) The certificate to use to authenticate with the external authorization service.
	ExternalAuthClientCert pulumi.StringPtrInput
	// Private key for the certificate when authentication is required for the external authorization service, this is encrypted when stored.
	ExternalAuthClientKey pulumi.StringPtrInput
	// Passphrase to use for the private key when authenticating with the external service this is encrypted when stored.
	ExternalAuthClientKeyPass pulumi.StringPtrInput
	// The default classification label to use when requesting authorization and no classification label has been specified on the project.
	ExternalAuthorizationServiceDefaultLabel pulumi.StringPtrInput
	// (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.
	ExternalAuthorizationServiceEnabled pulumi.BoolPtrInput
	// 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).
	ExternalAuthorizationServiceTimeout pulumi.Float64PtrInput
	// URL to which authorization requests are directed.
	ExternalAuthorizationServiceUrl pulumi.StringPtrInput
	// How long to wait for a response from the pipeline validation service. Assumes OK if it times out.
	ExternalPipelineValidationServiceTimeout pulumi.IntPtrInput
	// Optional. Token to include as the X-Gitlab-Token header in requests to the URL in external*pipeline*validation*service*url.
	ExternalPipelineValidationServiceToken pulumi.StringPtrInput
	// URL to use for pipeline validation requests.
	ExternalPipelineValidationServiceUrl pulumi.StringPtrInput
	// The ID of a project to load custom file templates from.
	FileTemplateProjectId pulumi.IntPtrInput
	// Start day of the week for calendar views and date pickers. Valid values are 0 (default) for Sunday, 1 for Monday, and 6 for Saturday.
	FirstDayOfWeek pulumi.IntPtrInput
	// Comma-separated list of IPs and CIDRs of allowed secondary nodes. For example, 1.1.1.1, 2.2.2.0/24.
	GeoNodeAllowedIps pulumi.StringPtrInput
	// The amount of seconds after which a request to get a secondary node status times out.
	GeoStatusTimeout pulumi.IntPtrInput
	// List of usernames excluded from Git anti-abuse rate limits. Default: [], Maximum: 100 usernames. Introduced in GitLab 15.2.
	GitRateLimitUsersAllowlists pulumi.StringArrayInput
	// Maximum duration (in minutes) of a session for Git operations when 2FA is enabled.
	GitTwoFactorSessionExpiry pulumi.IntPtrInput
	// Default Gitaly timeout, in seconds. This timeout is not enforced for Git fetch/push operations or Sidekiq jobs. Set to 0 to disable timeouts.
	GitalyTimeoutDefault pulumi.IntPtrInput
	// 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.
	GitalyTimeoutFast pulumi.IntPtrInput
	// Medium Gitaly timeout, in seconds. This should be a value between the Fast and the Default timeout. Set to 0 to disable timeouts.
	GitalyTimeoutMedium pulumi.IntPtrInput
	// Enable Grafana.
	GrafanaEnabled pulumi.BoolPtrInput
	// Grafana URL.
	GrafanaUrl pulumi.StringPtrInput
	// Enable Gravatar.
	GravatarEnabled pulumi.BoolPtrInput
	// Prevent overrides of default branch protection.
	GroupOwnersCanManageDefaultBranchProtection pulumi.BoolPtrInput
	// 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).
	HashedStorageEnabled pulumi.BoolPtrInput
	// Hide marketing-related entries from help.
	HelpPageHideCommercialContent pulumi.BoolPtrInput
	// Alternate support URL for help page and help dropdown.
	HelpPageSupportUrl pulumi.StringPtrInput
	// Custom text displayed on the help page.
	HelpPageText pulumi.StringPtrInput
	// GitLab server administrator information.
	HelpText pulumi.StringPtrInput
	// Do not display offers from third parties in GitLab.
	HideThirdPartyOffers pulumi.BoolPtrInput
	// Redirect to this URL when not logged in.
	HomePageUrl pulumi.StringPtrInput
	// (If enabled, requires: housekeeping*bitmaps*enabled, housekeeping*full*repack*period, housekeeping*gc*period, and housekeeping*incremental*repack*period) Enable or disable Git housekeeping.
	HousekeepingEnabled pulumi.BoolPtrInput
	// Number of Git pushes after which an incremental git repack is run.
	HousekeepingFullRepackPeriod pulumi.IntPtrInput
	// Number of Git pushes after which git gc is run.
	HousekeepingGcPeriod pulumi.IntPtrInput
	// Number of Git pushes after which an incremental git repack is run.
	HousekeepingIncrementalRepackPeriod pulumi.IntPtrInput
	// Enable HTML emails.
	HtmlEmailsEnabled pulumi.BoolPtrInput
	// Sources to allow project import from, possible values: github, bitbucket, bitbucket*server, gitlab, fogbugz, git, gitlab*project, gitea, manifest, and phabricator.
	ImportSources pulumi.StringArrayInput
	// Enable in-product marketing emails. Enabled by default.
	InProductMarketingEmailsEnabled pulumi.BoolPtrInput
	// If delete*inactive*projects is true, the time (in months) to wait before deleting inactive projects. Default is 2. Introduced in GitLab 14.10. Became operational in GitLab 15.0.
	InactiveProjectsDeleteAfterMonths pulumi.IntPtrInput
	// If delete*inactive*projects is true, the minimum repository size for projects to be checked for inactivity. Default is 0. Introduced in GitLab 14.10. Became operational in GitLab 15.0.
	InactiveProjectsMinSizeMb pulumi.IntPtrInput
	// 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. Default is 1. Introduced in GitLab 14.10. Became operational in GitLab 15.0.
	InactiveProjectsSendWarningEmailAfterMonths pulumi.IntPtrInput
	// Enable Invisible CAPTCHA spam detection during sign-up. Disabled by default.
	InvisibleCaptchaEnabled pulumi.BoolPtrInput
	// Max number of issue creation requests per minute per user. Disabled by default.
	IssuesCreateLimit pulumi.IntPtrInput
	// Prevent the deletion of the artifacts from the most recent successful jobs, regardless of the expiry time. Enabled by default.
	KeepLatestArtifact pulumi.BoolPtrInput
	// Increase this value when any cached Markdown should be invalidated.
	LocalMarkdownVersion pulumi.IntPtrInput
	// Enable Mailgun event receiver.
	MailgunEventsEnabled pulumi.BoolPtrInput
	// The Mailgun HTTP webhook signing key for receiving events from webhook.
	MailgunSigningKey pulumi.StringPtrInput
	// When instance is in maintenance mode, non-administrative users can sign in with read-only access and make read-only API requests.
	MaintenanceMode pulumi.BoolPtrInput
	// Message displayed when instance is in maintenance mode.
	MaintenanceModeMessage pulumi.StringPtrInput
	// Maximum artifacts size in MB.
	MaxArtifactsSize pulumi.IntPtrInput
	// Limit attachment size in MB.
	MaxAttachmentSize pulumi.IntPtrInput
	// Maximum export size in MB. 0 for unlimited. Default = 0 (unlimited).
	MaxExportSize pulumi.IntPtrInput
	// Maximum import size in MB. 0 for unlimited. Default = 0 (unlimited) Modified from 50MB to 0 in GitLab 13.8.
	MaxImportSize pulumi.IntPtrInput
	// Maximum number of unique repositories a user can download in the specified time period before they are banned. Default: 0, Maximum: 10,000 repositories. Introduced in GitLab 15.1.
	MaxNumberOfRepositoryDownloads pulumi.IntPtrInput
	// Reporting time period (in seconds). Default: 0, Maximum: 864000 seconds (10 days). Introduced in GitLab 15.1.
	MaxNumberOfRepositoryDownloadsWithinTimePeriod pulumi.IntPtrInput
	// Maximum size of pages repositories in MB.
	MaxPagesSize pulumi.IntPtrInput
	// Maximum allowable lifetime for access tokens in days.
	MaxPersonalAccessTokenLifetime pulumi.IntPtrInput
	// Maximum allowable lifetime for SSH keys in days. Introduced in GitLab 14.6.
	MaxSshKeyLifetime pulumi.IntPtrInput
	// A method call is only tracked when it takes longer than the given amount of milliseconds.
	MetricsMethodCallThreshold pulumi.IntPtrInput
	// Allow repository mirroring to configured by project Maintainers. If disabled, only Administrators can configure repository mirroring.
	MirrorAvailable pulumi.BoolPtrInput
	// Minimum capacity to be available before scheduling more mirrors preemptively.
	MirrorCapacityThreshold pulumi.IntPtrInput
	// Maximum number of mirrors that can be synchronizing at the same time.
	MirrorMaxCapacity pulumi.IntPtrInput
	// Maximum time (in minutes) between updates that a mirror can have when scheduled to synchronize.
	MirrorMaxDelay pulumi.IntPtrInput
	// Use npmjs.org as a default remote repository when the package is not found in the GitLab Package Registry for npm.
	NpmPackageRequestsForwarding pulumi.BoolPtrInput
	// Define a list of trusted domains or IP addresses to which local requests are allowed when local requests for hooks and services are disabled.
	OutboundLocalRequestsWhitelists pulumi.StringArrayInput
	// Number of workers assigned to the packages cleanup policies.
	PackageRegistryCleanupPoliciesWorkerCapacity pulumi.IntPtrInput
	// 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.
	PagesDomainVerificationEnabled pulumi.BoolPtrInput
	// Enable authentication for Git over HTTP(S) via a GitLab account password. Default is true.
	PasswordAuthenticationEnabledForGit pulumi.BoolPtrInput
	// Enable authentication for the web interface via a GitLab account password. Default is true.
	PasswordAuthenticationEnabledForWeb pulumi.BoolPtrInput
	// Indicates whether passwords require at least one lowercase letter. Introduced in GitLab 15.1.
	PasswordLowercaseRequired pulumi.BoolPtrInput
	// Indicates whether passwords require at least one number. Introduced in GitLab 15.1.
	PasswordNumberRequired pulumi.BoolPtrInput
	// Indicates whether passwords require at least one symbol character. Introduced in GitLab 15.1.
	PasswordSymbolRequired pulumi.BoolPtrInput
	// Indicates whether passwords require at least one uppercase letter. Introduced in GitLab 15.1.
	PasswordUppercaseRequired pulumi.BoolPtrInput
	// Path of the group that is allowed to toggle the performance bar.
	PerformanceBarAllowedGroupPath pulumi.StringPtrInput
	// Prefix for all generated personal access tokens.
	PersonalAccessTokenPrefix pulumi.StringPtrInput
	// Maximum number of pipeline creation requests per minute per user and commit. Disabled by default.
	PipelineLimitPerProjectUserSha pulumi.IntPtrInput
	// (If enabled, requires: plantuml_url) Enable PlantUML integration. Default is false.
	PlantumlEnabled pulumi.BoolPtrInput
	// The PlantUML instance URL for integration.
	PlantumlUrl pulumi.StringPtrInput
	// Interval multiplier used by endpoints that perform polling. Set to 0 to disable polling.
	PollingIntervalMultiplier pulumi.Float64PtrInput
	// Enable project export.
	ProjectExportEnabled pulumi.BoolPtrInput
	// Enable Prometheus metrics.
	PrometheusMetricsEnabled pulumi.BoolPtrInput
	// CI/CD variables are protected by default.
	ProtectedCiVariables pulumi.BoolPtrInput
	// 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.
	PushEventActivitiesLimit pulumi.IntPtrInput
	// 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.
	PushEventHooksLimit pulumi.IntPtrInput
	// Use pypi.org as a default remote repository when the package is not found in the GitLab Package Registry for PyPI.
	PypiPackageRequestsForwarding pulumi.BoolPtrInput
	// 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.
	RateLimitingResponseText pulumi.StringPtrInput
	// Max number of requests per minute for each raw path. Default: 300. To disable throttling set to 0.
	RawBlobRequestLimit pulumi.IntPtrInput
	// (If enabled, requires: recaptcha*private*key and recaptcha*site*key) Enable reCAPTCHA.
	RecaptchaEnabled pulumi.BoolPtrInput
	// Private key for reCAPTCHA.
	RecaptchaPrivateKey pulumi.StringPtrInput
	// Site key for reCAPTCHA.
	RecaptchaSiteKey pulumi.StringPtrInput
	// Maximum push size (MB).
	ReceiveMaxInputSize pulumi.IntPtrInput
	// GitLab periodically runs git fsck in all project and wiki repositories to look for silent disk corruption issues.
	RepositoryChecksEnabled pulumi.BoolPtrInput
	// Size limit per repository (MB).
	RepositorySizeLimit pulumi.IntPtrInput
	// (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.
	RepositoryStorages pulumi.StringArrayInput
	// (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.
	RepositoryStoragesWeighted pulumi.IntMapInput
	// When enabled, any user that signs up for an account using the registration form is placed under a Pending approval state and has to be explicitly approved by an administrator.
	RequireAdminApprovalAfterUserSignup pulumi.BoolPtrInput
	// (If enabled, requires: two*factor*grace_period) Require all users to set up Two-factor authentication.
	RequireTwoFactorAuthentication pulumi.BoolPtrInput
	// Selected levels cannot be used by non-Administrator users for groups, projects or snippets. Can take private, internal and public as a parameter. Default is null which means there is no restriction.
	RestrictedVisibilityLevels pulumi.StringArrayInput
	// The minimum allowed bit length of an uploaded RSA key. Default is 0 (no restriction). -1 disables RSA keys.
	RsaKeyRestriction pulumi.IntPtrInput
	// Max number of requests per minute for performing a search while authenticated. Default: 30. To disable throttling set to 0.
	SearchRateLimit pulumi.IntPtrInput
	// Max number of requests per minute for performing a search while unauthenticated. Default: 10. To disable throttling set to 0.
	SearchRateLimitUnauthenticated pulumi.IntPtrInput
	// Send confirmation email on sign-up.
	SendUserConfirmationEmail pulumi.BoolPtrInput
	// Session duration in minutes. GitLab restart is required to apply changes.
	SessionExpireDelay pulumi.IntPtrInput
	// (If enabled, requires: shared*runners*text and shared*runners*minutes) Enable shared runners for new projects.
	SharedRunnersEnabled pulumi.BoolPtrInput
	// Set the maximum number of CI/CD minutes that a group can use on shared runners per month.
	SharedRunnersMinutes pulumi.IntPtrInput
	// Shared runners text.
	SharedRunnersText pulumi.StringPtrInput
	// The threshold in bytes at which Sidekiq jobs are compressed before being stored in Redis. Default: 100 000 bytes (100KB).
	SidekiqJobLimiterCompressionThresholdBytes pulumi.IntPtrInput
	// The threshold in bytes at which Sidekiq jobs are rejected. Default: 0 bytes (doesn’t reject any job).
	SidekiqJobLimiterLimitBytes pulumi.IntPtrInput
	// track or compress. Sets the behavior for Sidekiq job size limits. Default: ‘compress’.
	SidekiqJobLimiterMode pulumi.StringPtrInput
	// Text on the login page.
	SignInText pulumi.StringPtrInput
	// Enable registration. Default is true.
	SignupEnabled pulumi.BoolPtrInput
	// (If enabled, requires: slack*app*id, slack*app*secret and slack*app*secret) Enable Slack app.
	SlackAppEnabled pulumi.BoolPtrInput
	// The app ID of the Slack-app.
	SlackAppId pulumi.StringPtrInput
	// The app secret of the Slack-app.
	SlackAppSecret pulumi.StringPtrInput
	// The signing secret of the Slack-app.
	SlackAppSigningSecret pulumi.StringPtrInput
	// The verification token of the Slack-app.
	SlackAppVerificationToken pulumi.StringPtrInput
	// Max snippet content size in bytes. Default: 52428800 Bytes (50MB).
	SnippetSizeLimit pulumi.IntPtrInput
	// The Snowplow site name / application ID. (for example, gitlab)
	SnowplowAppId pulumi.StringPtrInput
	// The Snowplow collector hostname. (for example, snowplow.trx.gitlab.net)
	SnowplowCollectorHostname pulumi.StringPtrInput
	// The Snowplow cookie domain. (for example, .gitlab.com)
	SnowplowCookieDomain pulumi.StringPtrInput
	// Enable snowplow tracking.
	SnowplowEnabled pulumi.BoolPtrInput
	// Enables Sourcegraph integration. Default is false. If enabled, requires sourcegraph_url.
	SourcegraphEnabled pulumi.BoolPtrInput
	// Blocks Sourcegraph from being loaded on private and internal projects. Default is true.
	SourcegraphPublicOnly pulumi.BoolPtrInput
	// The Sourcegraph instance URL for integration.
	SourcegraphUrl pulumi.StringPtrInput
	// API key used by GitLab for accessing the Spam Check service endpoint.
	SpamCheckApiKey pulumi.StringPtrInput
	// Enables spam checking using external Spam Check API endpoint. Default is false.
	SpamCheckEndpointEnabled pulumi.BoolPtrInput
	// URL of the external Spamcheck service endpoint. Valid URI schemes are grpc or tls. Specifying tls forces communication to be encrypted.
	SpamCheckEndpointUrl pulumi.StringPtrInput
	// Enable pipeline suggestion banner.
	SuggestPipelineEnabled pulumi.BoolPtrInput
	// Maximum time for web terminal websocket connection (in seconds). Set to 0 for unlimited time.
	TerminalMaxSessionTime pulumi.IntPtrInput
	// (Required by: enforce_terms) Markdown content for the ToS.
	Terms pulumi.StringPtrInput
	// (If enabled, requires: throttle*authenticated*api*period*in*seconds and throttle*authenticated*api*requests*per*period) Enable authenticated API request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots).
	ThrottleAuthenticatedApiEnabled pulumi.BoolPtrInput
	// Rate limit period (in seconds).
	ThrottleAuthenticatedApiPeriodInSeconds pulumi.IntPtrInput
	// Maximum requests per period per user.
	ThrottleAuthenticatedApiRequestsPerPeriod pulumi.IntPtrInput
	// (If enabled, requires: throttle*authenticated*packages*api*period*in*seconds and throttle*authenticated*packages*api*requests*per*period) Enable authenticated API request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots). View Package Registry rate limits for more details.
	ThrottleAuthenticatedPackagesApiEnabled pulumi.BoolPtrInput
	// Rate limit period (in seconds). View Package Registry rate limits for more details.
	ThrottleAuthenticatedPackagesApiPeriodInSeconds pulumi.IntPtrInput
	// Maximum requests per period per user. View Package Registry rate limits for more details.
	ThrottleAuthenticatedPackagesApiRequestsPerPeriod pulumi.IntPtrInput
	// (If enabled, requires: throttle*authenticated*web*period*in*seconds and throttle*authenticated*web*requests*per*period) Enable authenticated web request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots).
	ThrottleAuthenticatedWebEnabled pulumi.BoolPtrInput
	// Rate limit period (in seconds).
	ThrottleAuthenticatedWebPeriodInSeconds pulumi.IntPtrInput
	// Maximum requests per period per user.
	ThrottleAuthenticatedWebRequestsPerPeriod pulumi.IntPtrInput
	// (If enabled, requires: throttle*unauthenticated*api*period*in*seconds and throttle*unauthenticated*api*requests*per*period) Enable unauthenticated API request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots).
	ThrottleUnauthenticatedApiEnabled pulumi.BoolPtrInput
	// Rate limit period in seconds.
	ThrottleUnauthenticatedApiPeriodInSeconds pulumi.IntPtrInput
	// Max requests per period per IP.
	ThrottleUnauthenticatedApiRequestsPerPeriod pulumi.IntPtrInput
	// (If enabled, requires: throttle*unauthenticated*packages*api*period*in*seconds and throttle*unauthenticated*packages*api*requests*per*period) Enable authenticated API request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots). View Package Registry rate limits for more details.
	ThrottleUnauthenticatedPackagesApiEnabled pulumi.BoolPtrInput
	// Rate limit period (in seconds). View Package Registry rate limits for more details.
	ThrottleUnauthenticatedPackagesApiPeriodInSeconds pulumi.IntPtrInput
	// Maximum requests per period per user. View Package Registry rate limits for more details.
	ThrottleUnauthenticatedPackagesApiRequestsPerPeriod pulumi.IntPtrInput
	// (If enabled, requires: throttle*unauthenticated*web*period*in*seconds and throttle*unauthenticated*web*requests*per*period) Enable unauthenticated web request rate limit. Helps reduce request volume (for example, from crawlers or abusive bots).
	ThrottleUnauthenticatedWebEnabled pulumi.BoolPtrInput
	// Rate limit period in seconds.
	ThrottleUnauthenticatedWebPeriodInSeconds pulumi.IntPtrInput
	// Max requests per period per IP.
	ThrottleUnauthenticatedWebRequestsPerPeriod pulumi.IntPtrInput
	// Limit display of time tracking units to hours. Default is false.
	TimeTrackingLimitToHours pulumi.BoolPtrInput
	// Amount of time (in hours) that users are allowed to skip forced configuration of two-factor authentication.
	TwoFactorGracePeriod pulumi.IntPtrInput
	// (If enabled, requires: unique*ips*limit*per*user and unique*ips*limit*time*window) Limit sign in from multiple IPs.
	UniqueIpsLimitEnabled pulumi.BoolPtrInput
	// Maximum number of IPs per user.
	UniqueIpsLimitPerUser pulumi.IntPtrInput
	// How many seconds an IP is counted towards the limit.
	UniqueIpsLimitTimeWindow pulumi.IntPtrInput
	// Every week GitLab reports license usage back to GitLab, Inc.
	UsagePingEnabled pulumi.BoolPtrInput
	// Send an email to users upon account deactivation.
	UserDeactivationEmailsEnabled pulumi.BoolPtrInput
	// Newly registered users are external by default.
	UserDefaultExternal pulumi.BoolPtrInput
	// Specify an email address regex pattern to identify default internal users.
	UserDefaultInternalRegex pulumi.StringPtrInput
	// Allow users to register any application to use GitLab as an OAuth provider.
	UserOauthApplications pulumi.BoolPtrInput
	// When set to false disable the You won't be able to pull or push project code via SSH warning shown to users with no uploaded SSH key.
	UserShowAddSshKeyMessage pulumi.BoolPtrInput
	// Let GitLab inform you when an update is available.
	VersionCheckEnabled pulumi.BoolPtrInput
	// Live Preview (allow live previews of JavaScript projects in the Web IDE using CodeSandbox Live Preview).
	WebIdeClientsidePreviewEnabled pulumi.BoolPtrInput
	// What’s new variant, possible values: all*tiers, current*tier, and disabled.
	WhatsNewVariant pulumi.StringPtrInput
	// Maximum wiki page content size in bytes. Default: 52428800 Bytes (50 MB). The minimum value is 1024 bytes.
	WikiPageMaxContentBytes pulumi.IntPtrInput
}

func (ApplicationSettingsState) ElementType added in v4.9.0

func (ApplicationSettingsState) ElementType() reflect.Type

type Branch added in v4.6.0

type Branch struct {
	pulumi.CustomResourceState

	// Bool, true if you can push to the branch.
	CanPush pulumi.BoolOutput `pulumi:"canPush"`
	// The commit associated with the branch ref.
	Commits BranchCommitArrayOutput `pulumi:"commits"`
	// Bool, true if branch is the default branch for the project.
	Default pulumi.BoolOutput `pulumi:"default"`
	// Bool, true if developer level access allows to merge branch.
	DeveloperCanMerge pulumi.BoolOutput `pulumi:"developerCanMerge"`
	// Bool, true if developer level access allows git push.
	DeveloperCanPush pulumi.BoolOutput `pulumi:"developerCanPush"`
	// Bool, true if the branch has been merged into it's parent.
	Merged pulumi.BoolOutput `pulumi:"merged"`
	// The name for this branch.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID or full path of the project which the branch is created against.
	Project pulumi.StringOutput `pulumi:"project"`
	// Bool, true if branch has branch protection.
	Protected pulumi.BoolOutput `pulumi:"protected"`
	// The ref which the branch is created from.
	Ref pulumi.StringOutput `pulumi:"ref"`
	// The url of the created branch (https).
	WebUrl pulumi.StringOutput `pulumi:"webUrl"`
}

The `Branch` resource allows to manage the lifecycle of a repository branch.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/branches.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := gitlab.NewProject(ctx, "exampleProject", &gitlab.ProjectArgs{
			Description: pulumi.String("An example project"),
			NamespaceId: pulumi.Any(gitlab_group.Example.Id),
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewBranch(ctx, "exampleBranch", &gitlab.BranchArgs{
			Ref:     pulumi.String("main"),
			Project: exampleProject.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Gitlab protected branches can be imported with a key composed of `<project_id>:<branch_name>`, e.g.

```sh

$ pulumi import gitlab:index/branch:Branch example "12345:develop"

```

func GetBranch added in v4.6.0

func GetBranch(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BranchState, opts ...pulumi.ResourceOption) (*Branch, error)

GetBranch gets an existing Branch resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBranch added in v4.6.0

func NewBranch(ctx *pulumi.Context,
	name string, args *BranchArgs, opts ...pulumi.ResourceOption) (*Branch, error)

NewBranch registers a new resource with the given unique name, arguments, and options.

func (*Branch) ElementType added in v4.6.0

func (*Branch) ElementType() reflect.Type

func (*Branch) ToBranchOutput added in v4.6.0

func (i *Branch) ToBranchOutput() BranchOutput

func (*Branch) ToBranchOutputWithContext added in v4.6.0

func (i *Branch) ToBranchOutputWithContext(ctx context.Context) BranchOutput

type BranchArgs added in v4.6.0

type BranchArgs struct {
	// The name for this branch.
	Name pulumi.StringPtrInput
	// The ID or full path of the project which the branch is created against.
	Project pulumi.StringInput
	// The ref which the branch is created from.
	Ref pulumi.StringInput
}

The set of arguments for constructing a Branch resource.

func (BranchArgs) ElementType added in v4.6.0

func (BranchArgs) ElementType() reflect.Type

type BranchArray added in v4.6.0

type BranchArray []BranchInput

func (BranchArray) ElementType added in v4.6.0

func (BranchArray) ElementType() reflect.Type

func (BranchArray) ToBranchArrayOutput added in v4.6.0

func (i BranchArray) ToBranchArrayOutput() BranchArrayOutput

func (BranchArray) ToBranchArrayOutputWithContext added in v4.6.0

func (i BranchArray) ToBranchArrayOutputWithContext(ctx context.Context) BranchArrayOutput

type BranchArrayInput added in v4.6.0

type BranchArrayInput interface {
	pulumi.Input

	ToBranchArrayOutput() BranchArrayOutput
	ToBranchArrayOutputWithContext(context.Context) BranchArrayOutput
}

BranchArrayInput is an input type that accepts BranchArray and BranchArrayOutput values. You can construct a concrete instance of `BranchArrayInput` via:

BranchArray{ BranchArgs{...} }

type BranchArrayOutput added in v4.6.0

type BranchArrayOutput struct{ *pulumi.OutputState }

func (BranchArrayOutput) ElementType added in v4.6.0

func (BranchArrayOutput) ElementType() reflect.Type

func (BranchArrayOutput) Index added in v4.6.0

func (BranchArrayOutput) ToBranchArrayOutput added in v4.6.0

func (o BranchArrayOutput) ToBranchArrayOutput() BranchArrayOutput

func (BranchArrayOutput) ToBranchArrayOutputWithContext added in v4.6.0

func (o BranchArrayOutput) ToBranchArrayOutputWithContext(ctx context.Context) BranchArrayOutput

type BranchCommit added in v4.6.0

type BranchCommit struct {
	AuthorEmail    *string `pulumi:"authorEmail"`
	AuthorName     *string `pulumi:"authorName"`
	AuthoredDate   *string `pulumi:"authoredDate"`
	CommittedDate  *string `pulumi:"committedDate"`
	CommitterEmail *string `pulumi:"committerEmail"`
	CommitterName  *string `pulumi:"committerName"`
	// The ID of this resource.
	Id        *string  `pulumi:"id"`
	Message   *string  `pulumi:"message"`
	ParentIds []string `pulumi:"parentIds"`
	ShortId   *string  `pulumi:"shortId"`
	Title     *string  `pulumi:"title"`
}

type BranchCommitArgs added in v4.6.0

type BranchCommitArgs struct {
	AuthorEmail    pulumi.StringPtrInput `pulumi:"authorEmail"`
	AuthorName     pulumi.StringPtrInput `pulumi:"authorName"`
	AuthoredDate   pulumi.StringPtrInput `pulumi:"authoredDate"`
	CommittedDate  pulumi.StringPtrInput `pulumi:"committedDate"`
	CommitterEmail pulumi.StringPtrInput `pulumi:"committerEmail"`
	CommitterName  pulumi.StringPtrInput `pulumi:"committerName"`
	// The ID of this resource.
	Id        pulumi.StringPtrInput   `pulumi:"id"`
	Message   pulumi.StringPtrInput   `pulumi:"message"`
	ParentIds pulumi.StringArrayInput `pulumi:"parentIds"`
	ShortId   pulumi.StringPtrInput   `pulumi:"shortId"`
	Title     pulumi.StringPtrInput   `pulumi:"title"`
}

func (BranchCommitArgs) ElementType added in v4.6.0

func (BranchCommitArgs) ElementType() reflect.Type

func (BranchCommitArgs) ToBranchCommitOutput added in v4.6.0

func (i BranchCommitArgs) ToBranchCommitOutput() BranchCommitOutput

func (BranchCommitArgs) ToBranchCommitOutputWithContext added in v4.6.0

func (i BranchCommitArgs) ToBranchCommitOutputWithContext(ctx context.Context) BranchCommitOutput

type BranchCommitArray added in v4.6.0

type BranchCommitArray []BranchCommitInput

func (BranchCommitArray) ElementType added in v4.6.0

func (BranchCommitArray) ElementType() reflect.Type

func (BranchCommitArray) ToBranchCommitArrayOutput added in v4.6.0

func (i BranchCommitArray) ToBranchCommitArrayOutput() BranchCommitArrayOutput

func (BranchCommitArray) ToBranchCommitArrayOutputWithContext added in v4.6.0

func (i BranchCommitArray) ToBranchCommitArrayOutputWithContext(ctx context.Context) BranchCommitArrayOutput

type BranchCommitArrayInput added in v4.6.0

type BranchCommitArrayInput interface {
	pulumi.Input

	ToBranchCommitArrayOutput() BranchCommitArrayOutput
	ToBranchCommitArrayOutputWithContext(context.Context) BranchCommitArrayOutput
}

BranchCommitArrayInput is an input type that accepts BranchCommitArray and BranchCommitArrayOutput values. You can construct a concrete instance of `BranchCommitArrayInput` via:

BranchCommitArray{ BranchCommitArgs{...} }

type BranchCommitArrayOutput added in v4.6.0

type BranchCommitArrayOutput struct{ *pulumi.OutputState }

func (BranchCommitArrayOutput) ElementType added in v4.6.0

func (BranchCommitArrayOutput) ElementType() reflect.Type

func (BranchCommitArrayOutput) Index added in v4.6.0

func (BranchCommitArrayOutput) ToBranchCommitArrayOutput added in v4.6.0

func (o BranchCommitArrayOutput) ToBranchCommitArrayOutput() BranchCommitArrayOutput

func (BranchCommitArrayOutput) ToBranchCommitArrayOutputWithContext added in v4.6.0

func (o BranchCommitArrayOutput) ToBranchCommitArrayOutputWithContext(ctx context.Context) BranchCommitArrayOutput

type BranchCommitInput added in v4.6.0

type BranchCommitInput interface {
	pulumi.Input

	ToBranchCommitOutput() BranchCommitOutput
	ToBranchCommitOutputWithContext(context.Context) BranchCommitOutput
}

BranchCommitInput is an input type that accepts BranchCommitArgs and BranchCommitOutput values. You can construct a concrete instance of `BranchCommitInput` via:

BranchCommitArgs{...}

type BranchCommitOutput added in v4.6.0

type BranchCommitOutput struct{ *pulumi.OutputState }

func (BranchCommitOutput) AuthorEmail added in v4.6.0

func (o BranchCommitOutput) AuthorEmail() pulumi.StringPtrOutput

func (BranchCommitOutput) AuthorName added in v4.6.0

func (o BranchCommitOutput) AuthorName() pulumi.StringPtrOutput

func (BranchCommitOutput) AuthoredDate added in v4.6.0

func (o BranchCommitOutput) AuthoredDate() pulumi.StringPtrOutput

func (BranchCommitOutput) CommittedDate added in v4.6.0

func (o BranchCommitOutput) CommittedDate() pulumi.StringPtrOutput

func (BranchCommitOutput) CommitterEmail added in v4.6.0

func (o BranchCommitOutput) CommitterEmail() pulumi.StringPtrOutput

func (BranchCommitOutput) CommitterName added in v4.6.0

func (o BranchCommitOutput) CommitterName() pulumi.StringPtrOutput

func (BranchCommitOutput) ElementType added in v4.6.0

func (BranchCommitOutput) ElementType() reflect.Type

func (BranchCommitOutput) Id added in v4.6.0

The ID of this resource.

func (BranchCommitOutput) Message added in v4.6.0

func (BranchCommitOutput) ParentIds added in v4.6.0

func (BranchCommitOutput) ShortId added in v4.6.0

func (BranchCommitOutput) Title added in v4.6.0

func (BranchCommitOutput) ToBranchCommitOutput added in v4.6.0

func (o BranchCommitOutput) ToBranchCommitOutput() BranchCommitOutput

func (BranchCommitOutput) ToBranchCommitOutputWithContext added in v4.6.0

func (o BranchCommitOutput) ToBranchCommitOutputWithContext(ctx context.Context) BranchCommitOutput

type BranchInput added in v4.6.0

type BranchInput interface {
	pulumi.Input

	ToBranchOutput() BranchOutput
	ToBranchOutputWithContext(ctx context.Context) BranchOutput
}

type BranchMap added in v4.6.0

type BranchMap map[string]BranchInput

func (BranchMap) ElementType added in v4.6.0

func (BranchMap) ElementType() reflect.Type

func (BranchMap) ToBranchMapOutput added in v4.6.0

func (i BranchMap) ToBranchMapOutput() BranchMapOutput

func (BranchMap) ToBranchMapOutputWithContext added in v4.6.0

func (i BranchMap) ToBranchMapOutputWithContext(ctx context.Context) BranchMapOutput

type BranchMapInput added in v4.6.0

type BranchMapInput interface {
	pulumi.Input

	ToBranchMapOutput() BranchMapOutput
	ToBranchMapOutputWithContext(context.Context) BranchMapOutput
}

BranchMapInput is an input type that accepts BranchMap and BranchMapOutput values. You can construct a concrete instance of `BranchMapInput` via:

BranchMap{ "key": BranchArgs{...} }

type BranchMapOutput added in v4.6.0

type BranchMapOutput struct{ *pulumi.OutputState }

func (BranchMapOutput) ElementType added in v4.6.0

func (BranchMapOutput) ElementType() reflect.Type

func (BranchMapOutput) MapIndex added in v4.6.0

func (BranchMapOutput) ToBranchMapOutput added in v4.6.0

func (o BranchMapOutput) ToBranchMapOutput() BranchMapOutput

func (BranchMapOutput) ToBranchMapOutputWithContext added in v4.6.0

func (o BranchMapOutput) ToBranchMapOutputWithContext(ctx context.Context) BranchMapOutput

type BranchOutput added in v4.6.0

type BranchOutput struct{ *pulumi.OutputState }

func (BranchOutput) CanPush added in v4.7.1

func (o BranchOutput) CanPush() pulumi.BoolOutput

Bool, true if you can push to the branch.

func (BranchOutput) Commits added in v4.7.1

The commit associated with the branch ref.

func (BranchOutput) Default added in v4.7.1

func (o BranchOutput) Default() pulumi.BoolOutput

Bool, true if branch is the default branch for the project.

func (BranchOutput) DeveloperCanMerge added in v4.7.1

func (o BranchOutput) DeveloperCanMerge() pulumi.BoolOutput

Bool, true if developer level access allows to merge branch.

func (BranchOutput) DeveloperCanPush added in v4.7.1

func (o BranchOutput) DeveloperCanPush() pulumi.BoolOutput

Bool, true if developer level access allows git push.

func (BranchOutput) ElementType added in v4.6.0

func (BranchOutput) ElementType() reflect.Type

func (BranchOutput) Merged added in v4.7.1

func (o BranchOutput) Merged() pulumi.BoolOutput

Bool, true if the branch has been merged into it's parent.

func (BranchOutput) Name added in v4.7.1

func (o BranchOutput) Name() pulumi.StringOutput

The name for this branch.

func (BranchOutput) Project added in v4.7.1

func (o BranchOutput) Project() pulumi.StringOutput

The ID or full path of the project which the branch is created against.

func (BranchOutput) Protected added in v4.7.1

func (o BranchOutput) Protected() pulumi.BoolOutput

Bool, true if branch has branch protection.

func (BranchOutput) Ref added in v4.7.1

The ref which the branch is created from.

func (BranchOutput) ToBranchOutput added in v4.6.0

func (o BranchOutput) ToBranchOutput() BranchOutput

func (BranchOutput) ToBranchOutputWithContext added in v4.6.0

func (o BranchOutput) ToBranchOutputWithContext(ctx context.Context) BranchOutput

func (BranchOutput) WebUrl added in v4.7.1

func (o BranchOutput) WebUrl() pulumi.StringOutput

The url of the created branch (https).

type BranchProtection

type BranchProtection struct {
	pulumi.CustomResourceState

	// Can be set to true to allow users with push access to force push.
	AllowForcePush pulumi.BoolPtrOutput `pulumi:"allowForcePush"`
	// Defines permissions for action.
	AllowedToMerges BranchProtectionAllowedToMergeArrayOutput `pulumi:"allowedToMerges"`
	// Defines permissions for action.
	AllowedToPushes BranchProtectionAllowedToPushArrayOutput `pulumi:"allowedToPushes"`
	// Defines permissions for action.
	AllowedToUnprotects BranchProtectionAllowedToUnprotectArrayOutput `pulumi:"allowedToUnprotects"`
	// Name of the branch.
	Branch pulumi.StringOutput `pulumi:"branch"`
	// The ID of the branch protection (not the branch name).
	BranchProtectionId pulumi.IntOutput `pulumi:"branchProtectionId"`
	// Can be set to true to require code owner approval before merging. Only available own Premium and Ultimate instances.
	CodeOwnerApprovalRequired pulumi.BoolPtrOutput `pulumi:"codeOwnerApprovalRequired"`
	// Access levels allowed to merge. Valid values are: `no one`, `developer`, `maintainer`.
	MergeAccessLevel pulumi.StringPtrOutput `pulumi:"mergeAccessLevel"`
	// The id of the project.
	Project pulumi.StringOutput `pulumi:"project"`
	// Access levels allowed to push. Valid values are: `no one`, `developer`, `maintainer`.
	PushAccessLevel pulumi.StringPtrOutput `pulumi:"pushAccessLevel"`
	// Access levels allowed to unprotect. Valid values are: `no one`, `developer`, `maintainer`.
	UnprotectAccessLevel pulumi.StringPtrOutput `pulumi:"unprotectAccessLevel"`
}

## Import

Gitlab protected branches can be imported with a key composed of `<project_id>:<branch>`, e.g.

```sh

$ pulumi import gitlab:index/branchProtection:BranchProtection BranchProtect "12345:main"

```

func GetBranchProtection

func GetBranchProtection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BranchProtectionState, opts ...pulumi.ResourceOption) (*BranchProtection, error)

GetBranchProtection gets an existing BranchProtection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBranchProtection

func NewBranchProtection(ctx *pulumi.Context,
	name string, args *BranchProtectionArgs, opts ...pulumi.ResourceOption) (*BranchProtection, error)

NewBranchProtection registers a new resource with the given unique name, arguments, and options.

func (*BranchProtection) ElementType

func (*BranchProtection) ElementType() reflect.Type

func (*BranchProtection) ToBranchProtectionOutput

func (i *BranchProtection) ToBranchProtectionOutput() BranchProtectionOutput

func (*BranchProtection) ToBranchProtectionOutputWithContext

func (i *BranchProtection) ToBranchProtectionOutputWithContext(ctx context.Context) BranchProtectionOutput

type BranchProtectionAllowedToMerge added in v4.2.0

type BranchProtectionAllowedToMerge struct {
	// Level of access.
	AccessLevel *string `pulumi:"accessLevel"`
	// Readable description of level of access.
	AccessLevelDescription *string `pulumi:"accessLevelDescription"`
	// The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with `userId`.
	GroupId *int `pulumi:"groupId"`
	// The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with `groupId`.
	UserId *int `pulumi:"userId"`
}

type BranchProtectionAllowedToMergeArgs added in v4.2.0

type BranchProtectionAllowedToMergeArgs struct {
	// Level of access.
	AccessLevel pulumi.StringPtrInput `pulumi:"accessLevel"`
	// Readable description of level of access.
	AccessLevelDescription pulumi.StringPtrInput `pulumi:"accessLevelDescription"`
	// The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with `userId`.
	GroupId pulumi.IntPtrInput `pulumi:"groupId"`
	// The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with `groupId`.
	UserId pulumi.IntPtrInput `pulumi:"userId"`
}

func (BranchProtectionAllowedToMergeArgs) ElementType added in v4.2.0

func (BranchProtectionAllowedToMergeArgs) ToBranchProtectionAllowedToMergeOutput added in v4.2.0

func (i BranchProtectionAllowedToMergeArgs) ToBranchProtectionAllowedToMergeOutput() BranchProtectionAllowedToMergeOutput

func (BranchProtectionAllowedToMergeArgs) ToBranchProtectionAllowedToMergeOutputWithContext added in v4.2.0

func (i BranchProtectionAllowedToMergeArgs) ToBranchProtectionAllowedToMergeOutputWithContext(ctx context.Context) BranchProtectionAllowedToMergeOutput

type BranchProtectionAllowedToMergeArray added in v4.2.0

type BranchProtectionAllowedToMergeArray []BranchProtectionAllowedToMergeInput

func (BranchProtectionAllowedToMergeArray) ElementType added in v4.2.0

func (BranchProtectionAllowedToMergeArray) ToBranchProtectionAllowedToMergeArrayOutput added in v4.2.0

func (i BranchProtectionAllowedToMergeArray) ToBranchProtectionAllowedToMergeArrayOutput() BranchProtectionAllowedToMergeArrayOutput

func (BranchProtectionAllowedToMergeArray) ToBranchProtectionAllowedToMergeArrayOutputWithContext added in v4.2.0

func (i BranchProtectionAllowedToMergeArray) ToBranchProtectionAllowedToMergeArrayOutputWithContext(ctx context.Context) BranchProtectionAllowedToMergeArrayOutput

type BranchProtectionAllowedToMergeArrayInput added in v4.2.0

type BranchProtectionAllowedToMergeArrayInput interface {
	pulumi.Input

	ToBranchProtectionAllowedToMergeArrayOutput() BranchProtectionAllowedToMergeArrayOutput
	ToBranchProtectionAllowedToMergeArrayOutputWithContext(context.Context) BranchProtectionAllowedToMergeArrayOutput
}

BranchProtectionAllowedToMergeArrayInput is an input type that accepts BranchProtectionAllowedToMergeArray and BranchProtectionAllowedToMergeArrayOutput values. You can construct a concrete instance of `BranchProtectionAllowedToMergeArrayInput` via:

BranchProtectionAllowedToMergeArray{ BranchProtectionAllowedToMergeArgs{...} }

type BranchProtectionAllowedToMergeArrayOutput added in v4.2.0

type BranchProtectionAllowedToMergeArrayOutput struct{ *pulumi.OutputState }

func (BranchProtectionAllowedToMergeArrayOutput) ElementType added in v4.2.0

func (BranchProtectionAllowedToMergeArrayOutput) Index added in v4.2.0

func (BranchProtectionAllowedToMergeArrayOutput) ToBranchProtectionAllowedToMergeArrayOutput added in v4.2.0

func (o BranchProtectionAllowedToMergeArrayOutput) ToBranchProtectionAllowedToMergeArrayOutput() BranchProtectionAllowedToMergeArrayOutput

func (BranchProtectionAllowedToMergeArrayOutput) ToBranchProtectionAllowedToMergeArrayOutputWithContext added in v4.2.0

func (o BranchProtectionAllowedToMergeArrayOutput) ToBranchProtectionAllowedToMergeArrayOutputWithContext(ctx context.Context) BranchProtectionAllowedToMergeArrayOutput

type BranchProtectionAllowedToMergeInput added in v4.2.0

type BranchProtectionAllowedToMergeInput interface {
	pulumi.Input

	ToBranchProtectionAllowedToMergeOutput() BranchProtectionAllowedToMergeOutput
	ToBranchProtectionAllowedToMergeOutputWithContext(context.Context) BranchProtectionAllowedToMergeOutput
}

BranchProtectionAllowedToMergeInput is an input type that accepts BranchProtectionAllowedToMergeArgs and BranchProtectionAllowedToMergeOutput values. You can construct a concrete instance of `BranchProtectionAllowedToMergeInput` via:

BranchProtectionAllowedToMergeArgs{...}

type BranchProtectionAllowedToMergeOutput added in v4.2.0

type BranchProtectionAllowedToMergeOutput struct{ *pulumi.OutputState }

func (BranchProtectionAllowedToMergeOutput) AccessLevel added in v4.2.0

Level of access.

func (BranchProtectionAllowedToMergeOutput) AccessLevelDescription added in v4.2.0

func (o BranchProtectionAllowedToMergeOutput) AccessLevelDescription() pulumi.StringPtrOutput

Readable description of level of access.

func (BranchProtectionAllowedToMergeOutput) ElementType added in v4.2.0

func (BranchProtectionAllowedToMergeOutput) GroupId added in v4.2.0

The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with `userId`.

func (BranchProtectionAllowedToMergeOutput) ToBranchProtectionAllowedToMergeOutput added in v4.2.0

func (o BranchProtectionAllowedToMergeOutput) ToBranchProtectionAllowedToMergeOutput() BranchProtectionAllowedToMergeOutput

func (BranchProtectionAllowedToMergeOutput) ToBranchProtectionAllowedToMergeOutputWithContext added in v4.2.0

func (o BranchProtectionAllowedToMergeOutput) ToBranchProtectionAllowedToMergeOutputWithContext(ctx context.Context) BranchProtectionAllowedToMergeOutput

func (BranchProtectionAllowedToMergeOutput) UserId added in v4.2.0

The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with `groupId`.

type BranchProtectionAllowedToPush added in v4.2.0

type BranchProtectionAllowedToPush struct {
	// Level of access.
	AccessLevel *string `pulumi:"accessLevel"`
	// Readable description of level of access.
	AccessLevelDescription *string `pulumi:"accessLevelDescription"`
	// The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with `userId`.
	GroupId *int `pulumi:"groupId"`
	// The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with `groupId`.
	UserId *int `pulumi:"userId"`
}

type BranchProtectionAllowedToPushArgs added in v4.2.0

type BranchProtectionAllowedToPushArgs struct {
	// Level of access.
	AccessLevel pulumi.StringPtrInput `pulumi:"accessLevel"`
	// Readable description of level of access.
	AccessLevelDescription pulumi.StringPtrInput `pulumi:"accessLevelDescription"`
	// The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with `userId`.
	GroupId pulumi.IntPtrInput `pulumi:"groupId"`
	// The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with `groupId`.
	UserId pulumi.IntPtrInput `pulumi:"userId"`
}

func (BranchProtectionAllowedToPushArgs) ElementType added in v4.2.0

func (BranchProtectionAllowedToPushArgs) ToBranchProtectionAllowedToPushOutput added in v4.2.0

func (i BranchProtectionAllowedToPushArgs) ToBranchProtectionAllowedToPushOutput() BranchProtectionAllowedToPushOutput

func (BranchProtectionAllowedToPushArgs) ToBranchProtectionAllowedToPushOutputWithContext added in v4.2.0

func (i BranchProtectionAllowedToPushArgs) ToBranchProtectionAllowedToPushOutputWithContext(ctx context.Context) BranchProtectionAllowedToPushOutput

type BranchProtectionAllowedToPushArray added in v4.2.0

type BranchProtectionAllowedToPushArray []BranchProtectionAllowedToPushInput

func (BranchProtectionAllowedToPushArray) ElementType added in v4.2.0

func (BranchProtectionAllowedToPushArray) ToBranchProtectionAllowedToPushArrayOutput added in v4.2.0

func (i BranchProtectionAllowedToPushArray) ToBranchProtectionAllowedToPushArrayOutput() BranchProtectionAllowedToPushArrayOutput

func (BranchProtectionAllowedToPushArray) ToBranchProtectionAllowedToPushArrayOutputWithContext added in v4.2.0

func (i BranchProtectionAllowedToPushArray) ToBranchProtectionAllowedToPushArrayOutputWithContext(ctx context.Context) BranchProtectionAllowedToPushArrayOutput

type BranchProtectionAllowedToPushArrayInput added in v4.2.0

type BranchProtectionAllowedToPushArrayInput interface {
	pulumi.Input

	ToBranchProtectionAllowedToPushArrayOutput() BranchProtectionAllowedToPushArrayOutput
	ToBranchProtectionAllowedToPushArrayOutputWithContext(context.Context) BranchProtectionAllowedToPushArrayOutput
}

BranchProtectionAllowedToPushArrayInput is an input type that accepts BranchProtectionAllowedToPushArray and BranchProtectionAllowedToPushArrayOutput values. You can construct a concrete instance of `BranchProtectionAllowedToPushArrayInput` via:

BranchProtectionAllowedToPushArray{ BranchProtectionAllowedToPushArgs{...} }

type BranchProtectionAllowedToPushArrayOutput added in v4.2.0

type BranchProtectionAllowedToPushArrayOutput struct{ *pulumi.OutputState }

func (BranchProtectionAllowedToPushArrayOutput) ElementType added in v4.2.0

func (BranchProtectionAllowedToPushArrayOutput) Index added in v4.2.0

func (BranchProtectionAllowedToPushArrayOutput) ToBranchProtectionAllowedToPushArrayOutput added in v4.2.0

func (o BranchProtectionAllowedToPushArrayOutput) ToBranchProtectionAllowedToPushArrayOutput() BranchProtectionAllowedToPushArrayOutput

func (BranchProtectionAllowedToPushArrayOutput) ToBranchProtectionAllowedToPushArrayOutputWithContext added in v4.2.0

func (o BranchProtectionAllowedToPushArrayOutput) ToBranchProtectionAllowedToPushArrayOutputWithContext(ctx context.Context) BranchProtectionAllowedToPushArrayOutput

type BranchProtectionAllowedToPushInput added in v4.2.0

type BranchProtectionAllowedToPushInput interface {
	pulumi.Input

	ToBranchProtectionAllowedToPushOutput() BranchProtectionAllowedToPushOutput
	ToBranchProtectionAllowedToPushOutputWithContext(context.Context) BranchProtectionAllowedToPushOutput
}

BranchProtectionAllowedToPushInput is an input type that accepts BranchProtectionAllowedToPushArgs and BranchProtectionAllowedToPushOutput values. You can construct a concrete instance of `BranchProtectionAllowedToPushInput` via:

BranchProtectionAllowedToPushArgs{...}

type BranchProtectionAllowedToPushOutput added in v4.2.0

type BranchProtectionAllowedToPushOutput struct{ *pulumi.OutputState }

func (BranchProtectionAllowedToPushOutput) AccessLevel added in v4.2.0

Level of access.

func (BranchProtectionAllowedToPushOutput) AccessLevelDescription added in v4.2.0

func (o BranchProtectionAllowedToPushOutput) AccessLevelDescription() pulumi.StringPtrOutput

Readable description of level of access.

func (BranchProtectionAllowedToPushOutput) ElementType added in v4.2.0

func (BranchProtectionAllowedToPushOutput) GroupId added in v4.2.0

The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with `userId`.

func (BranchProtectionAllowedToPushOutput) ToBranchProtectionAllowedToPushOutput added in v4.2.0

func (o BranchProtectionAllowedToPushOutput) ToBranchProtectionAllowedToPushOutput() BranchProtectionAllowedToPushOutput

func (BranchProtectionAllowedToPushOutput) ToBranchProtectionAllowedToPushOutputWithContext added in v4.2.0

func (o BranchProtectionAllowedToPushOutput) ToBranchProtectionAllowedToPushOutputWithContext(ctx context.Context) BranchProtectionAllowedToPushOutput

func (BranchProtectionAllowedToPushOutput) UserId added in v4.2.0

The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with `groupId`.

type BranchProtectionAllowedToUnprotect added in v4.7.0

type BranchProtectionAllowedToUnprotect struct {
	// Level of access.
	AccessLevel *string `pulumi:"accessLevel"`
	// Readable description of level of access.
	AccessLevelDescription *string `pulumi:"accessLevelDescription"`
	// The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with `userId`.
	GroupId *int `pulumi:"groupId"`
	// The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with `groupId`.
	UserId *int `pulumi:"userId"`
}

type BranchProtectionAllowedToUnprotectArgs added in v4.7.0

type BranchProtectionAllowedToUnprotectArgs struct {
	// Level of access.
	AccessLevel pulumi.StringPtrInput `pulumi:"accessLevel"`
	// Readable description of level of access.
	AccessLevelDescription pulumi.StringPtrInput `pulumi:"accessLevelDescription"`
	// The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with `userId`.
	GroupId pulumi.IntPtrInput `pulumi:"groupId"`
	// The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with `groupId`.
	UserId pulumi.IntPtrInput `pulumi:"userId"`
}

func (BranchProtectionAllowedToUnprotectArgs) ElementType added in v4.7.0

func (BranchProtectionAllowedToUnprotectArgs) ToBranchProtectionAllowedToUnprotectOutput added in v4.7.0

func (i BranchProtectionAllowedToUnprotectArgs) ToBranchProtectionAllowedToUnprotectOutput() BranchProtectionAllowedToUnprotectOutput

func (BranchProtectionAllowedToUnprotectArgs) ToBranchProtectionAllowedToUnprotectOutputWithContext added in v4.7.0

func (i BranchProtectionAllowedToUnprotectArgs) ToBranchProtectionAllowedToUnprotectOutputWithContext(ctx context.Context) BranchProtectionAllowedToUnprotectOutput

type BranchProtectionAllowedToUnprotectArray added in v4.7.0

type BranchProtectionAllowedToUnprotectArray []BranchProtectionAllowedToUnprotectInput

func (BranchProtectionAllowedToUnprotectArray) ElementType added in v4.7.0

func (BranchProtectionAllowedToUnprotectArray) ToBranchProtectionAllowedToUnprotectArrayOutput added in v4.7.0

func (i BranchProtectionAllowedToUnprotectArray) ToBranchProtectionAllowedToUnprotectArrayOutput() BranchProtectionAllowedToUnprotectArrayOutput

func (BranchProtectionAllowedToUnprotectArray) ToBranchProtectionAllowedToUnprotectArrayOutputWithContext added in v4.7.0

func (i BranchProtectionAllowedToUnprotectArray) ToBranchProtectionAllowedToUnprotectArrayOutputWithContext(ctx context.Context) BranchProtectionAllowedToUnprotectArrayOutput

type BranchProtectionAllowedToUnprotectArrayInput added in v4.7.0

type BranchProtectionAllowedToUnprotectArrayInput interface {
	pulumi.Input

	ToBranchProtectionAllowedToUnprotectArrayOutput() BranchProtectionAllowedToUnprotectArrayOutput
	ToBranchProtectionAllowedToUnprotectArrayOutputWithContext(context.Context) BranchProtectionAllowedToUnprotectArrayOutput
}

BranchProtectionAllowedToUnprotectArrayInput is an input type that accepts BranchProtectionAllowedToUnprotectArray and BranchProtectionAllowedToUnprotectArrayOutput values. You can construct a concrete instance of `BranchProtectionAllowedToUnprotectArrayInput` via:

BranchProtectionAllowedToUnprotectArray{ BranchProtectionAllowedToUnprotectArgs{...} }

type BranchProtectionAllowedToUnprotectArrayOutput added in v4.7.0

type BranchProtectionAllowedToUnprotectArrayOutput struct{ *pulumi.OutputState }

func (BranchProtectionAllowedToUnprotectArrayOutput) ElementType added in v4.7.0

func (BranchProtectionAllowedToUnprotectArrayOutput) Index added in v4.7.0

func (BranchProtectionAllowedToUnprotectArrayOutput) ToBranchProtectionAllowedToUnprotectArrayOutput added in v4.7.0

func (o BranchProtectionAllowedToUnprotectArrayOutput) ToBranchProtectionAllowedToUnprotectArrayOutput() BranchProtectionAllowedToUnprotectArrayOutput

func (BranchProtectionAllowedToUnprotectArrayOutput) ToBranchProtectionAllowedToUnprotectArrayOutputWithContext added in v4.7.0

func (o BranchProtectionAllowedToUnprotectArrayOutput) ToBranchProtectionAllowedToUnprotectArrayOutputWithContext(ctx context.Context) BranchProtectionAllowedToUnprotectArrayOutput

type BranchProtectionAllowedToUnprotectInput added in v4.7.0

type BranchProtectionAllowedToUnprotectInput interface {
	pulumi.Input

	ToBranchProtectionAllowedToUnprotectOutput() BranchProtectionAllowedToUnprotectOutput
	ToBranchProtectionAllowedToUnprotectOutputWithContext(context.Context) BranchProtectionAllowedToUnprotectOutput
}

BranchProtectionAllowedToUnprotectInput is an input type that accepts BranchProtectionAllowedToUnprotectArgs and BranchProtectionAllowedToUnprotectOutput values. You can construct a concrete instance of `BranchProtectionAllowedToUnprotectInput` via:

BranchProtectionAllowedToUnprotectArgs{...}

type BranchProtectionAllowedToUnprotectOutput added in v4.7.0

type BranchProtectionAllowedToUnprotectOutput struct{ *pulumi.OutputState }

func (BranchProtectionAllowedToUnprotectOutput) AccessLevel added in v4.7.0

Level of access.

func (BranchProtectionAllowedToUnprotectOutput) AccessLevelDescription added in v4.7.0

Readable description of level of access.

func (BranchProtectionAllowedToUnprotectOutput) ElementType added in v4.7.0

func (BranchProtectionAllowedToUnprotectOutput) GroupId added in v4.7.0

The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with `userId`.

func (BranchProtectionAllowedToUnprotectOutput) ToBranchProtectionAllowedToUnprotectOutput added in v4.7.0

func (o BranchProtectionAllowedToUnprotectOutput) ToBranchProtectionAllowedToUnprotectOutput() BranchProtectionAllowedToUnprotectOutput

func (BranchProtectionAllowedToUnprotectOutput) ToBranchProtectionAllowedToUnprotectOutputWithContext added in v4.7.0

func (o BranchProtectionAllowedToUnprotectOutput) ToBranchProtectionAllowedToUnprotectOutputWithContext(ctx context.Context) BranchProtectionAllowedToUnprotectOutput

func (BranchProtectionAllowedToUnprotectOutput) UserId added in v4.7.0

The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with `groupId`.

type BranchProtectionArgs

type BranchProtectionArgs struct {
	// Can be set to true to allow users with push access to force push.
	AllowForcePush pulumi.BoolPtrInput
	// Defines permissions for action.
	AllowedToMerges BranchProtectionAllowedToMergeArrayInput
	// Defines permissions for action.
	AllowedToPushes BranchProtectionAllowedToPushArrayInput
	// Defines permissions for action.
	AllowedToUnprotects BranchProtectionAllowedToUnprotectArrayInput
	// Name of the branch.
	Branch pulumi.StringInput
	// Can be set to true to require code owner approval before merging. Only available own Premium and Ultimate instances.
	CodeOwnerApprovalRequired pulumi.BoolPtrInput
	// Access levels allowed to merge. Valid values are: `no one`, `developer`, `maintainer`.
	MergeAccessLevel pulumi.StringPtrInput
	// The id of the project.
	Project pulumi.StringInput
	// Access levels allowed to push. Valid values are: `no one`, `developer`, `maintainer`.
	PushAccessLevel pulumi.StringPtrInput
	// Access levels allowed to unprotect. Valid values are: `no one`, `developer`, `maintainer`.
	UnprotectAccessLevel pulumi.StringPtrInput
}

The set of arguments for constructing a BranchProtection resource.

func (BranchProtectionArgs) ElementType

func (BranchProtectionArgs) ElementType() reflect.Type

type BranchProtectionArray

type BranchProtectionArray []BranchProtectionInput

func (BranchProtectionArray) ElementType

func (BranchProtectionArray) ElementType() reflect.Type

func (BranchProtectionArray) ToBranchProtectionArrayOutput

func (i BranchProtectionArray) ToBranchProtectionArrayOutput() BranchProtectionArrayOutput

func (BranchProtectionArray) ToBranchProtectionArrayOutputWithContext

func (i BranchProtectionArray) ToBranchProtectionArrayOutputWithContext(ctx context.Context) BranchProtectionArrayOutput

type BranchProtectionArrayInput

type BranchProtectionArrayInput interface {
	pulumi.Input

	ToBranchProtectionArrayOutput() BranchProtectionArrayOutput
	ToBranchProtectionArrayOutputWithContext(context.Context) BranchProtectionArrayOutput
}

BranchProtectionArrayInput is an input type that accepts BranchProtectionArray and BranchProtectionArrayOutput values. You can construct a concrete instance of `BranchProtectionArrayInput` via:

BranchProtectionArray{ BranchProtectionArgs{...} }

type BranchProtectionArrayOutput

type BranchProtectionArrayOutput struct{ *pulumi.OutputState }

func (BranchProtectionArrayOutput) ElementType

func (BranchProtectionArrayOutput) Index

func (BranchProtectionArrayOutput) ToBranchProtectionArrayOutput

func (o BranchProtectionArrayOutput) ToBranchProtectionArrayOutput() BranchProtectionArrayOutput

func (BranchProtectionArrayOutput) ToBranchProtectionArrayOutputWithContext

func (o BranchProtectionArrayOutput) ToBranchProtectionArrayOutputWithContext(ctx context.Context) BranchProtectionArrayOutput

type BranchProtectionInput

type BranchProtectionInput interface {
	pulumi.Input

	ToBranchProtectionOutput() BranchProtectionOutput
	ToBranchProtectionOutputWithContext(ctx context.Context) BranchProtectionOutput
}

type BranchProtectionMap

type BranchProtectionMap map[string]BranchProtectionInput

func (BranchProtectionMap) ElementType

func (BranchProtectionMap) ElementType() reflect.Type

func (BranchProtectionMap) ToBranchProtectionMapOutput

func (i BranchProtectionMap) ToBranchProtectionMapOutput() BranchProtectionMapOutput

func (BranchProtectionMap) ToBranchProtectionMapOutputWithContext

func (i BranchProtectionMap) ToBranchProtectionMapOutputWithContext(ctx context.Context) BranchProtectionMapOutput

type BranchProtectionMapInput

type BranchProtectionMapInput interface {
	pulumi.Input

	ToBranchProtectionMapOutput() BranchProtectionMapOutput
	ToBranchProtectionMapOutputWithContext(context.Context) BranchProtectionMapOutput
}

BranchProtectionMapInput is an input type that accepts BranchProtectionMap and BranchProtectionMapOutput values. You can construct a concrete instance of `BranchProtectionMapInput` via:

BranchProtectionMap{ "key": BranchProtectionArgs{...} }

type BranchProtectionMapOutput

type BranchProtectionMapOutput struct{ *pulumi.OutputState }

func (BranchProtectionMapOutput) ElementType

func (BranchProtectionMapOutput) ElementType() reflect.Type

func (BranchProtectionMapOutput) MapIndex

func (BranchProtectionMapOutput) ToBranchProtectionMapOutput

func (o BranchProtectionMapOutput) ToBranchProtectionMapOutput() BranchProtectionMapOutput

func (BranchProtectionMapOutput) ToBranchProtectionMapOutputWithContext

func (o BranchProtectionMapOutput) ToBranchProtectionMapOutputWithContext(ctx context.Context) BranchProtectionMapOutput

type BranchProtectionOutput

type BranchProtectionOutput struct{ *pulumi.OutputState }

func (BranchProtectionOutput) AllowForcePush added in v4.7.1

func (o BranchProtectionOutput) AllowForcePush() pulumi.BoolPtrOutput

Can be set to true to allow users with push access to force push.

func (BranchProtectionOutput) AllowedToMerges added in v4.7.1

Defines permissions for action.

func (BranchProtectionOutput) AllowedToPushes added in v4.7.1

Defines permissions for action.

func (BranchProtectionOutput) AllowedToUnprotects added in v4.7.1

Defines permissions for action.

func (BranchProtectionOutput) Branch added in v4.7.1

Name of the branch.

func (BranchProtectionOutput) BranchProtectionId added in v4.7.1

func (o BranchProtectionOutput) BranchProtectionId() pulumi.IntOutput

The ID of the branch protection (not the branch name).

func (BranchProtectionOutput) CodeOwnerApprovalRequired added in v4.7.1

func (o BranchProtectionOutput) CodeOwnerApprovalRequired() pulumi.BoolPtrOutput

Can be set to true to require code owner approval before merging. Only available own Premium and Ultimate instances.

func (BranchProtectionOutput) ElementType

func (BranchProtectionOutput) ElementType() reflect.Type

func (BranchProtectionOutput) MergeAccessLevel added in v4.7.1

func (o BranchProtectionOutput) MergeAccessLevel() pulumi.StringPtrOutput

Access levels allowed to merge. Valid values are: `no one`, `developer`, `maintainer`.

func (BranchProtectionOutput) Project added in v4.7.1

The id of the project.

func (BranchProtectionOutput) PushAccessLevel added in v4.7.1

func (o BranchProtectionOutput) PushAccessLevel() pulumi.StringPtrOutput

Access levels allowed to push. Valid values are: `no one`, `developer`, `maintainer`.

func (BranchProtectionOutput) ToBranchProtectionOutput

func (o BranchProtectionOutput) ToBranchProtectionOutput() BranchProtectionOutput

func (BranchProtectionOutput) ToBranchProtectionOutputWithContext

func (o BranchProtectionOutput) ToBranchProtectionOutputWithContext(ctx context.Context) BranchProtectionOutput

func (BranchProtectionOutput) UnprotectAccessLevel added in v4.7.1

func (o BranchProtectionOutput) UnprotectAccessLevel() pulumi.StringPtrOutput

Access levels allowed to unprotect. Valid values are: `no one`, `developer`, `maintainer`.

type BranchProtectionState

type BranchProtectionState struct {
	// Can be set to true to allow users with push access to force push.
	AllowForcePush pulumi.BoolPtrInput
	// Defines permissions for action.
	AllowedToMerges BranchProtectionAllowedToMergeArrayInput
	// Defines permissions for action.
	AllowedToPushes BranchProtectionAllowedToPushArrayInput
	// Defines permissions for action.
	AllowedToUnprotects BranchProtectionAllowedToUnprotectArrayInput
	// Name of the branch.
	Branch pulumi.StringPtrInput
	// The ID of the branch protection (not the branch name).
	BranchProtectionId pulumi.IntPtrInput
	// Can be set to true to require code owner approval before merging. Only available own Premium and Ultimate instances.
	CodeOwnerApprovalRequired pulumi.BoolPtrInput
	// Access levels allowed to merge. Valid values are: `no one`, `developer`, `maintainer`.
	MergeAccessLevel pulumi.StringPtrInput
	// The id of the project.
	Project pulumi.StringPtrInput
	// Access levels allowed to push. Valid values are: `no one`, `developer`, `maintainer`.
	PushAccessLevel pulumi.StringPtrInput
	// Access levels allowed to unprotect. Valid values are: `no one`, `developer`, `maintainer`.
	UnprotectAccessLevel pulumi.StringPtrInput
}

func (BranchProtectionState) ElementType

func (BranchProtectionState) ElementType() reflect.Type

type BranchState added in v4.6.0

type BranchState struct {
	// Bool, true if you can push to the branch.
	CanPush pulumi.BoolPtrInput
	// The commit associated with the branch ref.
	Commits BranchCommitArrayInput
	// Bool, true if branch is the default branch for the project.
	Default pulumi.BoolPtrInput
	// Bool, true if developer level access allows to merge branch.
	DeveloperCanMerge pulumi.BoolPtrInput
	// Bool, true if developer level access allows git push.
	DeveloperCanPush pulumi.BoolPtrInput
	// Bool, true if the branch has been merged into it's parent.
	Merged pulumi.BoolPtrInput
	// The name for this branch.
	Name pulumi.StringPtrInput
	// The ID or full path of the project which the branch is created against.
	Project pulumi.StringPtrInput
	// Bool, true if branch has branch protection.
	Protected pulumi.BoolPtrInput
	// The ref which the branch is created from.
	Ref pulumi.StringPtrInput
	// The url of the created branch (https).
	WebUrl pulumi.StringPtrInput
}

func (BranchState) ElementType added in v4.6.0

func (BranchState) ElementType() reflect.Type

type ClusterAgent added in v4.8.0

type ClusterAgent struct {
	pulumi.CustomResourceState

	// The ID of the agent.
	AgentId pulumi.IntOutput `pulumi:"agentId"`
	// The ISO8601 datetime when the agent was created.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The ID of the user who created the agent.
	CreatedByUserId pulumi.IntOutput `pulumi:"createdByUserId"`
	// The Name of the agent.
	Name pulumi.StringOutput `pulumi:"name"`
	// ID or full path of the project maintained by the authenticated user.
	Project pulumi.StringOutput `pulumi:"project"`
}

The `ClusterAgent` resource allows to manage the lifecycle of a GitLab Agent for Kubernetes.

> Note that this resource only registers the agent, but doesn't configure it.

The configuration needs to be manually added as described in
[the docs](https://docs.gitlab.com/ee/user/clusters/agent/install/index.html#create-an-agent-configuration-file).
However, a `RepositoryFile` resource may be used to achieve that.

> Requires at least maintainer permissions on the project.

> Requires at least GitLab 14.10

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/cluster_agents.html)

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := gitlab.NewClusterAgent(ctx, "example", &gitlab.ClusterAgentArgs{
			Project: pulumi.String("12345"),
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewRepositoryFile(ctx, "exampleAgentConfig", &gitlab.RepositoryFileArgs{
			Project: example.Project,
			Branch:  pulumi.String("main"),
			FilePath: example.Name.ApplyT(func(name string) (string, error) {
				return fmt.Sprintf(".gitlab/agents/%v", name), nil
			}).(pulumi.StringOutput),
			Content:     pulumi.String("  gitops:\n    ...\n"),
			AuthorEmail: pulumi.String("terraform@example.com"),
			AuthorName:  pulumi.String("Terraform"),
			CommitMessage: example.Name.ApplyT(func(name string) (string, error) {
				return fmt.Sprintf("feature: add agent config for %v", name), nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GitLab Agent for Kubernetes can be imported with the following command and the id pattern `<project>:<agent-id>`

```sh

$ pulumi import gitlab:index/clusterAgent:ClusterAgent example '12345:42'

```

func GetClusterAgent added in v4.8.0

func GetClusterAgent(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterAgentState, opts ...pulumi.ResourceOption) (*ClusterAgent, error)

GetClusterAgent gets an existing ClusterAgent resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewClusterAgent added in v4.8.0

func NewClusterAgent(ctx *pulumi.Context,
	name string, args *ClusterAgentArgs, opts ...pulumi.ResourceOption) (*ClusterAgent, error)

NewClusterAgent registers a new resource with the given unique name, arguments, and options.

func (*ClusterAgent) ElementType added in v4.8.0

func (*ClusterAgent) ElementType() reflect.Type

func (*ClusterAgent) ToClusterAgentOutput added in v4.8.0

func (i *ClusterAgent) ToClusterAgentOutput() ClusterAgentOutput

func (*ClusterAgent) ToClusterAgentOutputWithContext added in v4.8.0

func (i *ClusterAgent) ToClusterAgentOutputWithContext(ctx context.Context) ClusterAgentOutput

type ClusterAgentArgs added in v4.8.0

type ClusterAgentArgs struct {
	// The Name of the agent.
	Name pulumi.StringPtrInput
	// ID or full path of the project maintained by the authenticated user.
	Project pulumi.StringInput
}

The set of arguments for constructing a ClusterAgent resource.

func (ClusterAgentArgs) ElementType added in v4.8.0

func (ClusterAgentArgs) ElementType() reflect.Type

type ClusterAgentArray added in v4.8.0

type ClusterAgentArray []ClusterAgentInput

func (ClusterAgentArray) ElementType added in v4.8.0

func (ClusterAgentArray) ElementType() reflect.Type

func (ClusterAgentArray) ToClusterAgentArrayOutput added in v4.8.0

func (i ClusterAgentArray) ToClusterAgentArrayOutput() ClusterAgentArrayOutput

func (ClusterAgentArray) ToClusterAgentArrayOutputWithContext added in v4.8.0

func (i ClusterAgentArray) ToClusterAgentArrayOutputWithContext(ctx context.Context) ClusterAgentArrayOutput

type ClusterAgentArrayInput added in v4.8.0

type ClusterAgentArrayInput interface {
	pulumi.Input

	ToClusterAgentArrayOutput() ClusterAgentArrayOutput
	ToClusterAgentArrayOutputWithContext(context.Context) ClusterAgentArrayOutput
}

ClusterAgentArrayInput is an input type that accepts ClusterAgentArray and ClusterAgentArrayOutput values. You can construct a concrete instance of `ClusterAgentArrayInput` via:

ClusterAgentArray{ ClusterAgentArgs{...} }

type ClusterAgentArrayOutput added in v4.8.0

type ClusterAgentArrayOutput struct{ *pulumi.OutputState }

func (ClusterAgentArrayOutput) ElementType added in v4.8.0

func (ClusterAgentArrayOutput) ElementType() reflect.Type

func (ClusterAgentArrayOutput) Index added in v4.8.0

func (ClusterAgentArrayOutput) ToClusterAgentArrayOutput added in v4.8.0

func (o ClusterAgentArrayOutput) ToClusterAgentArrayOutput() ClusterAgentArrayOutput

func (ClusterAgentArrayOutput) ToClusterAgentArrayOutputWithContext added in v4.8.0

func (o ClusterAgentArrayOutput) ToClusterAgentArrayOutputWithContext(ctx context.Context) ClusterAgentArrayOutput

type ClusterAgentInput added in v4.8.0

type ClusterAgentInput interface {
	pulumi.Input

	ToClusterAgentOutput() ClusterAgentOutput
	ToClusterAgentOutputWithContext(ctx context.Context) ClusterAgentOutput
}

type ClusterAgentMap added in v4.8.0

type ClusterAgentMap map[string]ClusterAgentInput

func (ClusterAgentMap) ElementType added in v4.8.0

func (ClusterAgentMap) ElementType() reflect.Type

func (ClusterAgentMap) ToClusterAgentMapOutput added in v4.8.0

func (i ClusterAgentMap) ToClusterAgentMapOutput() ClusterAgentMapOutput

func (ClusterAgentMap) ToClusterAgentMapOutputWithContext added in v4.8.0

func (i ClusterAgentMap) ToClusterAgentMapOutputWithContext(ctx context.Context) ClusterAgentMapOutput

type ClusterAgentMapInput added in v4.8.0

type ClusterAgentMapInput interface {
	pulumi.Input

	ToClusterAgentMapOutput() ClusterAgentMapOutput
	ToClusterAgentMapOutputWithContext(context.Context) ClusterAgentMapOutput
}

ClusterAgentMapInput is an input type that accepts ClusterAgentMap and ClusterAgentMapOutput values. You can construct a concrete instance of `ClusterAgentMapInput` via:

ClusterAgentMap{ "key": ClusterAgentArgs{...} }

type ClusterAgentMapOutput added in v4.8.0

type ClusterAgentMapOutput struct{ *pulumi.OutputState }

func (ClusterAgentMapOutput) ElementType added in v4.8.0

func (ClusterAgentMapOutput) ElementType() reflect.Type

func (ClusterAgentMapOutput) MapIndex added in v4.8.0

func (ClusterAgentMapOutput) ToClusterAgentMapOutput added in v4.8.0

func (o ClusterAgentMapOutput) ToClusterAgentMapOutput() ClusterAgentMapOutput

func (ClusterAgentMapOutput) ToClusterAgentMapOutputWithContext added in v4.8.0

func (o ClusterAgentMapOutput) ToClusterAgentMapOutputWithContext(ctx context.Context) ClusterAgentMapOutput

type ClusterAgentOutput added in v4.8.0

type ClusterAgentOutput struct{ *pulumi.OutputState }

func (ClusterAgentOutput) AgentId added in v4.8.0

func (o ClusterAgentOutput) AgentId() pulumi.IntOutput

The ID of the agent.

func (ClusterAgentOutput) CreatedAt added in v4.8.0

func (o ClusterAgentOutput) CreatedAt() pulumi.StringOutput

The ISO8601 datetime when the agent was created.

func (ClusterAgentOutput) CreatedByUserId added in v4.8.0

func (o ClusterAgentOutput) CreatedByUserId() pulumi.IntOutput

The ID of the user who created the agent.

func (ClusterAgentOutput) ElementType added in v4.8.0

func (ClusterAgentOutput) ElementType() reflect.Type

func (ClusterAgentOutput) Name added in v4.8.0

The Name of the agent.

func (ClusterAgentOutput) Project added in v4.8.0

ID or full path of the project maintained by the authenticated user.

func (ClusterAgentOutput) ToClusterAgentOutput added in v4.8.0

func (o ClusterAgentOutput) ToClusterAgentOutput() ClusterAgentOutput

func (ClusterAgentOutput) ToClusterAgentOutputWithContext added in v4.8.0

func (o ClusterAgentOutput) ToClusterAgentOutputWithContext(ctx context.Context) ClusterAgentOutput

type ClusterAgentState added in v4.8.0

type ClusterAgentState struct {
	// The ID of the agent.
	AgentId pulumi.IntPtrInput
	// The ISO8601 datetime when the agent was created.
	CreatedAt pulumi.StringPtrInput
	// The ID of the user who created the agent.
	CreatedByUserId pulumi.IntPtrInput
	// The Name of the agent.
	Name pulumi.StringPtrInput
	// ID or full path of the project maintained by the authenticated user.
	Project pulumi.StringPtrInput
}

func (ClusterAgentState) ElementType added in v4.8.0

func (ClusterAgentState) ElementType() reflect.Type

type ClusterAgentToken added in v4.8.0

type ClusterAgentToken struct {
	pulumi.CustomResourceState

	// The ID of the agent.
	AgentId pulumi.IntOutput `pulumi:"agentId"`
	// The ISO8601 datetime when the agent was created.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The ID of the user who created the agent.
	CreatedByUserId pulumi.IntOutput `pulumi:"createdByUserId"`
	// The Description for the agent.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The ISO8601 datetime when the token was last used.
	LastUsedAt pulumi.StringOutput `pulumi:"lastUsedAt"`
	// The Name of the agent.
	Name pulumi.StringOutput `pulumi:"name"`
	// ID or full path of the project maintained by the authenticated user.
	Project pulumi.StringOutput `pulumi:"project"`
	// The status of the token. Valid values are `active`, `revoked`.
	Status pulumi.StringOutput `pulumi:"status"`
	// The secret token for the agent. The `token` is not available in imported resources.
	Token pulumi.StringOutput `pulumi:"token"`
	// The ID of the token.
	TokenId pulumi.IntOutput `pulumi:"tokenId"`
}

The `ClusterAgentToken` resource allows to manage the lifecycle of a token for a GitLab Agent for Kubernetes.

> Requires at least maintainer permissions on the project.

> Requires at least GitLab 15.0

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/cluster_agents.html#create-an-agent-token)

## Import

A token for a GitLab Agent for Kubernetes can be imported with the following command and the id pattern `<project>:<agent-id>:<token-id>`

```sh

$ pulumi import gitlab:index/clusterAgentToken:ClusterAgentToken example '12345:42:1'

```

ATTENTIONthe `token` resource attribute is not available for imported resources as this information cannot be read from the GitLab API.

func GetClusterAgentToken added in v4.8.0

func GetClusterAgentToken(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterAgentTokenState, opts ...pulumi.ResourceOption) (*ClusterAgentToken, error)

GetClusterAgentToken gets an existing ClusterAgentToken resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewClusterAgentToken added in v4.8.0

func NewClusterAgentToken(ctx *pulumi.Context,
	name string, args *ClusterAgentTokenArgs, opts ...pulumi.ResourceOption) (*ClusterAgentToken, error)

NewClusterAgentToken registers a new resource with the given unique name, arguments, and options.

func (*ClusterAgentToken) ElementType added in v4.8.0

func (*ClusterAgentToken) ElementType() reflect.Type

func (*ClusterAgentToken) ToClusterAgentTokenOutput added in v4.8.0

func (i *ClusterAgentToken) ToClusterAgentTokenOutput() ClusterAgentTokenOutput

func (*ClusterAgentToken) ToClusterAgentTokenOutputWithContext added in v4.8.0

func (i *ClusterAgentToken) ToClusterAgentTokenOutputWithContext(ctx context.Context) ClusterAgentTokenOutput

type ClusterAgentTokenArgs added in v4.8.0

type ClusterAgentTokenArgs struct {
	// The ID of the agent.
	AgentId pulumi.IntInput
	// The Description for the agent.
	Description pulumi.StringPtrInput
	// The Name of the agent.
	Name pulumi.StringPtrInput
	// ID or full path of the project maintained by the authenticated user.
	Project pulumi.StringInput
}

The set of arguments for constructing a ClusterAgentToken resource.

func (ClusterAgentTokenArgs) ElementType added in v4.8.0

func (ClusterAgentTokenArgs) ElementType() reflect.Type

type ClusterAgentTokenArray added in v4.8.0

type ClusterAgentTokenArray []ClusterAgentTokenInput

func (ClusterAgentTokenArray) ElementType added in v4.8.0

func (ClusterAgentTokenArray) ElementType() reflect.Type

func (ClusterAgentTokenArray) ToClusterAgentTokenArrayOutput added in v4.8.0

func (i ClusterAgentTokenArray) ToClusterAgentTokenArrayOutput() ClusterAgentTokenArrayOutput

func (ClusterAgentTokenArray) ToClusterAgentTokenArrayOutputWithContext added in v4.8.0

func (i ClusterAgentTokenArray) ToClusterAgentTokenArrayOutputWithContext(ctx context.Context) ClusterAgentTokenArrayOutput

type ClusterAgentTokenArrayInput added in v4.8.0

type ClusterAgentTokenArrayInput interface {
	pulumi.Input

	ToClusterAgentTokenArrayOutput() ClusterAgentTokenArrayOutput
	ToClusterAgentTokenArrayOutputWithContext(context.Context) ClusterAgentTokenArrayOutput
}

ClusterAgentTokenArrayInput is an input type that accepts ClusterAgentTokenArray and ClusterAgentTokenArrayOutput values. You can construct a concrete instance of `ClusterAgentTokenArrayInput` via:

ClusterAgentTokenArray{ ClusterAgentTokenArgs{...} }

type ClusterAgentTokenArrayOutput added in v4.8.0

type ClusterAgentTokenArrayOutput struct{ *pulumi.OutputState }

func (ClusterAgentTokenArrayOutput) ElementType added in v4.8.0

func (ClusterAgentTokenArrayOutput) Index added in v4.8.0

func (ClusterAgentTokenArrayOutput) ToClusterAgentTokenArrayOutput added in v4.8.0

func (o ClusterAgentTokenArrayOutput) ToClusterAgentTokenArrayOutput() ClusterAgentTokenArrayOutput

func (ClusterAgentTokenArrayOutput) ToClusterAgentTokenArrayOutputWithContext added in v4.8.0

func (o ClusterAgentTokenArrayOutput) ToClusterAgentTokenArrayOutputWithContext(ctx context.Context) ClusterAgentTokenArrayOutput

type ClusterAgentTokenInput added in v4.8.0

type ClusterAgentTokenInput interface {
	pulumi.Input

	ToClusterAgentTokenOutput() ClusterAgentTokenOutput
	ToClusterAgentTokenOutputWithContext(ctx context.Context) ClusterAgentTokenOutput
}

type ClusterAgentTokenMap added in v4.8.0

type ClusterAgentTokenMap map[string]ClusterAgentTokenInput

func (ClusterAgentTokenMap) ElementType added in v4.8.0

func (ClusterAgentTokenMap) ElementType() reflect.Type

func (ClusterAgentTokenMap) ToClusterAgentTokenMapOutput added in v4.8.0

func (i ClusterAgentTokenMap) ToClusterAgentTokenMapOutput() ClusterAgentTokenMapOutput

func (ClusterAgentTokenMap) ToClusterAgentTokenMapOutputWithContext added in v4.8.0

func (i ClusterAgentTokenMap) ToClusterAgentTokenMapOutputWithContext(ctx context.Context) ClusterAgentTokenMapOutput

type ClusterAgentTokenMapInput added in v4.8.0

type ClusterAgentTokenMapInput interface {
	pulumi.Input

	ToClusterAgentTokenMapOutput() ClusterAgentTokenMapOutput
	ToClusterAgentTokenMapOutputWithContext(context.Context) ClusterAgentTokenMapOutput
}

ClusterAgentTokenMapInput is an input type that accepts ClusterAgentTokenMap and ClusterAgentTokenMapOutput values. You can construct a concrete instance of `ClusterAgentTokenMapInput` via:

ClusterAgentTokenMap{ "key": ClusterAgentTokenArgs{...} }

type ClusterAgentTokenMapOutput added in v4.8.0

type ClusterAgentTokenMapOutput struct{ *pulumi.OutputState }

func (ClusterAgentTokenMapOutput) ElementType added in v4.8.0

func (ClusterAgentTokenMapOutput) ElementType() reflect.Type

func (ClusterAgentTokenMapOutput) MapIndex added in v4.8.0

func (ClusterAgentTokenMapOutput) ToClusterAgentTokenMapOutput added in v4.8.0

func (o ClusterAgentTokenMapOutput) ToClusterAgentTokenMapOutput() ClusterAgentTokenMapOutput

func (ClusterAgentTokenMapOutput) ToClusterAgentTokenMapOutputWithContext added in v4.8.0

func (o ClusterAgentTokenMapOutput) ToClusterAgentTokenMapOutputWithContext(ctx context.Context) ClusterAgentTokenMapOutput

type ClusterAgentTokenOutput added in v4.8.0

type ClusterAgentTokenOutput struct{ *pulumi.OutputState }

func (ClusterAgentTokenOutput) AgentId added in v4.8.0

The ID of the agent.

func (ClusterAgentTokenOutput) CreatedAt added in v4.8.0

The ISO8601 datetime when the agent was created.

func (ClusterAgentTokenOutput) CreatedByUserId added in v4.8.0

func (o ClusterAgentTokenOutput) CreatedByUserId() pulumi.IntOutput

The ID of the user who created the agent.

func (ClusterAgentTokenOutput) Description added in v4.8.0

The Description for the agent.

func (ClusterAgentTokenOutput) ElementType added in v4.8.0

func (ClusterAgentTokenOutput) ElementType() reflect.Type

func (ClusterAgentTokenOutput) LastUsedAt added in v4.8.0

The ISO8601 datetime when the token was last used.

func (ClusterAgentTokenOutput) Name added in v4.8.0

The Name of the agent.

func (ClusterAgentTokenOutput) Project added in v4.8.0

ID or full path of the project maintained by the authenticated user.

func (ClusterAgentTokenOutput) Status added in v4.8.0

The status of the token. Valid values are `active`, `revoked`.

func (ClusterAgentTokenOutput) ToClusterAgentTokenOutput added in v4.8.0

func (o ClusterAgentTokenOutput) ToClusterAgentTokenOutput() ClusterAgentTokenOutput

func (ClusterAgentTokenOutput) ToClusterAgentTokenOutputWithContext added in v4.8.0

func (o ClusterAgentTokenOutput) ToClusterAgentTokenOutputWithContext(ctx context.Context) ClusterAgentTokenOutput

func (ClusterAgentTokenOutput) Token added in v4.8.0

The secret token for the agent. The `token` is not available in imported resources.

func (ClusterAgentTokenOutput) TokenId added in v4.8.0

The ID of the token.

type ClusterAgentTokenState added in v4.8.0

type ClusterAgentTokenState struct {
	// The ID of the agent.
	AgentId pulumi.IntPtrInput
	// The ISO8601 datetime when the agent was created.
	CreatedAt pulumi.StringPtrInput
	// The ID of the user who created the agent.
	CreatedByUserId pulumi.IntPtrInput
	// The Description for the agent.
	Description pulumi.StringPtrInput
	// The ISO8601 datetime when the token was last used.
	LastUsedAt pulumi.StringPtrInput
	// The Name of the agent.
	Name pulumi.StringPtrInput
	// ID or full path of the project maintained by the authenticated user.
	Project pulumi.StringPtrInput
	// The status of the token. Valid values are `active`, `revoked`.
	Status pulumi.StringPtrInput
	// The secret token for the agent. The `token` is not available in imported resources.
	Token pulumi.StringPtrInput
	// The ID of the token.
	TokenId pulumi.IntPtrInput
}

func (ClusterAgentTokenState) ElementType added in v4.8.0

func (ClusterAgentTokenState) ElementType() reflect.Type

type DeployKey

type DeployKey struct {
	pulumi.CustomResourceState

	// Allow this deploy key to be used to push changes to the project. Defaults to `false`.
	CanPush pulumi.BoolPtrOutput `pulumi:"canPush"`
	// The public ssh key body.
	Key pulumi.StringOutput `pulumi:"key"`
	// The name or id of the project to add the deploy key to.
	Project pulumi.StringOutput `pulumi:"project"`
	// A title to describe the deploy key with.
	Title pulumi.StringOutput `pulumi:"title"`
}

The `DeployKey` resource allows to manage the lifecycle of a deploy key.

> To enable an already existing deploy key for another project use the `gitlabProjectDeployKey` resource.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/deploy_keys.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewDeployKey(ctx, "example", &gitlab.DeployKeyArgs{
			Key:     pulumi.String("ssh-rsa AAAA..."),
			Project: pulumi.String("example/deploying"),
			Title:   pulumi.String("Example deploy key"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GitLab deploy keys can be imported using an id made up of `{project_id}:{deploy_key_id}`, e.g. `project_id` can be whatever the [get single project api][get_single_project] takes for its `:id` value, so for example

```sh

$ pulumi import gitlab:index/deployKey:DeployKey test 1:3

```

```sh

$ pulumi import gitlab:index/deployKey:DeployKey test richardc/example:3

```

func GetDeployKey

func GetDeployKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeployKeyState, opts ...pulumi.ResourceOption) (*DeployKey, error)

GetDeployKey gets an existing DeployKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDeployKey

func NewDeployKey(ctx *pulumi.Context,
	name string, args *DeployKeyArgs, opts ...pulumi.ResourceOption) (*DeployKey, error)

NewDeployKey registers a new resource with the given unique name, arguments, and options.

func (*DeployKey) ElementType

func (*DeployKey) ElementType() reflect.Type

func (*DeployKey) ToDeployKeyOutput

func (i *DeployKey) ToDeployKeyOutput() DeployKeyOutput

func (*DeployKey) ToDeployKeyOutputWithContext

func (i *DeployKey) ToDeployKeyOutputWithContext(ctx context.Context) DeployKeyOutput

type DeployKeyArgs

type DeployKeyArgs struct {
	// Allow this deploy key to be used to push changes to the project. Defaults to `false`.
	CanPush pulumi.BoolPtrInput
	// The public ssh key body.
	Key pulumi.StringInput
	// The name or id of the project to add the deploy key to.
	Project pulumi.StringInput
	// A title to describe the deploy key with.
	Title pulumi.StringInput
}

The set of arguments for constructing a DeployKey resource.

func (DeployKeyArgs) ElementType

func (DeployKeyArgs) ElementType() reflect.Type

type DeployKeyArray

type DeployKeyArray []DeployKeyInput

func (DeployKeyArray) ElementType

func (DeployKeyArray) ElementType() reflect.Type

func (DeployKeyArray) ToDeployKeyArrayOutput

func (i DeployKeyArray) ToDeployKeyArrayOutput() DeployKeyArrayOutput

func (DeployKeyArray) ToDeployKeyArrayOutputWithContext

func (i DeployKeyArray) ToDeployKeyArrayOutputWithContext(ctx context.Context) DeployKeyArrayOutput

type DeployKeyArrayInput

type DeployKeyArrayInput interface {
	pulumi.Input

	ToDeployKeyArrayOutput() DeployKeyArrayOutput
	ToDeployKeyArrayOutputWithContext(context.Context) DeployKeyArrayOutput
}

DeployKeyArrayInput is an input type that accepts DeployKeyArray and DeployKeyArrayOutput values. You can construct a concrete instance of `DeployKeyArrayInput` via:

DeployKeyArray{ DeployKeyArgs{...} }

type DeployKeyArrayOutput

type DeployKeyArrayOutput struct{ *pulumi.OutputState }

func (DeployKeyArrayOutput) ElementType

func (DeployKeyArrayOutput) ElementType() reflect.Type

func (DeployKeyArrayOutput) Index

func (DeployKeyArrayOutput) ToDeployKeyArrayOutput

func (o DeployKeyArrayOutput) ToDeployKeyArrayOutput() DeployKeyArrayOutput

func (DeployKeyArrayOutput) ToDeployKeyArrayOutputWithContext

func (o DeployKeyArrayOutput) ToDeployKeyArrayOutputWithContext(ctx context.Context) DeployKeyArrayOutput

type DeployKeyEnable

type DeployKeyEnable struct {
	pulumi.CustomResourceState

	// Can deploy key push to the project's repository.
	CanPush pulumi.BoolPtrOutput `pulumi:"canPush"`
	// Deploy key.
	Key pulumi.StringOutput `pulumi:"key"`
	// The Gitlab key id for the pre-existing deploy key
	KeyId pulumi.StringOutput `pulumi:"keyId"`
	// The name or id of the project to add the deploy key to.
	Project pulumi.StringOutput `pulumi:"project"`
	// Deploy key's title.
	Title pulumi.StringOutput `pulumi:"title"`
}

The `DeployKeyEnable` resource allows to enable an already existing deploy key (see `DeployKey resource`) for a specific project.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/deploy_keys.html#enable-a-deploy-key)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		parentProject, err := gitlab.NewProject(ctx, "parentProject", nil)
		if err != nil {
			return err
		}
		fooProject, err := gitlab.NewProject(ctx, "fooProject", nil)
		if err != nil {
			return err
		}
		parentDeployKey, err := gitlab.NewDeployKey(ctx, "parentDeployKey", &gitlab.DeployKeyArgs{
			Project: parentProject.ID(),
			Title:   pulumi.String("Example deploy key"),
			Key:     pulumi.String("ssh-rsa AAAA..."),
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewDeployKeyEnable(ctx, "fooDeployKeyEnable", &gitlab.DeployKeyEnableArgs{
			Project: fooProject.ID(),
			KeyId:   parentDeployKey.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GitLab enabled deploy keys can be imported using an id made up of `{project_id}:{deploy_key_id}`, e.g. `project_id` can be whatever the [get single project api][get_single_project] takes for its `:id` value, so for example

```sh

$ pulumi import gitlab:index/deployKeyEnable:DeployKeyEnable example 12345:67890

```

```sh

$ pulumi import gitlab:index/deployKeyEnable:DeployKeyEnable example richardc/example:67890

```

func GetDeployKeyEnable

func GetDeployKeyEnable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeployKeyEnableState, opts ...pulumi.ResourceOption) (*DeployKeyEnable, error)

GetDeployKeyEnable gets an existing DeployKeyEnable resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDeployKeyEnable

func NewDeployKeyEnable(ctx *pulumi.Context,
	name string, args *DeployKeyEnableArgs, opts ...pulumi.ResourceOption) (*DeployKeyEnable, error)

NewDeployKeyEnable registers a new resource with the given unique name, arguments, and options.

func (*DeployKeyEnable) ElementType

func (*DeployKeyEnable) ElementType() reflect.Type

func (*DeployKeyEnable) ToDeployKeyEnableOutput

func (i *DeployKeyEnable) ToDeployKeyEnableOutput() DeployKeyEnableOutput

func (*DeployKeyEnable) ToDeployKeyEnableOutputWithContext

func (i *DeployKeyEnable) ToDeployKeyEnableOutputWithContext(ctx context.Context) DeployKeyEnableOutput

type DeployKeyEnableArgs

type DeployKeyEnableArgs struct {
	// Can deploy key push to the project's repository.
	CanPush pulumi.BoolPtrInput
	// Deploy key.
	Key pulumi.StringPtrInput
	// The Gitlab key id for the pre-existing deploy key
	KeyId pulumi.StringInput
	// The name or id of the project to add the deploy key to.
	Project pulumi.StringInput
	// Deploy key's title.
	Title pulumi.StringPtrInput
}

The set of arguments for constructing a DeployKeyEnable resource.

func (DeployKeyEnableArgs) ElementType

func (DeployKeyEnableArgs) ElementType() reflect.Type

type DeployKeyEnableArray

type DeployKeyEnableArray []DeployKeyEnableInput

func (DeployKeyEnableArray) ElementType

func (DeployKeyEnableArray) ElementType() reflect.Type

func (DeployKeyEnableArray) ToDeployKeyEnableArrayOutput

func (i DeployKeyEnableArray) ToDeployKeyEnableArrayOutput() DeployKeyEnableArrayOutput

func (DeployKeyEnableArray) ToDeployKeyEnableArrayOutputWithContext

func (i DeployKeyEnableArray) ToDeployKeyEnableArrayOutputWithContext(ctx context.Context) DeployKeyEnableArrayOutput

type DeployKeyEnableArrayInput

type DeployKeyEnableArrayInput interface {
	pulumi.Input

	ToDeployKeyEnableArrayOutput() DeployKeyEnableArrayOutput
	ToDeployKeyEnableArrayOutputWithContext(context.Context) DeployKeyEnableArrayOutput
}

DeployKeyEnableArrayInput is an input type that accepts DeployKeyEnableArray and DeployKeyEnableArrayOutput values. You can construct a concrete instance of `DeployKeyEnableArrayInput` via:

DeployKeyEnableArray{ DeployKeyEnableArgs{...} }

type DeployKeyEnableArrayOutput

type DeployKeyEnableArrayOutput struct{ *pulumi.OutputState }

func (DeployKeyEnableArrayOutput) ElementType

func (DeployKeyEnableArrayOutput) ElementType() reflect.Type

func (DeployKeyEnableArrayOutput) Index

func (DeployKeyEnableArrayOutput) ToDeployKeyEnableArrayOutput

func (o DeployKeyEnableArrayOutput) ToDeployKeyEnableArrayOutput() DeployKeyEnableArrayOutput

func (DeployKeyEnableArrayOutput) ToDeployKeyEnableArrayOutputWithContext

func (o DeployKeyEnableArrayOutput) ToDeployKeyEnableArrayOutputWithContext(ctx context.Context) DeployKeyEnableArrayOutput

type DeployKeyEnableInput

type DeployKeyEnableInput interface {
	pulumi.Input

	ToDeployKeyEnableOutput() DeployKeyEnableOutput
	ToDeployKeyEnableOutputWithContext(ctx context.Context) DeployKeyEnableOutput
}

type DeployKeyEnableMap

type DeployKeyEnableMap map[string]DeployKeyEnableInput

func (DeployKeyEnableMap) ElementType

func (DeployKeyEnableMap) ElementType() reflect.Type

func (DeployKeyEnableMap) ToDeployKeyEnableMapOutput

func (i DeployKeyEnableMap) ToDeployKeyEnableMapOutput() DeployKeyEnableMapOutput

func (DeployKeyEnableMap) ToDeployKeyEnableMapOutputWithContext

func (i DeployKeyEnableMap) ToDeployKeyEnableMapOutputWithContext(ctx context.Context) DeployKeyEnableMapOutput

type DeployKeyEnableMapInput

type DeployKeyEnableMapInput interface {
	pulumi.Input

	ToDeployKeyEnableMapOutput() DeployKeyEnableMapOutput
	ToDeployKeyEnableMapOutputWithContext(context.Context) DeployKeyEnableMapOutput
}

DeployKeyEnableMapInput is an input type that accepts DeployKeyEnableMap and DeployKeyEnableMapOutput values. You can construct a concrete instance of `DeployKeyEnableMapInput` via:

DeployKeyEnableMap{ "key": DeployKeyEnableArgs{...} }

type DeployKeyEnableMapOutput

type DeployKeyEnableMapOutput struct{ *pulumi.OutputState }

func (DeployKeyEnableMapOutput) ElementType

func (DeployKeyEnableMapOutput) ElementType() reflect.Type

func (DeployKeyEnableMapOutput) MapIndex

func (DeployKeyEnableMapOutput) ToDeployKeyEnableMapOutput

func (o DeployKeyEnableMapOutput) ToDeployKeyEnableMapOutput() DeployKeyEnableMapOutput

func (DeployKeyEnableMapOutput) ToDeployKeyEnableMapOutputWithContext

func (o DeployKeyEnableMapOutput) ToDeployKeyEnableMapOutputWithContext(ctx context.Context) DeployKeyEnableMapOutput

type DeployKeyEnableOutput

type DeployKeyEnableOutput struct{ *pulumi.OutputState }

func (DeployKeyEnableOutput) CanPush added in v4.7.1

Can deploy key push to the project's repository.

func (DeployKeyEnableOutput) ElementType

func (DeployKeyEnableOutput) ElementType() reflect.Type

func (DeployKeyEnableOutput) Key added in v4.7.1

Deploy key.

func (DeployKeyEnableOutput) KeyId added in v4.7.1

The Gitlab key id for the pre-existing deploy key

func (DeployKeyEnableOutput) Project added in v4.7.1

The name or id of the project to add the deploy key to.

func (DeployKeyEnableOutput) Title added in v4.7.1

Deploy key's title.

func (DeployKeyEnableOutput) ToDeployKeyEnableOutput

func (o DeployKeyEnableOutput) ToDeployKeyEnableOutput() DeployKeyEnableOutput

func (DeployKeyEnableOutput) ToDeployKeyEnableOutputWithContext

func (o DeployKeyEnableOutput) ToDeployKeyEnableOutputWithContext(ctx context.Context) DeployKeyEnableOutput

type DeployKeyEnableState

type DeployKeyEnableState struct {
	// Can deploy key push to the project's repository.
	CanPush pulumi.BoolPtrInput
	// Deploy key.
	Key pulumi.StringPtrInput
	// The Gitlab key id for the pre-existing deploy key
	KeyId pulumi.StringPtrInput
	// The name or id of the project to add the deploy key to.
	Project pulumi.StringPtrInput
	// Deploy key's title.
	Title pulumi.StringPtrInput
}

func (DeployKeyEnableState) ElementType

func (DeployKeyEnableState) ElementType() reflect.Type

type DeployKeyInput

type DeployKeyInput interface {
	pulumi.Input

	ToDeployKeyOutput() DeployKeyOutput
	ToDeployKeyOutputWithContext(ctx context.Context) DeployKeyOutput
}

type DeployKeyMap

type DeployKeyMap map[string]DeployKeyInput

func (DeployKeyMap) ElementType

func (DeployKeyMap) ElementType() reflect.Type

func (DeployKeyMap) ToDeployKeyMapOutput

func (i DeployKeyMap) ToDeployKeyMapOutput() DeployKeyMapOutput

func (DeployKeyMap) ToDeployKeyMapOutputWithContext

func (i DeployKeyMap) ToDeployKeyMapOutputWithContext(ctx context.Context) DeployKeyMapOutput

type DeployKeyMapInput

type DeployKeyMapInput interface {
	pulumi.Input

	ToDeployKeyMapOutput() DeployKeyMapOutput
	ToDeployKeyMapOutputWithContext(context.Context) DeployKeyMapOutput
}

DeployKeyMapInput is an input type that accepts DeployKeyMap and DeployKeyMapOutput values. You can construct a concrete instance of `DeployKeyMapInput` via:

DeployKeyMap{ "key": DeployKeyArgs{...} }

type DeployKeyMapOutput

type DeployKeyMapOutput struct{ *pulumi.OutputState }

func (DeployKeyMapOutput) ElementType

func (DeployKeyMapOutput) ElementType() reflect.Type

func (DeployKeyMapOutput) MapIndex

func (DeployKeyMapOutput) ToDeployKeyMapOutput

func (o DeployKeyMapOutput) ToDeployKeyMapOutput() DeployKeyMapOutput

func (DeployKeyMapOutput) ToDeployKeyMapOutputWithContext

func (o DeployKeyMapOutput) ToDeployKeyMapOutputWithContext(ctx context.Context) DeployKeyMapOutput

type DeployKeyOutput

type DeployKeyOutput struct{ *pulumi.OutputState }

func (DeployKeyOutput) CanPush added in v4.7.1

func (o DeployKeyOutput) CanPush() pulumi.BoolPtrOutput

Allow this deploy key to be used to push changes to the project. Defaults to `false`.

func (DeployKeyOutput) ElementType

func (DeployKeyOutput) ElementType() reflect.Type

func (DeployKeyOutput) Key added in v4.7.1

The public ssh key body.

func (DeployKeyOutput) Project added in v4.7.1

func (o DeployKeyOutput) Project() pulumi.StringOutput

The name or id of the project to add the deploy key to.

func (DeployKeyOutput) Title added in v4.7.1

A title to describe the deploy key with.

func (DeployKeyOutput) ToDeployKeyOutput

func (o DeployKeyOutput) ToDeployKeyOutput() DeployKeyOutput

func (DeployKeyOutput) ToDeployKeyOutputWithContext

func (o DeployKeyOutput) ToDeployKeyOutputWithContext(ctx context.Context) DeployKeyOutput

type DeployKeyState

type DeployKeyState struct {
	// Allow this deploy key to be used to push changes to the project. Defaults to `false`.
	CanPush pulumi.BoolPtrInput
	// The public ssh key body.
	Key pulumi.StringPtrInput
	// The name or id of the project to add the deploy key to.
	Project pulumi.StringPtrInput
	// A title to describe the deploy key with.
	Title pulumi.StringPtrInput
}

func (DeployKeyState) ElementType

func (DeployKeyState) ElementType() reflect.Type

type DeployToken

type DeployToken struct {
	pulumi.CustomResourceState

	// Time the token will expire it, RFC3339 format. Will not expire per default.
	ExpiresAt pulumi.StringPtrOutput `pulumi:"expiresAt"`
	// The name or id of the group to add the deploy token to.
	Group pulumi.StringPtrOutput `pulumi:"group"`
	// A name to describe the deploy token with.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name or id of the project to add the deploy token to.
	Project pulumi.StringPtrOutput `pulumi:"project"`
	// Valid values: `readRepository`, `readRegistry`, `readPackageRegistry`, `writeRegistry`, `writePackageRegistry`.
	Scopes pulumi.StringArrayOutput `pulumi:"scopes"`
	// The secret token. This is only populated when creating a new deploy token. **Note**: The token is not available for imported resources.
	Token pulumi.StringOutput `pulumi:"token"`
	// A username for the deploy token. Default is `gitlab+deploy-token-{n}`.
	Username pulumi.StringOutput `pulumi:"username"`
}

The `DeployToken` resource allows to manage the lifecycle of group and project deploy tokens.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/deploy_tokens.html)

## Import

GitLab deploy tokens can be imported using an id made up of `{type}:{type_id}:{deploy_token_id}`, where type is one ofproject, group.

```sh

$ pulumi import gitlab:index/deployToken:DeployToken group_token group:1:3

```

```sh

$ pulumi import gitlab:index/deployToken:DeployToken project_token project:1:4

```

Notethe `token` resource attribute is not available for imported resources as this information cannot be read from the GitLab API.

func GetDeployToken

func GetDeployToken(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeployTokenState, opts ...pulumi.ResourceOption) (*DeployToken, error)

GetDeployToken gets an existing DeployToken resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDeployToken

func NewDeployToken(ctx *pulumi.Context,
	name string, args *DeployTokenArgs, opts ...pulumi.ResourceOption) (*DeployToken, error)

NewDeployToken registers a new resource with the given unique name, arguments, and options.

func (*DeployToken) ElementType

func (*DeployToken) ElementType() reflect.Type

func (*DeployToken) ToDeployTokenOutput

func (i *DeployToken) ToDeployTokenOutput() DeployTokenOutput

func (*DeployToken) ToDeployTokenOutputWithContext

func (i *DeployToken) ToDeployTokenOutputWithContext(ctx context.Context) DeployTokenOutput

type DeployTokenArgs

type DeployTokenArgs struct {
	// Time the token will expire it, RFC3339 format. Will not expire per default.
	ExpiresAt pulumi.StringPtrInput
	// The name or id of the group to add the deploy token to.
	Group pulumi.StringPtrInput
	// A name to describe the deploy token with.
	Name pulumi.StringPtrInput
	// The name or id of the project to add the deploy token to.
	Project pulumi.StringPtrInput
	// Valid values: `readRepository`, `readRegistry`, `readPackageRegistry`, `writeRegistry`, `writePackageRegistry`.
	Scopes pulumi.StringArrayInput
	// A username for the deploy token. Default is `gitlab+deploy-token-{n}`.
	Username pulumi.StringPtrInput
}

The set of arguments for constructing a DeployToken resource.

func (DeployTokenArgs) ElementType

func (DeployTokenArgs) ElementType() reflect.Type

type DeployTokenArray

type DeployTokenArray []DeployTokenInput

func (DeployTokenArray) ElementType

func (DeployTokenArray) ElementType() reflect.Type

func (DeployTokenArray) ToDeployTokenArrayOutput

func (i DeployTokenArray) ToDeployTokenArrayOutput() DeployTokenArrayOutput

func (DeployTokenArray) ToDeployTokenArrayOutputWithContext

func (i DeployTokenArray) ToDeployTokenArrayOutputWithContext(ctx context.Context) DeployTokenArrayOutput

type DeployTokenArrayInput

type DeployTokenArrayInput interface {
	pulumi.Input

	ToDeployTokenArrayOutput() DeployTokenArrayOutput
	ToDeployTokenArrayOutputWithContext(context.Context) DeployTokenArrayOutput
}

DeployTokenArrayInput is an input type that accepts DeployTokenArray and DeployTokenArrayOutput values. You can construct a concrete instance of `DeployTokenArrayInput` via:

DeployTokenArray{ DeployTokenArgs{...} }

type DeployTokenArrayOutput

type DeployTokenArrayOutput struct{ *pulumi.OutputState }

func (DeployTokenArrayOutput) ElementType

func (DeployTokenArrayOutput) ElementType() reflect.Type

func (DeployTokenArrayOutput) Index

func (DeployTokenArrayOutput) ToDeployTokenArrayOutput

func (o DeployTokenArrayOutput) ToDeployTokenArrayOutput() DeployTokenArrayOutput

func (DeployTokenArrayOutput) ToDeployTokenArrayOutputWithContext

func (o DeployTokenArrayOutput) ToDeployTokenArrayOutputWithContext(ctx context.Context) DeployTokenArrayOutput

type DeployTokenInput

type DeployTokenInput interface {
	pulumi.Input

	ToDeployTokenOutput() DeployTokenOutput
	ToDeployTokenOutputWithContext(ctx context.Context) DeployTokenOutput
}

type DeployTokenMap

type DeployTokenMap map[string]DeployTokenInput

func (DeployTokenMap) ElementType

func (DeployTokenMap) ElementType() reflect.Type

func (DeployTokenMap) ToDeployTokenMapOutput

func (i DeployTokenMap) ToDeployTokenMapOutput() DeployTokenMapOutput

func (DeployTokenMap) ToDeployTokenMapOutputWithContext

func (i DeployTokenMap) ToDeployTokenMapOutputWithContext(ctx context.Context) DeployTokenMapOutput

type DeployTokenMapInput

type DeployTokenMapInput interface {
	pulumi.Input

	ToDeployTokenMapOutput() DeployTokenMapOutput
	ToDeployTokenMapOutputWithContext(context.Context) DeployTokenMapOutput
}

DeployTokenMapInput is an input type that accepts DeployTokenMap and DeployTokenMapOutput values. You can construct a concrete instance of `DeployTokenMapInput` via:

DeployTokenMap{ "key": DeployTokenArgs{...} }

type DeployTokenMapOutput

type DeployTokenMapOutput struct{ *pulumi.OutputState }

func (DeployTokenMapOutput) ElementType

func (DeployTokenMapOutput) ElementType() reflect.Type

func (DeployTokenMapOutput) MapIndex

func (DeployTokenMapOutput) ToDeployTokenMapOutput

func (o DeployTokenMapOutput) ToDeployTokenMapOutput() DeployTokenMapOutput

func (DeployTokenMapOutput) ToDeployTokenMapOutputWithContext

func (o DeployTokenMapOutput) ToDeployTokenMapOutputWithContext(ctx context.Context) DeployTokenMapOutput

type DeployTokenOutput

type DeployTokenOutput struct{ *pulumi.OutputState }

func (DeployTokenOutput) ElementType

func (DeployTokenOutput) ElementType() reflect.Type

func (DeployTokenOutput) ExpiresAt added in v4.7.1

Time the token will expire it, RFC3339 format. Will not expire per default.

func (DeployTokenOutput) Group added in v4.7.1

The name or id of the group to add the deploy token to.

func (DeployTokenOutput) Name added in v4.7.1

A name to describe the deploy token with.

func (DeployTokenOutput) Project added in v4.7.1

The name or id of the project to add the deploy token to.

func (DeployTokenOutput) Scopes added in v4.7.1

Valid values: `readRepository`, `readRegistry`, `readPackageRegistry`, `writeRegistry`, `writePackageRegistry`.

func (DeployTokenOutput) ToDeployTokenOutput

func (o DeployTokenOutput) ToDeployTokenOutput() DeployTokenOutput

func (DeployTokenOutput) ToDeployTokenOutputWithContext

func (o DeployTokenOutput) ToDeployTokenOutputWithContext(ctx context.Context) DeployTokenOutput

func (DeployTokenOutput) Token added in v4.7.1

The secret token. This is only populated when creating a new deploy token. **Note**: The token is not available for imported resources.

func (DeployTokenOutput) Username added in v4.7.1

func (o DeployTokenOutput) Username() pulumi.StringOutput

A username for the deploy token. Default is `gitlab+deploy-token-{n}`.

type DeployTokenState

type DeployTokenState struct {
	// Time the token will expire it, RFC3339 format. Will not expire per default.
	ExpiresAt pulumi.StringPtrInput
	// The name or id of the group to add the deploy token to.
	Group pulumi.StringPtrInput
	// A name to describe the deploy token with.
	Name pulumi.StringPtrInput
	// The name or id of the project to add the deploy token to.
	Project pulumi.StringPtrInput
	// Valid values: `readRepository`, `readRegistry`, `readPackageRegistry`, `writeRegistry`, `writePackageRegistry`.
	Scopes pulumi.StringArrayInput
	// The secret token. This is only populated when creating a new deploy token. **Note**: The token is not available for imported resources.
	Token pulumi.StringPtrInput
	// A username for the deploy token. Default is `gitlab+deploy-token-{n}`.
	Username pulumi.StringPtrInput
}

func (DeployTokenState) ElementType

func (DeployTokenState) ElementType() reflect.Type

type GetBranchCommit added in v4.6.0

type GetBranchCommit struct {
	AuthorEmail    string `pulumi:"authorEmail"`
	AuthorName     string `pulumi:"authorName"`
	AuthoredDate   string `pulumi:"authoredDate"`
	CommittedDate  string `pulumi:"committedDate"`
	CommitterEmail string `pulumi:"committerEmail"`
	CommitterName  string `pulumi:"committerName"`
	// The ID of this resource.
	Id        string   `pulumi:"id"`
	Message   string   `pulumi:"message"`
	ParentIds []string `pulumi:"parentIds"`
	ShortId   string   `pulumi:"shortId"`
	Title     string   `pulumi:"title"`
}

type GetBranchCommitArgs added in v4.6.0

type GetBranchCommitArgs struct {
	AuthorEmail    pulumi.StringInput `pulumi:"authorEmail"`
	AuthorName     pulumi.StringInput `pulumi:"authorName"`
	AuthoredDate   pulumi.StringInput `pulumi:"authoredDate"`
	CommittedDate  pulumi.StringInput `pulumi:"committedDate"`
	CommitterEmail pulumi.StringInput `pulumi:"committerEmail"`
	CommitterName  pulumi.StringInput `pulumi:"committerName"`
	// The ID of this resource.
	Id        pulumi.StringInput      `pulumi:"id"`
	Message   pulumi.StringInput      `pulumi:"message"`
	ParentIds pulumi.StringArrayInput `pulumi:"parentIds"`
	ShortId   pulumi.StringInput      `pulumi:"shortId"`
	Title     pulumi.StringInput      `pulumi:"title"`
}

func (GetBranchCommitArgs) ElementType added in v4.6.0

func (GetBranchCommitArgs) ElementType() reflect.Type

func (GetBranchCommitArgs) ToGetBranchCommitOutput added in v4.6.0

func (i GetBranchCommitArgs) ToGetBranchCommitOutput() GetBranchCommitOutput

func (GetBranchCommitArgs) ToGetBranchCommitOutputWithContext added in v4.6.0

func (i GetBranchCommitArgs) ToGetBranchCommitOutputWithContext(ctx context.Context) GetBranchCommitOutput

type GetBranchCommitArray added in v4.6.0

type GetBranchCommitArray []GetBranchCommitInput

func (GetBranchCommitArray) ElementType added in v4.6.0

func (GetBranchCommitArray) ElementType() reflect.Type

func (GetBranchCommitArray) ToGetBranchCommitArrayOutput added in v4.6.0

func (i GetBranchCommitArray) ToGetBranchCommitArrayOutput() GetBranchCommitArrayOutput

func (GetBranchCommitArray) ToGetBranchCommitArrayOutputWithContext added in v4.6.0

func (i GetBranchCommitArray) ToGetBranchCommitArrayOutputWithContext(ctx context.Context) GetBranchCommitArrayOutput

type GetBranchCommitArrayInput added in v4.6.0

type GetBranchCommitArrayInput interface {
	pulumi.Input

	ToGetBranchCommitArrayOutput() GetBranchCommitArrayOutput
	ToGetBranchCommitArrayOutputWithContext(context.Context) GetBranchCommitArrayOutput
}

GetBranchCommitArrayInput is an input type that accepts GetBranchCommitArray and GetBranchCommitArrayOutput values. You can construct a concrete instance of `GetBranchCommitArrayInput` via:

GetBranchCommitArray{ GetBranchCommitArgs{...} }

type GetBranchCommitArrayOutput added in v4.6.0

type GetBranchCommitArrayOutput struct{ *pulumi.OutputState }

func (GetBranchCommitArrayOutput) ElementType added in v4.6.0

func (GetBranchCommitArrayOutput) ElementType() reflect.Type

func (GetBranchCommitArrayOutput) Index added in v4.6.0

func (GetBranchCommitArrayOutput) ToGetBranchCommitArrayOutput added in v4.6.0

func (o GetBranchCommitArrayOutput) ToGetBranchCommitArrayOutput() GetBranchCommitArrayOutput

func (GetBranchCommitArrayOutput) ToGetBranchCommitArrayOutputWithContext added in v4.6.0

func (o GetBranchCommitArrayOutput) ToGetBranchCommitArrayOutputWithContext(ctx context.Context) GetBranchCommitArrayOutput

type GetBranchCommitInput added in v4.6.0

type GetBranchCommitInput interface {
	pulumi.Input

	ToGetBranchCommitOutput() GetBranchCommitOutput
	ToGetBranchCommitOutputWithContext(context.Context) GetBranchCommitOutput
}

GetBranchCommitInput is an input type that accepts GetBranchCommitArgs and GetBranchCommitOutput values. You can construct a concrete instance of `GetBranchCommitInput` via:

GetBranchCommitArgs{...}

type GetBranchCommitOutput added in v4.6.0

type GetBranchCommitOutput struct{ *pulumi.OutputState }

func (GetBranchCommitOutput) AuthorEmail added in v4.6.0

func (o GetBranchCommitOutput) AuthorEmail() pulumi.StringOutput

func (GetBranchCommitOutput) AuthorName added in v4.6.0

func (o GetBranchCommitOutput) AuthorName() pulumi.StringOutput

func (GetBranchCommitOutput) AuthoredDate added in v4.6.0

func (o GetBranchCommitOutput) AuthoredDate() pulumi.StringOutput

func (GetBranchCommitOutput) CommittedDate added in v4.6.0

func (o GetBranchCommitOutput) CommittedDate() pulumi.StringOutput

func (GetBranchCommitOutput) CommitterEmail added in v4.6.0

func (o GetBranchCommitOutput) CommitterEmail() pulumi.StringOutput

func (GetBranchCommitOutput) CommitterName added in v4.6.0

func (o GetBranchCommitOutput) CommitterName() pulumi.StringOutput

func (GetBranchCommitOutput) ElementType added in v4.6.0

func (GetBranchCommitOutput) ElementType() reflect.Type

func (GetBranchCommitOutput) Id added in v4.6.0

The ID of this resource.

func (GetBranchCommitOutput) Message added in v4.6.0

func (GetBranchCommitOutput) ParentIds added in v4.6.0

func (GetBranchCommitOutput) ShortId added in v4.6.0

func (GetBranchCommitOutput) Title added in v4.6.0

func (GetBranchCommitOutput) ToGetBranchCommitOutput added in v4.6.0

func (o GetBranchCommitOutput) ToGetBranchCommitOutput() GetBranchCommitOutput

func (GetBranchCommitOutput) ToGetBranchCommitOutputWithContext added in v4.6.0

func (o GetBranchCommitOutput) ToGetBranchCommitOutputWithContext(ctx context.Context) GetBranchCommitOutput

type GetClusterAgentsArgs added in v4.8.0

type GetClusterAgentsArgs struct {
	// The ID or full path of the project owned by the authenticated user.
	Project string `pulumi:"project"`
}

A collection of arguments for invoking getClusterAgents.

type GetClusterAgentsClusterAgent added in v4.8.0

type GetClusterAgentsClusterAgent struct {
	AgentId         int    `pulumi:"agentId"`
	CreatedAt       string `pulumi:"createdAt"`
	CreatedByUserId int    `pulumi:"createdByUserId"`
	Name            string `pulumi:"name"`
	// The ID or full path of the project owned by the authenticated user.
	Project string `pulumi:"project"`
}

type GetClusterAgentsClusterAgentArgs added in v4.8.0

type GetClusterAgentsClusterAgentArgs struct {
	AgentId         pulumi.IntInput    `pulumi:"agentId"`
	CreatedAt       pulumi.StringInput `pulumi:"createdAt"`
	CreatedByUserId pulumi.IntInput    `pulumi:"createdByUserId"`
	Name            pulumi.StringInput `pulumi:"name"`
	// The ID or full path of the project owned by the authenticated user.
	Project pulumi.StringInput `pulumi:"project"`
}

func (GetClusterAgentsClusterAgentArgs) ElementType added in v4.8.0

func (GetClusterAgentsClusterAgentArgs) ToGetClusterAgentsClusterAgentOutput added in v4.8.0

func (i GetClusterAgentsClusterAgentArgs) ToGetClusterAgentsClusterAgentOutput() GetClusterAgentsClusterAgentOutput

func (GetClusterAgentsClusterAgentArgs) ToGetClusterAgentsClusterAgentOutputWithContext added in v4.8.0

func (i GetClusterAgentsClusterAgentArgs) ToGetClusterAgentsClusterAgentOutputWithContext(ctx context.Context) GetClusterAgentsClusterAgentOutput

type GetClusterAgentsClusterAgentArray added in v4.8.0

type GetClusterAgentsClusterAgentArray []GetClusterAgentsClusterAgentInput

func (GetClusterAgentsClusterAgentArray) ElementType added in v4.8.0

func (GetClusterAgentsClusterAgentArray) ToGetClusterAgentsClusterAgentArrayOutput added in v4.8.0

func (i GetClusterAgentsClusterAgentArray) ToGetClusterAgentsClusterAgentArrayOutput() GetClusterAgentsClusterAgentArrayOutput

func (GetClusterAgentsClusterAgentArray) ToGetClusterAgentsClusterAgentArrayOutputWithContext added in v4.8.0

func (i GetClusterAgentsClusterAgentArray) ToGetClusterAgentsClusterAgentArrayOutputWithContext(ctx context.Context) GetClusterAgentsClusterAgentArrayOutput

type GetClusterAgentsClusterAgentArrayInput added in v4.8.0

type GetClusterAgentsClusterAgentArrayInput interface {
	pulumi.Input

	ToGetClusterAgentsClusterAgentArrayOutput() GetClusterAgentsClusterAgentArrayOutput
	ToGetClusterAgentsClusterAgentArrayOutputWithContext(context.Context) GetClusterAgentsClusterAgentArrayOutput
}

GetClusterAgentsClusterAgentArrayInput is an input type that accepts GetClusterAgentsClusterAgentArray and GetClusterAgentsClusterAgentArrayOutput values. You can construct a concrete instance of `GetClusterAgentsClusterAgentArrayInput` via:

GetClusterAgentsClusterAgentArray{ GetClusterAgentsClusterAgentArgs{...} }

type GetClusterAgentsClusterAgentArrayOutput added in v4.8.0

type GetClusterAgentsClusterAgentArrayOutput struct{ *pulumi.OutputState }

func (GetClusterAgentsClusterAgentArrayOutput) ElementType added in v4.8.0

func (GetClusterAgentsClusterAgentArrayOutput) Index added in v4.8.0

func (GetClusterAgentsClusterAgentArrayOutput) ToGetClusterAgentsClusterAgentArrayOutput added in v4.8.0

func (o GetClusterAgentsClusterAgentArrayOutput) ToGetClusterAgentsClusterAgentArrayOutput() GetClusterAgentsClusterAgentArrayOutput

func (GetClusterAgentsClusterAgentArrayOutput) ToGetClusterAgentsClusterAgentArrayOutputWithContext added in v4.8.0

func (o GetClusterAgentsClusterAgentArrayOutput) ToGetClusterAgentsClusterAgentArrayOutputWithContext(ctx context.Context) GetClusterAgentsClusterAgentArrayOutput

type GetClusterAgentsClusterAgentInput added in v4.8.0

type GetClusterAgentsClusterAgentInput interface {
	pulumi.Input

	ToGetClusterAgentsClusterAgentOutput() GetClusterAgentsClusterAgentOutput
	ToGetClusterAgentsClusterAgentOutputWithContext(context.Context) GetClusterAgentsClusterAgentOutput
}

GetClusterAgentsClusterAgentInput is an input type that accepts GetClusterAgentsClusterAgentArgs and GetClusterAgentsClusterAgentOutput values. You can construct a concrete instance of `GetClusterAgentsClusterAgentInput` via:

GetClusterAgentsClusterAgentArgs{...}

type GetClusterAgentsClusterAgentOutput added in v4.8.0

type GetClusterAgentsClusterAgentOutput struct{ *pulumi.OutputState }

func (GetClusterAgentsClusterAgentOutput) AgentId added in v4.8.0

func (GetClusterAgentsClusterAgentOutput) CreatedAt added in v4.8.0

func (GetClusterAgentsClusterAgentOutput) CreatedByUserId added in v4.8.0

func (GetClusterAgentsClusterAgentOutput) ElementType added in v4.8.0

func (GetClusterAgentsClusterAgentOutput) Name added in v4.8.0

func (GetClusterAgentsClusterAgentOutput) Project added in v4.8.0

The ID or full path of the project owned by the authenticated user.

func (GetClusterAgentsClusterAgentOutput) ToGetClusterAgentsClusterAgentOutput added in v4.8.0

func (o GetClusterAgentsClusterAgentOutput) ToGetClusterAgentsClusterAgentOutput() GetClusterAgentsClusterAgentOutput

func (GetClusterAgentsClusterAgentOutput) ToGetClusterAgentsClusterAgentOutputWithContext added in v4.8.0

func (o GetClusterAgentsClusterAgentOutput) ToGetClusterAgentsClusterAgentOutputWithContext(ctx context.Context) GetClusterAgentsClusterAgentOutput

type GetClusterAgentsOutputArgs added in v4.8.0

type GetClusterAgentsOutputArgs struct {
	// The ID or full path of the project owned by the authenticated user.
	Project pulumi.StringInput `pulumi:"project"`
}

A collection of arguments for invoking getClusterAgents.

func (GetClusterAgentsOutputArgs) ElementType added in v4.8.0

func (GetClusterAgentsOutputArgs) ElementType() reflect.Type

type GetClusterAgentsResult added in v4.8.0

type GetClusterAgentsResult struct {
	// List of the registered agents.
	ClusterAgents []GetClusterAgentsClusterAgent `pulumi:"clusterAgents"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The ID or full path of the project owned by the authenticated user.
	Project string `pulumi:"project"`
}

A collection of values returned by getClusterAgents.

func GetClusterAgents added in v4.8.0

func GetClusterAgents(ctx *pulumi.Context, args *GetClusterAgentsArgs, opts ...pulumi.InvokeOption) (*GetClusterAgentsResult, error)

The `getClusterAgents` data source allows details of GitLab Agents for Kubernetes in a project.

> Requires at least GitLab 14.10

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/cluster_agents.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.GetClusterAgents(ctx, &gitlab.GetClusterAgentsArgs{
			Project: "12345",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetClusterAgentsResultOutput added in v4.8.0

type GetClusterAgentsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getClusterAgents.

func GetClusterAgentsOutput added in v4.8.0

func (GetClusterAgentsResultOutput) ClusterAgents added in v4.8.0

List of the registered agents.

func (GetClusterAgentsResultOutput) ElementType added in v4.8.0

func (GetClusterAgentsResultOutput) Id added in v4.8.0

The provider-assigned unique ID for this managed resource.

func (GetClusterAgentsResultOutput) Project added in v4.8.0

The ID or full path of the project owned by the authenticated user.

func (GetClusterAgentsResultOutput) ToGetClusterAgentsResultOutput added in v4.8.0

func (o GetClusterAgentsResultOutput) ToGetClusterAgentsResultOutput() GetClusterAgentsResultOutput

func (GetClusterAgentsResultOutput) ToGetClusterAgentsResultOutputWithContext added in v4.8.0

func (o GetClusterAgentsResultOutput) ToGetClusterAgentsResultOutputWithContext(ctx context.Context) GetClusterAgentsResultOutput

type GetCurrentUserResult added in v4.8.0

type GetCurrentUserResult struct {
	// Indicates if the user is a bot.
	Bot bool `pulumi:"bot"`
	// Global ID of the user. This is in the form of a GraphQL globally unique ID.
	GlobalId string `pulumi:"globalId"`
	// Personal namespace of the user. This is in the form of a GraphQL globally unique ID.
	GlobalNamespaceId string `pulumi:"globalNamespaceId"`
	// Group count for the user.
	GroupCount int `pulumi:"groupCount"`
	// ID of the user.
	Id string `pulumi:"id"`
	// Human-readable name of the user. Returns **** if the user is a project bot and the requester does not have permission to view the project.
	Name string `pulumi:"name"`
	// Personal namespace of the user.
	NamespaceId string `pulumi:"namespaceId"`
	// User’s public email.
	PublicEmail string `pulumi:"publicEmail"`
	// Username of the user. Unique within this instance of GitLab.
	Username string `pulumi:"username"`
}

A collection of values returned by getCurrentUser.

func GetCurrentUser added in v4.8.0

func GetCurrentUser(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetCurrentUserResult, error)

The `getCurrentUser` data source allows details of the current user (determined by `token` provider attribute) to be retrieved.

**Upstream API**: [GitLab GraphQL API docs](https://docs.gitlab.com/ee/api/graphql/reference/index.html#querycurrentuser)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.GetCurrentUser(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetGroupHooksArgs added in v4.9.0

type GetGroupHooksArgs struct {
	// The ID or full path of the group.
	Group string `pulumi:"group"`
}

A collection of arguments for invoking getGroupHooks.

type GetGroupHooksHook added in v4.9.0

type GetGroupHooksHook struct {
	ConfidentialIssuesEvents bool `pulumi:"confidentialIssuesEvents"`
	ConfidentialNoteEvents   bool `pulumi:"confidentialNoteEvents"`
	DeploymentEvents         bool `pulumi:"deploymentEvents"`
	EnableSslVerification    bool `pulumi:"enableSslVerification"`
	// The ID or full path of the group.
	Group                  string `pulumi:"group"`
	GroupId                int    `pulumi:"groupId"`
	HookId                 int    `pulumi:"hookId"`
	IssuesEvents           bool   `pulumi:"issuesEvents"`
	JobEvents              bool   `pulumi:"jobEvents"`
	MergeRequestsEvents    bool   `pulumi:"mergeRequestsEvents"`
	NoteEvents             bool   `pulumi:"noteEvents"`
	PipelineEvents         bool   `pulumi:"pipelineEvents"`
	PushEvents             bool   `pulumi:"pushEvents"`
	PushEventsBranchFilter string `pulumi:"pushEventsBranchFilter"`
	ReleasesEvents         bool   `pulumi:"releasesEvents"`
	SubgroupEvents         bool   `pulumi:"subgroupEvents"`
	TagPushEvents          bool   `pulumi:"tagPushEvents"`
	Token                  string `pulumi:"token"`
	Url                    string `pulumi:"url"`
	WikiPageEvents         bool   `pulumi:"wikiPageEvents"`
}

type GetGroupHooksHookArgs added in v4.9.0

type GetGroupHooksHookArgs struct {
	ConfidentialIssuesEvents pulumi.BoolInput `pulumi:"confidentialIssuesEvents"`
	ConfidentialNoteEvents   pulumi.BoolInput `pulumi:"confidentialNoteEvents"`
	DeploymentEvents         pulumi.BoolInput `pulumi:"deploymentEvents"`
	EnableSslVerification    pulumi.BoolInput `pulumi:"enableSslVerification"`
	// The ID or full path of the group.
	Group                  pulumi.StringInput `pulumi:"group"`
	GroupId                pulumi.IntInput    `pulumi:"groupId"`
	HookId                 pulumi.IntInput    `pulumi:"hookId"`
	IssuesEvents           pulumi.BoolInput   `pulumi:"issuesEvents"`
	JobEvents              pulumi.BoolInput   `pulumi:"jobEvents"`
	MergeRequestsEvents    pulumi.BoolInput   `pulumi:"mergeRequestsEvents"`
	NoteEvents             pulumi.BoolInput   `pulumi:"noteEvents"`
	PipelineEvents         pulumi.BoolInput   `pulumi:"pipelineEvents"`
	PushEvents             pulumi.BoolInput   `pulumi:"pushEvents"`
	PushEventsBranchFilter pulumi.StringInput `pulumi:"pushEventsBranchFilter"`
	ReleasesEvents         pulumi.BoolInput   `pulumi:"releasesEvents"`
	SubgroupEvents         pulumi.BoolInput   `pulumi:"subgroupEvents"`
	TagPushEvents          pulumi.BoolInput   `pulumi:"tagPushEvents"`
	Token                  pulumi.StringInput `pulumi:"token"`
	Url                    pulumi.StringInput `pulumi:"url"`
	WikiPageEvents         pulumi.BoolInput   `pulumi:"wikiPageEvents"`
}

func (GetGroupHooksHookArgs) ElementType added in v4.9.0

func (GetGroupHooksHookArgs) ElementType() reflect.Type

func (GetGroupHooksHookArgs) ToGetGroupHooksHookOutput added in v4.9.0

func (i GetGroupHooksHookArgs) ToGetGroupHooksHookOutput() GetGroupHooksHookOutput

func (GetGroupHooksHookArgs) ToGetGroupHooksHookOutputWithContext added in v4.9.0

func (i GetGroupHooksHookArgs) ToGetGroupHooksHookOutputWithContext(ctx context.Context) GetGroupHooksHookOutput

type GetGroupHooksHookArray added in v4.9.0

type GetGroupHooksHookArray []GetGroupHooksHookInput

func (GetGroupHooksHookArray) ElementType added in v4.9.0

func (GetGroupHooksHookArray) ElementType() reflect.Type

func (GetGroupHooksHookArray) ToGetGroupHooksHookArrayOutput added in v4.9.0

func (i GetGroupHooksHookArray) ToGetGroupHooksHookArrayOutput() GetGroupHooksHookArrayOutput

func (GetGroupHooksHookArray) ToGetGroupHooksHookArrayOutputWithContext added in v4.9.0

func (i GetGroupHooksHookArray) ToGetGroupHooksHookArrayOutputWithContext(ctx context.Context) GetGroupHooksHookArrayOutput

type GetGroupHooksHookArrayInput added in v4.9.0

type GetGroupHooksHookArrayInput interface {
	pulumi.Input

	ToGetGroupHooksHookArrayOutput() GetGroupHooksHookArrayOutput
	ToGetGroupHooksHookArrayOutputWithContext(context.Context) GetGroupHooksHookArrayOutput
}

GetGroupHooksHookArrayInput is an input type that accepts GetGroupHooksHookArray and GetGroupHooksHookArrayOutput values. You can construct a concrete instance of `GetGroupHooksHookArrayInput` via:

GetGroupHooksHookArray{ GetGroupHooksHookArgs{...} }

type GetGroupHooksHookArrayOutput added in v4.9.0

type GetGroupHooksHookArrayOutput struct{ *pulumi.OutputState }

func (GetGroupHooksHookArrayOutput) ElementType added in v4.9.0

func (GetGroupHooksHookArrayOutput) Index added in v4.9.0

func (GetGroupHooksHookArrayOutput) ToGetGroupHooksHookArrayOutput added in v4.9.0

func (o GetGroupHooksHookArrayOutput) ToGetGroupHooksHookArrayOutput() GetGroupHooksHookArrayOutput

func (GetGroupHooksHookArrayOutput) ToGetGroupHooksHookArrayOutputWithContext added in v4.9.0

func (o GetGroupHooksHookArrayOutput) ToGetGroupHooksHookArrayOutputWithContext(ctx context.Context) GetGroupHooksHookArrayOutput

type GetGroupHooksHookInput added in v4.9.0

type GetGroupHooksHookInput interface {
	pulumi.Input

	ToGetGroupHooksHookOutput() GetGroupHooksHookOutput
	ToGetGroupHooksHookOutputWithContext(context.Context) GetGroupHooksHookOutput
}

GetGroupHooksHookInput is an input type that accepts GetGroupHooksHookArgs and GetGroupHooksHookOutput values. You can construct a concrete instance of `GetGroupHooksHookInput` via:

GetGroupHooksHookArgs{...}

type GetGroupHooksHookOutput added in v4.9.0

type GetGroupHooksHookOutput struct{ *pulumi.OutputState }

func (GetGroupHooksHookOutput) ConfidentialIssuesEvents added in v4.9.0

func (o GetGroupHooksHookOutput) ConfidentialIssuesEvents() pulumi.BoolOutput

func (GetGroupHooksHookOutput) ConfidentialNoteEvents added in v4.9.0

func (o GetGroupHooksHookOutput) ConfidentialNoteEvents() pulumi.BoolOutput

func (GetGroupHooksHookOutput) DeploymentEvents added in v4.9.0

func (o GetGroupHooksHookOutput) DeploymentEvents() pulumi.BoolOutput

func (GetGroupHooksHookOutput) ElementType added in v4.9.0

func (GetGroupHooksHookOutput) ElementType() reflect.Type

func (GetGroupHooksHookOutput) EnableSslVerification added in v4.9.0

func (o GetGroupHooksHookOutput) EnableSslVerification() pulumi.BoolOutput

func (GetGroupHooksHookOutput) Group added in v4.9.0

The ID or full path of the group.

func (GetGroupHooksHookOutput) GroupId added in v4.9.0

func (GetGroupHooksHookOutput) HookId added in v4.9.0

func (GetGroupHooksHookOutput) IssuesEvents added in v4.9.0

func (o GetGroupHooksHookOutput) IssuesEvents() pulumi.BoolOutput

func (GetGroupHooksHookOutput) JobEvents added in v4.9.0

func (GetGroupHooksHookOutput) MergeRequestsEvents added in v4.9.0

func (o GetGroupHooksHookOutput) MergeRequestsEvents() pulumi.BoolOutput

func (GetGroupHooksHookOutput) NoteEvents added in v4.9.0

func (o GetGroupHooksHookOutput) NoteEvents() pulumi.BoolOutput

func (GetGroupHooksHookOutput) PipelineEvents added in v4.9.0

func (o GetGroupHooksHookOutput) PipelineEvents() pulumi.BoolOutput

func (GetGroupHooksHookOutput) PushEvents added in v4.9.0

func (o GetGroupHooksHookOutput) PushEvents() pulumi.BoolOutput

func (GetGroupHooksHookOutput) PushEventsBranchFilter added in v4.9.0

func (o GetGroupHooksHookOutput) PushEventsBranchFilter() pulumi.StringOutput

func (GetGroupHooksHookOutput) ReleasesEvents added in v4.9.0

func (o GetGroupHooksHookOutput) ReleasesEvents() pulumi.BoolOutput

func (GetGroupHooksHookOutput) SubgroupEvents added in v4.9.0

func (o GetGroupHooksHookOutput) SubgroupEvents() pulumi.BoolOutput

func (GetGroupHooksHookOutput) TagPushEvents added in v4.9.0

func (o GetGroupHooksHookOutput) TagPushEvents() pulumi.BoolOutput

func (GetGroupHooksHookOutput) ToGetGroupHooksHookOutput added in v4.9.0

func (o GetGroupHooksHookOutput) ToGetGroupHooksHookOutput() GetGroupHooksHookOutput

func (GetGroupHooksHookOutput) ToGetGroupHooksHookOutputWithContext added in v4.9.0

func (o GetGroupHooksHookOutput) ToGetGroupHooksHookOutputWithContext(ctx context.Context) GetGroupHooksHookOutput

func (GetGroupHooksHookOutput) Token added in v4.9.0

func (GetGroupHooksHookOutput) Url added in v4.9.0

func (GetGroupHooksHookOutput) WikiPageEvents added in v4.9.0

func (o GetGroupHooksHookOutput) WikiPageEvents() pulumi.BoolOutput

type GetGroupHooksOutputArgs added in v4.9.0

type GetGroupHooksOutputArgs struct {
	// The ID or full path of the group.
	Group pulumi.StringInput `pulumi:"group"`
}

A collection of arguments for invoking getGroupHooks.

func (GetGroupHooksOutputArgs) ElementType added in v4.9.0

func (GetGroupHooksOutputArgs) ElementType() reflect.Type

type GetGroupHooksResult added in v4.9.0

type GetGroupHooksResult struct {
	// The ID or full path of the group.
	Group string `pulumi:"group"`
	// The list of hooks.
	Hooks []GetGroupHooksHook `pulumi:"hooks"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
}

A collection of values returned by getGroupHooks.

func GetGroupHooks added in v4.9.0

func GetGroupHooks(ctx *pulumi.Context, args *GetGroupHooksArgs, opts ...pulumi.InvokeOption) (*GetGroupHooksResult, error)

The `getGroupHooks` data source allows to retrieve details about hooks in a group.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/groups.html#list-group-hooks)

type GetGroupHooksResultOutput added in v4.9.0

type GetGroupHooksResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getGroupHooks.

func GetGroupHooksOutput added in v4.9.0

func GetGroupHooksOutput(ctx *pulumi.Context, args GetGroupHooksOutputArgs, opts ...pulumi.InvokeOption) GetGroupHooksResultOutput

func (GetGroupHooksResultOutput) ElementType added in v4.9.0

func (GetGroupHooksResultOutput) ElementType() reflect.Type

func (GetGroupHooksResultOutput) Group added in v4.9.0

The ID or full path of the group.

func (GetGroupHooksResultOutput) Hooks added in v4.9.0

The list of hooks.

func (GetGroupHooksResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (GetGroupHooksResultOutput) ToGetGroupHooksResultOutput added in v4.9.0

func (o GetGroupHooksResultOutput) ToGetGroupHooksResultOutput() GetGroupHooksResultOutput

func (GetGroupHooksResultOutput) ToGetGroupHooksResultOutputWithContext added in v4.9.0

func (o GetGroupHooksResultOutput) ToGetGroupHooksResultOutputWithContext(ctx context.Context) GetGroupHooksResultOutput

type GetGroupMembershipMember

type GetGroupMembershipMember struct {
	// Only return members with the desired access level. Acceptable values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.
	AccessLevel string `pulumi:"accessLevel"`
	AvatarUrl   string `pulumi:"avatarUrl"`
	ExpiresAt   string `pulumi:"expiresAt"`
	// The ID of this resource.
	Id       int    `pulumi:"id"`
	Name     string `pulumi:"name"`
	State    string `pulumi:"state"`
	Username string `pulumi:"username"`
	WebUrl   string `pulumi:"webUrl"`
}

type GetGroupMembershipMemberArgs

type GetGroupMembershipMemberArgs struct {
	// Only return members with the desired access level. Acceptable values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.
	AccessLevel pulumi.StringInput `pulumi:"accessLevel"`
	AvatarUrl   pulumi.StringInput `pulumi:"avatarUrl"`
	ExpiresAt   pulumi.StringInput `pulumi:"expiresAt"`
	// The ID of this resource.
	Id       pulumi.IntInput    `pulumi:"id"`
	Name     pulumi.StringInput `pulumi:"name"`
	State    pulumi.StringInput `pulumi:"state"`
	Username pulumi.StringInput `pulumi:"username"`
	WebUrl   pulumi.StringInput `pulumi:"webUrl"`
}

func (GetGroupMembershipMemberArgs) ElementType

func (GetGroupMembershipMemberArgs) ToGetGroupMembershipMemberOutput

func (i GetGroupMembershipMemberArgs) ToGetGroupMembershipMemberOutput() GetGroupMembershipMemberOutput

func (GetGroupMembershipMemberArgs) ToGetGroupMembershipMemberOutputWithContext

func (i GetGroupMembershipMemberArgs) ToGetGroupMembershipMemberOutputWithContext(ctx context.Context) GetGroupMembershipMemberOutput

type GetGroupMembershipMemberArray

type GetGroupMembershipMemberArray []GetGroupMembershipMemberInput

func (GetGroupMembershipMemberArray) ElementType

func (GetGroupMembershipMemberArray) ToGetGroupMembershipMemberArrayOutput

func (i GetGroupMembershipMemberArray) ToGetGroupMembershipMemberArrayOutput() GetGroupMembershipMemberArrayOutput

func (GetGroupMembershipMemberArray) ToGetGroupMembershipMemberArrayOutputWithContext

func (i GetGroupMembershipMemberArray) ToGetGroupMembershipMemberArrayOutputWithContext(ctx context.Context) GetGroupMembershipMemberArrayOutput

type GetGroupMembershipMemberArrayInput

type GetGroupMembershipMemberArrayInput interface {
	pulumi.Input

	ToGetGroupMembershipMemberArrayOutput() GetGroupMembershipMemberArrayOutput
	ToGetGroupMembershipMemberArrayOutputWithContext(context.Context) GetGroupMembershipMemberArrayOutput
}

GetGroupMembershipMemberArrayInput is an input type that accepts GetGroupMembershipMemberArray and GetGroupMembershipMemberArrayOutput values. You can construct a concrete instance of `GetGroupMembershipMemberArrayInput` via:

GetGroupMembershipMemberArray{ GetGroupMembershipMemberArgs{...} }

type GetGroupMembershipMemberArrayOutput

type GetGroupMembershipMemberArrayOutput struct{ *pulumi.OutputState }

func (GetGroupMembershipMemberArrayOutput) ElementType

func (GetGroupMembershipMemberArrayOutput) Index

func (GetGroupMembershipMemberArrayOutput) ToGetGroupMembershipMemberArrayOutput

func (o GetGroupMembershipMemberArrayOutput) ToGetGroupMembershipMemberArrayOutput() GetGroupMembershipMemberArrayOutput

func (GetGroupMembershipMemberArrayOutput) ToGetGroupMembershipMemberArrayOutputWithContext

func (o GetGroupMembershipMemberArrayOutput) ToGetGroupMembershipMemberArrayOutputWithContext(ctx context.Context) GetGroupMembershipMemberArrayOutput

type GetGroupMembershipMemberInput

type GetGroupMembershipMemberInput interface {
	pulumi.Input

	ToGetGroupMembershipMemberOutput() GetGroupMembershipMemberOutput
	ToGetGroupMembershipMemberOutputWithContext(context.Context) GetGroupMembershipMemberOutput
}

GetGroupMembershipMemberInput is an input type that accepts GetGroupMembershipMemberArgs and GetGroupMembershipMemberOutput values. You can construct a concrete instance of `GetGroupMembershipMemberInput` via:

GetGroupMembershipMemberArgs{...}

type GetGroupMembershipMemberOutput

type GetGroupMembershipMemberOutput struct{ *pulumi.OutputState }

func (GetGroupMembershipMemberOutput) AccessLevel

Only return members with the desired access level. Acceptable values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.

func (GetGroupMembershipMemberOutput) AvatarUrl

func (GetGroupMembershipMemberOutput) ElementType

func (GetGroupMembershipMemberOutput) ExpiresAt

func (GetGroupMembershipMemberOutput) Id

The ID of this resource.

func (GetGroupMembershipMemberOutput) Name

func (GetGroupMembershipMemberOutput) State

func (GetGroupMembershipMemberOutput) ToGetGroupMembershipMemberOutput

func (o GetGroupMembershipMemberOutput) ToGetGroupMembershipMemberOutput() GetGroupMembershipMemberOutput

func (GetGroupMembershipMemberOutput) ToGetGroupMembershipMemberOutputWithContext

func (o GetGroupMembershipMemberOutput) ToGetGroupMembershipMemberOutputWithContext(ctx context.Context) GetGroupMembershipMemberOutput

func (GetGroupMembershipMemberOutput) Username

func (GetGroupMembershipMemberOutput) WebUrl

type GetGroupSubgroupsArgs added in v4.10.0

type GetGroupSubgroupsArgs struct {
	// Show all the groups you have access to.
	AllAvailable *bool `pulumi:"allAvailable"`
	// The ID of the group.
	GroupId int `pulumi:"groupId"`
	// Limit to groups where current user has at least this access level.
	MinAccessLevel *string `pulumi:"minAccessLevel"`
	// Order groups by name, path or id.
	OrderBy *string `pulumi:"orderBy"`
	// Limit to groups explicitly owned by the current user.
	Owned *bool `pulumi:"owned"`
	// Return the list of authorized groups matching the search criteria.
	Search *string `pulumi:"search"`
	// Skip the group IDs passed.
	SkipGroups []int `pulumi:"skipGroups"`
	// Order groups in asc or desc order.
	Sort *string `pulumi:"sort"`
	// Include group statistics (administrators only).
	Statistics *bool `pulumi:"statistics"`
	// Include custom attributes in response (administrators only).
	WithCustomAttributes *bool `pulumi:"withCustomAttributes"`
}

A collection of arguments for invoking getGroupSubgroups.

type GetGroupSubgroupsOutputArgs added in v4.10.0

type GetGroupSubgroupsOutputArgs struct {
	// Show all the groups you have access to.
	AllAvailable pulumi.BoolPtrInput `pulumi:"allAvailable"`
	// The ID of the group.
	GroupId pulumi.IntInput `pulumi:"groupId"`
	// Limit to groups where current user has at least this access level.
	MinAccessLevel pulumi.StringPtrInput `pulumi:"minAccessLevel"`
	// Order groups by name, path or id.
	OrderBy pulumi.StringPtrInput `pulumi:"orderBy"`
	// Limit to groups explicitly owned by the current user.
	Owned pulumi.BoolPtrInput `pulumi:"owned"`
	// Return the list of authorized groups matching the search criteria.
	Search pulumi.StringPtrInput `pulumi:"search"`
	// Skip the group IDs passed.
	SkipGroups pulumi.IntArrayInput `pulumi:"skipGroups"`
	// Order groups in asc or desc order.
	Sort pulumi.StringPtrInput `pulumi:"sort"`
	// Include group statistics (administrators only).
	Statistics pulumi.BoolPtrInput `pulumi:"statistics"`
	// Include custom attributes in response (administrators only).
	WithCustomAttributes pulumi.BoolPtrInput `pulumi:"withCustomAttributes"`
}

A collection of arguments for invoking getGroupSubgroups.

func (GetGroupSubgroupsOutputArgs) ElementType added in v4.10.0

type GetGroupSubgroupsResult added in v4.10.0

type GetGroupSubgroupsResult struct {
	// Show all the groups you have access to.
	AllAvailable bool `pulumi:"allAvailable"`
	// The ID of the group.
	GroupId int `pulumi:"groupId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Limit to groups where current user has at least this access level.
	MinAccessLevel string `pulumi:"minAccessLevel"`
	// Order groups by name, path or id.
	OrderBy string `pulumi:"orderBy"`
	// Limit to groups explicitly owned by the current user.
	Owned bool `pulumi:"owned"`
	// Return the list of authorized groups matching the search criteria.
	Search string `pulumi:"search"`
	// Skip the group IDs passed.
	SkipGroups []int `pulumi:"skipGroups"`
	// Order groups in asc or desc order.
	Sort string `pulumi:"sort"`
	// Include group statistics (administrators only).
	Statistics bool `pulumi:"statistics"`
	// Subgroups of the parent group.
	Subgroups []GetGroupSubgroupsSubgroup `pulumi:"subgroups"`
	// Include custom attributes in response (administrators only).
	WithCustomAttributes bool `pulumi:"withCustomAttributes"`
}

A collection of values returned by getGroupSubgroups.

func GetGroupSubgroups added in v4.10.0

func GetGroupSubgroups(ctx *pulumi.Context, args *GetGroupSubgroupsArgs, opts ...pulumi.InvokeOption) (*GetGroupSubgroupsResult, error)

The `getGroupSubgroups` data source allows to get subgroups of a group.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/groups.html#list-a-groups-subgroups)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		subgroupsGroupSubgroups, err := gitlab.GetGroupSubgroups(ctx, &gitlab.GetGroupSubgroupsArgs{
			GroupId: 123456,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("subgroups", subgroupsGroupSubgroups)
		return nil
	})
}

```

type GetGroupSubgroupsResultOutput added in v4.10.0

type GetGroupSubgroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getGroupSubgroups.

func GetGroupSubgroupsOutput added in v4.10.0

func (GetGroupSubgroupsResultOutput) AllAvailable added in v4.10.0

Show all the groups you have access to.

func (GetGroupSubgroupsResultOutput) ElementType added in v4.10.0

func (GetGroupSubgroupsResultOutput) GroupId added in v4.10.0

The ID of the group.

func (GetGroupSubgroupsResultOutput) Id added in v4.10.0

The provider-assigned unique ID for this managed resource.

func (GetGroupSubgroupsResultOutput) MinAccessLevel added in v4.10.0

Limit to groups where current user has at least this access level.

func (GetGroupSubgroupsResultOutput) OrderBy added in v4.10.0

Order groups by name, path or id.

func (GetGroupSubgroupsResultOutput) Owned added in v4.10.0

Limit to groups explicitly owned by the current user.

func (GetGroupSubgroupsResultOutput) Search added in v4.10.0

Return the list of authorized groups matching the search criteria.

func (GetGroupSubgroupsResultOutput) SkipGroups added in v4.10.0

Skip the group IDs passed.

func (GetGroupSubgroupsResultOutput) Sort added in v4.10.0

Order groups in asc or desc order.

func (GetGroupSubgroupsResultOutput) Statistics added in v4.10.0

Include group statistics (administrators only).

func (GetGroupSubgroupsResultOutput) Subgroups added in v4.10.0

Subgroups of the parent group.

func (GetGroupSubgroupsResultOutput) ToGetGroupSubgroupsResultOutput added in v4.10.0

func (o GetGroupSubgroupsResultOutput) ToGetGroupSubgroupsResultOutput() GetGroupSubgroupsResultOutput

func (GetGroupSubgroupsResultOutput) ToGetGroupSubgroupsResultOutputWithContext added in v4.10.0

func (o GetGroupSubgroupsResultOutput) ToGetGroupSubgroupsResultOutputWithContext(ctx context.Context) GetGroupSubgroupsResultOutput

func (GetGroupSubgroupsResultOutput) WithCustomAttributes added in v4.10.0

func (o GetGroupSubgroupsResultOutput) WithCustomAttributes() pulumi.BoolOutput

Include custom attributes in response (administrators only).

type GetGroupSubgroupsSubgroup added in v4.10.0

type GetGroupSubgroupsSubgroup struct {
	AutoDevopsEnabled       bool   `pulumi:"autoDevopsEnabled"`
	AvatarUrl               string `pulumi:"avatarUrl"`
	CreatedAt               string `pulumi:"createdAt"`
	DefaultBranchProtection int    `pulumi:"defaultBranchProtection"`
	Description             string `pulumi:"description"`
	EmailsDisabled          bool   `pulumi:"emailsDisabled"`
	FileTemplateProjectId   int    `pulumi:"fileTemplateProjectId"`
	FullName                string `pulumi:"fullName"`
	FullPath                string `pulumi:"fullPath"`
	// The ID of the group.
	GroupId                        int    `pulumi:"groupId"`
	IpRestrictionRanges            string `pulumi:"ipRestrictionRanges"`
	LfsEnabled                     bool   `pulumi:"lfsEnabled"`
	MentionsDisabled               bool   `pulumi:"mentionsDisabled"`
	Name                           string `pulumi:"name"`
	ParentId                       int    `pulumi:"parentId"`
	Path                           string `pulumi:"path"`
	ProjectCreationLevel           string `pulumi:"projectCreationLevel"`
	RequestAccessEnabled           bool   `pulumi:"requestAccessEnabled"`
	RequireTwoFactorAuthentication bool   `pulumi:"requireTwoFactorAuthentication"`
	ShareWithGroupLock             bool   `pulumi:"shareWithGroupLock"`
	// Include group statistics (administrators only).
	Statistics            map[string]string `pulumi:"statistics"`
	SubgroupCreationLevel string            `pulumi:"subgroupCreationLevel"`
	TwoFactorGracePeriod  int               `pulumi:"twoFactorGracePeriod"`
	Visibility            string            `pulumi:"visibility"`
	WebUrl                string            `pulumi:"webUrl"`
}

type GetGroupSubgroupsSubgroupArgs added in v4.10.0

type GetGroupSubgroupsSubgroupArgs struct {
	AutoDevopsEnabled       pulumi.BoolInput   `pulumi:"autoDevopsEnabled"`
	AvatarUrl               pulumi.StringInput `pulumi:"avatarUrl"`
	CreatedAt               pulumi.StringInput `pulumi:"createdAt"`
	DefaultBranchProtection pulumi.IntInput    `pulumi:"defaultBranchProtection"`
	Description             pulumi.StringInput `pulumi:"description"`
	EmailsDisabled          pulumi.BoolInput   `pulumi:"emailsDisabled"`
	FileTemplateProjectId   pulumi.IntInput    `pulumi:"fileTemplateProjectId"`
	FullName                pulumi.StringInput `pulumi:"fullName"`
	FullPath                pulumi.StringInput `pulumi:"fullPath"`
	// The ID of the group.
	GroupId                        pulumi.IntInput    `pulumi:"groupId"`
	IpRestrictionRanges            pulumi.StringInput `pulumi:"ipRestrictionRanges"`
	LfsEnabled                     pulumi.BoolInput   `pulumi:"lfsEnabled"`
	MentionsDisabled               pulumi.BoolInput   `pulumi:"mentionsDisabled"`
	Name                           pulumi.StringInput `pulumi:"name"`
	ParentId                       pulumi.IntInput    `pulumi:"parentId"`
	Path                           pulumi.StringInput `pulumi:"path"`
	ProjectCreationLevel           pulumi.StringInput `pulumi:"projectCreationLevel"`
	RequestAccessEnabled           pulumi.BoolInput   `pulumi:"requestAccessEnabled"`
	RequireTwoFactorAuthentication pulumi.BoolInput   `pulumi:"requireTwoFactorAuthentication"`
	ShareWithGroupLock             pulumi.BoolInput   `pulumi:"shareWithGroupLock"`
	// Include group statistics (administrators only).
	Statistics            pulumi.StringMapInput `pulumi:"statistics"`
	SubgroupCreationLevel pulumi.StringInput    `pulumi:"subgroupCreationLevel"`
	TwoFactorGracePeriod  pulumi.IntInput       `pulumi:"twoFactorGracePeriod"`
	Visibility            pulumi.StringInput    `pulumi:"visibility"`
	WebUrl                pulumi.StringInput    `pulumi:"webUrl"`
}

func (GetGroupSubgroupsSubgroupArgs) ElementType added in v4.10.0

func (GetGroupSubgroupsSubgroupArgs) ToGetGroupSubgroupsSubgroupOutput added in v4.10.0

func (i GetGroupSubgroupsSubgroupArgs) ToGetGroupSubgroupsSubgroupOutput() GetGroupSubgroupsSubgroupOutput

func (GetGroupSubgroupsSubgroupArgs) ToGetGroupSubgroupsSubgroupOutputWithContext added in v4.10.0

func (i GetGroupSubgroupsSubgroupArgs) ToGetGroupSubgroupsSubgroupOutputWithContext(ctx context.Context) GetGroupSubgroupsSubgroupOutput

type GetGroupSubgroupsSubgroupArray added in v4.10.0

type GetGroupSubgroupsSubgroupArray []GetGroupSubgroupsSubgroupInput

func (GetGroupSubgroupsSubgroupArray) ElementType added in v4.10.0

func (GetGroupSubgroupsSubgroupArray) ToGetGroupSubgroupsSubgroupArrayOutput added in v4.10.0

func (i GetGroupSubgroupsSubgroupArray) ToGetGroupSubgroupsSubgroupArrayOutput() GetGroupSubgroupsSubgroupArrayOutput

func (GetGroupSubgroupsSubgroupArray) ToGetGroupSubgroupsSubgroupArrayOutputWithContext added in v4.10.0

func (i GetGroupSubgroupsSubgroupArray) ToGetGroupSubgroupsSubgroupArrayOutputWithContext(ctx context.Context) GetGroupSubgroupsSubgroupArrayOutput

type GetGroupSubgroupsSubgroupArrayInput added in v4.10.0

type GetGroupSubgroupsSubgroupArrayInput interface {
	pulumi.Input

	ToGetGroupSubgroupsSubgroupArrayOutput() GetGroupSubgroupsSubgroupArrayOutput
	ToGetGroupSubgroupsSubgroupArrayOutputWithContext(context.Context) GetGroupSubgroupsSubgroupArrayOutput
}

GetGroupSubgroupsSubgroupArrayInput is an input type that accepts GetGroupSubgroupsSubgroupArray and GetGroupSubgroupsSubgroupArrayOutput values. You can construct a concrete instance of `GetGroupSubgroupsSubgroupArrayInput` via:

GetGroupSubgroupsSubgroupArray{ GetGroupSubgroupsSubgroupArgs{...} }

type GetGroupSubgroupsSubgroupArrayOutput added in v4.10.0

type GetGroupSubgroupsSubgroupArrayOutput struct{ *pulumi.OutputState }

func (GetGroupSubgroupsSubgroupArrayOutput) ElementType added in v4.10.0

func (GetGroupSubgroupsSubgroupArrayOutput) Index added in v4.10.0

func (GetGroupSubgroupsSubgroupArrayOutput) ToGetGroupSubgroupsSubgroupArrayOutput added in v4.10.0

func (o GetGroupSubgroupsSubgroupArrayOutput) ToGetGroupSubgroupsSubgroupArrayOutput() GetGroupSubgroupsSubgroupArrayOutput

func (GetGroupSubgroupsSubgroupArrayOutput) ToGetGroupSubgroupsSubgroupArrayOutputWithContext added in v4.10.0

func (o GetGroupSubgroupsSubgroupArrayOutput) ToGetGroupSubgroupsSubgroupArrayOutputWithContext(ctx context.Context) GetGroupSubgroupsSubgroupArrayOutput

type GetGroupSubgroupsSubgroupInput added in v4.10.0

type GetGroupSubgroupsSubgroupInput interface {
	pulumi.Input

	ToGetGroupSubgroupsSubgroupOutput() GetGroupSubgroupsSubgroupOutput
	ToGetGroupSubgroupsSubgroupOutputWithContext(context.Context) GetGroupSubgroupsSubgroupOutput
}

GetGroupSubgroupsSubgroupInput is an input type that accepts GetGroupSubgroupsSubgroupArgs and GetGroupSubgroupsSubgroupOutput values. You can construct a concrete instance of `GetGroupSubgroupsSubgroupInput` via:

GetGroupSubgroupsSubgroupArgs{...}

type GetGroupSubgroupsSubgroupOutput added in v4.10.0

type GetGroupSubgroupsSubgroupOutput struct{ *pulumi.OutputState }

func (GetGroupSubgroupsSubgroupOutput) AutoDevopsEnabled added in v4.10.0

func (o GetGroupSubgroupsSubgroupOutput) AutoDevopsEnabled() pulumi.BoolOutput

func (GetGroupSubgroupsSubgroupOutput) AvatarUrl added in v4.10.0

func (GetGroupSubgroupsSubgroupOutput) CreatedAt added in v4.10.0

func (GetGroupSubgroupsSubgroupOutput) DefaultBranchProtection added in v4.10.0

func (o GetGroupSubgroupsSubgroupOutput) DefaultBranchProtection() pulumi.IntOutput

func (GetGroupSubgroupsSubgroupOutput) Description added in v4.10.0

func (GetGroupSubgroupsSubgroupOutput) ElementType added in v4.10.0

func (GetGroupSubgroupsSubgroupOutput) EmailsDisabled added in v4.10.0

func (GetGroupSubgroupsSubgroupOutput) FileTemplateProjectId added in v4.10.0

func (o GetGroupSubgroupsSubgroupOutput) FileTemplateProjectId() pulumi.IntOutput

func (GetGroupSubgroupsSubgroupOutput) FullName added in v4.10.0

func (GetGroupSubgroupsSubgroupOutput) FullPath added in v4.10.0

func (GetGroupSubgroupsSubgroupOutput) GroupId added in v4.10.0

The ID of the group.

func (GetGroupSubgroupsSubgroupOutput) IpRestrictionRanges added in v4.10.0

func (o GetGroupSubgroupsSubgroupOutput) IpRestrictionRanges() pulumi.StringOutput

func (GetGroupSubgroupsSubgroupOutput) LfsEnabled added in v4.10.0

func (GetGroupSubgroupsSubgroupOutput) MentionsDisabled added in v4.10.0

func (o GetGroupSubgroupsSubgroupOutput) MentionsDisabled() pulumi.BoolOutput

func (GetGroupSubgroupsSubgroupOutput) Name added in v4.10.0

func (GetGroupSubgroupsSubgroupOutput) ParentId added in v4.10.0

func (GetGroupSubgroupsSubgroupOutput) Path added in v4.10.0

func (GetGroupSubgroupsSubgroupOutput) ProjectCreationLevel added in v4.10.0

func (o GetGroupSubgroupsSubgroupOutput) ProjectCreationLevel() pulumi.StringOutput

func (GetGroupSubgroupsSubgroupOutput) RequestAccessEnabled added in v4.10.0

func (o GetGroupSubgroupsSubgroupOutput) RequestAccessEnabled() pulumi.BoolOutput

func (GetGroupSubgroupsSubgroupOutput) RequireTwoFactorAuthentication added in v4.10.0

func (o GetGroupSubgroupsSubgroupOutput) RequireTwoFactorAuthentication() pulumi.BoolOutput

func (GetGroupSubgroupsSubgroupOutput) ShareWithGroupLock added in v4.10.0

func (o GetGroupSubgroupsSubgroupOutput) ShareWithGroupLock() pulumi.BoolOutput

func (GetGroupSubgroupsSubgroupOutput) Statistics added in v4.10.0

Include group statistics (administrators only).

func (GetGroupSubgroupsSubgroupOutput) SubgroupCreationLevel added in v4.10.0

func (o GetGroupSubgroupsSubgroupOutput) SubgroupCreationLevel() pulumi.StringOutput

func (GetGroupSubgroupsSubgroupOutput) ToGetGroupSubgroupsSubgroupOutput added in v4.10.0

func (o GetGroupSubgroupsSubgroupOutput) ToGetGroupSubgroupsSubgroupOutput() GetGroupSubgroupsSubgroupOutput

func (GetGroupSubgroupsSubgroupOutput) ToGetGroupSubgroupsSubgroupOutputWithContext added in v4.10.0

func (o GetGroupSubgroupsSubgroupOutput) ToGetGroupSubgroupsSubgroupOutputWithContext(ctx context.Context) GetGroupSubgroupsSubgroupOutput

func (GetGroupSubgroupsSubgroupOutput) TwoFactorGracePeriod added in v4.10.0

func (o GetGroupSubgroupsSubgroupOutput) TwoFactorGracePeriod() pulumi.IntOutput

func (GetGroupSubgroupsSubgroupOutput) Visibility added in v4.10.0

func (GetGroupSubgroupsSubgroupOutput) WebUrl added in v4.10.0

type GetGroupVariablesArgs added in v4.8.0

type GetGroupVariablesArgs struct {
	// The environment scope of the variable. Defaults to all environment (`*`).
	EnvironmentScope *string `pulumi:"environmentScope"`
	// The name or id of the group.
	Group string `pulumi:"group"`
}

A collection of arguments for invoking getGroupVariables.

type GetGroupVariablesOutputArgs added in v4.8.0

type GetGroupVariablesOutputArgs struct {
	// The environment scope of the variable. Defaults to all environment (`*`).
	EnvironmentScope pulumi.StringPtrInput `pulumi:"environmentScope"`
	// The name or id of the group.
	Group pulumi.StringInput `pulumi:"group"`
}

A collection of arguments for invoking getGroupVariables.

func (GetGroupVariablesOutputArgs) ElementType added in v4.8.0

type GetGroupVariablesResult added in v4.8.0

type GetGroupVariablesResult struct {
	// The environment scope of the variable. Defaults to all environment (`*`).
	EnvironmentScope *string `pulumi:"environmentScope"`
	// The name or id of the group.
	Group string `pulumi:"group"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of variables returned by the search
	Variables []GetGroupVariablesVariable `pulumi:"variables"`
}

A collection of values returned by getGroupVariables.

func GetGroupVariables added in v4.8.0

func GetGroupVariables(ctx *pulumi.Context, args *GetGroupVariablesArgs, opts ...pulumi.InvokeOption) (*GetGroupVariablesResult, error)

The `getGroupVariables` data source allows to retrieve all group-level CI/CD variables.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/group_level_variables.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.GetGroupVariables(ctx, &gitlab.GetGroupVariablesArgs{
			Group: "my/example/group",
		}, nil)
		if err != nil {
			return err
		}
		_, err = gitlab.GetGroupVariables(ctx, &gitlab.GetGroupVariablesArgs{
			EnvironmentScope: pulumi.StringRef("staging/*"),
			Group:            "my/example/group",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetGroupVariablesResultOutput added in v4.8.0

type GetGroupVariablesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getGroupVariables.

func GetGroupVariablesOutput added in v4.8.0

func (GetGroupVariablesResultOutput) ElementType added in v4.8.0

func (GetGroupVariablesResultOutput) EnvironmentScope added in v4.8.0

The environment scope of the variable. Defaults to all environment (`*`).

func (GetGroupVariablesResultOutput) Group added in v4.8.0

The name or id of the group.

func (GetGroupVariablesResultOutput) Id added in v4.8.0

The provider-assigned unique ID for this managed resource.

func (GetGroupVariablesResultOutput) ToGetGroupVariablesResultOutput added in v4.8.0

func (o GetGroupVariablesResultOutput) ToGetGroupVariablesResultOutput() GetGroupVariablesResultOutput

func (GetGroupVariablesResultOutput) ToGetGroupVariablesResultOutputWithContext added in v4.8.0

func (o GetGroupVariablesResultOutput) ToGetGroupVariablesResultOutputWithContext(ctx context.Context) GetGroupVariablesResultOutput

func (GetGroupVariablesResultOutput) Variables added in v4.8.0

The list of variables returned by the search

type GetGroupVariablesVariable added in v4.8.0

type GetGroupVariablesVariable struct {
	// The environment scope of the variable. Defaults to all environment (`*`).
	EnvironmentScope string `pulumi:"environmentScope"`
	// The name or id of the group.
	Group        string `pulumi:"group"`
	Key          string `pulumi:"key"`
	Masked       bool   `pulumi:"masked"`
	Protected    bool   `pulumi:"protected"`
	Value        string `pulumi:"value"`
	VariableType string `pulumi:"variableType"`
}

type GetGroupVariablesVariableArgs added in v4.8.0

type GetGroupVariablesVariableArgs struct {
	// The environment scope of the variable. Defaults to all environment (`*`).
	EnvironmentScope pulumi.StringInput `pulumi:"environmentScope"`
	// The name or id of the group.
	Group        pulumi.StringInput `pulumi:"group"`
	Key          pulumi.StringInput `pulumi:"key"`
	Masked       pulumi.BoolInput   `pulumi:"masked"`
	Protected    pulumi.BoolInput   `pulumi:"protected"`
	Value        pulumi.StringInput `pulumi:"value"`
	VariableType pulumi.StringInput `pulumi:"variableType"`
}

func (GetGroupVariablesVariableArgs) ElementType added in v4.8.0

func (GetGroupVariablesVariableArgs) ToGetGroupVariablesVariableOutput added in v4.8.0

func (i GetGroupVariablesVariableArgs) ToGetGroupVariablesVariableOutput() GetGroupVariablesVariableOutput

func (GetGroupVariablesVariableArgs) ToGetGroupVariablesVariableOutputWithContext added in v4.8.0

func (i GetGroupVariablesVariableArgs) ToGetGroupVariablesVariableOutputWithContext(ctx context.Context) GetGroupVariablesVariableOutput

type GetGroupVariablesVariableArray added in v4.8.0

type GetGroupVariablesVariableArray []GetGroupVariablesVariableInput

func (GetGroupVariablesVariableArray) ElementType added in v4.8.0

func (GetGroupVariablesVariableArray) ToGetGroupVariablesVariableArrayOutput added in v4.8.0

func (i GetGroupVariablesVariableArray) ToGetGroupVariablesVariableArrayOutput() GetGroupVariablesVariableArrayOutput

func (GetGroupVariablesVariableArray) ToGetGroupVariablesVariableArrayOutputWithContext added in v4.8.0

func (i GetGroupVariablesVariableArray) ToGetGroupVariablesVariableArrayOutputWithContext(ctx context.Context) GetGroupVariablesVariableArrayOutput

type GetGroupVariablesVariableArrayInput added in v4.8.0

type GetGroupVariablesVariableArrayInput interface {
	pulumi.Input

	ToGetGroupVariablesVariableArrayOutput() GetGroupVariablesVariableArrayOutput
	ToGetGroupVariablesVariableArrayOutputWithContext(context.Context) GetGroupVariablesVariableArrayOutput
}

GetGroupVariablesVariableArrayInput is an input type that accepts GetGroupVariablesVariableArray and GetGroupVariablesVariableArrayOutput values. You can construct a concrete instance of `GetGroupVariablesVariableArrayInput` via:

GetGroupVariablesVariableArray{ GetGroupVariablesVariableArgs{...} }

type GetGroupVariablesVariableArrayOutput added in v4.8.0

type GetGroupVariablesVariableArrayOutput struct{ *pulumi.OutputState }

func (GetGroupVariablesVariableArrayOutput) ElementType added in v4.8.0

func (GetGroupVariablesVariableArrayOutput) Index added in v4.8.0

func (GetGroupVariablesVariableArrayOutput) ToGetGroupVariablesVariableArrayOutput added in v4.8.0

func (o GetGroupVariablesVariableArrayOutput) ToGetGroupVariablesVariableArrayOutput() GetGroupVariablesVariableArrayOutput

func (GetGroupVariablesVariableArrayOutput) ToGetGroupVariablesVariableArrayOutputWithContext added in v4.8.0

func (o GetGroupVariablesVariableArrayOutput) ToGetGroupVariablesVariableArrayOutputWithContext(ctx context.Context) GetGroupVariablesVariableArrayOutput

type GetGroupVariablesVariableInput added in v4.8.0

type GetGroupVariablesVariableInput interface {
	pulumi.Input

	ToGetGroupVariablesVariableOutput() GetGroupVariablesVariableOutput
	ToGetGroupVariablesVariableOutputWithContext(context.Context) GetGroupVariablesVariableOutput
}

GetGroupVariablesVariableInput is an input type that accepts GetGroupVariablesVariableArgs and GetGroupVariablesVariableOutput values. You can construct a concrete instance of `GetGroupVariablesVariableInput` via:

GetGroupVariablesVariableArgs{...}

type GetGroupVariablesVariableOutput added in v4.8.0

type GetGroupVariablesVariableOutput struct{ *pulumi.OutputState }

func (GetGroupVariablesVariableOutput) ElementType added in v4.8.0

func (GetGroupVariablesVariableOutput) EnvironmentScope added in v4.8.0

The environment scope of the variable. Defaults to all environment (`*`).

func (GetGroupVariablesVariableOutput) Group added in v4.8.0

The name or id of the group.

func (GetGroupVariablesVariableOutput) Key added in v4.8.0

func (GetGroupVariablesVariableOutput) Masked added in v4.8.0

func (GetGroupVariablesVariableOutput) Protected added in v4.8.0

func (GetGroupVariablesVariableOutput) ToGetGroupVariablesVariableOutput added in v4.8.0

func (o GetGroupVariablesVariableOutput) ToGetGroupVariablesVariableOutput() GetGroupVariablesVariableOutput

func (GetGroupVariablesVariableOutput) ToGetGroupVariablesVariableOutputWithContext added in v4.8.0

func (o GetGroupVariablesVariableOutput) ToGetGroupVariablesVariableOutputWithContext(ctx context.Context) GetGroupVariablesVariableOutput

func (GetGroupVariablesVariableOutput) Value added in v4.8.0

func (GetGroupVariablesVariableOutput) VariableType added in v4.8.0

type GetGroupsArgs added in v4.10.0

type GetGroupsArgs struct {
	// Order the groups' list by `id`, `name`, `path`, or `similarity`. (Requires administrator privileges)
	OrderBy *string `pulumi:"orderBy"`
	// Search groups by name or path.
	Search *string `pulumi:"search"`
	// Sort groups' list in asc or desc order. (Requires administrator privileges)
	Sort *string `pulumi:"sort"`
}

A collection of arguments for invoking getGroups.

type GetGroupsGroup added in v4.10.0

type GetGroupsGroup struct {
	DefaultBranchProtection    int    `pulumi:"defaultBranchProtection"`
	Description                string `pulumi:"description"`
	FullName                   string `pulumi:"fullName"`
	FullPath                   string `pulumi:"fullPath"`
	GroupId                    int    `pulumi:"groupId"`
	LfsEnabled                 bool   `pulumi:"lfsEnabled"`
	Name                       string `pulumi:"name"`
	ParentId                   int    `pulumi:"parentId"`
	Path                       string `pulumi:"path"`
	PreventForkingOutsideGroup bool   `pulumi:"preventForkingOutsideGroup"`
	RequestAccessEnabled       bool   `pulumi:"requestAccessEnabled"`
	RunnersToken               string `pulumi:"runnersToken"`
	VisibilityLevel            string `pulumi:"visibilityLevel"`
	WebUrl                     string `pulumi:"webUrl"`
}

type GetGroupsGroupArgs added in v4.10.0

type GetGroupsGroupArgs struct {
	DefaultBranchProtection    pulumi.IntInput    `pulumi:"defaultBranchProtection"`
	Description                pulumi.StringInput `pulumi:"description"`
	FullName                   pulumi.StringInput `pulumi:"fullName"`
	FullPath                   pulumi.StringInput `pulumi:"fullPath"`
	GroupId                    pulumi.IntInput    `pulumi:"groupId"`
	LfsEnabled                 pulumi.BoolInput   `pulumi:"lfsEnabled"`
	Name                       pulumi.StringInput `pulumi:"name"`
	ParentId                   pulumi.IntInput    `pulumi:"parentId"`
	Path                       pulumi.StringInput `pulumi:"path"`
	PreventForkingOutsideGroup pulumi.BoolInput   `pulumi:"preventForkingOutsideGroup"`
	RequestAccessEnabled       pulumi.BoolInput   `pulumi:"requestAccessEnabled"`
	RunnersToken               pulumi.StringInput `pulumi:"runnersToken"`
	VisibilityLevel            pulumi.StringInput `pulumi:"visibilityLevel"`
	WebUrl                     pulumi.StringInput `pulumi:"webUrl"`
}

func (GetGroupsGroupArgs) ElementType added in v4.10.0

func (GetGroupsGroupArgs) ElementType() reflect.Type

func (GetGroupsGroupArgs) ToGetGroupsGroupOutput added in v4.10.0

func (i GetGroupsGroupArgs) ToGetGroupsGroupOutput() GetGroupsGroupOutput

func (GetGroupsGroupArgs) ToGetGroupsGroupOutputWithContext added in v4.10.0

func (i GetGroupsGroupArgs) ToGetGroupsGroupOutputWithContext(ctx context.Context) GetGroupsGroupOutput

type GetGroupsGroupArray added in v4.10.0

type GetGroupsGroupArray []GetGroupsGroupInput

func (GetGroupsGroupArray) ElementType added in v4.10.0

func (GetGroupsGroupArray) ElementType() reflect.Type

func (GetGroupsGroupArray) ToGetGroupsGroupArrayOutput added in v4.10.0

func (i GetGroupsGroupArray) ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput

func (GetGroupsGroupArray) ToGetGroupsGroupArrayOutputWithContext added in v4.10.0

func (i GetGroupsGroupArray) ToGetGroupsGroupArrayOutputWithContext(ctx context.Context) GetGroupsGroupArrayOutput

type GetGroupsGroupArrayInput added in v4.10.0

type GetGroupsGroupArrayInput interface {
	pulumi.Input

	ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput
	ToGetGroupsGroupArrayOutputWithContext(context.Context) GetGroupsGroupArrayOutput
}

GetGroupsGroupArrayInput is an input type that accepts GetGroupsGroupArray and GetGroupsGroupArrayOutput values. You can construct a concrete instance of `GetGroupsGroupArrayInput` via:

GetGroupsGroupArray{ GetGroupsGroupArgs{...} }

type GetGroupsGroupArrayOutput added in v4.10.0

type GetGroupsGroupArrayOutput struct{ *pulumi.OutputState }

func (GetGroupsGroupArrayOutput) ElementType added in v4.10.0

func (GetGroupsGroupArrayOutput) ElementType() reflect.Type

func (GetGroupsGroupArrayOutput) Index added in v4.10.0

func (GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutput added in v4.10.0

func (o GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput

func (GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutputWithContext added in v4.10.0

func (o GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutputWithContext(ctx context.Context) GetGroupsGroupArrayOutput

type GetGroupsGroupInput added in v4.10.0

type GetGroupsGroupInput interface {
	pulumi.Input

	ToGetGroupsGroupOutput() GetGroupsGroupOutput
	ToGetGroupsGroupOutputWithContext(context.Context) GetGroupsGroupOutput
}

GetGroupsGroupInput is an input type that accepts GetGroupsGroupArgs and GetGroupsGroupOutput values. You can construct a concrete instance of `GetGroupsGroupInput` via:

GetGroupsGroupArgs{...}

type GetGroupsGroupOutput added in v4.10.0

type GetGroupsGroupOutput struct{ *pulumi.OutputState }

func (GetGroupsGroupOutput) DefaultBranchProtection added in v4.10.0

func (o GetGroupsGroupOutput) DefaultBranchProtection() pulumi.IntOutput

func (GetGroupsGroupOutput) Description added in v4.10.0

func (o GetGroupsGroupOutput) Description() pulumi.StringOutput

func (GetGroupsGroupOutput) ElementType added in v4.10.0

func (GetGroupsGroupOutput) ElementType() reflect.Type

func (GetGroupsGroupOutput) FullName added in v4.10.0

func (GetGroupsGroupOutput) FullPath added in v4.10.0

func (GetGroupsGroupOutput) GroupId added in v4.10.0

func (GetGroupsGroupOutput) LfsEnabled added in v4.10.0

func (o GetGroupsGroupOutput) LfsEnabled() pulumi.BoolOutput

func (GetGroupsGroupOutput) Name added in v4.10.0

func (GetGroupsGroupOutput) ParentId added in v4.10.0

func (o GetGroupsGroupOutput) ParentId() pulumi.IntOutput

func (GetGroupsGroupOutput) Path added in v4.10.0

func (GetGroupsGroupOutput) PreventForkingOutsideGroup added in v4.10.0

func (o GetGroupsGroupOutput) PreventForkingOutsideGroup() pulumi.BoolOutput

func (GetGroupsGroupOutput) RequestAccessEnabled added in v4.10.0

func (o GetGroupsGroupOutput) RequestAccessEnabled() pulumi.BoolOutput

func (GetGroupsGroupOutput) RunnersToken added in v4.10.0

func (o GetGroupsGroupOutput) RunnersToken() pulumi.StringOutput

func (GetGroupsGroupOutput) ToGetGroupsGroupOutput added in v4.10.0

func (o GetGroupsGroupOutput) ToGetGroupsGroupOutput() GetGroupsGroupOutput

func (GetGroupsGroupOutput) ToGetGroupsGroupOutputWithContext added in v4.10.0

func (o GetGroupsGroupOutput) ToGetGroupsGroupOutputWithContext(ctx context.Context) GetGroupsGroupOutput

func (GetGroupsGroupOutput) VisibilityLevel added in v4.10.0

func (o GetGroupsGroupOutput) VisibilityLevel() pulumi.StringOutput

func (GetGroupsGroupOutput) WebUrl added in v4.10.0

type GetGroupsOutputArgs added in v4.10.0

type GetGroupsOutputArgs struct {
	// Order the groups' list by `id`, `name`, `path`, or `similarity`. (Requires administrator privileges)
	OrderBy pulumi.StringPtrInput `pulumi:"orderBy"`
	// Search groups by name or path.
	Search pulumi.StringPtrInput `pulumi:"search"`
	// Sort groups' list in asc or desc order. (Requires administrator privileges)
	Sort pulumi.StringPtrInput `pulumi:"sort"`
}

A collection of arguments for invoking getGroups.

func (GetGroupsOutputArgs) ElementType added in v4.10.0

func (GetGroupsOutputArgs) ElementType() reflect.Type

type GetGroupsResult added in v4.10.0

type GetGroupsResult struct {
	// The list of groups.
	Groups []GetGroupsGroup `pulumi:"groups"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Order the groups' list by `id`, `name`, `path`, or `similarity`. (Requires administrator privileges)
	OrderBy *string `pulumi:"orderBy"`
	// Search groups by name or path.
	Search *string `pulumi:"search"`
	// Sort groups' list in asc or desc order. (Requires administrator privileges)
	Sort *string `pulumi:"sort"`
}

A collection of values returned by getGroups.

func GetGroups added in v4.10.0

func GetGroups(ctx *pulumi.Context, args *GetGroupsArgs, opts ...pulumi.InvokeOption) (*GetGroupsResult, error)

The `getGroups` data source allows details of multiple groups to be retrieved given some optional filter criteria.

> Some attributes might not be returned depending on if you're an admin or not.

> Some available options require administrator privileges.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/groups.html#list-groups)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.GetGroups(ctx, &gitlab.GetGroupsArgs{
			OrderBy: pulumi.StringRef("name"),
			Sort:    pulumi.StringRef("desc"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = gitlab.GetGroups(ctx, &gitlab.GetGroupsArgs{
			Search: pulumi.StringRef("GitLab"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetGroupsResultOutput added in v4.10.0

type GetGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getGroups.

func GetGroupsOutput added in v4.10.0

func GetGroupsOutput(ctx *pulumi.Context, args GetGroupsOutputArgs, opts ...pulumi.InvokeOption) GetGroupsResultOutput

func (GetGroupsResultOutput) ElementType added in v4.10.0

func (GetGroupsResultOutput) ElementType() reflect.Type

func (GetGroupsResultOutput) Groups added in v4.10.0

The list of groups.

func (GetGroupsResultOutput) Id added in v4.10.0

The provider-assigned unique ID for this managed resource.

func (GetGroupsResultOutput) OrderBy added in v4.10.0

Order the groups' list by `id`, `name`, `path`, or `similarity`. (Requires administrator privileges)

func (GetGroupsResultOutput) Search added in v4.10.0

Search groups by name or path.

func (GetGroupsResultOutput) Sort added in v4.10.0

Sort groups' list in asc or desc order. (Requires administrator privileges)

func (GetGroupsResultOutput) ToGetGroupsResultOutput added in v4.10.0

func (o GetGroupsResultOutput) ToGetGroupsResultOutput() GetGroupsResultOutput

func (GetGroupsResultOutput) ToGetGroupsResultOutputWithContext added in v4.10.0

func (o GetGroupsResultOutput) ToGetGroupsResultOutputWithContext(ctx context.Context) GetGroupsResultOutput

type GetInstanceDeployKeysArgs added in v4.7.0

type GetInstanceDeployKeysArgs struct {
	// Only return deploy keys that are public.
	Public *bool `pulumi:"public"`
}

A collection of arguments for invoking getInstanceDeployKeys.

type GetInstanceDeployKeysDeployKey added in v4.7.0

type GetInstanceDeployKeysDeployKey struct {
	CreatedAt   string `pulumi:"createdAt"`
	Fingerprint string `pulumi:"fingerprint"`
	// The ID of this resource.
	Id                        int                                                     `pulumi:"id"`
	Key                       string                                                  `pulumi:"key"`
	ProjectsWithWriteAccesses []GetInstanceDeployKeysDeployKeyProjectsWithWriteAccess `pulumi:"projectsWithWriteAccesses"`
	Title                     string                                                  `pulumi:"title"`
}

type GetInstanceDeployKeysDeployKeyArgs added in v4.7.0

type GetInstanceDeployKeysDeployKeyArgs struct {
	CreatedAt   pulumi.StringInput `pulumi:"createdAt"`
	Fingerprint pulumi.StringInput `pulumi:"fingerprint"`
	// The ID of this resource.
	Id                        pulumi.IntInput                                                 `pulumi:"id"`
	Key                       pulumi.StringInput                                              `pulumi:"key"`
	ProjectsWithWriteAccesses GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArrayInput `pulumi:"projectsWithWriteAccesses"`
	Title                     pulumi.StringInput                                              `pulumi:"title"`
}

func (GetInstanceDeployKeysDeployKeyArgs) ElementType added in v4.7.0

func (GetInstanceDeployKeysDeployKeyArgs) ToGetInstanceDeployKeysDeployKeyOutput added in v4.7.0

func (i GetInstanceDeployKeysDeployKeyArgs) ToGetInstanceDeployKeysDeployKeyOutput() GetInstanceDeployKeysDeployKeyOutput

func (GetInstanceDeployKeysDeployKeyArgs) ToGetInstanceDeployKeysDeployKeyOutputWithContext added in v4.7.0

func (i GetInstanceDeployKeysDeployKeyArgs) ToGetInstanceDeployKeysDeployKeyOutputWithContext(ctx context.Context) GetInstanceDeployKeysDeployKeyOutput

type GetInstanceDeployKeysDeployKeyArray added in v4.7.0

type GetInstanceDeployKeysDeployKeyArray []GetInstanceDeployKeysDeployKeyInput

func (GetInstanceDeployKeysDeployKeyArray) ElementType added in v4.7.0

func (GetInstanceDeployKeysDeployKeyArray) ToGetInstanceDeployKeysDeployKeyArrayOutput added in v4.7.0

func (i GetInstanceDeployKeysDeployKeyArray) ToGetInstanceDeployKeysDeployKeyArrayOutput() GetInstanceDeployKeysDeployKeyArrayOutput

func (GetInstanceDeployKeysDeployKeyArray) ToGetInstanceDeployKeysDeployKeyArrayOutputWithContext added in v4.7.0

func (i GetInstanceDeployKeysDeployKeyArray) ToGetInstanceDeployKeysDeployKeyArrayOutputWithContext(ctx context.Context) GetInstanceDeployKeysDeployKeyArrayOutput

type GetInstanceDeployKeysDeployKeyArrayInput added in v4.7.0

type GetInstanceDeployKeysDeployKeyArrayInput interface {
	pulumi.Input

	ToGetInstanceDeployKeysDeployKeyArrayOutput() GetInstanceDeployKeysDeployKeyArrayOutput
	ToGetInstanceDeployKeysDeployKeyArrayOutputWithContext(context.Context) GetInstanceDeployKeysDeployKeyArrayOutput
}

GetInstanceDeployKeysDeployKeyArrayInput is an input type that accepts GetInstanceDeployKeysDeployKeyArray and GetInstanceDeployKeysDeployKeyArrayOutput values. You can construct a concrete instance of `GetInstanceDeployKeysDeployKeyArrayInput` via:

GetInstanceDeployKeysDeployKeyArray{ GetInstanceDeployKeysDeployKeyArgs{...} }

type GetInstanceDeployKeysDeployKeyArrayOutput added in v4.7.0

type GetInstanceDeployKeysDeployKeyArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceDeployKeysDeployKeyArrayOutput) ElementType added in v4.7.0

func (GetInstanceDeployKeysDeployKeyArrayOutput) Index added in v4.7.0

func (GetInstanceDeployKeysDeployKeyArrayOutput) ToGetInstanceDeployKeysDeployKeyArrayOutput added in v4.7.0

func (o GetInstanceDeployKeysDeployKeyArrayOutput) ToGetInstanceDeployKeysDeployKeyArrayOutput() GetInstanceDeployKeysDeployKeyArrayOutput

func (GetInstanceDeployKeysDeployKeyArrayOutput) ToGetInstanceDeployKeysDeployKeyArrayOutputWithContext added in v4.7.0

func (o GetInstanceDeployKeysDeployKeyArrayOutput) ToGetInstanceDeployKeysDeployKeyArrayOutputWithContext(ctx context.Context) GetInstanceDeployKeysDeployKeyArrayOutput

type GetInstanceDeployKeysDeployKeyInput added in v4.7.0

type GetInstanceDeployKeysDeployKeyInput interface {
	pulumi.Input

	ToGetInstanceDeployKeysDeployKeyOutput() GetInstanceDeployKeysDeployKeyOutput
	ToGetInstanceDeployKeysDeployKeyOutputWithContext(context.Context) GetInstanceDeployKeysDeployKeyOutput
}

GetInstanceDeployKeysDeployKeyInput is an input type that accepts GetInstanceDeployKeysDeployKeyArgs and GetInstanceDeployKeysDeployKeyOutput values. You can construct a concrete instance of `GetInstanceDeployKeysDeployKeyInput` via:

GetInstanceDeployKeysDeployKeyArgs{...}

type GetInstanceDeployKeysDeployKeyOutput added in v4.7.0

type GetInstanceDeployKeysDeployKeyOutput struct{ *pulumi.OutputState }

func (GetInstanceDeployKeysDeployKeyOutput) CreatedAt added in v4.7.0

func (GetInstanceDeployKeysDeployKeyOutput) ElementType added in v4.7.0

func (GetInstanceDeployKeysDeployKeyOutput) Fingerprint added in v4.7.0

func (GetInstanceDeployKeysDeployKeyOutput) Id added in v4.7.0

The ID of this resource.

func (GetInstanceDeployKeysDeployKeyOutput) Key added in v4.7.0

func (GetInstanceDeployKeysDeployKeyOutput) ProjectsWithWriteAccesses added in v4.7.0

func (GetInstanceDeployKeysDeployKeyOutput) Title added in v4.7.0

func (GetInstanceDeployKeysDeployKeyOutput) ToGetInstanceDeployKeysDeployKeyOutput added in v4.7.0

func (o GetInstanceDeployKeysDeployKeyOutput) ToGetInstanceDeployKeysDeployKeyOutput() GetInstanceDeployKeysDeployKeyOutput

func (GetInstanceDeployKeysDeployKeyOutput) ToGetInstanceDeployKeysDeployKeyOutputWithContext added in v4.7.0

func (o GetInstanceDeployKeysDeployKeyOutput) ToGetInstanceDeployKeysDeployKeyOutputWithContext(ctx context.Context) GetInstanceDeployKeysDeployKeyOutput

type GetInstanceDeployKeysDeployKeyProjectsWithWriteAccess added in v4.7.0

type GetInstanceDeployKeysDeployKeyProjectsWithWriteAccess struct {
	CreatedAt   string `pulumi:"createdAt"`
	Description string `pulumi:"description"`
	// The ID of this resource.
	Id                int    `pulumi:"id"`
	Name              string `pulumi:"name"`
	NameWithNamespace string `pulumi:"nameWithNamespace"`
	Path              string `pulumi:"path"`
	PathWithNamespace string `pulumi:"pathWithNamespace"`
}

type GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArgs added in v4.7.0

type GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArgs struct {
	CreatedAt   pulumi.StringInput `pulumi:"createdAt"`
	Description pulumi.StringInput `pulumi:"description"`
	// The ID of this resource.
	Id                pulumi.IntInput    `pulumi:"id"`
	Name              pulumi.StringInput `pulumi:"name"`
	NameWithNamespace pulumi.StringInput `pulumi:"nameWithNamespace"`
	Path              pulumi.StringInput `pulumi:"path"`
	PathWithNamespace pulumi.StringInput `pulumi:"pathWithNamespace"`
}

func (GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArgs) ElementType added in v4.7.0

func (GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArgs) ToGetInstanceDeployKeysDeployKeyProjectsWithWriteAccessOutput added in v4.7.0

func (GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArgs) ToGetInstanceDeployKeysDeployKeyProjectsWithWriteAccessOutputWithContext added in v4.7.0

func (i GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArgs) ToGetInstanceDeployKeysDeployKeyProjectsWithWriteAccessOutputWithContext(ctx context.Context) GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessOutput

type GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArray added in v4.7.0

type GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArray []GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessInput

func (GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArray) ElementType added in v4.7.0

func (GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArray) ToGetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArrayOutput added in v4.7.0

func (GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArray) ToGetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArrayOutputWithContext added in v4.7.0

func (i GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArray) ToGetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArrayOutputWithContext(ctx context.Context) GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArrayOutput

type GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArrayInput added in v4.7.0

type GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArrayInput interface {
	pulumi.Input

	ToGetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArrayOutput() GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArrayOutput
	ToGetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArrayOutputWithContext(context.Context) GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArrayOutput
}

GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArrayInput is an input type that accepts GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArray and GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArrayOutput values. You can construct a concrete instance of `GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArrayInput` via:

GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArray{ GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArgs{...} }

type GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArrayOutput added in v4.7.0

type GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArrayOutput) ElementType added in v4.7.0

func (GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArrayOutput) Index added in v4.7.0

func (GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArrayOutput) ToGetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArrayOutput added in v4.7.0

func (GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArrayOutput) ToGetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArrayOutputWithContext added in v4.7.0

func (o GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArrayOutput) ToGetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArrayOutputWithContext(ctx context.Context) GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArrayOutput

type GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessInput added in v4.7.0

type GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessInput interface {
	pulumi.Input

	ToGetInstanceDeployKeysDeployKeyProjectsWithWriteAccessOutput() GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessOutput
	ToGetInstanceDeployKeysDeployKeyProjectsWithWriteAccessOutputWithContext(context.Context) GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessOutput
}

GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessInput is an input type that accepts GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArgs and GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessOutput values. You can construct a concrete instance of `GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessInput` via:

GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessArgs{...}

type GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessOutput added in v4.7.0

type GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessOutput struct{ *pulumi.OutputState }

func (GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessOutput) CreatedAt added in v4.7.0

func (GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessOutput) Description added in v4.7.0

func (GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessOutput) ElementType added in v4.7.0

func (GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessOutput) Id added in v4.7.0

The ID of this resource.

func (GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessOutput) Name added in v4.7.0

func (GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessOutput) NameWithNamespace added in v4.7.0

func (GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessOutput) Path added in v4.7.0

func (GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessOutput) PathWithNamespace added in v4.7.0

func (GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessOutput) ToGetInstanceDeployKeysDeployKeyProjectsWithWriteAccessOutput added in v4.7.0

func (GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessOutput) ToGetInstanceDeployKeysDeployKeyProjectsWithWriteAccessOutputWithContext added in v4.7.0

func (o GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessOutput) ToGetInstanceDeployKeysDeployKeyProjectsWithWriteAccessOutputWithContext(ctx context.Context) GetInstanceDeployKeysDeployKeyProjectsWithWriteAccessOutput

type GetInstanceDeployKeysOutputArgs added in v4.7.0

type GetInstanceDeployKeysOutputArgs struct {
	// Only return deploy keys that are public.
	Public pulumi.BoolPtrInput `pulumi:"public"`
}

A collection of arguments for invoking getInstanceDeployKeys.

func (GetInstanceDeployKeysOutputArgs) ElementType added in v4.7.0

type GetInstanceDeployKeysResult added in v4.7.0

type GetInstanceDeployKeysResult struct {
	// The list of all deploy keys across all projects of the GitLab instance.
	DeployKeys []GetInstanceDeployKeysDeployKey `pulumi:"deployKeys"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Only return deploy keys that are public.
	Public *bool `pulumi:"public"`
}

A collection of values returned by getInstanceDeployKeys.

func GetInstanceDeployKeys added in v4.7.0

func GetInstanceDeployKeys(ctx *pulumi.Context, args *GetInstanceDeployKeysArgs, opts ...pulumi.InvokeOption) (*GetInstanceDeployKeysResult, error)

The `getInstanceDeployKeys` data source allows to retrieve a list of deploy keys for a GitLab instance.

> This data source requires administration privileges.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/deploy_keys.html#list-all-deploy-keys)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.GetInstanceDeployKeys(ctx, &gitlab.GetInstanceDeployKeysArgs{
			Public: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetInstanceDeployKeysResultOutput added in v4.7.0

type GetInstanceDeployKeysResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstanceDeployKeys.

func GetInstanceDeployKeysOutput added in v4.7.0

func (GetInstanceDeployKeysResultOutput) DeployKeys added in v4.7.0

The list of all deploy keys across all projects of the GitLab instance.

func (GetInstanceDeployKeysResultOutput) ElementType added in v4.7.0

func (GetInstanceDeployKeysResultOutput) Id added in v4.7.0

The provider-assigned unique ID for this managed resource.

func (GetInstanceDeployKeysResultOutput) Public added in v4.7.0

Only return deploy keys that are public.

func (GetInstanceDeployKeysResultOutput) ToGetInstanceDeployKeysResultOutput added in v4.7.0

func (o GetInstanceDeployKeysResultOutput) ToGetInstanceDeployKeysResultOutput() GetInstanceDeployKeysResultOutput

func (GetInstanceDeployKeysResultOutput) ToGetInstanceDeployKeysResultOutputWithContext added in v4.7.0

func (o GetInstanceDeployKeysResultOutput) ToGetInstanceDeployKeysResultOutputWithContext(ctx context.Context) GetInstanceDeployKeysResultOutput

type GetInstanceVariablesResult added in v4.8.0

type GetInstanceVariablesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of variables returned by the search
	Variables []GetInstanceVariablesVariable `pulumi:"variables"`
}

A collection of values returned by getInstanceVariables.

func GetInstanceVariables added in v4.8.0

func GetInstanceVariables(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetInstanceVariablesResult, error)

The `getInstanceVariables` data source allows to retrieve all instance-level CI/CD variables.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/instance_level_ci_variables.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.GetInstanceVariables(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetInstanceVariablesVariable added in v4.8.0

type GetInstanceVariablesVariable struct {
	Key          string `pulumi:"key"`
	Masked       bool   `pulumi:"masked"`
	Protected    bool   `pulumi:"protected"`
	Value        string `pulumi:"value"`
	VariableType string `pulumi:"variableType"`
}

type GetInstanceVariablesVariableArgs added in v4.8.0

type GetInstanceVariablesVariableArgs struct {
	Key          pulumi.StringInput `pulumi:"key"`
	Masked       pulumi.BoolInput   `pulumi:"masked"`
	Protected    pulumi.BoolInput   `pulumi:"protected"`
	Value        pulumi.StringInput `pulumi:"value"`
	VariableType pulumi.StringInput `pulumi:"variableType"`
}

func (GetInstanceVariablesVariableArgs) ElementType added in v4.8.0

func (GetInstanceVariablesVariableArgs) ToGetInstanceVariablesVariableOutput added in v4.8.0

func (i GetInstanceVariablesVariableArgs) ToGetInstanceVariablesVariableOutput() GetInstanceVariablesVariableOutput

func (GetInstanceVariablesVariableArgs) ToGetInstanceVariablesVariableOutputWithContext added in v4.8.0

func (i GetInstanceVariablesVariableArgs) ToGetInstanceVariablesVariableOutputWithContext(ctx context.Context) GetInstanceVariablesVariableOutput

type GetInstanceVariablesVariableArray added in v4.8.0

type GetInstanceVariablesVariableArray []GetInstanceVariablesVariableInput

func (GetInstanceVariablesVariableArray) ElementType added in v4.8.0

func (GetInstanceVariablesVariableArray) ToGetInstanceVariablesVariableArrayOutput added in v4.8.0

func (i GetInstanceVariablesVariableArray) ToGetInstanceVariablesVariableArrayOutput() GetInstanceVariablesVariableArrayOutput

func (GetInstanceVariablesVariableArray) ToGetInstanceVariablesVariableArrayOutputWithContext added in v4.8.0

func (i GetInstanceVariablesVariableArray) ToGetInstanceVariablesVariableArrayOutputWithContext(ctx context.Context) GetInstanceVariablesVariableArrayOutput

type GetInstanceVariablesVariableArrayInput added in v4.8.0

type GetInstanceVariablesVariableArrayInput interface {
	pulumi.Input

	ToGetInstanceVariablesVariableArrayOutput() GetInstanceVariablesVariableArrayOutput
	ToGetInstanceVariablesVariableArrayOutputWithContext(context.Context) GetInstanceVariablesVariableArrayOutput
}

GetInstanceVariablesVariableArrayInput is an input type that accepts GetInstanceVariablesVariableArray and GetInstanceVariablesVariableArrayOutput values. You can construct a concrete instance of `GetInstanceVariablesVariableArrayInput` via:

GetInstanceVariablesVariableArray{ GetInstanceVariablesVariableArgs{...} }

type GetInstanceVariablesVariableArrayOutput added in v4.8.0

type GetInstanceVariablesVariableArrayOutput struct{ *pulumi.OutputState }

func (GetInstanceVariablesVariableArrayOutput) ElementType added in v4.8.0

func (GetInstanceVariablesVariableArrayOutput) Index added in v4.8.0

func (GetInstanceVariablesVariableArrayOutput) ToGetInstanceVariablesVariableArrayOutput added in v4.8.0

func (o GetInstanceVariablesVariableArrayOutput) ToGetInstanceVariablesVariableArrayOutput() GetInstanceVariablesVariableArrayOutput

func (GetInstanceVariablesVariableArrayOutput) ToGetInstanceVariablesVariableArrayOutputWithContext added in v4.8.0

func (o GetInstanceVariablesVariableArrayOutput) ToGetInstanceVariablesVariableArrayOutputWithContext(ctx context.Context) GetInstanceVariablesVariableArrayOutput

type GetInstanceVariablesVariableInput added in v4.8.0

type GetInstanceVariablesVariableInput interface {
	pulumi.Input

	ToGetInstanceVariablesVariableOutput() GetInstanceVariablesVariableOutput
	ToGetInstanceVariablesVariableOutputWithContext(context.Context) GetInstanceVariablesVariableOutput
}

GetInstanceVariablesVariableInput is an input type that accepts GetInstanceVariablesVariableArgs and GetInstanceVariablesVariableOutput values. You can construct a concrete instance of `GetInstanceVariablesVariableInput` via:

GetInstanceVariablesVariableArgs{...}

type GetInstanceVariablesVariableOutput added in v4.8.0

type GetInstanceVariablesVariableOutput struct{ *pulumi.OutputState }

func (GetInstanceVariablesVariableOutput) ElementType added in v4.8.0

func (GetInstanceVariablesVariableOutput) Key added in v4.8.0

func (GetInstanceVariablesVariableOutput) Masked added in v4.8.0

func (GetInstanceVariablesVariableOutput) Protected added in v4.8.0

func (GetInstanceVariablesVariableOutput) ToGetInstanceVariablesVariableOutput added in v4.8.0

func (o GetInstanceVariablesVariableOutput) ToGetInstanceVariablesVariableOutput() GetInstanceVariablesVariableOutput

func (GetInstanceVariablesVariableOutput) ToGetInstanceVariablesVariableOutputWithContext added in v4.8.0

func (o GetInstanceVariablesVariableOutput) ToGetInstanceVariablesVariableOutputWithContext(ctx context.Context) GetInstanceVariablesVariableOutput

func (GetInstanceVariablesVariableOutput) Value added in v4.8.0

func (GetInstanceVariablesVariableOutput) VariableType added in v4.8.0

type GetProjectBranchesArgs added in v4.10.0

type GetProjectBranchesArgs struct {
	// ID or URL-encoded path of the project owned by the authenticated user.
	Project string `pulumi:"project"`
}

A collection of arguments for invoking getProjectBranches.

type GetProjectBranchesBranch added in v4.10.0

type GetProjectBranchesBranch struct {
	CanPush            bool                             `pulumi:"canPush"`
	Commits            []GetProjectBranchesBranchCommit `pulumi:"commits"`
	Default            bool                             `pulumi:"default"`
	DevelopersCanMerge bool                             `pulumi:"developersCanMerge"`
	DevelopersCanPush  bool                             `pulumi:"developersCanPush"`
	Merged             bool                             `pulumi:"merged"`
	Name               string                           `pulumi:"name"`
	Protected          bool                             `pulumi:"protected"`
	WebUrl             string                           `pulumi:"webUrl"`
}

type GetProjectBranchesBranchArgs added in v4.10.0

type GetProjectBranchesBranchArgs struct {
	CanPush            pulumi.BoolInput                         `pulumi:"canPush"`
	Commits            GetProjectBranchesBranchCommitArrayInput `pulumi:"commits"`
	Default            pulumi.BoolInput                         `pulumi:"default"`
	DevelopersCanMerge pulumi.BoolInput                         `pulumi:"developersCanMerge"`
	DevelopersCanPush  pulumi.BoolInput                         `pulumi:"developersCanPush"`
	Merged             pulumi.BoolInput                         `pulumi:"merged"`
	Name               pulumi.StringInput                       `pulumi:"name"`
	Protected          pulumi.BoolInput                         `pulumi:"protected"`
	WebUrl             pulumi.StringInput                       `pulumi:"webUrl"`
}

func (GetProjectBranchesBranchArgs) ElementType added in v4.10.0

func (GetProjectBranchesBranchArgs) ToGetProjectBranchesBranchOutput added in v4.10.0

func (i GetProjectBranchesBranchArgs) ToGetProjectBranchesBranchOutput() GetProjectBranchesBranchOutput

func (GetProjectBranchesBranchArgs) ToGetProjectBranchesBranchOutputWithContext added in v4.10.0

func (i GetProjectBranchesBranchArgs) ToGetProjectBranchesBranchOutputWithContext(ctx context.Context) GetProjectBranchesBranchOutput

type GetProjectBranchesBranchArray added in v4.10.0

type GetProjectBranchesBranchArray []GetProjectBranchesBranchInput

func (GetProjectBranchesBranchArray) ElementType added in v4.10.0

func (GetProjectBranchesBranchArray) ToGetProjectBranchesBranchArrayOutput added in v4.10.0

func (i GetProjectBranchesBranchArray) ToGetProjectBranchesBranchArrayOutput() GetProjectBranchesBranchArrayOutput

func (GetProjectBranchesBranchArray) ToGetProjectBranchesBranchArrayOutputWithContext added in v4.10.0

func (i GetProjectBranchesBranchArray) ToGetProjectBranchesBranchArrayOutputWithContext(ctx context.Context) GetProjectBranchesBranchArrayOutput

type GetProjectBranchesBranchArrayInput added in v4.10.0

type GetProjectBranchesBranchArrayInput interface {
	pulumi.Input

	ToGetProjectBranchesBranchArrayOutput() GetProjectBranchesBranchArrayOutput
	ToGetProjectBranchesBranchArrayOutputWithContext(context.Context) GetProjectBranchesBranchArrayOutput
}

GetProjectBranchesBranchArrayInput is an input type that accepts GetProjectBranchesBranchArray and GetProjectBranchesBranchArrayOutput values. You can construct a concrete instance of `GetProjectBranchesBranchArrayInput` via:

GetProjectBranchesBranchArray{ GetProjectBranchesBranchArgs{...} }

type GetProjectBranchesBranchArrayOutput added in v4.10.0

type GetProjectBranchesBranchArrayOutput struct{ *pulumi.OutputState }

func (GetProjectBranchesBranchArrayOutput) ElementType added in v4.10.0

func (GetProjectBranchesBranchArrayOutput) Index added in v4.10.0

func (GetProjectBranchesBranchArrayOutput) ToGetProjectBranchesBranchArrayOutput added in v4.10.0

func (o GetProjectBranchesBranchArrayOutput) ToGetProjectBranchesBranchArrayOutput() GetProjectBranchesBranchArrayOutput

func (GetProjectBranchesBranchArrayOutput) ToGetProjectBranchesBranchArrayOutputWithContext added in v4.10.0

func (o GetProjectBranchesBranchArrayOutput) ToGetProjectBranchesBranchArrayOutputWithContext(ctx context.Context) GetProjectBranchesBranchArrayOutput

type GetProjectBranchesBranchCommit added in v4.10.0

type GetProjectBranchesBranchCommit struct {
	AuthorEmail    string `pulumi:"authorEmail"`
	AuthorName     string `pulumi:"authorName"`
	AuthoredDate   string `pulumi:"authoredDate"`
	CommittedDate  string `pulumi:"committedDate"`
	CommitterEmail string `pulumi:"committerEmail"`
	CommitterName  string `pulumi:"committerName"`
	// The ID of this resource.
	Id        string   `pulumi:"id"`
	Message   string   `pulumi:"message"`
	ParentIds []string `pulumi:"parentIds"`
	ShortId   string   `pulumi:"shortId"`
	Title     string   `pulumi:"title"`
}

type GetProjectBranchesBranchCommitArgs added in v4.10.0

type GetProjectBranchesBranchCommitArgs struct {
	AuthorEmail    pulumi.StringInput `pulumi:"authorEmail"`
	AuthorName     pulumi.StringInput `pulumi:"authorName"`
	AuthoredDate   pulumi.StringInput `pulumi:"authoredDate"`
	CommittedDate  pulumi.StringInput `pulumi:"committedDate"`
	CommitterEmail pulumi.StringInput `pulumi:"committerEmail"`
	CommitterName  pulumi.StringInput `pulumi:"committerName"`
	// The ID of this resource.
	Id        pulumi.StringInput      `pulumi:"id"`
	Message   pulumi.StringInput      `pulumi:"message"`
	ParentIds pulumi.StringArrayInput `pulumi:"parentIds"`
	ShortId   pulumi.StringInput      `pulumi:"shortId"`
	Title     pulumi.StringInput      `pulumi:"title"`
}

func (GetProjectBranchesBranchCommitArgs) ElementType added in v4.10.0

func (GetProjectBranchesBranchCommitArgs) ToGetProjectBranchesBranchCommitOutput added in v4.10.0

func (i GetProjectBranchesBranchCommitArgs) ToGetProjectBranchesBranchCommitOutput() GetProjectBranchesBranchCommitOutput

func (GetProjectBranchesBranchCommitArgs) ToGetProjectBranchesBranchCommitOutputWithContext added in v4.10.0

func (i GetProjectBranchesBranchCommitArgs) ToGetProjectBranchesBranchCommitOutputWithContext(ctx context.Context) GetProjectBranchesBranchCommitOutput

type GetProjectBranchesBranchCommitArray added in v4.10.0

type GetProjectBranchesBranchCommitArray []GetProjectBranchesBranchCommitInput

func (GetProjectBranchesBranchCommitArray) ElementType added in v4.10.0

func (GetProjectBranchesBranchCommitArray) ToGetProjectBranchesBranchCommitArrayOutput added in v4.10.0

func (i GetProjectBranchesBranchCommitArray) ToGetProjectBranchesBranchCommitArrayOutput() GetProjectBranchesBranchCommitArrayOutput

func (GetProjectBranchesBranchCommitArray) ToGetProjectBranchesBranchCommitArrayOutputWithContext added in v4.10.0

func (i GetProjectBranchesBranchCommitArray) ToGetProjectBranchesBranchCommitArrayOutputWithContext(ctx context.Context) GetProjectBranchesBranchCommitArrayOutput

type GetProjectBranchesBranchCommitArrayInput added in v4.10.0

type GetProjectBranchesBranchCommitArrayInput interface {
	pulumi.Input

	ToGetProjectBranchesBranchCommitArrayOutput() GetProjectBranchesBranchCommitArrayOutput
	ToGetProjectBranchesBranchCommitArrayOutputWithContext(context.Context) GetProjectBranchesBranchCommitArrayOutput
}

GetProjectBranchesBranchCommitArrayInput is an input type that accepts GetProjectBranchesBranchCommitArray and GetProjectBranchesBranchCommitArrayOutput values. You can construct a concrete instance of `GetProjectBranchesBranchCommitArrayInput` via:

GetProjectBranchesBranchCommitArray{ GetProjectBranchesBranchCommitArgs{...} }

type GetProjectBranchesBranchCommitArrayOutput added in v4.10.0

type GetProjectBranchesBranchCommitArrayOutput struct{ *pulumi.OutputState }

func (GetProjectBranchesBranchCommitArrayOutput) ElementType added in v4.10.0

func (GetProjectBranchesBranchCommitArrayOutput) Index added in v4.10.0

func (GetProjectBranchesBranchCommitArrayOutput) ToGetProjectBranchesBranchCommitArrayOutput added in v4.10.0

func (o GetProjectBranchesBranchCommitArrayOutput) ToGetProjectBranchesBranchCommitArrayOutput() GetProjectBranchesBranchCommitArrayOutput

func (GetProjectBranchesBranchCommitArrayOutput) ToGetProjectBranchesBranchCommitArrayOutputWithContext added in v4.10.0

func (o GetProjectBranchesBranchCommitArrayOutput) ToGetProjectBranchesBranchCommitArrayOutputWithContext(ctx context.Context) GetProjectBranchesBranchCommitArrayOutput

type GetProjectBranchesBranchCommitInput added in v4.10.0

type GetProjectBranchesBranchCommitInput interface {
	pulumi.Input

	ToGetProjectBranchesBranchCommitOutput() GetProjectBranchesBranchCommitOutput
	ToGetProjectBranchesBranchCommitOutputWithContext(context.Context) GetProjectBranchesBranchCommitOutput
}

GetProjectBranchesBranchCommitInput is an input type that accepts GetProjectBranchesBranchCommitArgs and GetProjectBranchesBranchCommitOutput values. You can construct a concrete instance of `GetProjectBranchesBranchCommitInput` via:

GetProjectBranchesBranchCommitArgs{...}

type GetProjectBranchesBranchCommitOutput added in v4.10.0

type GetProjectBranchesBranchCommitOutput struct{ *pulumi.OutputState }

func (GetProjectBranchesBranchCommitOutput) AuthorEmail added in v4.10.0

func (GetProjectBranchesBranchCommitOutput) AuthorName added in v4.10.0

func (GetProjectBranchesBranchCommitOutput) AuthoredDate added in v4.10.0

func (GetProjectBranchesBranchCommitOutput) CommittedDate added in v4.10.0

func (GetProjectBranchesBranchCommitOutput) CommitterEmail added in v4.10.0

func (GetProjectBranchesBranchCommitOutput) CommitterName added in v4.10.0

func (GetProjectBranchesBranchCommitOutput) ElementType added in v4.10.0

func (GetProjectBranchesBranchCommitOutput) Id added in v4.10.0

The ID of this resource.

func (GetProjectBranchesBranchCommitOutput) Message added in v4.10.0

func (GetProjectBranchesBranchCommitOutput) ParentIds added in v4.10.0

func (GetProjectBranchesBranchCommitOutput) ShortId added in v4.10.0

func (GetProjectBranchesBranchCommitOutput) Title added in v4.10.0

func (GetProjectBranchesBranchCommitOutput) ToGetProjectBranchesBranchCommitOutput added in v4.10.0

func (o GetProjectBranchesBranchCommitOutput) ToGetProjectBranchesBranchCommitOutput() GetProjectBranchesBranchCommitOutput

func (GetProjectBranchesBranchCommitOutput) ToGetProjectBranchesBranchCommitOutputWithContext added in v4.10.0

func (o GetProjectBranchesBranchCommitOutput) ToGetProjectBranchesBranchCommitOutputWithContext(ctx context.Context) GetProjectBranchesBranchCommitOutput

type GetProjectBranchesBranchInput added in v4.10.0

type GetProjectBranchesBranchInput interface {
	pulumi.Input

	ToGetProjectBranchesBranchOutput() GetProjectBranchesBranchOutput
	ToGetProjectBranchesBranchOutputWithContext(context.Context) GetProjectBranchesBranchOutput
}

GetProjectBranchesBranchInput is an input type that accepts GetProjectBranchesBranchArgs and GetProjectBranchesBranchOutput values. You can construct a concrete instance of `GetProjectBranchesBranchInput` via:

GetProjectBranchesBranchArgs{...}

type GetProjectBranchesBranchOutput added in v4.10.0

type GetProjectBranchesBranchOutput struct{ *pulumi.OutputState }

func (GetProjectBranchesBranchOutput) CanPush added in v4.10.0

func (GetProjectBranchesBranchOutput) Commits added in v4.10.0

func (GetProjectBranchesBranchOutput) Default added in v4.10.0

func (GetProjectBranchesBranchOutput) DevelopersCanMerge added in v4.10.0

func (o GetProjectBranchesBranchOutput) DevelopersCanMerge() pulumi.BoolOutput

func (GetProjectBranchesBranchOutput) DevelopersCanPush added in v4.10.0

func (o GetProjectBranchesBranchOutput) DevelopersCanPush() pulumi.BoolOutput

func (GetProjectBranchesBranchOutput) ElementType added in v4.10.0

func (GetProjectBranchesBranchOutput) Merged added in v4.10.0

func (GetProjectBranchesBranchOutput) Name added in v4.10.0

func (GetProjectBranchesBranchOutput) Protected added in v4.10.0

func (GetProjectBranchesBranchOutput) ToGetProjectBranchesBranchOutput added in v4.10.0

func (o GetProjectBranchesBranchOutput) ToGetProjectBranchesBranchOutput() GetProjectBranchesBranchOutput

func (GetProjectBranchesBranchOutput) ToGetProjectBranchesBranchOutputWithContext added in v4.10.0

func (o GetProjectBranchesBranchOutput) ToGetProjectBranchesBranchOutputWithContext(ctx context.Context) GetProjectBranchesBranchOutput

func (GetProjectBranchesBranchOutput) WebUrl added in v4.10.0

type GetProjectBranchesOutputArgs added in v4.10.0

type GetProjectBranchesOutputArgs struct {
	// ID or URL-encoded path of the project owned by the authenticated user.
	Project pulumi.StringInput `pulumi:"project"`
}

A collection of arguments for invoking getProjectBranches.

func (GetProjectBranchesOutputArgs) ElementType added in v4.10.0

type GetProjectBranchesResult added in v4.10.0

type GetProjectBranchesResult struct {
	// The list of branches of the project, as defined below.
	Branches []GetProjectBranchesBranch `pulumi:"branches"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// ID or URL-encoded path of the project owned by the authenticated user.
	Project string `pulumi:"project"`
}

A collection of values returned by getProjectBranches.

func GetProjectBranches added in v4.10.0

func GetProjectBranches(ctx *pulumi.Context, args *GetProjectBranchesArgs, opts ...pulumi.InvokeOption) (*GetProjectBranchesResult, error)

The `getProjectBranches` data source allows details of the branches of a given project to be retrieved.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/branches.html#list-repository-branches)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.GetProjectBranches(ctx, &gitlab.GetProjectBranchesArgs{
			Project: "foo/bar/baz",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetProjectBranchesResultOutput added in v4.10.0

type GetProjectBranchesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProjectBranches.

func GetProjectBranchesOutput added in v4.10.0

func (GetProjectBranchesResultOutput) Branches added in v4.10.0

The list of branches of the project, as defined below.

func (GetProjectBranchesResultOutput) ElementType added in v4.10.0

func (GetProjectBranchesResultOutput) Id added in v4.10.0

The provider-assigned unique ID for this managed resource.

func (GetProjectBranchesResultOutput) Project added in v4.10.0

ID or URL-encoded path of the project owned by the authenticated user.

func (GetProjectBranchesResultOutput) ToGetProjectBranchesResultOutput added in v4.10.0

func (o GetProjectBranchesResultOutput) ToGetProjectBranchesResultOutput() GetProjectBranchesResultOutput

func (GetProjectBranchesResultOutput) ToGetProjectBranchesResultOutputWithContext added in v4.10.0

func (o GetProjectBranchesResultOutput) ToGetProjectBranchesResultOutputWithContext(ctx context.Context) GetProjectBranchesResultOutput

type GetProjectContainerExpirationPolicy added in v4.7.0

type GetProjectContainerExpirationPolicy struct {
	Cadence         string `pulumi:"cadence"`
	Enabled         bool   `pulumi:"enabled"`
	KeepN           int    `pulumi:"keepN"`
	NameRegexDelete string `pulumi:"nameRegexDelete"`
	NameRegexKeep   string `pulumi:"nameRegexKeep"`
	NextRunAt       string `pulumi:"nextRunAt"`
	OlderThan       string `pulumi:"olderThan"`
}

type GetProjectContainerExpirationPolicyArgs added in v4.7.0

type GetProjectContainerExpirationPolicyArgs struct {
	Cadence         pulumi.StringInput `pulumi:"cadence"`
	Enabled         pulumi.BoolInput   `pulumi:"enabled"`
	KeepN           pulumi.IntInput    `pulumi:"keepN"`
	NameRegexDelete pulumi.StringInput `pulumi:"nameRegexDelete"`
	NameRegexKeep   pulumi.StringInput `pulumi:"nameRegexKeep"`
	NextRunAt       pulumi.StringInput `pulumi:"nextRunAt"`
	OlderThan       pulumi.StringInput `pulumi:"olderThan"`
}

func (GetProjectContainerExpirationPolicyArgs) ElementType added in v4.7.0

func (GetProjectContainerExpirationPolicyArgs) ToGetProjectContainerExpirationPolicyOutput added in v4.7.0

func (i GetProjectContainerExpirationPolicyArgs) ToGetProjectContainerExpirationPolicyOutput() GetProjectContainerExpirationPolicyOutput

func (GetProjectContainerExpirationPolicyArgs) ToGetProjectContainerExpirationPolicyOutputWithContext added in v4.7.0

func (i GetProjectContainerExpirationPolicyArgs) ToGetProjectContainerExpirationPolicyOutputWithContext(ctx context.Context) GetProjectContainerExpirationPolicyOutput

type GetProjectContainerExpirationPolicyArray added in v4.7.0

type GetProjectContainerExpirationPolicyArray []GetProjectContainerExpirationPolicyInput

func (GetProjectContainerExpirationPolicyArray) ElementType added in v4.7.0

func (GetProjectContainerExpirationPolicyArray) ToGetProjectContainerExpirationPolicyArrayOutput added in v4.7.0

func (i GetProjectContainerExpirationPolicyArray) ToGetProjectContainerExpirationPolicyArrayOutput() GetProjectContainerExpirationPolicyArrayOutput

func (GetProjectContainerExpirationPolicyArray) ToGetProjectContainerExpirationPolicyArrayOutputWithContext added in v4.7.0

func (i GetProjectContainerExpirationPolicyArray) ToGetProjectContainerExpirationPolicyArrayOutputWithContext(ctx context.Context) GetProjectContainerExpirationPolicyArrayOutput

type GetProjectContainerExpirationPolicyArrayInput added in v4.7.0

type GetProjectContainerExpirationPolicyArrayInput interface {
	pulumi.Input

	ToGetProjectContainerExpirationPolicyArrayOutput() GetProjectContainerExpirationPolicyArrayOutput
	ToGetProjectContainerExpirationPolicyArrayOutputWithContext(context.Context) GetProjectContainerExpirationPolicyArrayOutput
}

GetProjectContainerExpirationPolicyArrayInput is an input type that accepts GetProjectContainerExpirationPolicyArray and GetProjectContainerExpirationPolicyArrayOutput values. You can construct a concrete instance of `GetProjectContainerExpirationPolicyArrayInput` via:

GetProjectContainerExpirationPolicyArray{ GetProjectContainerExpirationPolicyArgs{...} }

type GetProjectContainerExpirationPolicyArrayOutput added in v4.7.0

type GetProjectContainerExpirationPolicyArrayOutput struct{ *pulumi.OutputState }

func (GetProjectContainerExpirationPolicyArrayOutput) ElementType added in v4.7.0

func (GetProjectContainerExpirationPolicyArrayOutput) Index added in v4.7.0

func (GetProjectContainerExpirationPolicyArrayOutput) ToGetProjectContainerExpirationPolicyArrayOutput added in v4.7.0

func (o GetProjectContainerExpirationPolicyArrayOutput) ToGetProjectContainerExpirationPolicyArrayOutput() GetProjectContainerExpirationPolicyArrayOutput

func (GetProjectContainerExpirationPolicyArrayOutput) ToGetProjectContainerExpirationPolicyArrayOutputWithContext added in v4.7.0

func (o GetProjectContainerExpirationPolicyArrayOutput) ToGetProjectContainerExpirationPolicyArrayOutputWithContext(ctx context.Context) GetProjectContainerExpirationPolicyArrayOutput

type GetProjectContainerExpirationPolicyInput added in v4.7.0

type GetProjectContainerExpirationPolicyInput interface {
	pulumi.Input

	ToGetProjectContainerExpirationPolicyOutput() GetProjectContainerExpirationPolicyOutput
	ToGetProjectContainerExpirationPolicyOutputWithContext(context.Context) GetProjectContainerExpirationPolicyOutput
}

GetProjectContainerExpirationPolicyInput is an input type that accepts GetProjectContainerExpirationPolicyArgs and GetProjectContainerExpirationPolicyOutput values. You can construct a concrete instance of `GetProjectContainerExpirationPolicyInput` via:

GetProjectContainerExpirationPolicyArgs{...}

type GetProjectContainerExpirationPolicyOutput added in v4.7.0

type GetProjectContainerExpirationPolicyOutput struct{ *pulumi.OutputState }

func (GetProjectContainerExpirationPolicyOutput) Cadence added in v4.7.0

func (GetProjectContainerExpirationPolicyOutput) ElementType added in v4.7.0

func (GetProjectContainerExpirationPolicyOutput) Enabled added in v4.7.0

func (GetProjectContainerExpirationPolicyOutput) KeepN added in v4.7.0

func (GetProjectContainerExpirationPolicyOutput) NameRegexDelete added in v4.7.0

func (GetProjectContainerExpirationPolicyOutput) NameRegexKeep added in v4.7.0

func (GetProjectContainerExpirationPolicyOutput) NextRunAt added in v4.7.0

func (GetProjectContainerExpirationPolicyOutput) OlderThan added in v4.7.0

func (GetProjectContainerExpirationPolicyOutput) ToGetProjectContainerExpirationPolicyOutput added in v4.7.0

func (o GetProjectContainerExpirationPolicyOutput) ToGetProjectContainerExpirationPolicyOutput() GetProjectContainerExpirationPolicyOutput

func (GetProjectContainerExpirationPolicyOutput) ToGetProjectContainerExpirationPolicyOutputWithContext added in v4.7.0

func (o GetProjectContainerExpirationPolicyOutput) ToGetProjectContainerExpirationPolicyOutputWithContext(ctx context.Context) GetProjectContainerExpirationPolicyOutput

type GetProjectHooksArgs added in v4.9.0

type GetProjectHooksArgs struct {
	// The name or id of the project.
	Project string `pulumi:"project"`
}

A collection of arguments for invoking getProjectHooks.

type GetProjectHooksHook added in v4.9.0

type GetProjectHooksHook struct {
	ConfidentialIssuesEvents bool `pulumi:"confidentialIssuesEvents"`
	ConfidentialNoteEvents   bool `pulumi:"confidentialNoteEvents"`
	DeploymentEvents         bool `pulumi:"deploymentEvents"`
	EnableSslVerification    bool `pulumi:"enableSslVerification"`
	HookId                   int  `pulumi:"hookId"`
	IssuesEvents             bool `pulumi:"issuesEvents"`
	JobEvents                bool `pulumi:"jobEvents"`
	MergeRequestsEvents      bool `pulumi:"mergeRequestsEvents"`
	NoteEvents               bool `pulumi:"noteEvents"`
	PipelineEvents           bool `pulumi:"pipelineEvents"`
	// The name or id of the project.
	Project                string `pulumi:"project"`
	ProjectId              int    `pulumi:"projectId"`
	PushEvents             bool   `pulumi:"pushEvents"`
	PushEventsBranchFilter string `pulumi:"pushEventsBranchFilter"`
	ReleasesEvents         bool   `pulumi:"releasesEvents"`
	TagPushEvents          bool   `pulumi:"tagPushEvents"`
	Token                  string `pulumi:"token"`
	Url                    string `pulumi:"url"`
	WikiPageEvents         bool   `pulumi:"wikiPageEvents"`
}

type GetProjectHooksHookArgs added in v4.9.0

type GetProjectHooksHookArgs struct {
	ConfidentialIssuesEvents pulumi.BoolInput `pulumi:"confidentialIssuesEvents"`
	ConfidentialNoteEvents   pulumi.BoolInput `pulumi:"confidentialNoteEvents"`
	DeploymentEvents         pulumi.BoolInput `pulumi:"deploymentEvents"`
	EnableSslVerification    pulumi.BoolInput `pulumi:"enableSslVerification"`
	HookId                   pulumi.IntInput  `pulumi:"hookId"`
	IssuesEvents             pulumi.BoolInput `pulumi:"issuesEvents"`
	JobEvents                pulumi.BoolInput `pulumi:"jobEvents"`
	MergeRequestsEvents      pulumi.BoolInput `pulumi:"mergeRequestsEvents"`
	NoteEvents               pulumi.BoolInput `pulumi:"noteEvents"`
	PipelineEvents           pulumi.BoolInput `pulumi:"pipelineEvents"`
	// The name or id of the project.
	Project                pulumi.StringInput `pulumi:"project"`
	ProjectId              pulumi.IntInput    `pulumi:"projectId"`
	PushEvents             pulumi.BoolInput   `pulumi:"pushEvents"`
	PushEventsBranchFilter pulumi.StringInput `pulumi:"pushEventsBranchFilter"`
	ReleasesEvents         pulumi.BoolInput   `pulumi:"releasesEvents"`
	TagPushEvents          pulumi.BoolInput   `pulumi:"tagPushEvents"`
	Token                  pulumi.StringInput `pulumi:"token"`
	Url                    pulumi.StringInput `pulumi:"url"`
	WikiPageEvents         pulumi.BoolInput   `pulumi:"wikiPageEvents"`
}

func (GetProjectHooksHookArgs) ElementType added in v4.9.0

func (GetProjectHooksHookArgs) ElementType() reflect.Type

func (GetProjectHooksHookArgs) ToGetProjectHooksHookOutput added in v4.9.0

func (i GetProjectHooksHookArgs) ToGetProjectHooksHookOutput() GetProjectHooksHookOutput

func (GetProjectHooksHookArgs) ToGetProjectHooksHookOutputWithContext added in v4.9.0

func (i GetProjectHooksHookArgs) ToGetProjectHooksHookOutputWithContext(ctx context.Context) GetProjectHooksHookOutput

type GetProjectHooksHookArray added in v4.9.0

type GetProjectHooksHookArray []GetProjectHooksHookInput

func (GetProjectHooksHookArray) ElementType added in v4.9.0

func (GetProjectHooksHookArray) ElementType() reflect.Type

func (GetProjectHooksHookArray) ToGetProjectHooksHookArrayOutput added in v4.9.0

func (i GetProjectHooksHookArray) ToGetProjectHooksHookArrayOutput() GetProjectHooksHookArrayOutput

func (GetProjectHooksHookArray) ToGetProjectHooksHookArrayOutputWithContext added in v4.9.0

func (i GetProjectHooksHookArray) ToGetProjectHooksHookArrayOutputWithContext(ctx context.Context) GetProjectHooksHookArrayOutput

type GetProjectHooksHookArrayInput added in v4.9.0

type GetProjectHooksHookArrayInput interface {
	pulumi.Input

	ToGetProjectHooksHookArrayOutput() GetProjectHooksHookArrayOutput
	ToGetProjectHooksHookArrayOutputWithContext(context.Context) GetProjectHooksHookArrayOutput
}

GetProjectHooksHookArrayInput is an input type that accepts GetProjectHooksHookArray and GetProjectHooksHookArrayOutput values. You can construct a concrete instance of `GetProjectHooksHookArrayInput` via:

GetProjectHooksHookArray{ GetProjectHooksHookArgs{...} }

type GetProjectHooksHookArrayOutput added in v4.9.0

type GetProjectHooksHookArrayOutput struct{ *pulumi.OutputState }

func (GetProjectHooksHookArrayOutput) ElementType added in v4.9.0

func (GetProjectHooksHookArrayOutput) Index added in v4.9.0

func (GetProjectHooksHookArrayOutput) ToGetProjectHooksHookArrayOutput added in v4.9.0

func (o GetProjectHooksHookArrayOutput) ToGetProjectHooksHookArrayOutput() GetProjectHooksHookArrayOutput

func (GetProjectHooksHookArrayOutput) ToGetProjectHooksHookArrayOutputWithContext added in v4.9.0

func (o GetProjectHooksHookArrayOutput) ToGetProjectHooksHookArrayOutputWithContext(ctx context.Context) GetProjectHooksHookArrayOutput

type GetProjectHooksHookInput added in v4.9.0

type GetProjectHooksHookInput interface {
	pulumi.Input

	ToGetProjectHooksHookOutput() GetProjectHooksHookOutput
	ToGetProjectHooksHookOutputWithContext(context.Context) GetProjectHooksHookOutput
}

GetProjectHooksHookInput is an input type that accepts GetProjectHooksHookArgs and GetProjectHooksHookOutput values. You can construct a concrete instance of `GetProjectHooksHookInput` via:

GetProjectHooksHookArgs{...}

type GetProjectHooksHookOutput added in v4.9.0

type GetProjectHooksHookOutput struct{ *pulumi.OutputState }

func (GetProjectHooksHookOutput) ConfidentialIssuesEvents added in v4.9.0

func (o GetProjectHooksHookOutput) ConfidentialIssuesEvents() pulumi.BoolOutput

func (GetProjectHooksHookOutput) ConfidentialNoteEvents added in v4.9.0

func (o GetProjectHooksHookOutput) ConfidentialNoteEvents() pulumi.BoolOutput

func (GetProjectHooksHookOutput) DeploymentEvents added in v4.9.0

func (o GetProjectHooksHookOutput) DeploymentEvents() pulumi.BoolOutput

func (GetProjectHooksHookOutput) ElementType added in v4.9.0

func (GetProjectHooksHookOutput) ElementType() reflect.Type

func (GetProjectHooksHookOutput) EnableSslVerification added in v4.9.0

func (o GetProjectHooksHookOutput) EnableSslVerification() pulumi.BoolOutput

func (GetProjectHooksHookOutput) HookId added in v4.9.0

func (GetProjectHooksHookOutput) IssuesEvents added in v4.9.0

func (o GetProjectHooksHookOutput) IssuesEvents() pulumi.BoolOutput

func (GetProjectHooksHookOutput) JobEvents added in v4.9.0

func (GetProjectHooksHookOutput) MergeRequestsEvents added in v4.9.0

func (o GetProjectHooksHookOutput) MergeRequestsEvents() pulumi.BoolOutput

func (GetProjectHooksHookOutput) NoteEvents added in v4.9.0

func (GetProjectHooksHookOutput) PipelineEvents added in v4.9.0

func (o GetProjectHooksHookOutput) PipelineEvents() pulumi.BoolOutput

func (GetProjectHooksHookOutput) Project added in v4.9.0

The name or id of the project.

func (GetProjectHooksHookOutput) ProjectId added in v4.9.0

func (GetProjectHooksHookOutput) PushEvents added in v4.9.0

func (GetProjectHooksHookOutput) PushEventsBranchFilter added in v4.9.0

func (o GetProjectHooksHookOutput) PushEventsBranchFilter() pulumi.StringOutput

func (GetProjectHooksHookOutput) ReleasesEvents added in v4.9.0

func (o GetProjectHooksHookOutput) ReleasesEvents() pulumi.BoolOutput

func (GetProjectHooksHookOutput) TagPushEvents added in v4.9.0

func (o GetProjectHooksHookOutput) TagPushEvents() pulumi.BoolOutput

func (GetProjectHooksHookOutput) ToGetProjectHooksHookOutput added in v4.9.0

func (o GetProjectHooksHookOutput) ToGetProjectHooksHookOutput() GetProjectHooksHookOutput

func (GetProjectHooksHookOutput) ToGetProjectHooksHookOutputWithContext added in v4.9.0

func (o GetProjectHooksHookOutput) ToGetProjectHooksHookOutputWithContext(ctx context.Context) GetProjectHooksHookOutput

func (GetProjectHooksHookOutput) Token added in v4.9.0

func (GetProjectHooksHookOutput) Url added in v4.9.0

func (GetProjectHooksHookOutput) WikiPageEvents added in v4.9.0

func (o GetProjectHooksHookOutput) WikiPageEvents() pulumi.BoolOutput

type GetProjectHooksOutputArgs added in v4.9.0

type GetProjectHooksOutputArgs struct {
	// The name or id of the project.
	Project pulumi.StringInput `pulumi:"project"`
}

A collection of arguments for invoking getProjectHooks.

func (GetProjectHooksOutputArgs) ElementType added in v4.9.0

func (GetProjectHooksOutputArgs) ElementType() reflect.Type

type GetProjectHooksResult added in v4.9.0

type GetProjectHooksResult struct {
	// The list of hooks.
	Hooks []GetProjectHooksHook `pulumi:"hooks"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name or id of the project.
	Project string `pulumi:"project"`
}

A collection of values returned by getProjectHooks.

func GetProjectHooks added in v4.9.0

func GetProjectHooks(ctx *pulumi.Context, args *GetProjectHooksArgs, opts ...pulumi.InvokeOption) (*GetProjectHooksResult, error)

The `getProjectHooks` data source allows to retrieve details about hooks in a project.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/projects.html#list-project-hooks)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := gitlab.LookupProject(ctx, &gitlab.LookupProjectArgs{
			Id: pulumi.StringRef("foo/bar/baz"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = gitlab.GetProjectHooks(ctx, &gitlab.GetProjectHooksArgs{
			Project: example.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetProjectHooksResultOutput added in v4.9.0

type GetProjectHooksResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProjectHooks.

func GetProjectHooksOutput added in v4.9.0

func (GetProjectHooksResultOutput) ElementType added in v4.9.0

func (GetProjectHooksResultOutput) Hooks added in v4.9.0

The list of hooks.

func (GetProjectHooksResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (GetProjectHooksResultOutput) Project added in v4.9.0

The name or id of the project.

func (GetProjectHooksResultOutput) ToGetProjectHooksResultOutput added in v4.9.0

func (o GetProjectHooksResultOutput) ToGetProjectHooksResultOutput() GetProjectHooksResultOutput

func (GetProjectHooksResultOutput) ToGetProjectHooksResultOutputWithContext added in v4.9.0

func (o GetProjectHooksResultOutput) ToGetProjectHooksResultOutputWithContext(ctx context.Context) GetProjectHooksResultOutput

type GetProjectIssueTaskCompletionStatus added in v4.7.0

type GetProjectIssueTaskCompletionStatus struct {
	CompletedCount int `pulumi:"completedCount"`
	Count          int `pulumi:"count"`
}

type GetProjectIssueTaskCompletionStatusArgs added in v4.7.0

type GetProjectIssueTaskCompletionStatusArgs struct {
	CompletedCount pulumi.IntInput `pulumi:"completedCount"`
	Count          pulumi.IntInput `pulumi:"count"`
}

func (GetProjectIssueTaskCompletionStatusArgs) ElementType added in v4.7.0

func (GetProjectIssueTaskCompletionStatusArgs) ToGetProjectIssueTaskCompletionStatusOutput added in v4.7.0

func (i GetProjectIssueTaskCompletionStatusArgs) ToGetProjectIssueTaskCompletionStatusOutput() GetProjectIssueTaskCompletionStatusOutput

func (GetProjectIssueTaskCompletionStatusArgs) ToGetProjectIssueTaskCompletionStatusOutputWithContext added in v4.7.0

func (i GetProjectIssueTaskCompletionStatusArgs) ToGetProjectIssueTaskCompletionStatusOutputWithContext(ctx context.Context) GetProjectIssueTaskCompletionStatusOutput

type GetProjectIssueTaskCompletionStatusArray added in v4.7.0

type GetProjectIssueTaskCompletionStatusArray []GetProjectIssueTaskCompletionStatusInput

func (GetProjectIssueTaskCompletionStatusArray) ElementType added in v4.7.0

func (GetProjectIssueTaskCompletionStatusArray) ToGetProjectIssueTaskCompletionStatusArrayOutput added in v4.7.0

func (i GetProjectIssueTaskCompletionStatusArray) ToGetProjectIssueTaskCompletionStatusArrayOutput() GetProjectIssueTaskCompletionStatusArrayOutput

func (GetProjectIssueTaskCompletionStatusArray) ToGetProjectIssueTaskCompletionStatusArrayOutputWithContext added in v4.7.0

func (i GetProjectIssueTaskCompletionStatusArray) ToGetProjectIssueTaskCompletionStatusArrayOutputWithContext(ctx context.Context) GetProjectIssueTaskCompletionStatusArrayOutput

type GetProjectIssueTaskCompletionStatusArrayInput added in v4.7.0

type GetProjectIssueTaskCompletionStatusArrayInput interface {
	pulumi.Input

	ToGetProjectIssueTaskCompletionStatusArrayOutput() GetProjectIssueTaskCompletionStatusArrayOutput
	ToGetProjectIssueTaskCompletionStatusArrayOutputWithContext(context.Context) GetProjectIssueTaskCompletionStatusArrayOutput
}

GetProjectIssueTaskCompletionStatusArrayInput is an input type that accepts GetProjectIssueTaskCompletionStatusArray and GetProjectIssueTaskCompletionStatusArrayOutput values. You can construct a concrete instance of `GetProjectIssueTaskCompletionStatusArrayInput` via:

GetProjectIssueTaskCompletionStatusArray{ GetProjectIssueTaskCompletionStatusArgs{...} }

type GetProjectIssueTaskCompletionStatusArrayOutput added in v4.7.0

type GetProjectIssueTaskCompletionStatusArrayOutput struct{ *pulumi.OutputState }

func (GetProjectIssueTaskCompletionStatusArrayOutput) ElementType added in v4.7.0

func (GetProjectIssueTaskCompletionStatusArrayOutput) Index added in v4.7.0

func (GetProjectIssueTaskCompletionStatusArrayOutput) ToGetProjectIssueTaskCompletionStatusArrayOutput added in v4.7.0

func (o GetProjectIssueTaskCompletionStatusArrayOutput) ToGetProjectIssueTaskCompletionStatusArrayOutput() GetProjectIssueTaskCompletionStatusArrayOutput

func (GetProjectIssueTaskCompletionStatusArrayOutput) ToGetProjectIssueTaskCompletionStatusArrayOutputWithContext added in v4.7.0

func (o GetProjectIssueTaskCompletionStatusArrayOutput) ToGetProjectIssueTaskCompletionStatusArrayOutputWithContext(ctx context.Context) GetProjectIssueTaskCompletionStatusArrayOutput

type GetProjectIssueTaskCompletionStatusInput added in v4.7.0

type GetProjectIssueTaskCompletionStatusInput interface {
	pulumi.Input

	ToGetProjectIssueTaskCompletionStatusOutput() GetProjectIssueTaskCompletionStatusOutput
	ToGetProjectIssueTaskCompletionStatusOutputWithContext(context.Context) GetProjectIssueTaskCompletionStatusOutput
}

GetProjectIssueTaskCompletionStatusInput is an input type that accepts GetProjectIssueTaskCompletionStatusArgs and GetProjectIssueTaskCompletionStatusOutput values. You can construct a concrete instance of `GetProjectIssueTaskCompletionStatusInput` via:

GetProjectIssueTaskCompletionStatusArgs{...}

type GetProjectIssueTaskCompletionStatusOutput added in v4.7.0

type GetProjectIssueTaskCompletionStatusOutput struct{ *pulumi.OutputState }

func (GetProjectIssueTaskCompletionStatusOutput) CompletedCount added in v4.7.0

func (GetProjectIssueTaskCompletionStatusOutput) Count added in v4.7.0

func (GetProjectIssueTaskCompletionStatusOutput) ElementType added in v4.7.0

func (GetProjectIssueTaskCompletionStatusOutput) ToGetProjectIssueTaskCompletionStatusOutput added in v4.7.0

func (o GetProjectIssueTaskCompletionStatusOutput) ToGetProjectIssueTaskCompletionStatusOutput() GetProjectIssueTaskCompletionStatusOutput

func (GetProjectIssueTaskCompletionStatusOutput) ToGetProjectIssueTaskCompletionStatusOutputWithContext added in v4.7.0

func (o GetProjectIssueTaskCompletionStatusOutput) ToGetProjectIssueTaskCompletionStatusOutputWithContext(ctx context.Context) GetProjectIssueTaskCompletionStatusOutput

type GetProjectIssuesArgs added in v4.7.0

type GetProjectIssuesArgs struct {
	// Return issues assigned to the given user id. Mutually exclusive with assignee_username. None returns unassigned issues. Any returns issues with an assignee.
	AssigneeId *int `pulumi:"assigneeId"`
	// Return issues assigned to the given username. Similar to assignee*id and mutually exclusive with assignee*id. In GitLab CE, the assigneeUsername array should only contain a single value. Otherwise, an invalid parameter error is returned.
	AssigneeUsername *string `pulumi:"assigneeUsername"`
	// Return issues created by the given user id. Combine with scope=all or scope=assigned*to*me.
	AuthorId *int `pulumi:"authorId"`
	// Filter confidential or public issues.
	Confidential *bool `pulumi:"confidential"`
	// Return issues created on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
	CreatedAfter *string `pulumi:"createdAfter"`
	// Return issues created on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
	CreatedBefore *string `pulumi:"createdBefore"`
	// Return issues that have no due date, are overdue, or whose due date is this week, this month, or between two weeks ago and next month. Accepts: 0 (no due date), any, today, tomorrow, overdue, week, month, next*month*and*previous*two_weeks.
	DueDate *string `pulumi:"dueDate"`
	// Return only the issues having the given iid
	Iids []int `pulumi:"iids"`
	// Filter to a given type of issue. Valid values are [issue incident testCase]. (Introduced in GitLab 13.12)
	IssueType *string `pulumi:"issueType"`
	// Return issues with labels. Issues must have all labels to be returned. None lists all issues with no labels. Any lists all issues with at least one label. No+Label (Deprecated) lists all issues with no labels. Predefined names are case-insensitive.
	Labels []string `pulumi:"labels"`
	// The milestone title. None lists all issues with no milestone. Any lists all issues that have an assigned milestone.
	Milestone *string `pulumi:"milestone"`
	// Return issues reacted by the authenticated user by the given emoji. None returns issues not given a reaction. Any returns issues given at least one reaction.
	MyReactionEmoji *string `pulumi:"myReactionEmoji"`
	// Return issues that do not match the assignee id.
	NotAssigneeIds []int `pulumi:"notAssigneeIds"`
	// Return issues that do not match the author id.
	NotAuthorIds []int `pulumi:"notAuthorIds"`
	// Return issues that do not match the labels.
	NotLabels []string `pulumi:"notLabels"`
	// Return issues that do not match the milestone.
	NotMilestone *string `pulumi:"notMilestone"`
	// Return issues not reacted by the authenticated user by the given emoji.
	NotMyReactionEmojis []string `pulumi:"notMyReactionEmojis"`
	// Return issues ordered by. Valid values are `createdAt`, `updatedAt`, `priority`, `dueDate`, `relativePosition`, `labelPriority`, `milestoneDue`, `popularity`, `weight`. Default is created_at
	OrderBy *string `pulumi:"orderBy"`
	// The name or id of the project.
	Project string `pulumi:"project"`
	// Return issues for the given scope. Valid values are `createdByMe`, `assignedToMe`, `all`. Defaults to all.
	Scope *string `pulumi:"scope"`
	// Search project issues against their title and description
	Search *string `pulumi:"search"`
	// Return issues sorted in asc or desc order. Default is desc
	Sort *string `pulumi:"sort"`
	// Return issues updated on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
	UpdatedAfter *string `pulumi:"updatedAfter"`
	// Return issues updated on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
	UpdatedBefore *string `pulumi:"updatedBefore"`
	// Return issues with the specified weight. None returns issues with no weight assigned. Any returns issues with a weight assigned.
	Weight *int `pulumi:"weight"`
	// If true, the response returns more details for each label in labels field: :name, :color, :description, :description*html, :text*color. Default is false. descriptionHtml was introduced in GitLab 12.7
	WithLabelsDetails *bool `pulumi:"withLabelsDetails"`
}

A collection of arguments for invoking getProjectIssues.

type GetProjectIssuesIssue added in v4.7.0

type GetProjectIssuesIssue struct {
	AssigneeIds []int `pulumi:"assigneeIds"`
	// Return issues created by the given user id. Combine with scope=all or scope=assigned*to*me.
	AuthorId       int    `pulumi:"authorId"`
	ClosedAt       string `pulumi:"closedAt"`
	ClosedByUserId int    `pulumi:"closedByUserId"`
	// Filter confidential or public issues.
	Confidential        bool   `pulumi:"confidential"`
	CreatedAt           string `pulumi:"createdAt"`
	Description         string `pulumi:"description"`
	DiscussionLocked    bool   `pulumi:"discussionLocked"`
	DiscussionToResolve string `pulumi:"discussionToResolve"`
	Downvotes           int    `pulumi:"downvotes"`
	// Return issues that have no due date, are overdue, or whose due date is this week, this month, or between two weeks ago and next month. Accepts: 0 (no due date), any, today, tomorrow, overdue, week, month, next*month*and*previous*two_weeks.
	DueDate             string `pulumi:"dueDate"`
	EpicId              int    `pulumi:"epicId"`
	EpicIssueId         int    `pulumi:"epicIssueId"`
	ExternalId          string `pulumi:"externalId"`
	HumanTimeEstimate   string `pulumi:"humanTimeEstimate"`
	HumanTotalTimeSpent string `pulumi:"humanTotalTimeSpent"`
	Iid                 int    `pulumi:"iid"`
	IssueId             int    `pulumi:"issueId"`
	IssueLinkId         int    `pulumi:"issueLinkId"`
	// Filter to a given type of issue. Valid values are [issue incident testCase]. (Introduced in GitLab 13.12)
	IssueType string `pulumi:"issueType"`
	// Return issues with labels. Issues must have all labels to be returned. None lists all issues with no labels. Any lists all issues with at least one label. No+Label (Deprecated) lists all issues with no labels. Predefined names are case-insensitive.
	Labels                             []string          `pulumi:"labels"`
	Links                              map[string]string `pulumi:"links"`
	MergeRequestToResolveDiscussionsOf int               `pulumi:"mergeRequestToResolveDiscussionsOf"`
	MergeRequestsCount                 int               `pulumi:"mergeRequestsCount"`
	MilestoneId                        int               `pulumi:"milestoneId"`
	MovedToId                          int               `pulumi:"movedToId"`
	// The name or id of the project.
	Project                string                                      `pulumi:"project"`
	References             map[string]string                           `pulumi:"references"`
	State                  string                                      `pulumi:"state"`
	Subscribed             bool                                        `pulumi:"subscribed"`
	TaskCompletionStatuses []GetProjectIssuesIssueTaskCompletionStatus `pulumi:"taskCompletionStatuses"`
	TimeEstimate           int                                         `pulumi:"timeEstimate"`
	Title                  string                                      `pulumi:"title"`
	TotalTimeSpent         int                                         `pulumi:"totalTimeSpent"`
	UpdatedAt              string                                      `pulumi:"updatedAt"`
	Upvotes                int                                         `pulumi:"upvotes"`
	UserNotesCount         int                                         `pulumi:"userNotesCount"`
	WebUrl                 string                                      `pulumi:"webUrl"`
	// Return issues with the specified weight. None returns issues with no weight assigned. Any returns issues with a weight assigned.
	Weight int `pulumi:"weight"`
}

type GetProjectIssuesIssueArgs added in v4.7.0

type GetProjectIssuesIssueArgs struct {
	AssigneeIds pulumi.IntArrayInput `pulumi:"assigneeIds"`
	// Return issues created by the given user id. Combine with scope=all or scope=assigned*to*me.
	AuthorId       pulumi.IntInput    `pulumi:"authorId"`
	ClosedAt       pulumi.StringInput `pulumi:"closedAt"`
	ClosedByUserId pulumi.IntInput    `pulumi:"closedByUserId"`
	// Filter confidential or public issues.
	Confidential        pulumi.BoolInput   `pulumi:"confidential"`
	CreatedAt           pulumi.StringInput `pulumi:"createdAt"`
	Description         pulumi.StringInput `pulumi:"description"`
	DiscussionLocked    pulumi.BoolInput   `pulumi:"discussionLocked"`
	DiscussionToResolve pulumi.StringInput `pulumi:"discussionToResolve"`
	Downvotes           pulumi.IntInput    `pulumi:"downvotes"`
	// Return issues that have no due date, are overdue, or whose due date is this week, this month, or between two weeks ago and next month. Accepts: 0 (no due date), any, today, tomorrow, overdue, week, month, next*month*and*previous*two_weeks.
	DueDate             pulumi.StringInput `pulumi:"dueDate"`
	EpicId              pulumi.IntInput    `pulumi:"epicId"`
	EpicIssueId         pulumi.IntInput    `pulumi:"epicIssueId"`
	ExternalId          pulumi.StringInput `pulumi:"externalId"`
	HumanTimeEstimate   pulumi.StringInput `pulumi:"humanTimeEstimate"`
	HumanTotalTimeSpent pulumi.StringInput `pulumi:"humanTotalTimeSpent"`
	Iid                 pulumi.IntInput    `pulumi:"iid"`
	IssueId             pulumi.IntInput    `pulumi:"issueId"`
	IssueLinkId         pulumi.IntInput    `pulumi:"issueLinkId"`
	// Filter to a given type of issue. Valid values are [issue incident testCase]. (Introduced in GitLab 13.12)
	IssueType pulumi.StringInput `pulumi:"issueType"`
	// Return issues with labels. Issues must have all labels to be returned. None lists all issues with no labels. Any lists all issues with at least one label. No+Label (Deprecated) lists all issues with no labels. Predefined names are case-insensitive.
	Labels                             pulumi.StringArrayInput `pulumi:"labels"`
	Links                              pulumi.StringMapInput   `pulumi:"links"`
	MergeRequestToResolveDiscussionsOf pulumi.IntInput         `pulumi:"mergeRequestToResolveDiscussionsOf"`
	MergeRequestsCount                 pulumi.IntInput         `pulumi:"mergeRequestsCount"`
	MilestoneId                        pulumi.IntInput         `pulumi:"milestoneId"`
	MovedToId                          pulumi.IntInput         `pulumi:"movedToId"`
	// The name or id of the project.
	Project                pulumi.StringInput                                  `pulumi:"project"`
	References             pulumi.StringMapInput                               `pulumi:"references"`
	State                  pulumi.StringInput                                  `pulumi:"state"`
	Subscribed             pulumi.BoolInput                                    `pulumi:"subscribed"`
	TaskCompletionStatuses GetProjectIssuesIssueTaskCompletionStatusArrayInput `pulumi:"taskCompletionStatuses"`
	TimeEstimate           pulumi.IntInput                                     `pulumi:"timeEstimate"`
	Title                  pulumi.StringInput                                  `pulumi:"title"`
	TotalTimeSpent         pulumi.IntInput                                     `pulumi:"totalTimeSpent"`
	UpdatedAt              pulumi.StringInput                                  `pulumi:"updatedAt"`
	Upvotes                pulumi.IntInput                                     `pulumi:"upvotes"`
	UserNotesCount         pulumi.IntInput                                     `pulumi:"userNotesCount"`
	WebUrl                 pulumi.StringInput                                  `pulumi:"webUrl"`
	// Return issues with the specified weight. None returns issues with no weight assigned. Any returns issues with a weight assigned.
	Weight pulumi.IntInput `pulumi:"weight"`
}

func (GetProjectIssuesIssueArgs) ElementType added in v4.7.0

func (GetProjectIssuesIssueArgs) ElementType() reflect.Type

func (GetProjectIssuesIssueArgs) ToGetProjectIssuesIssueOutput added in v4.7.0

func (i GetProjectIssuesIssueArgs) ToGetProjectIssuesIssueOutput() GetProjectIssuesIssueOutput

func (GetProjectIssuesIssueArgs) ToGetProjectIssuesIssueOutputWithContext added in v4.7.0

func (i GetProjectIssuesIssueArgs) ToGetProjectIssuesIssueOutputWithContext(ctx context.Context) GetProjectIssuesIssueOutput

type GetProjectIssuesIssueArray added in v4.7.0

type GetProjectIssuesIssueArray []GetProjectIssuesIssueInput

func (GetProjectIssuesIssueArray) ElementType added in v4.7.0

func (GetProjectIssuesIssueArray) ElementType() reflect.Type

func (GetProjectIssuesIssueArray) ToGetProjectIssuesIssueArrayOutput added in v4.7.0

func (i GetProjectIssuesIssueArray) ToGetProjectIssuesIssueArrayOutput() GetProjectIssuesIssueArrayOutput

func (GetProjectIssuesIssueArray) ToGetProjectIssuesIssueArrayOutputWithContext added in v4.7.0

func (i GetProjectIssuesIssueArray) ToGetProjectIssuesIssueArrayOutputWithContext(ctx context.Context) GetProjectIssuesIssueArrayOutput

type GetProjectIssuesIssueArrayInput added in v4.7.0

type GetProjectIssuesIssueArrayInput interface {
	pulumi.Input

	ToGetProjectIssuesIssueArrayOutput() GetProjectIssuesIssueArrayOutput
	ToGetProjectIssuesIssueArrayOutputWithContext(context.Context) GetProjectIssuesIssueArrayOutput
}

GetProjectIssuesIssueArrayInput is an input type that accepts GetProjectIssuesIssueArray and GetProjectIssuesIssueArrayOutput values. You can construct a concrete instance of `GetProjectIssuesIssueArrayInput` via:

GetProjectIssuesIssueArray{ GetProjectIssuesIssueArgs{...} }

type GetProjectIssuesIssueArrayOutput added in v4.7.0

type GetProjectIssuesIssueArrayOutput struct{ *pulumi.OutputState }

func (GetProjectIssuesIssueArrayOutput) ElementType added in v4.7.0

func (GetProjectIssuesIssueArrayOutput) Index added in v4.7.0

func (GetProjectIssuesIssueArrayOutput) ToGetProjectIssuesIssueArrayOutput added in v4.7.0

func (o GetProjectIssuesIssueArrayOutput) ToGetProjectIssuesIssueArrayOutput() GetProjectIssuesIssueArrayOutput

func (GetProjectIssuesIssueArrayOutput) ToGetProjectIssuesIssueArrayOutputWithContext added in v4.7.0

func (o GetProjectIssuesIssueArrayOutput) ToGetProjectIssuesIssueArrayOutputWithContext(ctx context.Context) GetProjectIssuesIssueArrayOutput

type GetProjectIssuesIssueInput added in v4.7.0

type GetProjectIssuesIssueInput interface {
	pulumi.Input

	ToGetProjectIssuesIssueOutput() GetProjectIssuesIssueOutput
	ToGetProjectIssuesIssueOutputWithContext(context.Context) GetProjectIssuesIssueOutput
}

GetProjectIssuesIssueInput is an input type that accepts GetProjectIssuesIssueArgs and GetProjectIssuesIssueOutput values. You can construct a concrete instance of `GetProjectIssuesIssueInput` via:

GetProjectIssuesIssueArgs{...}

type GetProjectIssuesIssueOutput added in v4.7.0

type GetProjectIssuesIssueOutput struct{ *pulumi.OutputState }

func (GetProjectIssuesIssueOutput) AssigneeIds added in v4.7.0

func (GetProjectIssuesIssueOutput) AuthorId added in v4.7.0

Return issues created by the given user id. Combine with scope=all or scope=assigned*to*me.

func (GetProjectIssuesIssueOutput) ClosedAt added in v4.7.0

func (GetProjectIssuesIssueOutput) ClosedByUserId added in v4.7.0

func (o GetProjectIssuesIssueOutput) ClosedByUserId() pulumi.IntOutput

func (GetProjectIssuesIssueOutput) Confidential added in v4.7.0

Filter confidential or public issues.

func (GetProjectIssuesIssueOutput) CreatedAt added in v4.7.0

func (GetProjectIssuesIssueOutput) Description added in v4.7.0

func (GetProjectIssuesIssueOutput) DiscussionLocked added in v4.7.0

func (o GetProjectIssuesIssueOutput) DiscussionLocked() pulumi.BoolOutput

func (GetProjectIssuesIssueOutput) DiscussionToResolve added in v4.7.0

func (o GetProjectIssuesIssueOutput) DiscussionToResolve() pulumi.StringOutput

func (GetProjectIssuesIssueOutput) Downvotes added in v4.7.0

func (GetProjectIssuesIssueOutput) DueDate added in v4.7.0

Return issues that have no due date, are overdue, or whose due date is this week, this month, or between two weeks ago and next month. Accepts: 0 (no due date), any, today, tomorrow, overdue, week, month, next*month*and*previous*two_weeks.

func (GetProjectIssuesIssueOutput) ElementType added in v4.7.0

func (GetProjectIssuesIssueOutput) EpicId added in v4.7.0

func (GetProjectIssuesIssueOutput) EpicIssueId added in v4.7.0

func (GetProjectIssuesIssueOutput) ExternalId added in v4.7.0

func (GetProjectIssuesIssueOutput) HumanTimeEstimate added in v4.7.0

func (o GetProjectIssuesIssueOutput) HumanTimeEstimate() pulumi.StringOutput

func (GetProjectIssuesIssueOutput) HumanTotalTimeSpent added in v4.7.0

func (o GetProjectIssuesIssueOutput) HumanTotalTimeSpent() pulumi.StringOutput

func (GetProjectIssuesIssueOutput) Iid added in v4.7.0

func (GetProjectIssuesIssueOutput) IssueId added in v4.7.0

func (GetProjectIssuesIssueOutput) IssueLinkId added in v4.7.0

func (GetProjectIssuesIssueOutput) IssueType added in v4.7.0

Filter to a given type of issue. Valid values are [issue incident testCase]. (Introduced in GitLab 13.12)

func (GetProjectIssuesIssueOutput) Labels added in v4.7.0

Return issues with labels. Issues must have all labels to be returned. None lists all issues with no labels. Any lists all issues with at least one label. No+Label (Deprecated) lists all issues with no labels. Predefined names are case-insensitive.

func (GetProjectIssuesIssueOutput) MergeRequestToResolveDiscussionsOf added in v4.7.0

func (o GetProjectIssuesIssueOutput) MergeRequestToResolveDiscussionsOf() pulumi.IntOutput

func (GetProjectIssuesIssueOutput) MergeRequestsCount added in v4.7.0

func (o GetProjectIssuesIssueOutput) MergeRequestsCount() pulumi.IntOutput

func (GetProjectIssuesIssueOutput) MilestoneId added in v4.7.0

func (GetProjectIssuesIssueOutput) MovedToId added in v4.7.0

func (GetProjectIssuesIssueOutput) Project added in v4.7.0

The name or id of the project.

func (GetProjectIssuesIssueOutput) References added in v4.7.0

func (GetProjectIssuesIssueOutput) State added in v4.7.0

func (GetProjectIssuesIssueOutput) Subscribed added in v4.7.0

func (GetProjectIssuesIssueOutput) TaskCompletionStatuses added in v4.7.0

func (GetProjectIssuesIssueOutput) TimeEstimate added in v4.7.0

func (o GetProjectIssuesIssueOutput) TimeEstimate() pulumi.IntOutput

func (GetProjectIssuesIssueOutput) Title added in v4.7.0

func (GetProjectIssuesIssueOutput) ToGetProjectIssuesIssueOutput added in v4.7.0

func (o GetProjectIssuesIssueOutput) ToGetProjectIssuesIssueOutput() GetProjectIssuesIssueOutput

func (GetProjectIssuesIssueOutput) ToGetProjectIssuesIssueOutputWithContext added in v4.7.0

func (o GetProjectIssuesIssueOutput) ToGetProjectIssuesIssueOutputWithContext(ctx context.Context) GetProjectIssuesIssueOutput

func (GetProjectIssuesIssueOutput) TotalTimeSpent added in v4.7.0

func (o GetProjectIssuesIssueOutput) TotalTimeSpent() pulumi.IntOutput

func (GetProjectIssuesIssueOutput) UpdatedAt added in v4.7.0

func (GetProjectIssuesIssueOutput) Upvotes added in v4.7.0

func (GetProjectIssuesIssueOutput) UserNotesCount added in v4.7.0

func (o GetProjectIssuesIssueOutput) UserNotesCount() pulumi.IntOutput

func (GetProjectIssuesIssueOutput) WebUrl added in v4.7.0

func (GetProjectIssuesIssueOutput) Weight added in v4.7.0

Return issues with the specified weight. None returns issues with no weight assigned. Any returns issues with a weight assigned.

type GetProjectIssuesIssueTaskCompletionStatus added in v4.7.0

type GetProjectIssuesIssueTaskCompletionStatus struct {
	CompletedCount int `pulumi:"completedCount"`
	Count          int `pulumi:"count"`
}

type GetProjectIssuesIssueTaskCompletionStatusArgs added in v4.7.0

type GetProjectIssuesIssueTaskCompletionStatusArgs struct {
	CompletedCount pulumi.IntInput `pulumi:"completedCount"`
	Count          pulumi.IntInput `pulumi:"count"`
}

func (GetProjectIssuesIssueTaskCompletionStatusArgs) ElementType added in v4.7.0

func (GetProjectIssuesIssueTaskCompletionStatusArgs) ToGetProjectIssuesIssueTaskCompletionStatusOutput added in v4.7.0

func (i GetProjectIssuesIssueTaskCompletionStatusArgs) ToGetProjectIssuesIssueTaskCompletionStatusOutput() GetProjectIssuesIssueTaskCompletionStatusOutput

func (GetProjectIssuesIssueTaskCompletionStatusArgs) ToGetProjectIssuesIssueTaskCompletionStatusOutputWithContext added in v4.7.0

func (i GetProjectIssuesIssueTaskCompletionStatusArgs) ToGetProjectIssuesIssueTaskCompletionStatusOutputWithContext(ctx context.Context) GetProjectIssuesIssueTaskCompletionStatusOutput

type GetProjectIssuesIssueTaskCompletionStatusArray added in v4.7.0

type GetProjectIssuesIssueTaskCompletionStatusArray []GetProjectIssuesIssueTaskCompletionStatusInput

func (GetProjectIssuesIssueTaskCompletionStatusArray) ElementType added in v4.7.0

func (GetProjectIssuesIssueTaskCompletionStatusArray) ToGetProjectIssuesIssueTaskCompletionStatusArrayOutput added in v4.7.0

func (i GetProjectIssuesIssueTaskCompletionStatusArray) ToGetProjectIssuesIssueTaskCompletionStatusArrayOutput() GetProjectIssuesIssueTaskCompletionStatusArrayOutput

func (GetProjectIssuesIssueTaskCompletionStatusArray) ToGetProjectIssuesIssueTaskCompletionStatusArrayOutputWithContext added in v4.7.0

func (i GetProjectIssuesIssueTaskCompletionStatusArray) ToGetProjectIssuesIssueTaskCompletionStatusArrayOutputWithContext(ctx context.Context) GetProjectIssuesIssueTaskCompletionStatusArrayOutput

type GetProjectIssuesIssueTaskCompletionStatusArrayInput added in v4.7.0

type GetProjectIssuesIssueTaskCompletionStatusArrayInput interface {
	pulumi.Input

	ToGetProjectIssuesIssueTaskCompletionStatusArrayOutput() GetProjectIssuesIssueTaskCompletionStatusArrayOutput
	ToGetProjectIssuesIssueTaskCompletionStatusArrayOutputWithContext(context.Context) GetProjectIssuesIssueTaskCompletionStatusArrayOutput
}

GetProjectIssuesIssueTaskCompletionStatusArrayInput is an input type that accepts GetProjectIssuesIssueTaskCompletionStatusArray and GetProjectIssuesIssueTaskCompletionStatusArrayOutput values. You can construct a concrete instance of `GetProjectIssuesIssueTaskCompletionStatusArrayInput` via:

GetProjectIssuesIssueTaskCompletionStatusArray{ GetProjectIssuesIssueTaskCompletionStatusArgs{...} }

type GetProjectIssuesIssueTaskCompletionStatusArrayOutput added in v4.7.0

type GetProjectIssuesIssueTaskCompletionStatusArrayOutput struct{ *pulumi.OutputState }

func (GetProjectIssuesIssueTaskCompletionStatusArrayOutput) ElementType added in v4.7.0

func (GetProjectIssuesIssueTaskCompletionStatusArrayOutput) Index added in v4.7.0

func (GetProjectIssuesIssueTaskCompletionStatusArrayOutput) ToGetProjectIssuesIssueTaskCompletionStatusArrayOutput added in v4.7.0

func (GetProjectIssuesIssueTaskCompletionStatusArrayOutput) ToGetProjectIssuesIssueTaskCompletionStatusArrayOutputWithContext added in v4.7.0

func (o GetProjectIssuesIssueTaskCompletionStatusArrayOutput) ToGetProjectIssuesIssueTaskCompletionStatusArrayOutputWithContext(ctx context.Context) GetProjectIssuesIssueTaskCompletionStatusArrayOutput

type GetProjectIssuesIssueTaskCompletionStatusInput added in v4.7.0

type GetProjectIssuesIssueTaskCompletionStatusInput interface {
	pulumi.Input

	ToGetProjectIssuesIssueTaskCompletionStatusOutput() GetProjectIssuesIssueTaskCompletionStatusOutput
	ToGetProjectIssuesIssueTaskCompletionStatusOutputWithContext(context.Context) GetProjectIssuesIssueTaskCompletionStatusOutput
}

GetProjectIssuesIssueTaskCompletionStatusInput is an input type that accepts GetProjectIssuesIssueTaskCompletionStatusArgs and GetProjectIssuesIssueTaskCompletionStatusOutput values. You can construct a concrete instance of `GetProjectIssuesIssueTaskCompletionStatusInput` via:

GetProjectIssuesIssueTaskCompletionStatusArgs{...}

type GetProjectIssuesIssueTaskCompletionStatusOutput added in v4.7.0

type GetProjectIssuesIssueTaskCompletionStatusOutput struct{ *pulumi.OutputState }

func (GetProjectIssuesIssueTaskCompletionStatusOutput) CompletedCount added in v4.7.0

func (GetProjectIssuesIssueTaskCompletionStatusOutput) Count added in v4.7.0

func (GetProjectIssuesIssueTaskCompletionStatusOutput) ElementType added in v4.7.0

func (GetProjectIssuesIssueTaskCompletionStatusOutput) ToGetProjectIssuesIssueTaskCompletionStatusOutput added in v4.7.0

func (o GetProjectIssuesIssueTaskCompletionStatusOutput) ToGetProjectIssuesIssueTaskCompletionStatusOutput() GetProjectIssuesIssueTaskCompletionStatusOutput

func (GetProjectIssuesIssueTaskCompletionStatusOutput) ToGetProjectIssuesIssueTaskCompletionStatusOutputWithContext added in v4.7.0

func (o GetProjectIssuesIssueTaskCompletionStatusOutput) ToGetProjectIssuesIssueTaskCompletionStatusOutputWithContext(ctx context.Context) GetProjectIssuesIssueTaskCompletionStatusOutput

type GetProjectIssuesOutputArgs added in v4.7.0

type GetProjectIssuesOutputArgs struct {
	// Return issues assigned to the given user id. Mutually exclusive with assignee_username. None returns unassigned issues. Any returns issues with an assignee.
	AssigneeId pulumi.IntPtrInput `pulumi:"assigneeId"`
	// Return issues assigned to the given username. Similar to assignee*id and mutually exclusive with assignee*id. In GitLab CE, the assigneeUsername array should only contain a single value. Otherwise, an invalid parameter error is returned.
	AssigneeUsername pulumi.StringPtrInput `pulumi:"assigneeUsername"`
	// Return issues created by the given user id. Combine with scope=all or scope=assigned*to*me.
	AuthorId pulumi.IntPtrInput `pulumi:"authorId"`
	// Filter confidential or public issues.
	Confidential pulumi.BoolPtrInput `pulumi:"confidential"`
	// Return issues created on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
	CreatedAfter pulumi.StringPtrInput `pulumi:"createdAfter"`
	// Return issues created on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
	CreatedBefore pulumi.StringPtrInput `pulumi:"createdBefore"`
	// Return issues that have no due date, are overdue, or whose due date is this week, this month, or between two weeks ago and next month. Accepts: 0 (no due date), any, today, tomorrow, overdue, week, month, next*month*and*previous*two_weeks.
	DueDate pulumi.StringPtrInput `pulumi:"dueDate"`
	// Return only the issues having the given iid
	Iids pulumi.IntArrayInput `pulumi:"iids"`
	// Filter to a given type of issue. Valid values are [issue incident testCase]. (Introduced in GitLab 13.12)
	IssueType pulumi.StringPtrInput `pulumi:"issueType"`
	// Return issues with labels. Issues must have all labels to be returned. None lists all issues with no labels. Any lists all issues with at least one label. No+Label (Deprecated) lists all issues with no labels. Predefined names are case-insensitive.
	Labels pulumi.StringArrayInput `pulumi:"labels"`
	// The milestone title. None lists all issues with no milestone. Any lists all issues that have an assigned milestone.
	Milestone pulumi.StringPtrInput `pulumi:"milestone"`
	// Return issues reacted by the authenticated user by the given emoji. None returns issues not given a reaction. Any returns issues given at least one reaction.
	MyReactionEmoji pulumi.StringPtrInput `pulumi:"myReactionEmoji"`
	// Return issues that do not match the assignee id.
	NotAssigneeIds pulumi.IntArrayInput `pulumi:"notAssigneeIds"`
	// Return issues that do not match the author id.
	NotAuthorIds pulumi.IntArrayInput `pulumi:"notAuthorIds"`
	// Return issues that do not match the labels.
	NotLabels pulumi.StringArrayInput `pulumi:"notLabels"`
	// Return issues that do not match the milestone.
	NotMilestone pulumi.StringPtrInput `pulumi:"notMilestone"`
	// Return issues not reacted by the authenticated user by the given emoji.
	NotMyReactionEmojis pulumi.StringArrayInput `pulumi:"notMyReactionEmojis"`
	// Return issues ordered by. Valid values are `createdAt`, `updatedAt`, `priority`, `dueDate`, `relativePosition`, `labelPriority`, `milestoneDue`, `popularity`, `weight`. Default is created_at
	OrderBy pulumi.StringPtrInput `pulumi:"orderBy"`
	// The name or id of the project.
	Project pulumi.StringInput `pulumi:"project"`
	// Return issues for the given scope. Valid values are `createdByMe`, `assignedToMe`, `all`. Defaults to all.
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// Search project issues against their title and description
	Search pulumi.StringPtrInput `pulumi:"search"`
	// Return issues sorted in asc or desc order. Default is desc
	Sort pulumi.StringPtrInput `pulumi:"sort"`
	// Return issues updated on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
	UpdatedAfter pulumi.StringPtrInput `pulumi:"updatedAfter"`
	// Return issues updated on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
	UpdatedBefore pulumi.StringPtrInput `pulumi:"updatedBefore"`
	// Return issues with the specified weight. None returns issues with no weight assigned. Any returns issues with a weight assigned.
	Weight pulumi.IntPtrInput `pulumi:"weight"`
	// If true, the response returns more details for each label in labels field: :name, :color, :description, :description*html, :text*color. Default is false. descriptionHtml was introduced in GitLab 12.7
	WithLabelsDetails pulumi.BoolPtrInput `pulumi:"withLabelsDetails"`
}

A collection of arguments for invoking getProjectIssues.

func (GetProjectIssuesOutputArgs) ElementType added in v4.7.0

func (GetProjectIssuesOutputArgs) ElementType() reflect.Type

type GetProjectIssuesResult added in v4.7.0

type GetProjectIssuesResult struct {
	// Return issues assigned to the given user id. Mutually exclusive with assignee_username. None returns unassigned issues. Any returns issues with an assignee.
	AssigneeId *int `pulumi:"assigneeId"`
	// Return issues assigned to the given username. Similar to assignee*id and mutually exclusive with assignee*id. In GitLab CE, the assigneeUsername array should only contain a single value. Otherwise, an invalid parameter error is returned.
	AssigneeUsername *string `pulumi:"assigneeUsername"`
	// Return issues created by the given user id. Combine with scope=all or scope=assigned*to*me.
	AuthorId *int `pulumi:"authorId"`
	// Filter confidential or public issues.
	Confidential *bool `pulumi:"confidential"`
	// Return issues created on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
	CreatedAfter *string `pulumi:"createdAfter"`
	// Return issues created on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
	CreatedBefore *string `pulumi:"createdBefore"`
	// Return issues that have no due date, are overdue, or whose due date is this week, this month, or between two weeks ago and next month. Accepts: 0 (no due date), any, today, tomorrow, overdue, week, month, next*month*and*previous*two_weeks.
	DueDate *string `pulumi:"dueDate"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Return only the issues having the given iid
	Iids []int `pulumi:"iids"`
	// Filter to a given type of issue. Valid values are [issue incident testCase]. (Introduced in GitLab 13.12)
	IssueType *string `pulumi:"issueType"`
	// The list of issues returned by the search.
	Issues []GetProjectIssuesIssue `pulumi:"issues"`
	// Return issues with labels. Issues must have all labels to be returned. None lists all issues with no labels. Any lists all issues with at least one label. No+Label (Deprecated) lists all issues with no labels. Predefined names are case-insensitive.
	Labels []string `pulumi:"labels"`
	// The milestone title. None lists all issues with no milestone. Any lists all issues that have an assigned milestone.
	Milestone *string `pulumi:"milestone"`
	// Return issues reacted by the authenticated user by the given emoji. None returns issues not given a reaction. Any returns issues given at least one reaction.
	MyReactionEmoji *string `pulumi:"myReactionEmoji"`
	// Return issues that do not match the assignee id.
	NotAssigneeIds []int `pulumi:"notAssigneeIds"`
	// Return issues that do not match the author id.
	NotAuthorIds []int `pulumi:"notAuthorIds"`
	// Return issues that do not match the labels.
	NotLabels []string `pulumi:"notLabels"`
	// Return issues that do not match the milestone.
	NotMilestone *string `pulumi:"notMilestone"`
	// Return issues not reacted by the authenticated user by the given emoji.
	NotMyReactionEmojis []string `pulumi:"notMyReactionEmojis"`
	// Return issues ordered by. Valid values are `createdAt`, `updatedAt`, `priority`, `dueDate`, `relativePosition`, `labelPriority`, `milestoneDue`, `popularity`, `weight`. Default is created_at
	OrderBy *string `pulumi:"orderBy"`
	// The name or id of the project.
	Project string `pulumi:"project"`
	// Return issues for the given scope. Valid values are `createdByMe`, `assignedToMe`, `all`. Defaults to all.
	Scope *string `pulumi:"scope"`
	// Search project issues against their title and description
	Search *string `pulumi:"search"`
	// Return issues sorted in asc or desc order. Default is desc
	Sort *string `pulumi:"sort"`
	// Return issues updated on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
	UpdatedAfter *string `pulumi:"updatedAfter"`
	// Return issues updated on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
	UpdatedBefore *string `pulumi:"updatedBefore"`
	// Return issues with the specified weight. None returns issues with no weight assigned. Any returns issues with a weight assigned.
	Weight *int `pulumi:"weight"`
	// If true, the response returns more details for each label in labels field: :name, :color, :description, :description*html, :text*color. Default is false. descriptionHtml was introduced in GitLab 12.7
	WithLabelsDetails *bool `pulumi:"withLabelsDetails"`
}

A collection of values returned by getProjectIssues.

func GetProjectIssues added in v4.7.0

func GetProjectIssues(ctx *pulumi.Context, args *GetProjectIssuesArgs, opts ...pulumi.InvokeOption) (*GetProjectIssuesResult, error)

The `getProjectIssues` data source allows to retrieve details about issues in a project.

**Upstream API**: [GitLab API docs](https://docs.gitlab.com/ee/api/issues.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foo, err := gitlab.LookupProject(ctx, &gitlab.LookupProjectArgs{
			Id: pulumi.StringRef("foo/bar/baz"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = gitlab.GetProjectIssues(ctx, &gitlab.GetProjectIssuesArgs{
			Project: foo.Id,
			Search:  pulumi.StringRef("foo"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetProjectIssuesResultOutput added in v4.7.0

type GetProjectIssuesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProjectIssues.

func GetProjectIssuesOutput added in v4.7.0

func (GetProjectIssuesResultOutput) AssigneeId added in v4.7.0

Return issues assigned to the given user id. Mutually exclusive with assignee_username. None returns unassigned issues. Any returns issues with an assignee.

func (GetProjectIssuesResultOutput) AssigneeUsername added in v4.7.0

Return issues assigned to the given username. Similar to assignee*id and mutually exclusive with assignee*id. In GitLab CE, the assigneeUsername array should only contain a single value. Otherwise, an invalid parameter error is returned.

func (GetProjectIssuesResultOutput) AuthorId added in v4.7.0

Return issues created by the given user id. Combine with scope=all or scope=assigned*to*me.

func (GetProjectIssuesResultOutput) Confidential added in v4.7.0

Filter confidential or public issues.

func (GetProjectIssuesResultOutput) CreatedAfter added in v4.7.0

Return issues created on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)

func (GetProjectIssuesResultOutput) CreatedBefore added in v4.7.0

Return issues created on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)

func (GetProjectIssuesResultOutput) DueDate added in v4.7.0

Return issues that have no due date, are overdue, or whose due date is this week, this month, or between two weeks ago and next month. Accepts: 0 (no due date), any, today, tomorrow, overdue, week, month, next*month*and*previous*two_weeks.

func (GetProjectIssuesResultOutput) ElementType added in v4.7.0

func (GetProjectIssuesResultOutput) Id added in v4.7.0

The provider-assigned unique ID for this managed resource.

func (GetProjectIssuesResultOutput) Iids added in v4.7.0

Return only the issues having the given iid

func (GetProjectIssuesResultOutput) IssueType added in v4.7.0

Filter to a given type of issue. Valid values are [issue incident testCase]. (Introduced in GitLab 13.12)

func (GetProjectIssuesResultOutput) Issues added in v4.7.0

The list of issues returned by the search.

func (GetProjectIssuesResultOutput) Labels added in v4.7.0

Return issues with labels. Issues must have all labels to be returned. None lists all issues with no labels. Any lists all issues with at least one label. No+Label (Deprecated) lists all issues with no labels. Predefined names are case-insensitive.

func (GetProjectIssuesResultOutput) Milestone added in v4.7.0

The milestone title. None lists all issues with no milestone. Any lists all issues that have an assigned milestone.

func (GetProjectIssuesResultOutput) MyReactionEmoji added in v4.7.0

Return issues reacted by the authenticated user by the given emoji. None returns issues not given a reaction. Any returns issues given at least one reaction.

func (GetProjectIssuesResultOutput) NotAssigneeIds added in v4.7.0

Return issues that do not match the assignee id.

func (GetProjectIssuesResultOutput) NotAuthorIds added in v4.7.0

Return issues that do not match the author id.

func (GetProjectIssuesResultOutput) NotLabels added in v4.7.0

Return issues that do not match the labels.

func (GetProjectIssuesResultOutput) NotMilestone added in v4.8.0

Return issues that do not match the milestone.

func (GetProjectIssuesResultOutput) NotMyReactionEmojis added in v4.7.0

func (o GetProjectIssuesResultOutput) NotMyReactionEmojis() pulumi.StringArrayOutput

Return issues not reacted by the authenticated user by the given emoji.

func (GetProjectIssuesResultOutput) OrderBy added in v4.7.0

Return issues ordered by. Valid values are `createdAt`, `updatedAt`, `priority`, `dueDate`, `relativePosition`, `labelPriority`, `milestoneDue`, `popularity`, `weight`. Default is created_at

func (GetProjectIssuesResultOutput) Project added in v4.7.0

The name or id of the project.

func (GetProjectIssuesResultOutput) Scope added in v4.7.0

Return issues for the given scope. Valid values are `createdByMe`, `assignedToMe`, `all`. Defaults to all.

func (GetProjectIssuesResultOutput) Search added in v4.7.0

Search project issues against their title and description

func (GetProjectIssuesResultOutput) Sort added in v4.7.0

Return issues sorted in asc or desc order. Default is desc

func (GetProjectIssuesResultOutput) ToGetProjectIssuesResultOutput added in v4.7.0

func (o GetProjectIssuesResultOutput) ToGetProjectIssuesResultOutput() GetProjectIssuesResultOutput

func (GetProjectIssuesResultOutput) ToGetProjectIssuesResultOutputWithContext added in v4.7.0

func (o GetProjectIssuesResultOutput) ToGetProjectIssuesResultOutputWithContext(ctx context.Context) GetProjectIssuesResultOutput

func (GetProjectIssuesResultOutput) UpdatedAfter added in v4.7.0

Return issues updated on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)

func (GetProjectIssuesResultOutput) UpdatedBefore added in v4.7.0

Return issues updated on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)

func (GetProjectIssuesResultOutput) Weight added in v4.7.0

Return issues with the specified weight. None returns issues with no weight assigned. Any returns issues with a weight assigned.

func (GetProjectIssuesResultOutput) WithLabelsDetails added in v4.7.0

func (o GetProjectIssuesResultOutput) WithLabelsDetails() pulumi.BoolPtrOutput

If true, the response returns more details for each label in labels field: :name, :color, :description, :description*html, :text*color. Default is false. descriptionHtml was introduced in GitLab 12.7

type GetProjectMembershipMember added in v4.9.0

type GetProjectMembershipMember struct {
	AccessLevel string `pulumi:"accessLevel"`
	AvatarUrl   string `pulumi:"avatarUrl"`
	ExpiresAt   string `pulumi:"expiresAt"`
	// The ID of this resource.
	Id       int    `pulumi:"id"`
	Name     string `pulumi:"name"`
	State    string `pulumi:"state"`
	Username string `pulumi:"username"`
	WebUrl   string `pulumi:"webUrl"`
}

type GetProjectMembershipMemberArgs added in v4.9.0

type GetProjectMembershipMemberArgs struct {
	AccessLevel pulumi.StringInput `pulumi:"accessLevel"`
	AvatarUrl   pulumi.StringInput `pulumi:"avatarUrl"`
	ExpiresAt   pulumi.StringInput `pulumi:"expiresAt"`
	// The ID of this resource.
	Id       pulumi.IntInput    `pulumi:"id"`
	Name     pulumi.StringInput `pulumi:"name"`
	State    pulumi.StringInput `pulumi:"state"`
	Username pulumi.StringInput `pulumi:"username"`
	WebUrl   pulumi.StringInput `pulumi:"webUrl"`
}

func (GetProjectMembershipMemberArgs) ElementType added in v4.9.0

func (GetProjectMembershipMemberArgs) ToGetProjectMembershipMemberOutput added in v4.9.0

func (i GetProjectMembershipMemberArgs) ToGetProjectMembershipMemberOutput() GetProjectMembershipMemberOutput

func (GetProjectMembershipMemberArgs) ToGetProjectMembershipMemberOutputWithContext added in v4.9.0

func (i GetProjectMembershipMemberArgs) ToGetProjectMembershipMemberOutputWithContext(ctx context.Context) GetProjectMembershipMemberOutput

type GetProjectMembershipMemberArray added in v4.9.0

type GetProjectMembershipMemberArray []GetProjectMembershipMemberInput

func (GetProjectMembershipMemberArray) ElementType added in v4.9.0

func (GetProjectMembershipMemberArray) ToGetProjectMembershipMemberArrayOutput added in v4.9.0

func (i GetProjectMembershipMemberArray) ToGetProjectMembershipMemberArrayOutput() GetProjectMembershipMemberArrayOutput

func (GetProjectMembershipMemberArray) ToGetProjectMembershipMemberArrayOutputWithContext added in v4.9.0

func (i GetProjectMembershipMemberArray) ToGetProjectMembershipMemberArrayOutputWithContext(ctx context.Context) GetProjectMembershipMemberArrayOutput

type GetProjectMembershipMemberArrayInput added in v4.9.0

type GetProjectMembershipMemberArrayInput interface {
	pulumi.Input

	ToGetProjectMembershipMemberArrayOutput() GetProjectMembershipMemberArrayOutput
	ToGetProjectMembershipMemberArrayOutputWithContext(context.Context) GetProjectMembershipMemberArrayOutput
}

GetProjectMembershipMemberArrayInput is an input type that accepts GetProjectMembershipMemberArray and GetProjectMembershipMemberArrayOutput values. You can construct a concrete instance of `GetProjectMembershipMemberArrayInput` via:

GetProjectMembershipMemberArray{ GetProjectMembershipMemberArgs{...} }

type GetProjectMembershipMemberArrayOutput added in v4.9.0

type GetProjectMembershipMemberArrayOutput struct{ *pulumi.OutputState }

func (GetProjectMembershipMemberArrayOutput) ElementType added in v4.9.0

func (GetProjectMembershipMemberArrayOutput) Index added in v4.9.0

func (GetProjectMembershipMemberArrayOutput) ToGetProjectMembershipMemberArrayOutput added in v4.9.0

func (o GetProjectMembershipMemberArrayOutput) ToGetProjectMembershipMemberArrayOutput() GetProjectMembershipMemberArrayOutput

func (GetProjectMembershipMemberArrayOutput) ToGetProjectMembershipMemberArrayOutputWithContext added in v4.9.0

func (o GetProjectMembershipMemberArrayOutput) ToGetProjectMembershipMemberArrayOutputWithContext(ctx context.Context) GetProjectMembershipMemberArrayOutput

type GetProjectMembershipMemberInput added in v4.9.0

type GetProjectMembershipMemberInput interface {
	pulumi.Input

	ToGetProjectMembershipMemberOutput() GetProjectMembershipMemberOutput
	ToGetProjectMembershipMemberOutputWithContext(context.Context) GetProjectMembershipMemberOutput
}

GetProjectMembershipMemberInput is an input type that accepts GetProjectMembershipMemberArgs and GetProjectMembershipMemberOutput values. You can construct a concrete instance of `GetProjectMembershipMemberInput` via:

GetProjectMembershipMemberArgs{...}

type GetProjectMembershipMemberOutput added in v4.9.0

type GetProjectMembershipMemberOutput struct{ *pulumi.OutputState }

func (GetProjectMembershipMemberOutput) AccessLevel added in v4.9.0

func (GetProjectMembershipMemberOutput) AvatarUrl added in v4.9.0

func (GetProjectMembershipMemberOutput) ElementType added in v4.9.0

func (GetProjectMembershipMemberOutput) ExpiresAt added in v4.9.0

func (GetProjectMembershipMemberOutput) Id added in v4.9.0

The ID of this resource.

func (GetProjectMembershipMemberOutput) Name added in v4.9.0

func (GetProjectMembershipMemberOutput) State added in v4.9.0

func (GetProjectMembershipMemberOutput) ToGetProjectMembershipMemberOutput added in v4.9.0

func (o GetProjectMembershipMemberOutput) ToGetProjectMembershipMemberOutput() GetProjectMembershipMemberOutput

func (GetProjectMembershipMemberOutput) ToGetProjectMembershipMemberOutputWithContext added in v4.9.0

func (o GetProjectMembershipMemberOutput) ToGetProjectMembershipMemberOutputWithContext(ctx context.Context) GetProjectMembershipMemberOutput

func (GetProjectMembershipMemberOutput) Username added in v4.9.0

func (GetProjectMembershipMemberOutput) WebUrl added in v4.9.0

type GetProjectMilestonesArgs added in v4.8.0

type GetProjectMilestonesArgs struct {
	// Return only the milestones having the given `iid` (Note: ignored if `includeParentMilestones` is set as `true`).
	Iids []int `pulumi:"iids"`
	// Include group milestones from parent group and its ancestors. Introduced in GitLab 13.4.
	IncludeParentMilestones *bool `pulumi:"includeParentMilestones"`
	// The ID or URL-encoded path of the project owned by the authenticated user.
	Project string `pulumi:"project"`
	// Return only milestones with a title or description matching the provided string.
	Search *string `pulumi:"search"`
	// Return only `active` or `closed` milestones.
	State *string `pulumi:"state"`
	// Return only the milestones having the given `title`.
	Title *string `pulumi:"title"`
}

A collection of arguments for invoking getProjectMilestones.

type GetProjectMilestonesMilestone added in v4.8.0

type GetProjectMilestonesMilestone struct {
	CreatedAt   string `pulumi:"createdAt"`
	Description string `pulumi:"description"`
	DueDate     string `pulumi:"dueDate"`
	Expired     bool   `pulumi:"expired"`
	Iid         int    `pulumi:"iid"`
	MilestoneId int    `pulumi:"milestoneId"`
	// The ID or URL-encoded path of the project owned by the authenticated user.
	Project   string `pulumi:"project"`
	ProjectId int    `pulumi:"projectId"`
	StartDate string `pulumi:"startDate"`
	// Return only `active` or `closed` milestones.
	State string `pulumi:"state"`
	// Return only the milestones having the given `title`.
	Title     string `pulumi:"title"`
	UpdatedAt string `pulumi:"updatedAt"`
	WebUrl    string `pulumi:"webUrl"`
}

type GetProjectMilestonesMilestoneArgs added in v4.8.0

type GetProjectMilestonesMilestoneArgs struct {
	CreatedAt   pulumi.StringInput `pulumi:"createdAt"`
	Description pulumi.StringInput `pulumi:"description"`
	DueDate     pulumi.StringInput `pulumi:"dueDate"`
	Expired     pulumi.BoolInput   `pulumi:"expired"`
	Iid         pulumi.IntInput    `pulumi:"iid"`
	MilestoneId pulumi.IntInput    `pulumi:"milestoneId"`
	// The ID or URL-encoded path of the project owned by the authenticated user.
	Project   pulumi.StringInput `pulumi:"project"`
	ProjectId pulumi.IntInput    `pulumi:"projectId"`
	StartDate pulumi.StringInput `pulumi:"startDate"`
	// Return only `active` or `closed` milestones.
	State pulumi.StringInput `pulumi:"state"`
	// Return only the milestones having the given `title`.
	Title     pulumi.StringInput `pulumi:"title"`
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
	WebUrl    pulumi.StringInput `pulumi:"webUrl"`
}

func (GetProjectMilestonesMilestoneArgs) ElementType added in v4.8.0

func (GetProjectMilestonesMilestoneArgs) ToGetProjectMilestonesMilestoneOutput added in v4.8.0

func (i GetProjectMilestonesMilestoneArgs) ToGetProjectMilestonesMilestoneOutput() GetProjectMilestonesMilestoneOutput

func (GetProjectMilestonesMilestoneArgs) ToGetProjectMilestonesMilestoneOutputWithContext added in v4.8.0

func (i GetProjectMilestonesMilestoneArgs) ToGetProjectMilestonesMilestoneOutputWithContext(ctx context.Context) GetProjectMilestonesMilestoneOutput

type GetProjectMilestonesMilestoneArray added in v4.8.0

type GetProjectMilestonesMilestoneArray []GetProjectMilestonesMilestoneInput

func (GetProjectMilestonesMilestoneArray) ElementType added in v4.8.0

func (GetProjectMilestonesMilestoneArray) ToGetProjectMilestonesMilestoneArrayOutput added in v4.8.0

func (i GetProjectMilestonesMilestoneArray) ToGetProjectMilestonesMilestoneArrayOutput() GetProjectMilestonesMilestoneArrayOutput

func (GetProjectMilestonesMilestoneArray) ToGetProjectMilestonesMilestoneArrayOutputWithContext added in v4.8.0

func (i GetProjectMilestonesMilestoneArray) ToGetProjectMilestonesMilestoneArrayOutputWithContext(ctx context.Context) GetProjectMilestonesMilestoneArrayOutput

type GetProjectMilestonesMilestoneArrayInput added in v4.8.0

type GetProjectMilestonesMilestoneArrayInput interface {
	pulumi.Input

	ToGetProjectMilestonesMilestoneArrayOutput() GetProjectMilestonesMilestoneArrayOutput
	ToGetProjectMilestonesMilestoneArrayOutputWithContext(context.Context) GetProjectMilestonesMilestoneArrayOutput
}

GetProjectMilestonesMilestoneArrayInput is an input type that accepts GetProjectMilestonesMilestoneArray and GetProjectMilestonesMilestoneArrayOutput values. You can construct a concrete instance of `GetProjectMilestonesMilestoneArrayInput` via:

GetProjectMilestonesMilestoneArray{ GetProjectMilestonesMilestoneArgs{...} }

type GetProjectMilestonesMilestoneArrayOutput added in v4.8.0

type GetProjectMilestonesMilestoneArrayOutput struct{ *pulumi.OutputState }

func (GetProjectMilestonesMilestoneArrayOutput) ElementType added in v4.8.0

func (GetProjectMilestonesMilestoneArrayOutput) Index added in v4.8.0

func (GetProjectMilestonesMilestoneArrayOutput) ToGetProjectMilestonesMilestoneArrayOutput added in v4.8.0

func (o GetProjectMilestonesMilestoneArrayOutput) ToGetProjectMilestonesMilestoneArrayOutput() GetProjectMilestonesMilestoneArrayOutput

func (GetProjectMilestonesMilestoneArrayOutput) ToGetProjectMilestonesMilestoneArrayOutputWithContext added in v4.8.0

func (o GetProjectMilestonesMilestoneArrayOutput) ToGetProjectMilestonesMilestoneArrayOutputWithContext(ctx context.Context) GetProjectMilestonesMilestoneArrayOutput

type GetProjectMilestonesMilestoneInput added in v4.8.0

type GetProjectMilestonesMilestoneInput interface {
	pulumi.Input

	ToGetProjectMilestonesMilestoneOutput() GetProjectMilestonesMilestoneOutput
	ToGetProjectMilestonesMilestoneOutputWithContext(context.Context) GetProjectMilestonesMilestoneOutput
}

GetProjectMilestonesMilestoneInput is an input type that accepts GetProjectMilestonesMilestoneArgs and GetProjectMilestonesMilestoneOutput values. You can construct a concrete instance of `GetProjectMilestonesMilestoneInput` via:

GetProjectMilestonesMilestoneArgs{...}

type GetProjectMilestonesMilestoneOutput added in v4.8.0

type GetProjectMilestonesMilestoneOutput struct{ *pulumi.OutputState }

func (GetProjectMilestonesMilestoneOutput) CreatedAt added in v4.8.0

func (GetProjectMilestonesMilestoneOutput) Description added in v4.8.0

func (GetProjectMilestonesMilestoneOutput) DueDate added in v4.8.0

func (GetProjectMilestonesMilestoneOutput) ElementType added in v4.8.0

func (GetProjectMilestonesMilestoneOutput) Expired added in v4.8.0

func (GetProjectMilestonesMilestoneOutput) Iid added in v4.8.0

func (GetProjectMilestonesMilestoneOutput) MilestoneId added in v4.8.0

func (GetProjectMilestonesMilestoneOutput) Project added in v4.8.0

The ID or URL-encoded path of the project owned by the authenticated user.

func (GetProjectMilestonesMilestoneOutput) ProjectId added in v4.8.0

func (GetProjectMilestonesMilestoneOutput) StartDate added in v4.8.0

func (GetProjectMilestonesMilestoneOutput) State added in v4.8.0

Return only `active` or `closed` milestones.

func (GetProjectMilestonesMilestoneOutput) Title added in v4.8.0

Return only the milestones having the given `title`.

func (GetProjectMilestonesMilestoneOutput) ToGetProjectMilestonesMilestoneOutput added in v4.8.0

func (o GetProjectMilestonesMilestoneOutput) ToGetProjectMilestonesMilestoneOutput() GetProjectMilestonesMilestoneOutput

func (GetProjectMilestonesMilestoneOutput) ToGetProjectMilestonesMilestoneOutputWithContext added in v4.8.0

func (o GetProjectMilestonesMilestoneOutput) ToGetProjectMilestonesMilestoneOutputWithContext(ctx context.Context) GetProjectMilestonesMilestoneOutput

func (GetProjectMilestonesMilestoneOutput) UpdatedAt added in v4.8.0

func (GetProjectMilestonesMilestoneOutput) WebUrl added in v4.8.0

type GetProjectMilestonesOutputArgs added in v4.8.0

type GetProjectMilestonesOutputArgs struct {
	// Return only the milestones having the given `iid` (Note: ignored if `includeParentMilestones` is set as `true`).
	Iids pulumi.IntArrayInput `pulumi:"iids"`
	// Include group milestones from parent group and its ancestors. Introduced in GitLab 13.4.
	IncludeParentMilestones pulumi.BoolPtrInput `pulumi:"includeParentMilestones"`
	// The ID or URL-encoded path of the project owned by the authenticated user.
	Project pulumi.StringInput `pulumi:"project"`
	// Return only milestones with a title or description matching the provided string.
	Search pulumi.StringPtrInput `pulumi:"search"`
	// Return only `active` or `closed` milestones.
	State pulumi.StringPtrInput `pulumi:"state"`
	// Return only the milestones having the given `title`.
	Title pulumi.StringPtrInput `pulumi:"title"`
}

A collection of arguments for invoking getProjectMilestones.

func (GetProjectMilestonesOutputArgs) ElementType added in v4.8.0

type GetProjectMilestonesResult added in v4.8.0

type GetProjectMilestonesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Return only the milestones having the given `iid` (Note: ignored if `includeParentMilestones` is set as `true`).
	Iids []int `pulumi:"iids"`
	// Include group milestones from parent group and its ancestors. Introduced in GitLab 13.4.
	IncludeParentMilestones *bool `pulumi:"includeParentMilestones"`
	// List of milestones from a project.
	Milestones []GetProjectMilestonesMilestone `pulumi:"milestones"`
	// The ID or URL-encoded path of the project owned by the authenticated user.
	Project string `pulumi:"project"`
	// Return only milestones with a title or description matching the provided string.
	Search *string `pulumi:"search"`
	// Return only `active` or `closed` milestones.
	State *string `pulumi:"state"`
	// Return only the milestones having the given `title`.
	Title *string `pulumi:"title"`
}

A collection of values returned by getProjectMilestones.

func GetProjectMilestones added in v4.8.0

func GetProjectMilestones(ctx *pulumi.Context, args *GetProjectMilestonesArgs, opts ...pulumi.InvokeOption) (*GetProjectMilestonesResult, error)

The `getProjectMilestones` data source allows get details of a project milestones.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/milestones.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.GetProjectMilestones(ctx, &gitlab.GetProjectMilestonesArgs{
			Project: "foo/bar",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetProjectMilestonesResultOutput added in v4.8.0

type GetProjectMilestonesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProjectMilestones.

func GetProjectMilestonesOutput added in v4.8.0

func (GetProjectMilestonesResultOutput) ElementType added in v4.8.0

func (GetProjectMilestonesResultOutput) Id added in v4.8.0

The provider-assigned unique ID for this managed resource.

func (GetProjectMilestonesResultOutput) Iids added in v4.8.0

Return only the milestones having the given `iid` (Note: ignored if `includeParentMilestones` is set as `true`).

func (GetProjectMilestonesResultOutput) IncludeParentMilestones added in v4.8.0

func (o GetProjectMilestonesResultOutput) IncludeParentMilestones() pulumi.BoolPtrOutput

Include group milestones from parent group and its ancestors. Introduced in GitLab 13.4.

func (GetProjectMilestonesResultOutput) Milestones added in v4.8.0

List of milestones from a project.

func (GetProjectMilestonesResultOutput) Project added in v4.8.0

The ID or URL-encoded path of the project owned by the authenticated user.

func (GetProjectMilestonesResultOutput) Search added in v4.8.0

Return only milestones with a title or description matching the provided string.

func (GetProjectMilestonesResultOutput) State added in v4.8.0

Return only `active` or `closed` milestones.

func (GetProjectMilestonesResultOutput) Title added in v4.8.0

Return only the milestones having the given `title`.

func (GetProjectMilestonesResultOutput) ToGetProjectMilestonesResultOutput added in v4.8.0

func (o GetProjectMilestonesResultOutput) ToGetProjectMilestonesResultOutput() GetProjectMilestonesResultOutput

func (GetProjectMilestonesResultOutput) ToGetProjectMilestonesResultOutputWithContext added in v4.8.0

func (o GetProjectMilestonesResultOutput) ToGetProjectMilestonesResultOutputWithContext(ctx context.Context) GetProjectMilestonesResultOutput

type GetProjectProtectedBranchArgs added in v4.5.0

type GetProjectProtectedBranchArgs struct {
	// The name of the protected branch.
	Name string `pulumi:"name"`
	// The integer or path with namespace that uniquely identifies the project.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getProjectProtectedBranch.

type GetProjectProtectedBranchMergeAccessLevel added in v4.5.0

type GetProjectProtectedBranchMergeAccessLevel struct {
	AccessLevel            string `pulumi:"accessLevel"`
	AccessLevelDescription string `pulumi:"accessLevelDescription"`
	GroupId                int    `pulumi:"groupId"`
	UserId                 int    `pulumi:"userId"`
}

type GetProjectProtectedBranchMergeAccessLevelArgs added in v4.5.0

type GetProjectProtectedBranchMergeAccessLevelArgs struct {
	AccessLevel            pulumi.StringInput `pulumi:"accessLevel"`
	AccessLevelDescription pulumi.StringInput `pulumi:"accessLevelDescription"`
	GroupId                pulumi.IntInput    `pulumi:"groupId"`
	UserId                 pulumi.IntInput    `pulumi:"userId"`
}

func (GetProjectProtectedBranchMergeAccessLevelArgs) ElementType added in v4.5.0

func (GetProjectProtectedBranchMergeAccessLevelArgs) ToGetProjectProtectedBranchMergeAccessLevelOutput added in v4.5.0

func (i GetProjectProtectedBranchMergeAccessLevelArgs) ToGetProjectProtectedBranchMergeAccessLevelOutput() GetProjectProtectedBranchMergeAccessLevelOutput

func (GetProjectProtectedBranchMergeAccessLevelArgs) ToGetProjectProtectedBranchMergeAccessLevelOutputWithContext added in v4.5.0

func (i GetProjectProtectedBranchMergeAccessLevelArgs) ToGetProjectProtectedBranchMergeAccessLevelOutputWithContext(ctx context.Context) GetProjectProtectedBranchMergeAccessLevelOutput

type GetProjectProtectedBranchMergeAccessLevelArray added in v4.5.0

type GetProjectProtectedBranchMergeAccessLevelArray []GetProjectProtectedBranchMergeAccessLevelInput

func (GetProjectProtectedBranchMergeAccessLevelArray) ElementType added in v4.5.0

func (GetProjectProtectedBranchMergeAccessLevelArray) ToGetProjectProtectedBranchMergeAccessLevelArrayOutput added in v4.5.0

func (i GetProjectProtectedBranchMergeAccessLevelArray) ToGetProjectProtectedBranchMergeAccessLevelArrayOutput() GetProjectProtectedBranchMergeAccessLevelArrayOutput

func (GetProjectProtectedBranchMergeAccessLevelArray) ToGetProjectProtectedBranchMergeAccessLevelArrayOutputWithContext added in v4.5.0

func (i GetProjectProtectedBranchMergeAccessLevelArray) ToGetProjectProtectedBranchMergeAccessLevelArrayOutputWithContext(ctx context.Context) GetProjectProtectedBranchMergeAccessLevelArrayOutput

type GetProjectProtectedBranchMergeAccessLevelArrayInput added in v4.5.0

type GetProjectProtectedBranchMergeAccessLevelArrayInput interface {
	pulumi.Input

	ToGetProjectProtectedBranchMergeAccessLevelArrayOutput() GetProjectProtectedBranchMergeAccessLevelArrayOutput
	ToGetProjectProtectedBranchMergeAccessLevelArrayOutputWithContext(context.Context) GetProjectProtectedBranchMergeAccessLevelArrayOutput
}

GetProjectProtectedBranchMergeAccessLevelArrayInput is an input type that accepts GetProjectProtectedBranchMergeAccessLevelArray and GetProjectProtectedBranchMergeAccessLevelArrayOutput values. You can construct a concrete instance of `GetProjectProtectedBranchMergeAccessLevelArrayInput` via:

GetProjectProtectedBranchMergeAccessLevelArray{ GetProjectProtectedBranchMergeAccessLevelArgs{...} }

type GetProjectProtectedBranchMergeAccessLevelArrayOutput added in v4.5.0

type GetProjectProtectedBranchMergeAccessLevelArrayOutput struct{ *pulumi.OutputState }

func (GetProjectProtectedBranchMergeAccessLevelArrayOutput) ElementType added in v4.5.0

func (GetProjectProtectedBranchMergeAccessLevelArrayOutput) Index added in v4.5.0

func (GetProjectProtectedBranchMergeAccessLevelArrayOutput) ToGetProjectProtectedBranchMergeAccessLevelArrayOutput added in v4.5.0

func (GetProjectProtectedBranchMergeAccessLevelArrayOutput) ToGetProjectProtectedBranchMergeAccessLevelArrayOutputWithContext added in v4.5.0

func (o GetProjectProtectedBranchMergeAccessLevelArrayOutput) ToGetProjectProtectedBranchMergeAccessLevelArrayOutputWithContext(ctx context.Context) GetProjectProtectedBranchMergeAccessLevelArrayOutput

type GetProjectProtectedBranchMergeAccessLevelInput added in v4.5.0

type GetProjectProtectedBranchMergeAccessLevelInput interface {
	pulumi.Input

	ToGetProjectProtectedBranchMergeAccessLevelOutput() GetProjectProtectedBranchMergeAccessLevelOutput
	ToGetProjectProtectedBranchMergeAccessLevelOutputWithContext(context.Context) GetProjectProtectedBranchMergeAccessLevelOutput
}

GetProjectProtectedBranchMergeAccessLevelInput is an input type that accepts GetProjectProtectedBranchMergeAccessLevelArgs and GetProjectProtectedBranchMergeAccessLevelOutput values. You can construct a concrete instance of `GetProjectProtectedBranchMergeAccessLevelInput` via:

GetProjectProtectedBranchMergeAccessLevelArgs{...}

type GetProjectProtectedBranchMergeAccessLevelOutput added in v4.5.0

type GetProjectProtectedBranchMergeAccessLevelOutput struct{ *pulumi.OutputState }

func (GetProjectProtectedBranchMergeAccessLevelOutput) AccessLevel added in v4.5.0

func (GetProjectProtectedBranchMergeAccessLevelOutput) AccessLevelDescription added in v4.5.0

func (GetProjectProtectedBranchMergeAccessLevelOutput) ElementType added in v4.5.0

func (GetProjectProtectedBranchMergeAccessLevelOutput) GroupId added in v4.5.0

func (GetProjectProtectedBranchMergeAccessLevelOutput) ToGetProjectProtectedBranchMergeAccessLevelOutput added in v4.5.0

func (o GetProjectProtectedBranchMergeAccessLevelOutput) ToGetProjectProtectedBranchMergeAccessLevelOutput() GetProjectProtectedBranchMergeAccessLevelOutput

func (GetProjectProtectedBranchMergeAccessLevelOutput) ToGetProjectProtectedBranchMergeAccessLevelOutputWithContext added in v4.5.0

func (o GetProjectProtectedBranchMergeAccessLevelOutput) ToGetProjectProtectedBranchMergeAccessLevelOutputWithContext(ctx context.Context) GetProjectProtectedBranchMergeAccessLevelOutput

func (GetProjectProtectedBranchMergeAccessLevelOutput) UserId added in v4.5.0

type GetProjectProtectedBranchOutputArgs added in v4.5.0

type GetProjectProtectedBranchOutputArgs struct {
	// The name of the protected branch.
	Name pulumi.StringInput `pulumi:"name"`
	// The integer or path with namespace that uniquely identifies the project.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
}

A collection of arguments for invoking getProjectProtectedBranch.

func (GetProjectProtectedBranchOutputArgs) ElementType added in v4.5.0

type GetProjectProtectedBranchPushAccessLevel added in v4.5.0

type GetProjectProtectedBranchPushAccessLevel struct {
	AccessLevel            string `pulumi:"accessLevel"`
	AccessLevelDescription string `pulumi:"accessLevelDescription"`
	GroupId                int    `pulumi:"groupId"`
	UserId                 int    `pulumi:"userId"`
}

type GetProjectProtectedBranchPushAccessLevelArgs added in v4.5.0

type GetProjectProtectedBranchPushAccessLevelArgs struct {
	AccessLevel            pulumi.StringInput `pulumi:"accessLevel"`
	AccessLevelDescription pulumi.StringInput `pulumi:"accessLevelDescription"`
	GroupId                pulumi.IntInput    `pulumi:"groupId"`
	UserId                 pulumi.IntInput    `pulumi:"userId"`
}

func (GetProjectProtectedBranchPushAccessLevelArgs) ElementType added in v4.5.0

func (GetProjectProtectedBranchPushAccessLevelArgs) ToGetProjectProtectedBranchPushAccessLevelOutput added in v4.5.0

func (i GetProjectProtectedBranchPushAccessLevelArgs) ToGetProjectProtectedBranchPushAccessLevelOutput() GetProjectProtectedBranchPushAccessLevelOutput

func (GetProjectProtectedBranchPushAccessLevelArgs) ToGetProjectProtectedBranchPushAccessLevelOutputWithContext added in v4.5.0

func (i GetProjectProtectedBranchPushAccessLevelArgs) ToGetProjectProtectedBranchPushAccessLevelOutputWithContext(ctx context.Context) GetProjectProtectedBranchPushAccessLevelOutput

type GetProjectProtectedBranchPushAccessLevelArray added in v4.5.0

type GetProjectProtectedBranchPushAccessLevelArray []GetProjectProtectedBranchPushAccessLevelInput

func (GetProjectProtectedBranchPushAccessLevelArray) ElementType added in v4.5.0

func (GetProjectProtectedBranchPushAccessLevelArray) ToGetProjectProtectedBranchPushAccessLevelArrayOutput added in v4.5.0

func (i GetProjectProtectedBranchPushAccessLevelArray) ToGetProjectProtectedBranchPushAccessLevelArrayOutput() GetProjectProtectedBranchPushAccessLevelArrayOutput

func (GetProjectProtectedBranchPushAccessLevelArray) ToGetProjectProtectedBranchPushAccessLevelArrayOutputWithContext added in v4.5.0

func (i GetProjectProtectedBranchPushAccessLevelArray) ToGetProjectProtectedBranchPushAccessLevelArrayOutputWithContext(ctx context.Context) GetProjectProtectedBranchPushAccessLevelArrayOutput

type GetProjectProtectedBranchPushAccessLevelArrayInput added in v4.5.0

type GetProjectProtectedBranchPushAccessLevelArrayInput interface {
	pulumi.Input

	ToGetProjectProtectedBranchPushAccessLevelArrayOutput() GetProjectProtectedBranchPushAccessLevelArrayOutput
	ToGetProjectProtectedBranchPushAccessLevelArrayOutputWithContext(context.Context) GetProjectProtectedBranchPushAccessLevelArrayOutput
}

GetProjectProtectedBranchPushAccessLevelArrayInput is an input type that accepts GetProjectProtectedBranchPushAccessLevelArray and GetProjectProtectedBranchPushAccessLevelArrayOutput values. You can construct a concrete instance of `GetProjectProtectedBranchPushAccessLevelArrayInput` via:

GetProjectProtectedBranchPushAccessLevelArray{ GetProjectProtectedBranchPushAccessLevelArgs{...} }

type GetProjectProtectedBranchPushAccessLevelArrayOutput added in v4.5.0

type GetProjectProtectedBranchPushAccessLevelArrayOutput struct{ *pulumi.OutputState }

func (GetProjectProtectedBranchPushAccessLevelArrayOutput) ElementType added in v4.5.0

func (GetProjectProtectedBranchPushAccessLevelArrayOutput) Index added in v4.5.0

func (GetProjectProtectedBranchPushAccessLevelArrayOutput) ToGetProjectProtectedBranchPushAccessLevelArrayOutput added in v4.5.0

func (o GetProjectProtectedBranchPushAccessLevelArrayOutput) ToGetProjectProtectedBranchPushAccessLevelArrayOutput() GetProjectProtectedBranchPushAccessLevelArrayOutput

func (GetProjectProtectedBranchPushAccessLevelArrayOutput) ToGetProjectProtectedBranchPushAccessLevelArrayOutputWithContext added in v4.5.0

func (o GetProjectProtectedBranchPushAccessLevelArrayOutput) ToGetProjectProtectedBranchPushAccessLevelArrayOutputWithContext(ctx context.Context) GetProjectProtectedBranchPushAccessLevelArrayOutput

type GetProjectProtectedBranchPushAccessLevelInput added in v4.5.0

type GetProjectProtectedBranchPushAccessLevelInput interface {
	pulumi.Input

	ToGetProjectProtectedBranchPushAccessLevelOutput() GetProjectProtectedBranchPushAccessLevelOutput
	ToGetProjectProtectedBranchPushAccessLevelOutputWithContext(context.Context) GetProjectProtectedBranchPushAccessLevelOutput
}

GetProjectProtectedBranchPushAccessLevelInput is an input type that accepts GetProjectProtectedBranchPushAccessLevelArgs and GetProjectProtectedBranchPushAccessLevelOutput values. You can construct a concrete instance of `GetProjectProtectedBranchPushAccessLevelInput` via:

GetProjectProtectedBranchPushAccessLevelArgs{...}

type GetProjectProtectedBranchPushAccessLevelOutput added in v4.5.0

type GetProjectProtectedBranchPushAccessLevelOutput struct{ *pulumi.OutputState }

func (GetProjectProtectedBranchPushAccessLevelOutput) AccessLevel added in v4.5.0

func (GetProjectProtectedBranchPushAccessLevelOutput) AccessLevelDescription added in v4.5.0

func (GetProjectProtectedBranchPushAccessLevelOutput) ElementType added in v4.5.0

func (GetProjectProtectedBranchPushAccessLevelOutput) GroupId added in v4.5.0

func (GetProjectProtectedBranchPushAccessLevelOutput) ToGetProjectProtectedBranchPushAccessLevelOutput added in v4.5.0

func (o GetProjectProtectedBranchPushAccessLevelOutput) ToGetProjectProtectedBranchPushAccessLevelOutput() GetProjectProtectedBranchPushAccessLevelOutput

func (GetProjectProtectedBranchPushAccessLevelOutput) ToGetProjectProtectedBranchPushAccessLevelOutputWithContext added in v4.5.0

func (o GetProjectProtectedBranchPushAccessLevelOutput) ToGetProjectProtectedBranchPushAccessLevelOutputWithContext(ctx context.Context) GetProjectProtectedBranchPushAccessLevelOutput

func (GetProjectProtectedBranchPushAccessLevelOutput) UserId added in v4.5.0

type GetProjectProtectedBranchResult added in v4.5.0

type GetProjectProtectedBranchResult struct {
	// Whether force push is allowed.
	AllowForcePush bool `pulumi:"allowForcePush"`
	// Reject code pushes that change files listed in the CODEOWNERS file.
	CodeOwnerApprovalRequired bool `pulumi:"codeOwnerApprovalRequired"`
	// The ID of this resource.
	Id int `pulumi:"id"`
	// Describes which access levels, users, or groups are allowed to perform the action.
	MergeAccessLevels []GetProjectProtectedBranchMergeAccessLevel `pulumi:"mergeAccessLevels"`
	// The name of the protected branch.
	Name string `pulumi:"name"`
	// The integer or path with namespace that uniquely identifies the project.
	ProjectId string `pulumi:"projectId"`
	// Describes which access levels, users, or groups are allowed to perform the action.
	PushAccessLevels []GetProjectProtectedBranchPushAccessLevel `pulumi:"pushAccessLevels"`
}

A collection of values returned by getProjectProtectedBranch.

func GetProjectProtectedBranch added in v4.5.0

func GetProjectProtectedBranch(ctx *pulumi.Context, args *GetProjectProtectedBranchArgs, opts ...pulumi.InvokeOption) (*GetProjectProtectedBranchResult, error)

The `gitlabProtectedBranch` data source allows details of a protected branch to be retrieved by its name and the project it belongs to.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/protected_branches.html#get-a-single-protected-branch-or-wildcard-protected-branch)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.GetProjectProtectedBranch(ctx, &gitlab.GetProjectProtectedBranchArgs{
			Name:      "main",
			ProjectId: "foo/bar/baz",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetProjectProtectedBranchResultOutput added in v4.5.0

type GetProjectProtectedBranchResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProjectProtectedBranch.

func (GetProjectProtectedBranchResultOutput) AllowForcePush added in v4.5.0

Whether force push is allowed.

func (GetProjectProtectedBranchResultOutput) CodeOwnerApprovalRequired added in v4.5.0

func (o GetProjectProtectedBranchResultOutput) CodeOwnerApprovalRequired() pulumi.BoolOutput

Reject code pushes that change files listed in the CODEOWNERS file.

func (GetProjectProtectedBranchResultOutput) ElementType added in v4.5.0

func (GetProjectProtectedBranchResultOutput) Id added in v4.5.0

The ID of this resource.

func (GetProjectProtectedBranchResultOutput) MergeAccessLevels added in v4.5.0

Describes which access levels, users, or groups are allowed to perform the action.

func (GetProjectProtectedBranchResultOutput) Name added in v4.5.0

The name of the protected branch.

func (GetProjectProtectedBranchResultOutput) ProjectId added in v4.5.0

The integer or path with namespace that uniquely identifies the project.

func (GetProjectProtectedBranchResultOutput) PushAccessLevels added in v4.5.0

Describes which access levels, users, or groups are allowed to perform the action.

func (GetProjectProtectedBranchResultOutput) ToGetProjectProtectedBranchResultOutput added in v4.5.0

func (o GetProjectProtectedBranchResultOutput) ToGetProjectProtectedBranchResultOutput() GetProjectProtectedBranchResultOutput

func (GetProjectProtectedBranchResultOutput) ToGetProjectProtectedBranchResultOutputWithContext added in v4.5.0

func (o GetProjectProtectedBranchResultOutput) ToGetProjectProtectedBranchResultOutputWithContext(ctx context.Context) GetProjectProtectedBranchResultOutput

type GetProjectProtectedBranchesArgs added in v4.5.0

type GetProjectProtectedBranchesArgs struct {
	// The integer or path with namespace that uniquely identifies the project.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getProjectProtectedBranches.

type GetProjectProtectedBranchesOutputArgs added in v4.5.0

type GetProjectProtectedBranchesOutputArgs struct {
	// The integer or path with namespace that uniquely identifies the project.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
}

A collection of arguments for invoking getProjectProtectedBranches.

func (GetProjectProtectedBranchesOutputArgs) ElementType added in v4.5.0

type GetProjectProtectedBranchesProtectedBranch added in v4.5.0

type GetProjectProtectedBranchesProtectedBranch struct {
	AllowForcePush            bool `pulumi:"allowForcePush"`
	CodeOwnerApprovalRequired bool `pulumi:"codeOwnerApprovalRequired"`
	// The ID of this resource.
	Id                int                                                          `pulumi:"id"`
	MergeAccessLevels []GetProjectProtectedBranchesProtectedBranchMergeAccessLevel `pulumi:"mergeAccessLevels"`
	Name              string                                                       `pulumi:"name"`
	PushAccessLevels  []GetProjectProtectedBranchesProtectedBranchPushAccessLevel  `pulumi:"pushAccessLevels"`
}

type GetProjectProtectedBranchesProtectedBranchArgs added in v4.5.0

type GetProjectProtectedBranchesProtectedBranchArgs struct {
	AllowForcePush            pulumi.BoolInput `pulumi:"allowForcePush"`
	CodeOwnerApprovalRequired pulumi.BoolInput `pulumi:"codeOwnerApprovalRequired"`
	// The ID of this resource.
	Id                pulumi.IntInput                                                      `pulumi:"id"`
	MergeAccessLevels GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArrayInput `pulumi:"mergeAccessLevels"`
	Name              pulumi.StringInput                                                   `pulumi:"name"`
	PushAccessLevels  GetProjectProtectedBranchesProtectedBranchPushAccessLevelArrayInput  `pulumi:"pushAccessLevels"`
}

func (GetProjectProtectedBranchesProtectedBranchArgs) ElementType added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchArgs) ToGetProjectProtectedBranchesProtectedBranchOutput added in v4.5.0

func (i GetProjectProtectedBranchesProtectedBranchArgs) ToGetProjectProtectedBranchesProtectedBranchOutput() GetProjectProtectedBranchesProtectedBranchOutput

func (GetProjectProtectedBranchesProtectedBranchArgs) ToGetProjectProtectedBranchesProtectedBranchOutputWithContext added in v4.5.0

func (i GetProjectProtectedBranchesProtectedBranchArgs) ToGetProjectProtectedBranchesProtectedBranchOutputWithContext(ctx context.Context) GetProjectProtectedBranchesProtectedBranchOutput

type GetProjectProtectedBranchesProtectedBranchArray added in v4.5.0

type GetProjectProtectedBranchesProtectedBranchArray []GetProjectProtectedBranchesProtectedBranchInput

func (GetProjectProtectedBranchesProtectedBranchArray) ElementType added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchArray) ToGetProjectProtectedBranchesProtectedBranchArrayOutput added in v4.5.0

func (i GetProjectProtectedBranchesProtectedBranchArray) ToGetProjectProtectedBranchesProtectedBranchArrayOutput() GetProjectProtectedBranchesProtectedBranchArrayOutput

func (GetProjectProtectedBranchesProtectedBranchArray) ToGetProjectProtectedBranchesProtectedBranchArrayOutputWithContext added in v4.5.0

func (i GetProjectProtectedBranchesProtectedBranchArray) ToGetProjectProtectedBranchesProtectedBranchArrayOutputWithContext(ctx context.Context) GetProjectProtectedBranchesProtectedBranchArrayOutput

type GetProjectProtectedBranchesProtectedBranchArrayInput added in v4.5.0

type GetProjectProtectedBranchesProtectedBranchArrayInput interface {
	pulumi.Input

	ToGetProjectProtectedBranchesProtectedBranchArrayOutput() GetProjectProtectedBranchesProtectedBranchArrayOutput
	ToGetProjectProtectedBranchesProtectedBranchArrayOutputWithContext(context.Context) GetProjectProtectedBranchesProtectedBranchArrayOutput
}

GetProjectProtectedBranchesProtectedBranchArrayInput is an input type that accepts GetProjectProtectedBranchesProtectedBranchArray and GetProjectProtectedBranchesProtectedBranchArrayOutput values. You can construct a concrete instance of `GetProjectProtectedBranchesProtectedBranchArrayInput` via:

GetProjectProtectedBranchesProtectedBranchArray{ GetProjectProtectedBranchesProtectedBranchArgs{...} }

type GetProjectProtectedBranchesProtectedBranchArrayOutput added in v4.5.0

type GetProjectProtectedBranchesProtectedBranchArrayOutput struct{ *pulumi.OutputState }

func (GetProjectProtectedBranchesProtectedBranchArrayOutput) ElementType added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchArrayOutput) Index added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchArrayOutput) ToGetProjectProtectedBranchesProtectedBranchArrayOutput added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchArrayOutput) ToGetProjectProtectedBranchesProtectedBranchArrayOutputWithContext added in v4.5.0

func (o GetProjectProtectedBranchesProtectedBranchArrayOutput) ToGetProjectProtectedBranchesProtectedBranchArrayOutputWithContext(ctx context.Context) GetProjectProtectedBranchesProtectedBranchArrayOutput

type GetProjectProtectedBranchesProtectedBranchInput added in v4.5.0

type GetProjectProtectedBranchesProtectedBranchInput interface {
	pulumi.Input

	ToGetProjectProtectedBranchesProtectedBranchOutput() GetProjectProtectedBranchesProtectedBranchOutput
	ToGetProjectProtectedBranchesProtectedBranchOutputWithContext(context.Context) GetProjectProtectedBranchesProtectedBranchOutput
}

GetProjectProtectedBranchesProtectedBranchInput is an input type that accepts GetProjectProtectedBranchesProtectedBranchArgs and GetProjectProtectedBranchesProtectedBranchOutput values. You can construct a concrete instance of `GetProjectProtectedBranchesProtectedBranchInput` via:

GetProjectProtectedBranchesProtectedBranchArgs{...}

type GetProjectProtectedBranchesProtectedBranchMergeAccessLevel added in v4.5.0

type GetProjectProtectedBranchesProtectedBranchMergeAccessLevel struct {
	AccessLevel            string `pulumi:"accessLevel"`
	AccessLevelDescription string `pulumi:"accessLevelDescription"`
	GroupId                int    `pulumi:"groupId"`
	UserId                 int    `pulumi:"userId"`
}

type GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArgs added in v4.5.0

type GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArgs struct {
	AccessLevel            pulumi.StringInput `pulumi:"accessLevel"`
	AccessLevelDescription pulumi.StringInput `pulumi:"accessLevelDescription"`
	GroupId                pulumi.IntInput    `pulumi:"groupId"`
	UserId                 pulumi.IntInput    `pulumi:"userId"`
}

func (GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArgs) ElementType added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArgs) ToGetProjectProtectedBranchesProtectedBranchMergeAccessLevelOutput added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArgs) ToGetProjectProtectedBranchesProtectedBranchMergeAccessLevelOutputWithContext added in v4.5.0

func (i GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArgs) ToGetProjectProtectedBranchesProtectedBranchMergeAccessLevelOutputWithContext(ctx context.Context) GetProjectProtectedBranchesProtectedBranchMergeAccessLevelOutput

type GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArray added in v4.5.0

type GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArray []GetProjectProtectedBranchesProtectedBranchMergeAccessLevelInput

func (GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArray) ElementType added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArray) ToGetProjectProtectedBranchesProtectedBranchMergeAccessLevelArrayOutput added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArray) ToGetProjectProtectedBranchesProtectedBranchMergeAccessLevelArrayOutputWithContext added in v4.5.0

func (i GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArray) ToGetProjectProtectedBranchesProtectedBranchMergeAccessLevelArrayOutputWithContext(ctx context.Context) GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArrayOutput

type GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArrayInput added in v4.5.0

type GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArrayInput interface {
	pulumi.Input

	ToGetProjectProtectedBranchesProtectedBranchMergeAccessLevelArrayOutput() GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArrayOutput
	ToGetProjectProtectedBranchesProtectedBranchMergeAccessLevelArrayOutputWithContext(context.Context) GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArrayOutput
}

GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArrayInput is an input type that accepts GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArray and GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArrayOutput values. You can construct a concrete instance of `GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArrayInput` via:

GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArray{ GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArgs{...} }

type GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArrayOutput added in v4.5.0

type GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArrayOutput struct{ *pulumi.OutputState }

func (GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArrayOutput) ElementType added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArrayOutput) Index added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArrayOutput) ToGetProjectProtectedBranchesProtectedBranchMergeAccessLevelArrayOutput added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArrayOutput) ToGetProjectProtectedBranchesProtectedBranchMergeAccessLevelArrayOutputWithContext added in v4.5.0

func (o GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArrayOutput) ToGetProjectProtectedBranchesProtectedBranchMergeAccessLevelArrayOutputWithContext(ctx context.Context) GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArrayOutput

type GetProjectProtectedBranchesProtectedBranchMergeAccessLevelInput added in v4.5.0

type GetProjectProtectedBranchesProtectedBranchMergeAccessLevelInput interface {
	pulumi.Input

	ToGetProjectProtectedBranchesProtectedBranchMergeAccessLevelOutput() GetProjectProtectedBranchesProtectedBranchMergeAccessLevelOutput
	ToGetProjectProtectedBranchesProtectedBranchMergeAccessLevelOutputWithContext(context.Context) GetProjectProtectedBranchesProtectedBranchMergeAccessLevelOutput
}

GetProjectProtectedBranchesProtectedBranchMergeAccessLevelInput is an input type that accepts GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArgs and GetProjectProtectedBranchesProtectedBranchMergeAccessLevelOutput values. You can construct a concrete instance of `GetProjectProtectedBranchesProtectedBranchMergeAccessLevelInput` via:

GetProjectProtectedBranchesProtectedBranchMergeAccessLevelArgs{...}

type GetProjectProtectedBranchesProtectedBranchMergeAccessLevelOutput added in v4.5.0

type GetProjectProtectedBranchesProtectedBranchMergeAccessLevelOutput struct{ *pulumi.OutputState }

func (GetProjectProtectedBranchesProtectedBranchMergeAccessLevelOutput) AccessLevel added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchMergeAccessLevelOutput) AccessLevelDescription added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchMergeAccessLevelOutput) ElementType added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchMergeAccessLevelOutput) GroupId added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchMergeAccessLevelOutput) ToGetProjectProtectedBranchesProtectedBranchMergeAccessLevelOutput added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchMergeAccessLevelOutput) ToGetProjectProtectedBranchesProtectedBranchMergeAccessLevelOutputWithContext added in v4.5.0

func (o GetProjectProtectedBranchesProtectedBranchMergeAccessLevelOutput) ToGetProjectProtectedBranchesProtectedBranchMergeAccessLevelOutputWithContext(ctx context.Context) GetProjectProtectedBranchesProtectedBranchMergeAccessLevelOutput

func (GetProjectProtectedBranchesProtectedBranchMergeAccessLevelOutput) UserId added in v4.5.0

type GetProjectProtectedBranchesProtectedBranchOutput added in v4.5.0

type GetProjectProtectedBranchesProtectedBranchOutput struct{ *pulumi.OutputState }

func (GetProjectProtectedBranchesProtectedBranchOutput) AllowForcePush added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchOutput) CodeOwnerApprovalRequired added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchOutput) ElementType added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchOutput) Id added in v4.5.0

The ID of this resource.

func (GetProjectProtectedBranchesProtectedBranchOutput) MergeAccessLevels added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchOutput) Name added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchOutput) PushAccessLevels added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchOutput) ToGetProjectProtectedBranchesProtectedBranchOutput added in v4.5.0

func (o GetProjectProtectedBranchesProtectedBranchOutput) ToGetProjectProtectedBranchesProtectedBranchOutput() GetProjectProtectedBranchesProtectedBranchOutput

func (GetProjectProtectedBranchesProtectedBranchOutput) ToGetProjectProtectedBranchesProtectedBranchOutputWithContext added in v4.5.0

func (o GetProjectProtectedBranchesProtectedBranchOutput) ToGetProjectProtectedBranchesProtectedBranchOutputWithContext(ctx context.Context) GetProjectProtectedBranchesProtectedBranchOutput

type GetProjectProtectedBranchesProtectedBranchPushAccessLevel added in v4.5.0

type GetProjectProtectedBranchesProtectedBranchPushAccessLevel struct {
	AccessLevel            string `pulumi:"accessLevel"`
	AccessLevelDescription string `pulumi:"accessLevelDescription"`
	GroupId                int    `pulumi:"groupId"`
	UserId                 int    `pulumi:"userId"`
}

type GetProjectProtectedBranchesProtectedBranchPushAccessLevelArgs added in v4.5.0

type GetProjectProtectedBranchesProtectedBranchPushAccessLevelArgs struct {
	AccessLevel            pulumi.StringInput `pulumi:"accessLevel"`
	AccessLevelDescription pulumi.StringInput `pulumi:"accessLevelDescription"`
	GroupId                pulumi.IntInput    `pulumi:"groupId"`
	UserId                 pulumi.IntInput    `pulumi:"userId"`
}

func (GetProjectProtectedBranchesProtectedBranchPushAccessLevelArgs) ElementType added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchPushAccessLevelArgs) ToGetProjectProtectedBranchesProtectedBranchPushAccessLevelOutput added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchPushAccessLevelArgs) ToGetProjectProtectedBranchesProtectedBranchPushAccessLevelOutputWithContext added in v4.5.0

func (i GetProjectProtectedBranchesProtectedBranchPushAccessLevelArgs) ToGetProjectProtectedBranchesProtectedBranchPushAccessLevelOutputWithContext(ctx context.Context) GetProjectProtectedBranchesProtectedBranchPushAccessLevelOutput

type GetProjectProtectedBranchesProtectedBranchPushAccessLevelArray added in v4.5.0

type GetProjectProtectedBranchesProtectedBranchPushAccessLevelArray []GetProjectProtectedBranchesProtectedBranchPushAccessLevelInput

func (GetProjectProtectedBranchesProtectedBranchPushAccessLevelArray) ElementType added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchPushAccessLevelArray) ToGetProjectProtectedBranchesProtectedBranchPushAccessLevelArrayOutput added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchPushAccessLevelArray) ToGetProjectProtectedBranchesProtectedBranchPushAccessLevelArrayOutputWithContext added in v4.5.0

func (i GetProjectProtectedBranchesProtectedBranchPushAccessLevelArray) ToGetProjectProtectedBranchesProtectedBranchPushAccessLevelArrayOutputWithContext(ctx context.Context) GetProjectProtectedBranchesProtectedBranchPushAccessLevelArrayOutput

type GetProjectProtectedBranchesProtectedBranchPushAccessLevelArrayInput added in v4.5.0

type GetProjectProtectedBranchesProtectedBranchPushAccessLevelArrayInput interface {
	pulumi.Input

	ToGetProjectProtectedBranchesProtectedBranchPushAccessLevelArrayOutput() GetProjectProtectedBranchesProtectedBranchPushAccessLevelArrayOutput
	ToGetProjectProtectedBranchesProtectedBranchPushAccessLevelArrayOutputWithContext(context.Context) GetProjectProtectedBranchesProtectedBranchPushAccessLevelArrayOutput
}

GetProjectProtectedBranchesProtectedBranchPushAccessLevelArrayInput is an input type that accepts GetProjectProtectedBranchesProtectedBranchPushAccessLevelArray and GetProjectProtectedBranchesProtectedBranchPushAccessLevelArrayOutput values. You can construct a concrete instance of `GetProjectProtectedBranchesProtectedBranchPushAccessLevelArrayInput` via:

GetProjectProtectedBranchesProtectedBranchPushAccessLevelArray{ GetProjectProtectedBranchesProtectedBranchPushAccessLevelArgs{...} }

type GetProjectProtectedBranchesProtectedBranchPushAccessLevelArrayOutput added in v4.5.0

type GetProjectProtectedBranchesProtectedBranchPushAccessLevelArrayOutput struct{ *pulumi.OutputState }

func (GetProjectProtectedBranchesProtectedBranchPushAccessLevelArrayOutput) ElementType added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchPushAccessLevelArrayOutput) Index added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchPushAccessLevelArrayOutput) ToGetProjectProtectedBranchesProtectedBranchPushAccessLevelArrayOutput added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchPushAccessLevelArrayOutput) ToGetProjectProtectedBranchesProtectedBranchPushAccessLevelArrayOutputWithContext added in v4.5.0

func (o GetProjectProtectedBranchesProtectedBranchPushAccessLevelArrayOutput) ToGetProjectProtectedBranchesProtectedBranchPushAccessLevelArrayOutputWithContext(ctx context.Context) GetProjectProtectedBranchesProtectedBranchPushAccessLevelArrayOutput

type GetProjectProtectedBranchesProtectedBranchPushAccessLevelInput added in v4.5.0

type GetProjectProtectedBranchesProtectedBranchPushAccessLevelInput interface {
	pulumi.Input

	ToGetProjectProtectedBranchesProtectedBranchPushAccessLevelOutput() GetProjectProtectedBranchesProtectedBranchPushAccessLevelOutput
	ToGetProjectProtectedBranchesProtectedBranchPushAccessLevelOutputWithContext(context.Context) GetProjectProtectedBranchesProtectedBranchPushAccessLevelOutput
}

GetProjectProtectedBranchesProtectedBranchPushAccessLevelInput is an input type that accepts GetProjectProtectedBranchesProtectedBranchPushAccessLevelArgs and GetProjectProtectedBranchesProtectedBranchPushAccessLevelOutput values. You can construct a concrete instance of `GetProjectProtectedBranchesProtectedBranchPushAccessLevelInput` via:

GetProjectProtectedBranchesProtectedBranchPushAccessLevelArgs{...}

type GetProjectProtectedBranchesProtectedBranchPushAccessLevelOutput added in v4.5.0

type GetProjectProtectedBranchesProtectedBranchPushAccessLevelOutput struct{ *pulumi.OutputState }

func (GetProjectProtectedBranchesProtectedBranchPushAccessLevelOutput) AccessLevel added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchPushAccessLevelOutput) AccessLevelDescription added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchPushAccessLevelOutput) ElementType added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchPushAccessLevelOutput) GroupId added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchPushAccessLevelOutput) ToGetProjectProtectedBranchesProtectedBranchPushAccessLevelOutput added in v4.5.0

func (GetProjectProtectedBranchesProtectedBranchPushAccessLevelOutput) ToGetProjectProtectedBranchesProtectedBranchPushAccessLevelOutputWithContext added in v4.5.0

func (o GetProjectProtectedBranchesProtectedBranchPushAccessLevelOutput) ToGetProjectProtectedBranchesProtectedBranchPushAccessLevelOutputWithContext(ctx context.Context) GetProjectProtectedBranchesProtectedBranchPushAccessLevelOutput

func (GetProjectProtectedBranchesProtectedBranchPushAccessLevelOutput) UserId added in v4.5.0

type GetProjectProtectedBranchesResult added in v4.5.0

type GetProjectProtectedBranchesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The integer or path with namespace that uniquely identifies the project.
	ProjectId string `pulumi:"projectId"`
	// A list of protected branches, as defined below.
	ProtectedBranches []GetProjectProtectedBranchesProtectedBranch `pulumi:"protectedBranches"`
}

A collection of values returned by getProjectProtectedBranches.

func GetProjectProtectedBranches added in v4.5.0

func GetProjectProtectedBranches(ctx *pulumi.Context, args *GetProjectProtectedBranchesArgs, opts ...pulumi.InvokeOption) (*GetProjectProtectedBranchesResult, error)

The `getProjectProtectedBranches` data source allows details of the protected branches of a given project.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/protected_branches.html#list-protected-branches)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.GetProjectProtectedBranches(ctx, &gitlab.GetProjectProtectedBranchesArgs{
			ProjectId: "foo/bar/baz",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetProjectProtectedBranchesResultOutput added in v4.5.0

type GetProjectProtectedBranchesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProjectProtectedBranches.

func (GetProjectProtectedBranchesResultOutput) ElementType added in v4.5.0

func (GetProjectProtectedBranchesResultOutput) Id added in v4.5.0

The provider-assigned unique ID for this managed resource.

func (GetProjectProtectedBranchesResultOutput) ProjectId added in v4.5.0

The integer or path with namespace that uniquely identifies the project.

func (GetProjectProtectedBranchesResultOutput) ProtectedBranches added in v4.5.0

A list of protected branches, as defined below.

func (GetProjectProtectedBranchesResultOutput) ToGetProjectProtectedBranchesResultOutput added in v4.5.0

func (o GetProjectProtectedBranchesResultOutput) ToGetProjectProtectedBranchesResultOutput() GetProjectProtectedBranchesResultOutput

func (GetProjectProtectedBranchesResultOutput) ToGetProjectProtectedBranchesResultOutputWithContext added in v4.5.0

func (o GetProjectProtectedBranchesResultOutput) ToGetProjectProtectedBranchesResultOutputWithContext(ctx context.Context) GetProjectProtectedBranchesResultOutput

type GetProjectPushRules

type GetProjectPushRules struct {
	AuthorEmailRegex           string `pulumi:"authorEmailRegex"`
	BranchNameRegex            string `pulumi:"branchNameRegex"`
	CommitCommitterCheck       bool   `pulumi:"commitCommitterCheck"`
	CommitMessageNegativeRegex string `pulumi:"commitMessageNegativeRegex"`
	CommitMessageRegex         string `pulumi:"commitMessageRegex"`
	DenyDeleteTag              bool   `pulumi:"denyDeleteTag"`
	FileNameRegex              string `pulumi:"fileNameRegex"`
	MaxFileSize                int    `pulumi:"maxFileSize"`
	MemberCheck                bool   `pulumi:"memberCheck"`
	PreventSecrets             bool   `pulumi:"preventSecrets"`
	RejectUnsignedCommits      bool   `pulumi:"rejectUnsignedCommits"`
}

type GetProjectPushRulesArgs

type GetProjectPushRulesArgs struct {
	AuthorEmailRegex           pulumi.StringInput `pulumi:"authorEmailRegex"`
	BranchNameRegex            pulumi.StringInput `pulumi:"branchNameRegex"`
	CommitCommitterCheck       pulumi.BoolInput   `pulumi:"commitCommitterCheck"`
	CommitMessageNegativeRegex pulumi.StringInput `pulumi:"commitMessageNegativeRegex"`
	CommitMessageRegex         pulumi.StringInput `pulumi:"commitMessageRegex"`
	DenyDeleteTag              pulumi.BoolInput   `pulumi:"denyDeleteTag"`
	FileNameRegex              pulumi.StringInput `pulumi:"fileNameRegex"`
	MaxFileSize                pulumi.IntInput    `pulumi:"maxFileSize"`
	MemberCheck                pulumi.BoolInput   `pulumi:"memberCheck"`
	PreventSecrets             pulumi.BoolInput   `pulumi:"preventSecrets"`
	RejectUnsignedCommits      pulumi.BoolInput   `pulumi:"rejectUnsignedCommits"`
}

func (GetProjectPushRulesArgs) ElementType

func (GetProjectPushRulesArgs) ElementType() reflect.Type

func (GetProjectPushRulesArgs) ToGetProjectPushRulesOutput

func (i GetProjectPushRulesArgs) ToGetProjectPushRulesOutput() GetProjectPushRulesOutput

func (GetProjectPushRulesArgs) ToGetProjectPushRulesOutputWithContext

func (i GetProjectPushRulesArgs) ToGetProjectPushRulesOutputWithContext(ctx context.Context) GetProjectPushRulesOutput

type GetProjectPushRulesInput

type GetProjectPushRulesInput interface {
	pulumi.Input

	ToGetProjectPushRulesOutput() GetProjectPushRulesOutput
	ToGetProjectPushRulesOutputWithContext(context.Context) GetProjectPushRulesOutput
}

GetProjectPushRulesInput is an input type that accepts GetProjectPushRulesArgs and GetProjectPushRulesOutput values. You can construct a concrete instance of `GetProjectPushRulesInput` via:

GetProjectPushRulesArgs{...}

type GetProjectPushRulesOutput

type GetProjectPushRulesOutput struct{ *pulumi.OutputState }

func (GetProjectPushRulesOutput) AuthorEmailRegex

func (o GetProjectPushRulesOutput) AuthorEmailRegex() pulumi.StringOutput

func (GetProjectPushRulesOutput) BranchNameRegex

func (o GetProjectPushRulesOutput) BranchNameRegex() pulumi.StringOutput

func (GetProjectPushRulesOutput) CommitCommitterCheck

func (o GetProjectPushRulesOutput) CommitCommitterCheck() pulumi.BoolOutput

func (GetProjectPushRulesOutput) CommitMessageNegativeRegex

func (o GetProjectPushRulesOutput) CommitMessageNegativeRegex() pulumi.StringOutput

func (GetProjectPushRulesOutput) CommitMessageRegex

func (o GetProjectPushRulesOutput) CommitMessageRegex() pulumi.StringOutput

func (GetProjectPushRulesOutput) DenyDeleteTag

func (o GetProjectPushRulesOutput) DenyDeleteTag() pulumi.BoolOutput

func (GetProjectPushRulesOutput) ElementType

func (GetProjectPushRulesOutput) ElementType() reflect.Type

func (GetProjectPushRulesOutput) FileNameRegex

func (o GetProjectPushRulesOutput) FileNameRegex() pulumi.StringOutput

func (GetProjectPushRulesOutput) MaxFileSize

func (o GetProjectPushRulesOutput) MaxFileSize() pulumi.IntOutput

func (GetProjectPushRulesOutput) MemberCheck

func (GetProjectPushRulesOutput) PreventSecrets

func (o GetProjectPushRulesOutput) PreventSecrets() pulumi.BoolOutput

func (GetProjectPushRulesOutput) RejectUnsignedCommits

func (o GetProjectPushRulesOutput) RejectUnsignedCommits() pulumi.BoolOutput

func (GetProjectPushRulesOutput) ToGetProjectPushRulesOutput

func (o GetProjectPushRulesOutput) ToGetProjectPushRulesOutput() GetProjectPushRulesOutput

func (GetProjectPushRulesOutput) ToGetProjectPushRulesOutputWithContext

func (o GetProjectPushRulesOutput) ToGetProjectPushRulesOutputWithContext(ctx context.Context) GetProjectPushRulesOutput

type GetProjectTagCommit added in v4.7.0

type GetProjectTagCommit struct {
	AuthorEmail    string `pulumi:"authorEmail"`
	AuthorName     string `pulumi:"authorName"`
	AuthoredDate   string `pulumi:"authoredDate"`
	CommittedDate  string `pulumi:"committedDate"`
	CommitterEmail string `pulumi:"committerEmail"`
	CommitterName  string `pulumi:"committerName"`
	// The ID of this resource.
	Id string `pulumi:"id"`
	// The message of the annotated tag.
	Message   string   `pulumi:"message"`
	ParentIds []string `pulumi:"parentIds"`
	ShortId   string   `pulumi:"shortId"`
	Title     string   `pulumi:"title"`
}

type GetProjectTagCommitArgs added in v4.7.0

type GetProjectTagCommitArgs struct {
	AuthorEmail    pulumi.StringInput `pulumi:"authorEmail"`
	AuthorName     pulumi.StringInput `pulumi:"authorName"`
	AuthoredDate   pulumi.StringInput `pulumi:"authoredDate"`
	CommittedDate  pulumi.StringInput `pulumi:"committedDate"`
	CommitterEmail pulumi.StringInput `pulumi:"committerEmail"`
	CommitterName  pulumi.StringInput `pulumi:"committerName"`
	// The ID of this resource.
	Id pulumi.StringInput `pulumi:"id"`
	// The message of the annotated tag.
	Message   pulumi.StringInput      `pulumi:"message"`
	ParentIds pulumi.StringArrayInput `pulumi:"parentIds"`
	ShortId   pulumi.StringInput      `pulumi:"shortId"`
	Title     pulumi.StringInput      `pulumi:"title"`
}

func (GetProjectTagCommitArgs) ElementType added in v4.7.0

func (GetProjectTagCommitArgs) ElementType() reflect.Type

func (GetProjectTagCommitArgs) ToGetProjectTagCommitOutput added in v4.7.0

func (i GetProjectTagCommitArgs) ToGetProjectTagCommitOutput() GetProjectTagCommitOutput

func (GetProjectTagCommitArgs) ToGetProjectTagCommitOutputWithContext added in v4.7.0

func (i GetProjectTagCommitArgs) ToGetProjectTagCommitOutputWithContext(ctx context.Context) GetProjectTagCommitOutput

type GetProjectTagCommitArray added in v4.7.0

type GetProjectTagCommitArray []GetProjectTagCommitInput

func (GetProjectTagCommitArray) ElementType added in v4.7.0

func (GetProjectTagCommitArray) ElementType() reflect.Type

func (GetProjectTagCommitArray) ToGetProjectTagCommitArrayOutput added in v4.7.0

func (i GetProjectTagCommitArray) ToGetProjectTagCommitArrayOutput() GetProjectTagCommitArrayOutput

func (GetProjectTagCommitArray) ToGetProjectTagCommitArrayOutputWithContext added in v4.7.0

func (i GetProjectTagCommitArray) ToGetProjectTagCommitArrayOutputWithContext(ctx context.Context) GetProjectTagCommitArrayOutput

type GetProjectTagCommitArrayInput added in v4.7.0

type GetProjectTagCommitArrayInput interface {
	pulumi.Input

	ToGetProjectTagCommitArrayOutput() GetProjectTagCommitArrayOutput
	ToGetProjectTagCommitArrayOutputWithContext(context.Context) GetProjectTagCommitArrayOutput
}

GetProjectTagCommitArrayInput is an input type that accepts GetProjectTagCommitArray and GetProjectTagCommitArrayOutput values. You can construct a concrete instance of `GetProjectTagCommitArrayInput` via:

GetProjectTagCommitArray{ GetProjectTagCommitArgs{...} }

type GetProjectTagCommitArrayOutput added in v4.7.0

type GetProjectTagCommitArrayOutput struct{ *pulumi.OutputState }

func (GetProjectTagCommitArrayOutput) ElementType added in v4.7.0

func (GetProjectTagCommitArrayOutput) Index added in v4.7.0

func (GetProjectTagCommitArrayOutput) ToGetProjectTagCommitArrayOutput added in v4.7.0

func (o GetProjectTagCommitArrayOutput) ToGetProjectTagCommitArrayOutput() GetProjectTagCommitArrayOutput

func (GetProjectTagCommitArrayOutput) ToGetProjectTagCommitArrayOutputWithContext added in v4.7.0

func (o GetProjectTagCommitArrayOutput) ToGetProjectTagCommitArrayOutputWithContext(ctx context.Context) GetProjectTagCommitArrayOutput

type GetProjectTagCommitInput added in v4.7.0

type GetProjectTagCommitInput interface {
	pulumi.Input

	ToGetProjectTagCommitOutput() GetProjectTagCommitOutput
	ToGetProjectTagCommitOutputWithContext(context.Context) GetProjectTagCommitOutput
}

GetProjectTagCommitInput is an input type that accepts GetProjectTagCommitArgs and GetProjectTagCommitOutput values. You can construct a concrete instance of `GetProjectTagCommitInput` via:

GetProjectTagCommitArgs{...}

type GetProjectTagCommitOutput added in v4.7.0

type GetProjectTagCommitOutput struct{ *pulumi.OutputState }

func (GetProjectTagCommitOutput) AuthorEmail added in v4.7.0

func (GetProjectTagCommitOutput) AuthorName added in v4.7.0

func (GetProjectTagCommitOutput) AuthoredDate added in v4.7.0

func (GetProjectTagCommitOutput) CommittedDate added in v4.7.0

func (o GetProjectTagCommitOutput) CommittedDate() pulumi.StringOutput

func (GetProjectTagCommitOutput) CommitterEmail added in v4.7.0

func (o GetProjectTagCommitOutput) CommitterEmail() pulumi.StringOutput

func (GetProjectTagCommitOutput) CommitterName added in v4.7.0

func (o GetProjectTagCommitOutput) CommitterName() pulumi.StringOutput

func (GetProjectTagCommitOutput) ElementType added in v4.7.0

func (GetProjectTagCommitOutput) ElementType() reflect.Type

func (GetProjectTagCommitOutput) Id added in v4.7.0

The ID of this resource.

func (GetProjectTagCommitOutput) Message added in v4.7.0

The message of the annotated tag.

func (GetProjectTagCommitOutput) ParentIds added in v4.7.0

func (GetProjectTagCommitOutput) ShortId added in v4.7.0

func (GetProjectTagCommitOutput) Title added in v4.7.0

func (GetProjectTagCommitOutput) ToGetProjectTagCommitOutput added in v4.7.0

func (o GetProjectTagCommitOutput) ToGetProjectTagCommitOutput() GetProjectTagCommitOutput

func (GetProjectTagCommitOutput) ToGetProjectTagCommitOutputWithContext added in v4.7.0

func (o GetProjectTagCommitOutput) ToGetProjectTagCommitOutputWithContext(ctx context.Context) GetProjectTagCommitOutput

type GetProjectTagRelease added in v4.7.0

type GetProjectTagRelease struct {
	Description string `pulumi:"description"`
	TagName     string `pulumi:"tagName"`
}

type GetProjectTagReleaseArgs added in v4.7.0

type GetProjectTagReleaseArgs struct {
	Description pulumi.StringInput `pulumi:"description"`
	TagName     pulumi.StringInput `pulumi:"tagName"`
}

func (GetProjectTagReleaseArgs) ElementType added in v4.7.0

func (GetProjectTagReleaseArgs) ElementType() reflect.Type

func (GetProjectTagReleaseArgs) ToGetProjectTagReleaseOutput added in v4.7.0

func (i GetProjectTagReleaseArgs) ToGetProjectTagReleaseOutput() GetProjectTagReleaseOutput

func (GetProjectTagReleaseArgs) ToGetProjectTagReleaseOutputWithContext added in v4.7.0

func (i GetProjectTagReleaseArgs) ToGetProjectTagReleaseOutputWithContext(ctx context.Context) GetProjectTagReleaseOutput

type GetProjectTagReleaseArray added in v4.7.0

type GetProjectTagReleaseArray []GetProjectTagReleaseInput

func (GetProjectTagReleaseArray) ElementType added in v4.7.0

func (GetProjectTagReleaseArray) ElementType() reflect.Type

func (GetProjectTagReleaseArray) ToGetProjectTagReleaseArrayOutput added in v4.7.0

func (i GetProjectTagReleaseArray) ToGetProjectTagReleaseArrayOutput() GetProjectTagReleaseArrayOutput

func (GetProjectTagReleaseArray) ToGetProjectTagReleaseArrayOutputWithContext added in v4.7.0

func (i GetProjectTagReleaseArray) ToGetProjectTagReleaseArrayOutputWithContext(ctx context.Context) GetProjectTagReleaseArrayOutput

type GetProjectTagReleaseArrayInput added in v4.7.0

type GetProjectTagReleaseArrayInput interface {
	pulumi.Input

	ToGetProjectTagReleaseArrayOutput() GetProjectTagReleaseArrayOutput
	ToGetProjectTagReleaseArrayOutputWithContext(context.Context) GetProjectTagReleaseArrayOutput
}

GetProjectTagReleaseArrayInput is an input type that accepts GetProjectTagReleaseArray and GetProjectTagReleaseArrayOutput values. You can construct a concrete instance of `GetProjectTagReleaseArrayInput` via:

GetProjectTagReleaseArray{ GetProjectTagReleaseArgs{...} }

type GetProjectTagReleaseArrayOutput added in v4.7.0

type GetProjectTagReleaseArrayOutput struct{ *pulumi.OutputState }

func (GetProjectTagReleaseArrayOutput) ElementType added in v4.7.0

func (GetProjectTagReleaseArrayOutput) Index added in v4.7.0

func (GetProjectTagReleaseArrayOutput) ToGetProjectTagReleaseArrayOutput added in v4.7.0

func (o GetProjectTagReleaseArrayOutput) ToGetProjectTagReleaseArrayOutput() GetProjectTagReleaseArrayOutput

func (GetProjectTagReleaseArrayOutput) ToGetProjectTagReleaseArrayOutputWithContext added in v4.7.0

func (o GetProjectTagReleaseArrayOutput) ToGetProjectTagReleaseArrayOutputWithContext(ctx context.Context) GetProjectTagReleaseArrayOutput

type GetProjectTagReleaseInput added in v4.7.0

type GetProjectTagReleaseInput interface {
	pulumi.Input

	ToGetProjectTagReleaseOutput() GetProjectTagReleaseOutput
	ToGetProjectTagReleaseOutputWithContext(context.Context) GetProjectTagReleaseOutput
}

GetProjectTagReleaseInput is an input type that accepts GetProjectTagReleaseArgs and GetProjectTagReleaseOutput values. You can construct a concrete instance of `GetProjectTagReleaseInput` via:

GetProjectTagReleaseArgs{...}

type GetProjectTagReleaseOutput added in v4.7.0

type GetProjectTagReleaseOutput struct{ *pulumi.OutputState }

func (GetProjectTagReleaseOutput) Description added in v4.7.0

func (GetProjectTagReleaseOutput) ElementType added in v4.7.0

func (GetProjectTagReleaseOutput) ElementType() reflect.Type

func (GetProjectTagReleaseOutput) TagName added in v4.7.0

func (GetProjectTagReleaseOutput) ToGetProjectTagReleaseOutput added in v4.7.0

func (o GetProjectTagReleaseOutput) ToGetProjectTagReleaseOutput() GetProjectTagReleaseOutput

func (GetProjectTagReleaseOutput) ToGetProjectTagReleaseOutputWithContext added in v4.7.0

func (o GetProjectTagReleaseOutput) ToGetProjectTagReleaseOutputWithContext(ctx context.Context) GetProjectTagReleaseOutput

type GetProjectTagsArgs added in v4.7.0

type GetProjectTagsArgs struct {
	// Return tags ordered by `name` or `updated` fields. Default is `updated`.
	OrderBy *string `pulumi:"orderBy"`
	// The ID or URL-encoded path of the project owned by the authenticated user.
	Project string `pulumi:"project"`
	// Return list of tags matching the search criteria. You can use `^term` and `term$` to find tags that begin and end with `term` respectively. No other regular expressions are supported.
	Search *string `pulumi:"search"`
	// Return tags sorted in `asc` or `desc` order. Default is `desc`.
	Sort *string `pulumi:"sort"`
}

A collection of arguments for invoking getProjectTags.

type GetProjectTagsOutputArgs added in v4.7.0

type GetProjectTagsOutputArgs struct {
	// Return tags ordered by `name` or `updated` fields. Default is `updated`.
	OrderBy pulumi.StringPtrInput `pulumi:"orderBy"`
	// The ID or URL-encoded path of the project owned by the authenticated user.
	Project pulumi.StringInput `pulumi:"project"`
	// Return list of tags matching the search criteria. You can use `^term` and `term$` to find tags that begin and end with `term` respectively. No other regular expressions are supported.
	Search pulumi.StringPtrInput `pulumi:"search"`
	// Return tags sorted in `asc` or `desc` order. Default is `desc`.
	Sort pulumi.StringPtrInput `pulumi:"sort"`
}

A collection of arguments for invoking getProjectTags.

func (GetProjectTagsOutputArgs) ElementType added in v4.7.0

func (GetProjectTagsOutputArgs) ElementType() reflect.Type

type GetProjectTagsResult added in v4.7.0

type GetProjectTagsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Return tags ordered by `name` or `updated` fields. Default is `updated`.
	OrderBy *string `pulumi:"orderBy"`
	// The ID or URL-encoded path of the project owned by the authenticated user.
	Project string `pulumi:"project"`
	// Return list of tags matching the search criteria. You can use `^term` and `term$` to find tags that begin and end with `term` respectively. No other regular expressions are supported.
	Search *string `pulumi:"search"`
	// Return tags sorted in `asc` or `desc` order. Default is `desc`.
	Sort *string `pulumi:"sort"`
	// List of repository tags from a project.
	Tags []GetProjectTagsTag `pulumi:"tags"`
}

A collection of values returned by getProjectTags.

func GetProjectTags added in v4.7.0

func GetProjectTags(ctx *pulumi.Context, args *GetProjectTagsArgs, opts ...pulumi.InvokeOption) (*GetProjectTagsResult, error)

The `getProjectTags` data source allows details of project tags to be retrieved by some search criteria.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/tags.html#list-project-repository-tags)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.GetProjectTags(ctx, &gitlab.GetProjectTagsArgs{
			Project: "foo/bar",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetProjectTagsResultOutput added in v4.7.0

type GetProjectTagsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProjectTags.

func GetProjectTagsOutput added in v4.7.0

func GetProjectTagsOutput(ctx *pulumi.Context, args GetProjectTagsOutputArgs, opts ...pulumi.InvokeOption) GetProjectTagsResultOutput

func (GetProjectTagsResultOutput) ElementType added in v4.7.0

func (GetProjectTagsResultOutput) ElementType() reflect.Type

func (GetProjectTagsResultOutput) Id added in v4.7.0

The provider-assigned unique ID for this managed resource.

func (GetProjectTagsResultOutput) OrderBy added in v4.7.0

Return tags ordered by `name` or `updated` fields. Default is `updated`.

func (GetProjectTagsResultOutput) Project added in v4.7.0

The ID or URL-encoded path of the project owned by the authenticated user.

func (GetProjectTagsResultOutput) Search added in v4.7.0

Return list of tags matching the search criteria. You can use `^term` and `term$` to find tags that begin and end with `term` respectively. No other regular expressions are supported.

func (GetProjectTagsResultOutput) Sort added in v4.7.0

Return tags sorted in `asc` or `desc` order. Default is `desc`.

func (GetProjectTagsResultOutput) Tags added in v4.7.0

List of repository tags from a project.

func (GetProjectTagsResultOutput) ToGetProjectTagsResultOutput added in v4.7.0

func (o GetProjectTagsResultOutput) ToGetProjectTagsResultOutput() GetProjectTagsResultOutput

func (GetProjectTagsResultOutput) ToGetProjectTagsResultOutputWithContext added in v4.7.0

func (o GetProjectTagsResultOutput) ToGetProjectTagsResultOutputWithContext(ctx context.Context) GetProjectTagsResultOutput

type GetProjectTagsTag added in v4.7.0

type GetProjectTagsTag struct {
	Commits   []GetProjectTagsTagCommit  `pulumi:"commits"`
	Message   string                     `pulumi:"message"`
	Name      string                     `pulumi:"name"`
	Protected bool                       `pulumi:"protected"`
	Releases  []GetProjectTagsTagRelease `pulumi:"releases"`
	Target    string                     `pulumi:"target"`
}

type GetProjectTagsTagArgs added in v4.7.0

type GetProjectTagsTagArgs struct {
	Commits   GetProjectTagsTagCommitArrayInput  `pulumi:"commits"`
	Message   pulumi.StringInput                 `pulumi:"message"`
	Name      pulumi.StringInput                 `pulumi:"name"`
	Protected pulumi.BoolInput                   `pulumi:"protected"`
	Releases  GetProjectTagsTagReleaseArrayInput `pulumi:"releases"`
	Target    pulumi.StringInput                 `pulumi:"target"`
}

func (GetProjectTagsTagArgs) ElementType added in v4.7.0

func (GetProjectTagsTagArgs) ElementType() reflect.Type

func (GetProjectTagsTagArgs) ToGetProjectTagsTagOutput added in v4.7.0

func (i GetProjectTagsTagArgs) ToGetProjectTagsTagOutput() GetProjectTagsTagOutput

func (GetProjectTagsTagArgs) ToGetProjectTagsTagOutputWithContext added in v4.7.0

func (i GetProjectTagsTagArgs) ToGetProjectTagsTagOutputWithContext(ctx context.Context) GetProjectTagsTagOutput

type GetProjectTagsTagArray added in v4.7.0

type GetProjectTagsTagArray []GetProjectTagsTagInput

func (GetProjectTagsTagArray) ElementType added in v4.7.0

func (GetProjectTagsTagArray) ElementType() reflect.Type

func (GetProjectTagsTagArray) ToGetProjectTagsTagArrayOutput added in v4.7.0

func (i GetProjectTagsTagArray) ToGetProjectTagsTagArrayOutput() GetProjectTagsTagArrayOutput

func (GetProjectTagsTagArray) ToGetProjectTagsTagArrayOutputWithContext added in v4.7.0

func (i GetProjectTagsTagArray) ToGetProjectTagsTagArrayOutputWithContext(ctx context.Context) GetProjectTagsTagArrayOutput

type GetProjectTagsTagArrayInput added in v4.7.0

type GetProjectTagsTagArrayInput interface {
	pulumi.Input

	ToGetProjectTagsTagArrayOutput() GetProjectTagsTagArrayOutput
	ToGetProjectTagsTagArrayOutputWithContext(context.Context) GetProjectTagsTagArrayOutput
}

GetProjectTagsTagArrayInput is an input type that accepts GetProjectTagsTagArray and GetProjectTagsTagArrayOutput values. You can construct a concrete instance of `GetProjectTagsTagArrayInput` via:

GetProjectTagsTagArray{ GetProjectTagsTagArgs{...} }

type GetProjectTagsTagArrayOutput added in v4.7.0

type GetProjectTagsTagArrayOutput struct{ *pulumi.OutputState }

func (GetProjectTagsTagArrayOutput) ElementType added in v4.7.0

func (GetProjectTagsTagArrayOutput) Index added in v4.7.0

func (GetProjectTagsTagArrayOutput) ToGetProjectTagsTagArrayOutput added in v4.7.0

func (o GetProjectTagsTagArrayOutput) ToGetProjectTagsTagArrayOutput() GetProjectTagsTagArrayOutput

func (GetProjectTagsTagArrayOutput) ToGetProjectTagsTagArrayOutputWithContext added in v4.7.0

func (o GetProjectTagsTagArrayOutput) ToGetProjectTagsTagArrayOutputWithContext(ctx context.Context) GetProjectTagsTagArrayOutput

type GetProjectTagsTagCommit added in v4.7.0

type GetProjectTagsTagCommit struct {
	AuthorEmail    string `pulumi:"authorEmail"`
	AuthorName     string `pulumi:"authorName"`
	AuthoredDate   string `pulumi:"authoredDate"`
	CommittedDate  string `pulumi:"committedDate"`
	CommitterEmail string `pulumi:"committerEmail"`
	CommitterName  string `pulumi:"committerName"`
	// The ID of this resource.
	Id        string   `pulumi:"id"`
	Message   string   `pulumi:"message"`
	ParentIds []string `pulumi:"parentIds"`
	ShortId   string   `pulumi:"shortId"`
	Title     string   `pulumi:"title"`
}

type GetProjectTagsTagCommitArgs added in v4.7.0

type GetProjectTagsTagCommitArgs struct {
	AuthorEmail    pulumi.StringInput `pulumi:"authorEmail"`
	AuthorName     pulumi.StringInput `pulumi:"authorName"`
	AuthoredDate   pulumi.StringInput `pulumi:"authoredDate"`
	CommittedDate  pulumi.StringInput `pulumi:"committedDate"`
	CommitterEmail pulumi.StringInput `pulumi:"committerEmail"`
	CommitterName  pulumi.StringInput `pulumi:"committerName"`
	// The ID of this resource.
	Id        pulumi.StringInput      `pulumi:"id"`
	Message   pulumi.StringInput      `pulumi:"message"`
	ParentIds pulumi.StringArrayInput `pulumi:"parentIds"`
	ShortId   pulumi.StringInput      `pulumi:"shortId"`
	Title     pulumi.StringInput      `pulumi:"title"`
}

func (GetProjectTagsTagCommitArgs) ElementType added in v4.7.0

func (GetProjectTagsTagCommitArgs) ToGetProjectTagsTagCommitOutput added in v4.7.0

func (i GetProjectTagsTagCommitArgs) ToGetProjectTagsTagCommitOutput() GetProjectTagsTagCommitOutput

func (GetProjectTagsTagCommitArgs) ToGetProjectTagsTagCommitOutputWithContext added in v4.7.0

func (i GetProjectTagsTagCommitArgs) ToGetProjectTagsTagCommitOutputWithContext(ctx context.Context) GetProjectTagsTagCommitOutput

type GetProjectTagsTagCommitArray added in v4.7.0

type GetProjectTagsTagCommitArray []GetProjectTagsTagCommitInput

func (GetProjectTagsTagCommitArray) ElementType added in v4.7.0

func (GetProjectTagsTagCommitArray) ToGetProjectTagsTagCommitArrayOutput added in v4.7.0

func (i GetProjectTagsTagCommitArray) ToGetProjectTagsTagCommitArrayOutput() GetProjectTagsTagCommitArrayOutput

func (GetProjectTagsTagCommitArray) ToGetProjectTagsTagCommitArrayOutputWithContext added in v4.7.0

func (i GetProjectTagsTagCommitArray) ToGetProjectTagsTagCommitArrayOutputWithContext(ctx context.Context) GetProjectTagsTagCommitArrayOutput

type GetProjectTagsTagCommitArrayInput added in v4.7.0

type GetProjectTagsTagCommitArrayInput interface {
	pulumi.Input

	ToGetProjectTagsTagCommitArrayOutput() GetProjectTagsTagCommitArrayOutput
	ToGetProjectTagsTagCommitArrayOutputWithContext(context.Context) GetProjectTagsTagCommitArrayOutput
}

GetProjectTagsTagCommitArrayInput is an input type that accepts GetProjectTagsTagCommitArray and GetProjectTagsTagCommitArrayOutput values. You can construct a concrete instance of `GetProjectTagsTagCommitArrayInput` via:

GetProjectTagsTagCommitArray{ GetProjectTagsTagCommitArgs{...} }

type GetProjectTagsTagCommitArrayOutput added in v4.7.0

type GetProjectTagsTagCommitArrayOutput struct{ *pulumi.OutputState }

func (GetProjectTagsTagCommitArrayOutput) ElementType added in v4.7.0

func (GetProjectTagsTagCommitArrayOutput) Index added in v4.7.0

func (GetProjectTagsTagCommitArrayOutput) ToGetProjectTagsTagCommitArrayOutput added in v4.7.0

func (o GetProjectTagsTagCommitArrayOutput) ToGetProjectTagsTagCommitArrayOutput() GetProjectTagsTagCommitArrayOutput

func (GetProjectTagsTagCommitArrayOutput) ToGetProjectTagsTagCommitArrayOutputWithContext added in v4.7.0

func (o GetProjectTagsTagCommitArrayOutput) ToGetProjectTagsTagCommitArrayOutputWithContext(ctx context.Context) GetProjectTagsTagCommitArrayOutput

type GetProjectTagsTagCommitInput added in v4.7.0

type GetProjectTagsTagCommitInput interface {
	pulumi.Input

	ToGetProjectTagsTagCommitOutput() GetProjectTagsTagCommitOutput
	ToGetProjectTagsTagCommitOutputWithContext(context.Context) GetProjectTagsTagCommitOutput
}

GetProjectTagsTagCommitInput is an input type that accepts GetProjectTagsTagCommitArgs and GetProjectTagsTagCommitOutput values. You can construct a concrete instance of `GetProjectTagsTagCommitInput` via:

GetProjectTagsTagCommitArgs{...}

type GetProjectTagsTagCommitOutput added in v4.7.0

type GetProjectTagsTagCommitOutput struct{ *pulumi.OutputState }

func (GetProjectTagsTagCommitOutput) AuthorEmail added in v4.7.0

func (GetProjectTagsTagCommitOutput) AuthorName added in v4.7.0

func (GetProjectTagsTagCommitOutput) AuthoredDate added in v4.7.0

func (GetProjectTagsTagCommitOutput) CommittedDate added in v4.7.0

func (GetProjectTagsTagCommitOutput) CommitterEmail added in v4.7.0

func (GetProjectTagsTagCommitOutput) CommitterName added in v4.7.0

func (GetProjectTagsTagCommitOutput) ElementType added in v4.7.0

func (GetProjectTagsTagCommitOutput) Id added in v4.7.0

The ID of this resource.

func (GetProjectTagsTagCommitOutput) Message added in v4.7.0

func (GetProjectTagsTagCommitOutput) ParentIds added in v4.7.0

func (GetProjectTagsTagCommitOutput) ShortId added in v4.7.0

func (GetProjectTagsTagCommitOutput) Title added in v4.7.0

func (GetProjectTagsTagCommitOutput) ToGetProjectTagsTagCommitOutput added in v4.7.0

func (o GetProjectTagsTagCommitOutput) ToGetProjectTagsTagCommitOutput() GetProjectTagsTagCommitOutput

func (GetProjectTagsTagCommitOutput) ToGetProjectTagsTagCommitOutputWithContext added in v4.7.0

func (o GetProjectTagsTagCommitOutput) ToGetProjectTagsTagCommitOutputWithContext(ctx context.Context) GetProjectTagsTagCommitOutput

type GetProjectTagsTagInput added in v4.7.0

type GetProjectTagsTagInput interface {
	pulumi.Input

	ToGetProjectTagsTagOutput() GetProjectTagsTagOutput
	ToGetProjectTagsTagOutputWithContext(context.Context) GetProjectTagsTagOutput
}

GetProjectTagsTagInput is an input type that accepts GetProjectTagsTagArgs and GetProjectTagsTagOutput values. You can construct a concrete instance of `GetProjectTagsTagInput` via:

GetProjectTagsTagArgs{...}

type GetProjectTagsTagOutput added in v4.7.0

type GetProjectTagsTagOutput struct{ *pulumi.OutputState }

func (GetProjectTagsTagOutput) Commits added in v4.7.0

func (GetProjectTagsTagOutput) ElementType added in v4.7.0

func (GetProjectTagsTagOutput) ElementType() reflect.Type

func (GetProjectTagsTagOutput) Message added in v4.7.0

func (GetProjectTagsTagOutput) Name added in v4.7.0

func (GetProjectTagsTagOutput) Protected added in v4.7.0

func (GetProjectTagsTagOutput) Releases added in v4.7.0

func (GetProjectTagsTagOutput) Target added in v4.7.0

func (GetProjectTagsTagOutput) ToGetProjectTagsTagOutput added in v4.7.0

func (o GetProjectTagsTagOutput) ToGetProjectTagsTagOutput() GetProjectTagsTagOutput

func (GetProjectTagsTagOutput) ToGetProjectTagsTagOutputWithContext added in v4.7.0

func (o GetProjectTagsTagOutput) ToGetProjectTagsTagOutputWithContext(ctx context.Context) GetProjectTagsTagOutput

type GetProjectTagsTagRelease added in v4.7.0

type GetProjectTagsTagRelease struct {
	Description string `pulumi:"description"`
	TagName     string `pulumi:"tagName"`
}

type GetProjectTagsTagReleaseArgs added in v4.7.0

type GetProjectTagsTagReleaseArgs struct {
	Description pulumi.StringInput `pulumi:"description"`
	TagName     pulumi.StringInput `pulumi:"tagName"`
}

func (GetProjectTagsTagReleaseArgs) ElementType added in v4.7.0

func (GetProjectTagsTagReleaseArgs) ToGetProjectTagsTagReleaseOutput added in v4.7.0

func (i GetProjectTagsTagReleaseArgs) ToGetProjectTagsTagReleaseOutput() GetProjectTagsTagReleaseOutput

func (GetProjectTagsTagReleaseArgs) ToGetProjectTagsTagReleaseOutputWithContext added in v4.7.0

func (i GetProjectTagsTagReleaseArgs) ToGetProjectTagsTagReleaseOutputWithContext(ctx context.Context) GetProjectTagsTagReleaseOutput

type GetProjectTagsTagReleaseArray added in v4.7.0

type GetProjectTagsTagReleaseArray []GetProjectTagsTagReleaseInput

func (GetProjectTagsTagReleaseArray) ElementType added in v4.7.0

func (GetProjectTagsTagReleaseArray) ToGetProjectTagsTagReleaseArrayOutput added in v4.7.0

func (i GetProjectTagsTagReleaseArray) ToGetProjectTagsTagReleaseArrayOutput() GetProjectTagsTagReleaseArrayOutput

func (GetProjectTagsTagReleaseArray) ToGetProjectTagsTagReleaseArrayOutputWithContext added in v4.7.0

func (i GetProjectTagsTagReleaseArray) ToGetProjectTagsTagReleaseArrayOutputWithContext(ctx context.Context) GetProjectTagsTagReleaseArrayOutput

type GetProjectTagsTagReleaseArrayInput added in v4.7.0

type GetProjectTagsTagReleaseArrayInput interface {
	pulumi.Input

	ToGetProjectTagsTagReleaseArrayOutput() GetProjectTagsTagReleaseArrayOutput
	ToGetProjectTagsTagReleaseArrayOutputWithContext(context.Context) GetProjectTagsTagReleaseArrayOutput
}

GetProjectTagsTagReleaseArrayInput is an input type that accepts GetProjectTagsTagReleaseArray and GetProjectTagsTagReleaseArrayOutput values. You can construct a concrete instance of `GetProjectTagsTagReleaseArrayInput` via:

GetProjectTagsTagReleaseArray{ GetProjectTagsTagReleaseArgs{...} }

type GetProjectTagsTagReleaseArrayOutput added in v4.7.0

type GetProjectTagsTagReleaseArrayOutput struct{ *pulumi.OutputState }

func (GetProjectTagsTagReleaseArrayOutput) ElementType added in v4.7.0

func (GetProjectTagsTagReleaseArrayOutput) Index added in v4.7.0

func (GetProjectTagsTagReleaseArrayOutput) ToGetProjectTagsTagReleaseArrayOutput added in v4.7.0

func (o GetProjectTagsTagReleaseArrayOutput) ToGetProjectTagsTagReleaseArrayOutput() GetProjectTagsTagReleaseArrayOutput

func (GetProjectTagsTagReleaseArrayOutput) ToGetProjectTagsTagReleaseArrayOutputWithContext added in v4.7.0

func (o GetProjectTagsTagReleaseArrayOutput) ToGetProjectTagsTagReleaseArrayOutputWithContext(ctx context.Context) GetProjectTagsTagReleaseArrayOutput

type GetProjectTagsTagReleaseInput added in v4.7.0

type GetProjectTagsTagReleaseInput interface {
	pulumi.Input

	ToGetProjectTagsTagReleaseOutput() GetProjectTagsTagReleaseOutput
	ToGetProjectTagsTagReleaseOutputWithContext(context.Context) GetProjectTagsTagReleaseOutput
}

GetProjectTagsTagReleaseInput is an input type that accepts GetProjectTagsTagReleaseArgs and GetProjectTagsTagReleaseOutput values. You can construct a concrete instance of `GetProjectTagsTagReleaseInput` via:

GetProjectTagsTagReleaseArgs{...}

type GetProjectTagsTagReleaseOutput added in v4.7.0

type GetProjectTagsTagReleaseOutput struct{ *pulumi.OutputState }

func (GetProjectTagsTagReleaseOutput) Description added in v4.7.0

func (GetProjectTagsTagReleaseOutput) ElementType added in v4.7.0

func (GetProjectTagsTagReleaseOutput) TagName added in v4.7.0

func (GetProjectTagsTagReleaseOutput) ToGetProjectTagsTagReleaseOutput added in v4.7.0

func (o GetProjectTagsTagReleaseOutput) ToGetProjectTagsTagReleaseOutput() GetProjectTagsTagReleaseOutput

func (GetProjectTagsTagReleaseOutput) ToGetProjectTagsTagReleaseOutputWithContext added in v4.7.0

func (o GetProjectTagsTagReleaseOutput) ToGetProjectTagsTagReleaseOutputWithContext(ctx context.Context) GetProjectTagsTagReleaseOutput

type GetProjectVariablesArgs added in v4.8.0

type GetProjectVariablesArgs struct {
	// The environment scope of the variable. Defaults to all environment (`*`).
	EnvironmentScope *string `pulumi:"environmentScope"`
	// The name or id of the project.
	Project string `pulumi:"project"`
}

A collection of arguments for invoking getProjectVariables.

type GetProjectVariablesOutputArgs added in v4.8.0

type GetProjectVariablesOutputArgs struct {
	// The environment scope of the variable. Defaults to all environment (`*`).
	EnvironmentScope pulumi.StringPtrInput `pulumi:"environmentScope"`
	// The name or id of the project.
	Project pulumi.StringInput `pulumi:"project"`
}

A collection of arguments for invoking getProjectVariables.

func (GetProjectVariablesOutputArgs) ElementType added in v4.8.0

type GetProjectVariablesResult added in v4.8.0

type GetProjectVariablesResult struct {
	// The environment scope of the variable. Defaults to all environment (`*`).
	EnvironmentScope *string `pulumi:"environmentScope"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name or id of the project.
	Project string `pulumi:"project"`
	// The list of variables returned by the search
	Variables []GetProjectVariablesVariable `pulumi:"variables"`
}

A collection of values returned by getProjectVariables.

func GetProjectVariables added in v4.8.0

func GetProjectVariables(ctx *pulumi.Context, args *GetProjectVariablesArgs, opts ...pulumi.InvokeOption) (*GetProjectVariablesResult, error)

The `getProjectVariables` data source allows to retrieve all project-level CI/CD variables.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/project_level_variables.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.GetProjectVariables(ctx, &gitlab.GetProjectVariablesArgs{
			Project: "my/example/project",
		}, nil)
		if err != nil {
			return err
		}
		_, err = gitlab.GetProjectVariables(ctx, &gitlab.GetProjectVariablesArgs{
			EnvironmentScope: pulumi.StringRef("staging/*"),
			Project:          "my/example/project",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetProjectVariablesResultOutput added in v4.8.0

type GetProjectVariablesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProjectVariables.

func GetProjectVariablesOutput added in v4.8.0

func (GetProjectVariablesResultOutput) ElementType added in v4.8.0

func (GetProjectVariablesResultOutput) EnvironmentScope added in v4.8.0

The environment scope of the variable. Defaults to all environment (`*`).

func (GetProjectVariablesResultOutput) Id added in v4.8.0

The provider-assigned unique ID for this managed resource.

func (GetProjectVariablesResultOutput) Project added in v4.8.0

The name or id of the project.

func (GetProjectVariablesResultOutput) ToGetProjectVariablesResultOutput added in v4.8.0

func (o GetProjectVariablesResultOutput) ToGetProjectVariablesResultOutput() GetProjectVariablesResultOutput

func (GetProjectVariablesResultOutput) ToGetProjectVariablesResultOutputWithContext added in v4.8.0

func (o GetProjectVariablesResultOutput) ToGetProjectVariablesResultOutputWithContext(ctx context.Context) GetProjectVariablesResultOutput

func (GetProjectVariablesResultOutput) Variables added in v4.8.0

The list of variables returned by the search

type GetProjectVariablesVariable added in v4.8.0

type GetProjectVariablesVariable struct {
	// The environment scope of the variable. Defaults to all environment (`*`).
	EnvironmentScope string `pulumi:"environmentScope"`
	Key              string `pulumi:"key"`
	Masked           bool   `pulumi:"masked"`
	// The name or id of the project.
	Project      string `pulumi:"project"`
	Protected    bool   `pulumi:"protected"`
	Value        string `pulumi:"value"`
	VariableType string `pulumi:"variableType"`
}

type GetProjectVariablesVariableArgs added in v4.8.0

type GetProjectVariablesVariableArgs struct {
	// The environment scope of the variable. Defaults to all environment (`*`).
	EnvironmentScope pulumi.StringInput `pulumi:"environmentScope"`
	Key              pulumi.StringInput `pulumi:"key"`
	Masked           pulumi.BoolInput   `pulumi:"masked"`
	// The name or id of the project.
	Project      pulumi.StringInput `pulumi:"project"`
	Protected    pulumi.BoolInput   `pulumi:"protected"`
	Value        pulumi.StringInput `pulumi:"value"`
	VariableType pulumi.StringInput `pulumi:"variableType"`
}

func (GetProjectVariablesVariableArgs) ElementType added in v4.8.0

func (GetProjectVariablesVariableArgs) ToGetProjectVariablesVariableOutput added in v4.8.0

func (i GetProjectVariablesVariableArgs) ToGetProjectVariablesVariableOutput() GetProjectVariablesVariableOutput

func (GetProjectVariablesVariableArgs) ToGetProjectVariablesVariableOutputWithContext added in v4.8.0

func (i GetProjectVariablesVariableArgs) ToGetProjectVariablesVariableOutputWithContext(ctx context.Context) GetProjectVariablesVariableOutput

type GetProjectVariablesVariableArray added in v4.8.0

type GetProjectVariablesVariableArray []GetProjectVariablesVariableInput

func (GetProjectVariablesVariableArray) ElementType added in v4.8.0

func (GetProjectVariablesVariableArray) ToGetProjectVariablesVariableArrayOutput added in v4.8.0

func (i GetProjectVariablesVariableArray) ToGetProjectVariablesVariableArrayOutput() GetProjectVariablesVariableArrayOutput

func (GetProjectVariablesVariableArray) ToGetProjectVariablesVariableArrayOutputWithContext added in v4.8.0

func (i GetProjectVariablesVariableArray) ToGetProjectVariablesVariableArrayOutputWithContext(ctx context.Context) GetProjectVariablesVariableArrayOutput

type GetProjectVariablesVariableArrayInput added in v4.8.0

type GetProjectVariablesVariableArrayInput interface {
	pulumi.Input

	ToGetProjectVariablesVariableArrayOutput() GetProjectVariablesVariableArrayOutput
	ToGetProjectVariablesVariableArrayOutputWithContext(context.Context) GetProjectVariablesVariableArrayOutput
}

GetProjectVariablesVariableArrayInput is an input type that accepts GetProjectVariablesVariableArray and GetProjectVariablesVariableArrayOutput values. You can construct a concrete instance of `GetProjectVariablesVariableArrayInput` via:

GetProjectVariablesVariableArray{ GetProjectVariablesVariableArgs{...} }

type GetProjectVariablesVariableArrayOutput added in v4.8.0

type GetProjectVariablesVariableArrayOutput struct{ *pulumi.OutputState }

func (GetProjectVariablesVariableArrayOutput) ElementType added in v4.8.0

func (GetProjectVariablesVariableArrayOutput) Index added in v4.8.0

func (GetProjectVariablesVariableArrayOutput) ToGetProjectVariablesVariableArrayOutput added in v4.8.0

func (o GetProjectVariablesVariableArrayOutput) ToGetProjectVariablesVariableArrayOutput() GetProjectVariablesVariableArrayOutput

func (GetProjectVariablesVariableArrayOutput) ToGetProjectVariablesVariableArrayOutputWithContext added in v4.8.0

func (o GetProjectVariablesVariableArrayOutput) ToGetProjectVariablesVariableArrayOutputWithContext(ctx context.Context) GetProjectVariablesVariableArrayOutput

type GetProjectVariablesVariableInput added in v4.8.0

type GetProjectVariablesVariableInput interface {
	pulumi.Input

	ToGetProjectVariablesVariableOutput() GetProjectVariablesVariableOutput
	ToGetProjectVariablesVariableOutputWithContext(context.Context) GetProjectVariablesVariableOutput
}

GetProjectVariablesVariableInput is an input type that accepts GetProjectVariablesVariableArgs and GetProjectVariablesVariableOutput values. You can construct a concrete instance of `GetProjectVariablesVariableInput` via:

GetProjectVariablesVariableArgs{...}

type GetProjectVariablesVariableOutput added in v4.8.0

type GetProjectVariablesVariableOutput struct{ *pulumi.OutputState }

func (GetProjectVariablesVariableOutput) ElementType added in v4.8.0

func (GetProjectVariablesVariableOutput) EnvironmentScope added in v4.8.0

The environment scope of the variable. Defaults to all environment (`*`).

func (GetProjectVariablesVariableOutput) Key added in v4.8.0

func (GetProjectVariablesVariableOutput) Masked added in v4.8.0

func (GetProjectVariablesVariableOutput) Project added in v4.8.0

The name or id of the project.

func (GetProjectVariablesVariableOutput) Protected added in v4.8.0

func (GetProjectVariablesVariableOutput) ToGetProjectVariablesVariableOutput added in v4.8.0

func (o GetProjectVariablesVariableOutput) ToGetProjectVariablesVariableOutput() GetProjectVariablesVariableOutput

func (GetProjectVariablesVariableOutput) ToGetProjectVariablesVariableOutputWithContext added in v4.8.0

func (o GetProjectVariablesVariableOutput) ToGetProjectVariablesVariableOutputWithContext(ctx context.Context) GetProjectVariablesVariableOutput

func (GetProjectVariablesVariableOutput) Value added in v4.8.0

func (GetProjectVariablesVariableOutput) VariableType added in v4.8.0

type GetProjectsArgs

type GetProjectsArgs struct {
	// Limit by archived status.
	Archived *bool `pulumi:"archived"`
	// The ID of the group owned by the authenticated user to look projects for within. Cannot be used with `minAccessLevel`, `withProgrammingLanguage` or `statistics`.
	GroupId *int `pulumi:"groupId"`
	// Include projects in subgroups of this group. Default is `false`. Needs `groupId`.
	IncludeSubgroups *bool `pulumi:"includeSubgroups"`
	// The maximum number of project results pages that may be queried. Prevents overloading your Gitlab instance in case of a misconfiguration.
	MaxQueryablePages *int `pulumi:"maxQueryablePages"`
	// Limit by projects that the current user is a member of.
	Membership *bool `pulumi:"membership"`
	// Limit to projects where current user has at least this access level, refer to the [official documentation](https://docs.gitlab.com/ee/api/members.html) for values. Cannot be used with `groupId`.
	MinAccessLevel *int `pulumi:"minAccessLevel"`
	// Return projects ordered by `id`, `name`, `path`, `createdAt`, `updatedAt`, or `lastActivityAt` fields. Default is `createdAt`.
	OrderBy *string `pulumi:"orderBy"`
	// Limit by projects owned by the current user.
	Owned *bool `pulumi:"owned"`
	// The first page to begin the query on.
	Page *int `pulumi:"page"`
	// The number of results to return per page.
	PerPage *int `pulumi:"perPage"`
	// Return list of authorized projects matching the search criteria.
	Search *string `pulumi:"search"`
	// Return only the ID, URL, name, and path of each project.
	Simple *bool `pulumi:"simple"`
	// Return projects sorted in `asc` or `desc` order. Default is `desc`.
	Sort *string `pulumi:"sort"`
	// Limit by projects starred by the current user.
	Starred *bool `pulumi:"starred"`
	// Include project statistics. Cannot be used with `groupId`.
	Statistics *bool `pulumi:"statistics"`
	// Limit by visibility `public`, `internal`, or `private`.
	Visibility *string `pulumi:"visibility"`
	// Include custom attributes in response *(admins only)*.
	WithCustomAttributes *bool `pulumi:"withCustomAttributes"`
	// Limit by projects with issues feature enabled. Default is `false`.
	WithIssuesEnabled *bool `pulumi:"withIssuesEnabled"`
	// Limit by projects with merge requests feature enabled. Default is `false`.
	WithMergeRequestsEnabled *bool `pulumi:"withMergeRequestsEnabled"`
	// Limit by projects which use the given programming language. Cannot be used with `groupId`.
	WithProgrammingLanguage *string `pulumi:"withProgrammingLanguage"`
	// Include projects shared to this group. Default is `true`. Needs `groupId`.
	WithShared *bool `pulumi:"withShared"`
}

A collection of arguments for invoking getProjects.

type GetProjectsOutputArgs added in v4.3.0

type GetProjectsOutputArgs struct {
	// Limit by archived status.
	Archived pulumi.BoolPtrInput `pulumi:"archived"`
	// The ID of the group owned by the authenticated user to look projects for within. Cannot be used with `minAccessLevel`, `withProgrammingLanguage` or `statistics`.
	GroupId pulumi.IntPtrInput `pulumi:"groupId"`
	// Include projects in subgroups of this group. Default is `false`. Needs `groupId`.
	IncludeSubgroups pulumi.BoolPtrInput `pulumi:"includeSubgroups"`
	// The maximum number of project results pages that may be queried. Prevents overloading your Gitlab instance in case of a misconfiguration.
	MaxQueryablePages pulumi.IntPtrInput `pulumi:"maxQueryablePages"`
	// Limit by projects that the current user is a member of.
	Membership pulumi.BoolPtrInput `pulumi:"membership"`
	// Limit to projects where current user has at least this access level, refer to the [official documentation](https://docs.gitlab.com/ee/api/members.html) for values. Cannot be used with `groupId`.
	MinAccessLevel pulumi.IntPtrInput `pulumi:"minAccessLevel"`
	// Return projects ordered by `id`, `name`, `path`, `createdAt`, `updatedAt`, or `lastActivityAt` fields. Default is `createdAt`.
	OrderBy pulumi.StringPtrInput `pulumi:"orderBy"`
	// Limit by projects owned by the current user.
	Owned pulumi.BoolPtrInput `pulumi:"owned"`
	// The first page to begin the query on.
	Page pulumi.IntPtrInput `pulumi:"page"`
	// The number of results to return per page.
	PerPage pulumi.IntPtrInput `pulumi:"perPage"`
	// Return list of authorized projects matching the search criteria.
	Search pulumi.StringPtrInput `pulumi:"search"`
	// Return only the ID, URL, name, and path of each project.
	Simple pulumi.BoolPtrInput `pulumi:"simple"`
	// Return projects sorted in `asc` or `desc` order. Default is `desc`.
	Sort pulumi.StringPtrInput `pulumi:"sort"`
	// Limit by projects starred by the current user.
	Starred pulumi.BoolPtrInput `pulumi:"starred"`
	// Include project statistics. Cannot be used with `groupId`.
	Statistics pulumi.BoolPtrInput `pulumi:"statistics"`
	// Limit by visibility `public`, `internal`, or `private`.
	Visibility pulumi.StringPtrInput `pulumi:"visibility"`
	// Include custom attributes in response *(admins only)*.
	WithCustomAttributes pulumi.BoolPtrInput `pulumi:"withCustomAttributes"`
	// Limit by projects with issues feature enabled. Default is `false`.
	WithIssuesEnabled pulumi.BoolPtrInput `pulumi:"withIssuesEnabled"`
	// Limit by projects with merge requests feature enabled. Default is `false`.
	WithMergeRequestsEnabled pulumi.BoolPtrInput `pulumi:"withMergeRequestsEnabled"`
	// Limit by projects which use the given programming language. Cannot be used with `groupId`.
	WithProgrammingLanguage pulumi.StringPtrInput `pulumi:"withProgrammingLanguage"`
	// Include projects shared to this group. Default is `true`. Needs `groupId`.
	WithShared pulumi.BoolPtrInput `pulumi:"withShared"`
}

A collection of arguments for invoking getProjects.

func (GetProjectsOutputArgs) ElementType added in v4.3.0

func (GetProjectsOutputArgs) ElementType() reflect.Type

type GetProjectsProject

type GetProjectsProject struct {
	AllowMergeOnSkippedPipeline bool   `pulumi:"allowMergeOnSkippedPipeline"`
	AnalyticsAccessLevel        string `pulumi:"analyticsAccessLevel"`
	ApprovalsBeforeMerge        int    `pulumi:"approvalsBeforeMerge"`
	// Limit by archived status.
	Archived                                 bool                                          `pulumi:"archived"`
	AutoCancelPendingPipelines               string                                        `pulumi:"autoCancelPendingPipelines"`
	AutoDevopsDeployStrategy                 string                                        `pulumi:"autoDevopsDeployStrategy"`
	AutoDevopsEnabled                        bool                                          `pulumi:"autoDevopsEnabled"`
	AutocloseReferencedIssues                bool                                          `pulumi:"autocloseReferencedIssues"`
	AvatarUrl                                string                                        `pulumi:"avatarUrl"`
	BuildCoverageRegex                       string                                        `pulumi:"buildCoverageRegex"`
	BuildGitStrategy                         string                                        `pulumi:"buildGitStrategy"`
	BuildTimeout                             int                                           `pulumi:"buildTimeout"`
	BuildsAccessLevel                        string                                        `pulumi:"buildsAccessLevel"`
	CiConfigPath                             string                                        `pulumi:"ciConfigPath"`
	CiDefaultGitDepth                        int                                           `pulumi:"ciDefaultGitDepth"`
	CiForwardDeploymentEnabled               bool                                          `pulumi:"ciForwardDeploymentEnabled"`
	ContainerExpirationPolicies              []GetProjectsProjectContainerExpirationPolicy `pulumi:"containerExpirationPolicies"`
	ContainerRegistryAccessLevel             string                                        `pulumi:"containerRegistryAccessLevel"`
	ContainerRegistryEnabled                 bool                                          `pulumi:"containerRegistryEnabled"`
	CreatedAt                                string                                        `pulumi:"createdAt"`
	CreatorId                                int                                           `pulumi:"creatorId"`
	CustomAttributes                         []map[string]string                           `pulumi:"customAttributes"`
	DefaultBranch                            string                                        `pulumi:"defaultBranch"`
	Description                              string                                        `pulumi:"description"`
	EmailsDisabled                           bool                                          `pulumi:"emailsDisabled"`
	ExternalAuthorizationClassificationLabel string                                        `pulumi:"externalAuthorizationClassificationLabel"`
	ForkedFromProject                        GetProjectsProjectForkedFromProject           `pulumi:"forkedFromProject"`
	ForkingAccessLevel                       string                                        `pulumi:"forkingAccessLevel"`
	ForksCount                               int                                           `pulumi:"forksCount"`
	HttpUrlToRepo                            string                                        `pulumi:"httpUrlToRepo"`
	// The ID of this resource.
	Id                                        int                                 `pulumi:"id"`
	ImportError                               string                              `pulumi:"importError"`
	ImportStatus                              string                              `pulumi:"importStatus"`
	IssuesAccessLevel                         string                              `pulumi:"issuesAccessLevel"`
	IssuesEnabled                             bool                                `pulumi:"issuesEnabled"`
	JobsEnabled                               bool                                `pulumi:"jobsEnabled"`
	LastActivityAt                            string                              `pulumi:"lastActivityAt"`
	LfsEnabled                                bool                                `pulumi:"lfsEnabled"`
	MergeCommitTemplate                       string                              `pulumi:"mergeCommitTemplate"`
	MergeMethod                               string                              `pulumi:"mergeMethod"`
	MergePipelinesEnabled                     bool                                `pulumi:"mergePipelinesEnabled"`
	MergeRequestsAccessLevel                  string                              `pulumi:"mergeRequestsAccessLevel"`
	MergeRequestsEnabled                      bool                                `pulumi:"mergeRequestsEnabled"`
	MergeTrainsEnabled                        bool                                `pulumi:"mergeTrainsEnabled"`
	Mirror                                    bool                                `pulumi:"mirror"`
	MirrorOverwritesDivergedBranches          bool                                `pulumi:"mirrorOverwritesDivergedBranches"`
	MirrorTriggerBuilds                       bool                                `pulumi:"mirrorTriggerBuilds"`
	MirrorUserId                              int                                 `pulumi:"mirrorUserId"`
	Name                                      string                              `pulumi:"name"`
	NameWithNamespace                         string                              `pulumi:"nameWithNamespace"`
	Namespace                                 GetProjectsProjectNamespace         `pulumi:"namespace"`
	OnlyAllowMergeIfAllDiscussionsAreResolved bool                                `pulumi:"onlyAllowMergeIfAllDiscussionsAreResolved"`
	OnlyAllowMergeIfPipelineSucceeds          bool                                `pulumi:"onlyAllowMergeIfPipelineSucceeds"`
	OnlyMirrorProtectedBranches               bool                                `pulumi:"onlyMirrorProtectedBranches"`
	OpenIssuesCount                           int                                 `pulumi:"openIssuesCount"`
	OperationsAccessLevel                     string                              `pulumi:"operationsAccessLevel"`
	Owner                                     GetProjectsProjectOwner             `pulumi:"owner"`
	PackagesEnabled                           bool                                `pulumi:"packagesEnabled"`
	Path                                      string                              `pulumi:"path"`
	PathWithNamespace                         string                              `pulumi:"pathWithNamespace"`
	Permissions                               GetProjectsProjectPermissions       `pulumi:"permissions"`
	Public                                    bool                                `pulumi:"public"`
	PublicBuilds                              bool                                `pulumi:"publicBuilds"`
	ReadmeUrl                                 string                              `pulumi:"readmeUrl"`
	RepositoryAccessLevel                     string                              `pulumi:"repositoryAccessLevel"`
	RepositoryStorage                         string                              `pulumi:"repositoryStorage"`
	RequestAccessEnabled                      bool                                `pulumi:"requestAccessEnabled"`
	RequirementsAccessLevel                   string                              `pulumi:"requirementsAccessLevel"`
	ResolveOutdatedDiffDiscussions            bool                                `pulumi:"resolveOutdatedDiffDiscussions"`
	RunnersToken                              string                              `pulumi:"runnersToken"`
	SecurityAndComplianceAccessLevel          string                              `pulumi:"securityAndComplianceAccessLevel"`
	SharedRunnersEnabled                      bool                                `pulumi:"sharedRunnersEnabled"`
	SharedWithGroups                          []GetProjectsProjectSharedWithGroup `pulumi:"sharedWithGroups"`
	SnippetsAccessLevel                       string                              `pulumi:"snippetsAccessLevel"`
	SnippetsEnabled                           bool                                `pulumi:"snippetsEnabled"`
	SquashCommitTemplate                      string                              `pulumi:"squashCommitTemplate"`
	SshUrlToRepo                              string                              `pulumi:"sshUrlToRepo"`
	StarCount                                 int                                 `pulumi:"starCount"`
	// Include project statistics. Cannot be used with `groupId`.
	Statistics              map[string]int `pulumi:"statistics"`
	SuggestionCommitMessage string         `pulumi:"suggestionCommitMessage"`
	TagLists                []string       `pulumi:"tagLists"`
	Topics                  []string       `pulumi:"topics"`
	// Limit by visibility `public`, `internal`, or `private`.
	Visibility      string `pulumi:"visibility"`
	WebUrl          string `pulumi:"webUrl"`
	WikiAccessLevel string `pulumi:"wikiAccessLevel"`
	WikiEnabled     bool   `pulumi:"wikiEnabled"`
	// contains filtered or unexported fields
}

type GetProjectsProjectArgs

type GetProjectsProjectArgs struct {
	AllowMergeOnSkippedPipeline pulumi.BoolInput   `pulumi:"allowMergeOnSkippedPipeline"`
	AnalyticsAccessLevel        pulumi.StringInput `pulumi:"analyticsAccessLevel"`
	ApprovalsBeforeMerge        pulumi.IntInput    `pulumi:"approvalsBeforeMerge"`
	// Limit by archived status.
	Archived                                 pulumi.BoolInput                                      `pulumi:"archived"`
	AutoCancelPendingPipelines               pulumi.StringInput                                    `pulumi:"autoCancelPendingPipelines"`
	AutoDevopsDeployStrategy                 pulumi.StringInput                                    `pulumi:"autoDevopsDeployStrategy"`
	AutoDevopsEnabled                        pulumi.BoolInput                                      `pulumi:"autoDevopsEnabled"`
	AutocloseReferencedIssues                pulumi.BoolInput                                      `pulumi:"autocloseReferencedIssues"`
	AvatarUrl                                pulumi.StringInput                                    `pulumi:"avatarUrl"`
	BuildCoverageRegex                       pulumi.StringInput                                    `pulumi:"buildCoverageRegex"`
	BuildGitStrategy                         pulumi.StringInput                                    `pulumi:"buildGitStrategy"`
	BuildTimeout                             pulumi.IntInput                                       `pulumi:"buildTimeout"`
	BuildsAccessLevel                        pulumi.StringInput                                    `pulumi:"buildsAccessLevel"`
	CiConfigPath                             pulumi.StringInput                                    `pulumi:"ciConfigPath"`
	CiDefaultGitDepth                        pulumi.IntInput                                       `pulumi:"ciDefaultGitDepth"`
	CiForwardDeploymentEnabled               pulumi.BoolInput                                      `pulumi:"ciForwardDeploymentEnabled"`
	ContainerExpirationPolicies              GetProjectsProjectContainerExpirationPolicyArrayInput `pulumi:"containerExpirationPolicies"`
	ContainerRegistryAccessLevel             pulumi.StringInput                                    `pulumi:"containerRegistryAccessLevel"`
	ContainerRegistryEnabled                 pulumi.BoolInput                                      `pulumi:"containerRegistryEnabled"`
	CreatedAt                                pulumi.StringInput                                    `pulumi:"createdAt"`
	CreatorId                                pulumi.IntInput                                       `pulumi:"creatorId"`
	CustomAttributes                         pulumi.StringMapArrayInput                            `pulumi:"customAttributes"`
	DefaultBranch                            pulumi.StringInput                                    `pulumi:"defaultBranch"`
	Description                              pulumi.StringInput                                    `pulumi:"description"`
	EmailsDisabled                           pulumi.BoolInput                                      `pulumi:"emailsDisabled"`
	ExternalAuthorizationClassificationLabel pulumi.StringInput                                    `pulumi:"externalAuthorizationClassificationLabel"`
	ForkedFromProject                        GetProjectsProjectForkedFromProjectInput              `pulumi:"forkedFromProject"`
	ForkingAccessLevel                       pulumi.StringInput                                    `pulumi:"forkingAccessLevel"`
	ForksCount                               pulumi.IntInput                                       `pulumi:"forksCount"`
	HttpUrlToRepo                            pulumi.StringInput                                    `pulumi:"httpUrlToRepo"`
	// The ID of this resource.
	Id                                        pulumi.IntInput                             `pulumi:"id"`
	ImportError                               pulumi.StringInput                          `pulumi:"importError"`
	ImportStatus                              pulumi.StringInput                          `pulumi:"importStatus"`
	IssuesAccessLevel                         pulumi.StringInput                          `pulumi:"issuesAccessLevel"`
	IssuesEnabled                             pulumi.BoolInput                            `pulumi:"issuesEnabled"`
	JobsEnabled                               pulumi.BoolInput                            `pulumi:"jobsEnabled"`
	LastActivityAt                            pulumi.StringInput                          `pulumi:"lastActivityAt"`
	LfsEnabled                                pulumi.BoolInput                            `pulumi:"lfsEnabled"`
	MergeCommitTemplate                       pulumi.StringInput                          `pulumi:"mergeCommitTemplate"`
	MergeMethod                               pulumi.StringInput                          `pulumi:"mergeMethod"`
	MergePipelinesEnabled                     pulumi.BoolInput                            `pulumi:"mergePipelinesEnabled"`
	MergeRequestsAccessLevel                  pulumi.StringInput                          `pulumi:"mergeRequestsAccessLevel"`
	MergeRequestsEnabled                      pulumi.BoolInput                            `pulumi:"mergeRequestsEnabled"`
	MergeTrainsEnabled                        pulumi.BoolInput                            `pulumi:"mergeTrainsEnabled"`
	Mirror                                    pulumi.BoolInput                            `pulumi:"mirror"`
	MirrorOverwritesDivergedBranches          pulumi.BoolInput                            `pulumi:"mirrorOverwritesDivergedBranches"`
	MirrorTriggerBuilds                       pulumi.BoolInput                            `pulumi:"mirrorTriggerBuilds"`
	MirrorUserId                              pulumi.IntInput                             `pulumi:"mirrorUserId"`
	Name                                      pulumi.StringInput                          `pulumi:"name"`
	NameWithNamespace                         pulumi.StringInput                          `pulumi:"nameWithNamespace"`
	Namespace                                 GetProjectsProjectNamespaceInput            `pulumi:"namespace"`
	OnlyAllowMergeIfAllDiscussionsAreResolved pulumi.BoolInput                            `pulumi:"onlyAllowMergeIfAllDiscussionsAreResolved"`
	OnlyAllowMergeIfPipelineSucceeds          pulumi.BoolInput                            `pulumi:"onlyAllowMergeIfPipelineSucceeds"`
	OnlyMirrorProtectedBranches               pulumi.BoolInput                            `pulumi:"onlyMirrorProtectedBranches"`
	OpenIssuesCount                           pulumi.IntInput                             `pulumi:"openIssuesCount"`
	OperationsAccessLevel                     pulumi.StringInput                          `pulumi:"operationsAccessLevel"`
	Owner                                     GetProjectsProjectOwnerInput                `pulumi:"owner"`
	PackagesEnabled                           pulumi.BoolInput                            `pulumi:"packagesEnabled"`
	Path                                      pulumi.StringInput                          `pulumi:"path"`
	PathWithNamespace                         pulumi.StringInput                          `pulumi:"pathWithNamespace"`
	Permissions                               GetProjectsProjectPermissionsInput          `pulumi:"permissions"`
	Public                                    pulumi.BoolInput                            `pulumi:"public"`
	PublicBuilds                              pulumi.BoolInput                            `pulumi:"publicBuilds"`
	ReadmeUrl                                 pulumi.StringInput                          `pulumi:"readmeUrl"`
	RepositoryAccessLevel                     pulumi.StringInput                          `pulumi:"repositoryAccessLevel"`
	RepositoryStorage                         pulumi.StringInput                          `pulumi:"repositoryStorage"`
	RequestAccessEnabled                      pulumi.BoolInput                            `pulumi:"requestAccessEnabled"`
	RequirementsAccessLevel                   pulumi.StringInput                          `pulumi:"requirementsAccessLevel"`
	ResolveOutdatedDiffDiscussions            pulumi.BoolInput                            `pulumi:"resolveOutdatedDiffDiscussions"`
	RunnersToken                              pulumi.StringInput                          `pulumi:"runnersToken"`
	SecurityAndComplianceAccessLevel          pulumi.StringInput                          `pulumi:"securityAndComplianceAccessLevel"`
	SharedRunnersEnabled                      pulumi.BoolInput                            `pulumi:"sharedRunnersEnabled"`
	SharedWithGroups                          GetProjectsProjectSharedWithGroupArrayInput `pulumi:"sharedWithGroups"`
	SnippetsAccessLevel                       pulumi.StringInput                          `pulumi:"snippetsAccessLevel"`
	SnippetsEnabled                           pulumi.BoolInput                            `pulumi:"snippetsEnabled"`
	SquashCommitTemplate                      pulumi.StringInput                          `pulumi:"squashCommitTemplate"`
	SshUrlToRepo                              pulumi.StringInput                          `pulumi:"sshUrlToRepo"`
	StarCount                                 pulumi.IntInput                             `pulumi:"starCount"`
	// Include project statistics. Cannot be used with `groupId`.
	Statistics              pulumi.IntMapInput      `pulumi:"statistics"`
	SuggestionCommitMessage pulumi.StringInput      `pulumi:"suggestionCommitMessage"`
	TagLists                pulumi.StringArrayInput `pulumi:"tagLists"`
	Topics                  pulumi.StringArrayInput `pulumi:"topics"`
	// Limit by visibility `public`, `internal`, or `private`.
	Visibility      pulumi.StringInput `pulumi:"visibility"`
	WebUrl          pulumi.StringInput `pulumi:"webUrl"`
	WikiAccessLevel pulumi.StringInput `pulumi:"wikiAccessLevel"`
	WikiEnabled     pulumi.BoolInput   `pulumi:"wikiEnabled"`
	// contains filtered or unexported fields
}

func (GetProjectsProjectArgs) ElementType

func (GetProjectsProjectArgs) ElementType() reflect.Type

func (GetProjectsProjectArgs) ToGetProjectsProjectOutput

func (i GetProjectsProjectArgs) ToGetProjectsProjectOutput() GetProjectsProjectOutput

func (GetProjectsProjectArgs) ToGetProjectsProjectOutputWithContext

func (i GetProjectsProjectArgs) ToGetProjectsProjectOutputWithContext(ctx context.Context) GetProjectsProjectOutput

type GetProjectsProjectArray

type GetProjectsProjectArray []GetProjectsProjectInput

func (GetProjectsProjectArray) ElementType

func (GetProjectsProjectArray) ElementType() reflect.Type

func (GetProjectsProjectArray) ToGetProjectsProjectArrayOutput

func (i GetProjectsProjectArray) ToGetProjectsProjectArrayOutput() GetProjectsProjectArrayOutput

func (GetProjectsProjectArray) ToGetProjectsProjectArrayOutputWithContext

func (i GetProjectsProjectArray) ToGetProjectsProjectArrayOutputWithContext(ctx context.Context) GetProjectsProjectArrayOutput

type GetProjectsProjectArrayInput

type GetProjectsProjectArrayInput interface {
	pulumi.Input

	ToGetProjectsProjectArrayOutput() GetProjectsProjectArrayOutput
	ToGetProjectsProjectArrayOutputWithContext(context.Context) GetProjectsProjectArrayOutput
}

GetProjectsProjectArrayInput is an input type that accepts GetProjectsProjectArray and GetProjectsProjectArrayOutput values. You can construct a concrete instance of `GetProjectsProjectArrayInput` via:

GetProjectsProjectArray{ GetProjectsProjectArgs{...} }

type GetProjectsProjectArrayOutput

type GetProjectsProjectArrayOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectArrayOutput) ElementType

func (GetProjectsProjectArrayOutput) Index

func (GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutput

func (o GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutput() GetProjectsProjectArrayOutput

func (GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutputWithContext

func (o GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutputWithContext(ctx context.Context) GetProjectsProjectArrayOutput

type GetProjectsProjectContainerExpirationPolicy added in v4.7.0

type GetProjectsProjectContainerExpirationPolicy struct {
	Cadence         string `pulumi:"cadence"`
	Enabled         bool   `pulumi:"enabled"`
	KeepN           int    `pulumi:"keepN"`
	NameRegexDelete string `pulumi:"nameRegexDelete"`
	NameRegexKeep   string `pulumi:"nameRegexKeep"`
	NextRunAt       string `pulumi:"nextRunAt"`
	OlderThan       string `pulumi:"olderThan"`
}

type GetProjectsProjectContainerExpirationPolicyArgs added in v4.7.0

type GetProjectsProjectContainerExpirationPolicyArgs struct {
	Cadence         pulumi.StringInput `pulumi:"cadence"`
	Enabled         pulumi.BoolInput   `pulumi:"enabled"`
	KeepN           pulumi.IntInput    `pulumi:"keepN"`
	NameRegexDelete pulumi.StringInput `pulumi:"nameRegexDelete"`
	NameRegexKeep   pulumi.StringInput `pulumi:"nameRegexKeep"`
	NextRunAt       pulumi.StringInput `pulumi:"nextRunAt"`
	OlderThan       pulumi.StringInput `pulumi:"olderThan"`
}

func (GetProjectsProjectContainerExpirationPolicyArgs) ElementType added in v4.7.0

func (GetProjectsProjectContainerExpirationPolicyArgs) ToGetProjectsProjectContainerExpirationPolicyOutput added in v4.7.0

func (i GetProjectsProjectContainerExpirationPolicyArgs) ToGetProjectsProjectContainerExpirationPolicyOutput() GetProjectsProjectContainerExpirationPolicyOutput

func (GetProjectsProjectContainerExpirationPolicyArgs) ToGetProjectsProjectContainerExpirationPolicyOutputWithContext added in v4.7.0

func (i GetProjectsProjectContainerExpirationPolicyArgs) ToGetProjectsProjectContainerExpirationPolicyOutputWithContext(ctx context.Context) GetProjectsProjectContainerExpirationPolicyOutput

type GetProjectsProjectContainerExpirationPolicyArray added in v4.7.0

type GetProjectsProjectContainerExpirationPolicyArray []GetProjectsProjectContainerExpirationPolicyInput

func (GetProjectsProjectContainerExpirationPolicyArray) ElementType added in v4.7.0

func (GetProjectsProjectContainerExpirationPolicyArray) ToGetProjectsProjectContainerExpirationPolicyArrayOutput added in v4.7.0

func (i GetProjectsProjectContainerExpirationPolicyArray) ToGetProjectsProjectContainerExpirationPolicyArrayOutput() GetProjectsProjectContainerExpirationPolicyArrayOutput

func (GetProjectsProjectContainerExpirationPolicyArray) ToGetProjectsProjectContainerExpirationPolicyArrayOutputWithContext added in v4.7.0

func (i GetProjectsProjectContainerExpirationPolicyArray) ToGetProjectsProjectContainerExpirationPolicyArrayOutputWithContext(ctx context.Context) GetProjectsProjectContainerExpirationPolicyArrayOutput

type GetProjectsProjectContainerExpirationPolicyArrayInput added in v4.7.0

type GetProjectsProjectContainerExpirationPolicyArrayInput interface {
	pulumi.Input

	ToGetProjectsProjectContainerExpirationPolicyArrayOutput() GetProjectsProjectContainerExpirationPolicyArrayOutput
	ToGetProjectsProjectContainerExpirationPolicyArrayOutputWithContext(context.Context) GetProjectsProjectContainerExpirationPolicyArrayOutput
}

GetProjectsProjectContainerExpirationPolicyArrayInput is an input type that accepts GetProjectsProjectContainerExpirationPolicyArray and GetProjectsProjectContainerExpirationPolicyArrayOutput values. You can construct a concrete instance of `GetProjectsProjectContainerExpirationPolicyArrayInput` via:

GetProjectsProjectContainerExpirationPolicyArray{ GetProjectsProjectContainerExpirationPolicyArgs{...} }

type GetProjectsProjectContainerExpirationPolicyArrayOutput added in v4.7.0

type GetProjectsProjectContainerExpirationPolicyArrayOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectContainerExpirationPolicyArrayOutput) ElementType added in v4.7.0

func (GetProjectsProjectContainerExpirationPolicyArrayOutput) Index added in v4.7.0

func (GetProjectsProjectContainerExpirationPolicyArrayOutput) ToGetProjectsProjectContainerExpirationPolicyArrayOutput added in v4.7.0

func (GetProjectsProjectContainerExpirationPolicyArrayOutput) ToGetProjectsProjectContainerExpirationPolicyArrayOutputWithContext added in v4.7.0

func (o GetProjectsProjectContainerExpirationPolicyArrayOutput) ToGetProjectsProjectContainerExpirationPolicyArrayOutputWithContext(ctx context.Context) GetProjectsProjectContainerExpirationPolicyArrayOutput

type GetProjectsProjectContainerExpirationPolicyInput added in v4.7.0

type GetProjectsProjectContainerExpirationPolicyInput interface {
	pulumi.Input

	ToGetProjectsProjectContainerExpirationPolicyOutput() GetProjectsProjectContainerExpirationPolicyOutput
	ToGetProjectsProjectContainerExpirationPolicyOutputWithContext(context.Context) GetProjectsProjectContainerExpirationPolicyOutput
}

GetProjectsProjectContainerExpirationPolicyInput is an input type that accepts GetProjectsProjectContainerExpirationPolicyArgs and GetProjectsProjectContainerExpirationPolicyOutput values. You can construct a concrete instance of `GetProjectsProjectContainerExpirationPolicyInput` via:

GetProjectsProjectContainerExpirationPolicyArgs{...}

type GetProjectsProjectContainerExpirationPolicyOutput added in v4.7.0

type GetProjectsProjectContainerExpirationPolicyOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectContainerExpirationPolicyOutput) Cadence added in v4.7.0

func (GetProjectsProjectContainerExpirationPolicyOutput) ElementType added in v4.7.0

func (GetProjectsProjectContainerExpirationPolicyOutput) Enabled added in v4.7.0

func (GetProjectsProjectContainerExpirationPolicyOutput) KeepN added in v4.7.0

func (GetProjectsProjectContainerExpirationPolicyOutput) NameRegexDelete added in v4.7.0

func (GetProjectsProjectContainerExpirationPolicyOutput) NameRegexKeep added in v4.7.0

func (GetProjectsProjectContainerExpirationPolicyOutput) NextRunAt added in v4.7.0

func (GetProjectsProjectContainerExpirationPolicyOutput) OlderThan added in v4.7.0

func (GetProjectsProjectContainerExpirationPolicyOutput) ToGetProjectsProjectContainerExpirationPolicyOutput added in v4.7.0

func (o GetProjectsProjectContainerExpirationPolicyOutput) ToGetProjectsProjectContainerExpirationPolicyOutput() GetProjectsProjectContainerExpirationPolicyOutput

func (GetProjectsProjectContainerExpirationPolicyOutput) ToGetProjectsProjectContainerExpirationPolicyOutputWithContext added in v4.7.0

func (o GetProjectsProjectContainerExpirationPolicyOutput) ToGetProjectsProjectContainerExpirationPolicyOutputWithContext(ctx context.Context) GetProjectsProjectContainerExpirationPolicyOutput

type GetProjectsProjectForkedFromProject

type GetProjectsProjectForkedFromProject struct {
	HttpUrlToRepo string `pulumi:"httpUrlToRepo"`
	// The ID of this resource.
	Id                int    `pulumi:"id"`
	Name              string `pulumi:"name"`
	NameWithNamespace string `pulumi:"nameWithNamespace"`
	Path              string `pulumi:"path"`
	PathWithNamespace string `pulumi:"pathWithNamespace"`
	WebUrl            string `pulumi:"webUrl"`
}

type GetProjectsProjectForkedFromProjectArgs

type GetProjectsProjectForkedFromProjectArgs struct {
	HttpUrlToRepo pulumi.StringInput `pulumi:"httpUrlToRepo"`
	// The ID of this resource.
	Id                pulumi.IntInput    `pulumi:"id"`
	Name              pulumi.StringInput `pulumi:"name"`
	NameWithNamespace pulumi.StringInput `pulumi:"nameWithNamespace"`
	Path              pulumi.StringInput `pulumi:"path"`
	PathWithNamespace pulumi.StringInput `pulumi:"pathWithNamespace"`
	WebUrl            pulumi.StringInput `pulumi:"webUrl"`
}

func (GetProjectsProjectForkedFromProjectArgs) ElementType

func (GetProjectsProjectForkedFromProjectArgs) ToGetProjectsProjectForkedFromProjectOutput

func (i GetProjectsProjectForkedFromProjectArgs) ToGetProjectsProjectForkedFromProjectOutput() GetProjectsProjectForkedFromProjectOutput

func (GetProjectsProjectForkedFromProjectArgs) ToGetProjectsProjectForkedFromProjectOutputWithContext

func (i GetProjectsProjectForkedFromProjectArgs) ToGetProjectsProjectForkedFromProjectOutputWithContext(ctx context.Context) GetProjectsProjectForkedFromProjectOutput

type GetProjectsProjectForkedFromProjectInput

type GetProjectsProjectForkedFromProjectInput interface {
	pulumi.Input

	ToGetProjectsProjectForkedFromProjectOutput() GetProjectsProjectForkedFromProjectOutput
	ToGetProjectsProjectForkedFromProjectOutputWithContext(context.Context) GetProjectsProjectForkedFromProjectOutput
}

GetProjectsProjectForkedFromProjectInput is an input type that accepts GetProjectsProjectForkedFromProjectArgs and GetProjectsProjectForkedFromProjectOutput values. You can construct a concrete instance of `GetProjectsProjectForkedFromProjectInput` via:

GetProjectsProjectForkedFromProjectArgs{...}

type GetProjectsProjectForkedFromProjectOutput

type GetProjectsProjectForkedFromProjectOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectForkedFromProjectOutput) ElementType

func (GetProjectsProjectForkedFromProjectOutput) HttpUrlToRepo

func (GetProjectsProjectForkedFromProjectOutput) Id

The ID of this resource.

func (GetProjectsProjectForkedFromProjectOutput) Name

func (GetProjectsProjectForkedFromProjectOutput) NameWithNamespace

func (GetProjectsProjectForkedFromProjectOutput) Path

func (GetProjectsProjectForkedFromProjectOutput) PathWithNamespace

func (GetProjectsProjectForkedFromProjectOutput) ToGetProjectsProjectForkedFromProjectOutput

func (o GetProjectsProjectForkedFromProjectOutput) ToGetProjectsProjectForkedFromProjectOutput() GetProjectsProjectForkedFromProjectOutput

func (GetProjectsProjectForkedFromProjectOutput) ToGetProjectsProjectForkedFromProjectOutputWithContext

func (o GetProjectsProjectForkedFromProjectOutput) ToGetProjectsProjectForkedFromProjectOutputWithContext(ctx context.Context) GetProjectsProjectForkedFromProjectOutput

func (GetProjectsProjectForkedFromProjectOutput) WebUrl

type GetProjectsProjectInput

type GetProjectsProjectInput interface {
	pulumi.Input

	ToGetProjectsProjectOutput() GetProjectsProjectOutput
	ToGetProjectsProjectOutputWithContext(context.Context) GetProjectsProjectOutput
}

GetProjectsProjectInput is an input type that accepts GetProjectsProjectArgs and GetProjectsProjectOutput values. You can construct a concrete instance of `GetProjectsProjectInput` via:

GetProjectsProjectArgs{...}

type GetProjectsProjectNamespace

type GetProjectsProjectNamespace struct {
	FullPath string `pulumi:"fullPath"`
	// The ID of this resource.
	Id   int    `pulumi:"id"`
	Kind string `pulumi:"kind"`
	Name string `pulumi:"name"`
	Path string `pulumi:"path"`
}

type GetProjectsProjectNamespaceArgs

type GetProjectsProjectNamespaceArgs struct {
	FullPath pulumi.StringInput `pulumi:"fullPath"`
	// The ID of this resource.
	Id   pulumi.IntInput    `pulumi:"id"`
	Kind pulumi.StringInput `pulumi:"kind"`
	Name pulumi.StringInput `pulumi:"name"`
	Path pulumi.StringInput `pulumi:"path"`
}

func (GetProjectsProjectNamespaceArgs) ElementType

func (GetProjectsProjectNamespaceArgs) ToGetProjectsProjectNamespaceOutput

func (i GetProjectsProjectNamespaceArgs) ToGetProjectsProjectNamespaceOutput() GetProjectsProjectNamespaceOutput

func (GetProjectsProjectNamespaceArgs) ToGetProjectsProjectNamespaceOutputWithContext

func (i GetProjectsProjectNamespaceArgs) ToGetProjectsProjectNamespaceOutputWithContext(ctx context.Context) GetProjectsProjectNamespaceOutput

type GetProjectsProjectNamespaceInput

type GetProjectsProjectNamespaceInput interface {
	pulumi.Input

	ToGetProjectsProjectNamespaceOutput() GetProjectsProjectNamespaceOutput
	ToGetProjectsProjectNamespaceOutputWithContext(context.Context) GetProjectsProjectNamespaceOutput
}

GetProjectsProjectNamespaceInput is an input type that accepts GetProjectsProjectNamespaceArgs and GetProjectsProjectNamespaceOutput values. You can construct a concrete instance of `GetProjectsProjectNamespaceInput` via:

GetProjectsProjectNamespaceArgs{...}

type GetProjectsProjectNamespaceOutput

type GetProjectsProjectNamespaceOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectNamespaceOutput) ElementType

func (GetProjectsProjectNamespaceOutput) FullPath

func (GetProjectsProjectNamespaceOutput) Id

The ID of this resource.

func (GetProjectsProjectNamespaceOutput) Kind

func (GetProjectsProjectNamespaceOutput) Name

func (GetProjectsProjectNamespaceOutput) Path

func (GetProjectsProjectNamespaceOutput) ToGetProjectsProjectNamespaceOutput

func (o GetProjectsProjectNamespaceOutput) ToGetProjectsProjectNamespaceOutput() GetProjectsProjectNamespaceOutput

func (GetProjectsProjectNamespaceOutput) ToGetProjectsProjectNamespaceOutputWithContext

func (o GetProjectsProjectNamespaceOutput) ToGetProjectsProjectNamespaceOutputWithContext(ctx context.Context) GetProjectsProjectNamespaceOutput

type GetProjectsProjectOutput

type GetProjectsProjectOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectOutput) AllowMergeOnSkippedPipeline added in v4.4.0

func (o GetProjectsProjectOutput) AllowMergeOnSkippedPipeline() pulumi.BoolOutput

func (GetProjectsProjectOutput) AnalyticsAccessLevel added in v4.7.0

func (o GetProjectsProjectOutput) AnalyticsAccessLevel() pulumi.StringOutput

func (GetProjectsProjectOutput) ApprovalsBeforeMerge

func (o GetProjectsProjectOutput) ApprovalsBeforeMerge() pulumi.IntOutput

func (GetProjectsProjectOutput) Archived

Limit by archived status.

func (GetProjectsProjectOutput) AutoCancelPendingPipelines added in v4.7.0

func (o GetProjectsProjectOutput) AutoCancelPendingPipelines() pulumi.StringOutput

func (GetProjectsProjectOutput) AutoDevopsDeployStrategy added in v4.7.0

func (o GetProjectsProjectOutput) AutoDevopsDeployStrategy() pulumi.StringOutput

func (GetProjectsProjectOutput) AutoDevopsEnabled added in v4.7.0

func (o GetProjectsProjectOutput) AutoDevopsEnabled() pulumi.BoolOutput

func (GetProjectsProjectOutput) AutocloseReferencedIssues added in v4.7.0

func (o GetProjectsProjectOutput) AutocloseReferencedIssues() pulumi.BoolOutput

func (GetProjectsProjectOutput) AvatarUrl

func (GetProjectsProjectOutput) BuildCoverageRegex added in v4.2.0

func (o GetProjectsProjectOutput) BuildCoverageRegex() pulumi.StringOutput

func (GetProjectsProjectOutput) BuildGitStrategy added in v4.7.0

func (o GetProjectsProjectOutput) BuildGitStrategy() pulumi.StringOutput

func (GetProjectsProjectOutput) BuildTimeout added in v4.7.0

func (o GetProjectsProjectOutput) BuildTimeout() pulumi.IntOutput

func (GetProjectsProjectOutput) BuildsAccessLevel added in v4.7.0

func (o GetProjectsProjectOutput) BuildsAccessLevel() pulumi.StringOutput

func (GetProjectsProjectOutput) CiConfigPath

func (o GetProjectsProjectOutput) CiConfigPath() pulumi.StringOutput

func (GetProjectsProjectOutput) CiDefaultGitDepth added in v4.8.0

func (o GetProjectsProjectOutput) CiDefaultGitDepth() pulumi.IntOutput

func (GetProjectsProjectOutput) CiForwardDeploymentEnabled added in v4.6.0

func (o GetProjectsProjectOutput) CiForwardDeploymentEnabled() pulumi.BoolOutput

func (GetProjectsProjectOutput) ContainerExpirationPolicies added in v4.7.0

func (GetProjectsProjectOutput) ContainerRegistryAccessLevel added in v4.7.0

func (o GetProjectsProjectOutput) ContainerRegistryAccessLevel() pulumi.StringOutput

func (GetProjectsProjectOutput) ContainerRegistryEnabled

func (o GetProjectsProjectOutput) ContainerRegistryEnabled() pulumi.BoolOutput

func (GetProjectsProjectOutput) CreatedAt

func (GetProjectsProjectOutput) CreatorId

func (GetProjectsProjectOutput) CustomAttributes

func (GetProjectsProjectOutput) DefaultBranch

func (o GetProjectsProjectOutput) DefaultBranch() pulumi.StringOutput

func (GetProjectsProjectOutput) Description

func (GetProjectsProjectOutput) ElementType

func (GetProjectsProjectOutput) ElementType() reflect.Type

func (GetProjectsProjectOutput) EmailsDisabled added in v4.7.0

func (o GetProjectsProjectOutput) EmailsDisabled() pulumi.BoolOutput

func (GetProjectsProjectOutput) ExternalAuthorizationClassificationLabel added in v4.7.0

func (o GetProjectsProjectOutput) ExternalAuthorizationClassificationLabel() pulumi.StringOutput

func (GetProjectsProjectOutput) ForkedFromProject

func (GetProjectsProjectOutput) ForkingAccessLevel added in v4.7.0

func (o GetProjectsProjectOutput) ForkingAccessLevel() pulumi.StringOutput

func (GetProjectsProjectOutput) ForksCount

func (o GetProjectsProjectOutput) ForksCount() pulumi.IntOutput

func (GetProjectsProjectOutput) HttpUrlToRepo

func (o GetProjectsProjectOutput) HttpUrlToRepo() pulumi.StringOutput

func (GetProjectsProjectOutput) Id

The ID of this resource.

func (GetProjectsProjectOutput) ImportError

func (GetProjectsProjectOutput) ImportStatus

func (o GetProjectsProjectOutput) ImportStatus() pulumi.StringOutput

func (GetProjectsProjectOutput) IssuesAccessLevel added in v4.7.0

func (o GetProjectsProjectOutput) IssuesAccessLevel() pulumi.StringOutput

func (GetProjectsProjectOutput) IssuesEnabled

func (o GetProjectsProjectOutput) IssuesEnabled() pulumi.BoolOutput

func (GetProjectsProjectOutput) JobsEnabled

func (o GetProjectsProjectOutput) JobsEnabled() pulumi.BoolOutput

func (GetProjectsProjectOutput) LastActivityAt

func (o GetProjectsProjectOutput) LastActivityAt() pulumi.StringOutput

func (GetProjectsProjectOutput) LfsEnabled

func (GetProjectsProjectOutput) MergeCommitTemplate added in v4.7.0

func (o GetProjectsProjectOutput) MergeCommitTemplate() pulumi.StringOutput

func (GetProjectsProjectOutput) MergeMethod

func (GetProjectsProjectOutput) MergePipelinesEnabled added in v4.6.0

func (o GetProjectsProjectOutput) MergePipelinesEnabled() pulumi.BoolOutput

func (GetProjectsProjectOutput) MergeRequestsAccessLevel added in v4.7.0

func (o GetProjectsProjectOutput) MergeRequestsAccessLevel() pulumi.StringOutput

func (GetProjectsProjectOutput) MergeRequestsEnabled

func (o GetProjectsProjectOutput) MergeRequestsEnabled() pulumi.BoolOutput

func (GetProjectsProjectOutput) MergeTrainsEnabled added in v4.6.0

func (o GetProjectsProjectOutput) MergeTrainsEnabled() pulumi.BoolOutput

func (GetProjectsProjectOutput) Mirror

func (GetProjectsProjectOutput) MirrorOverwritesDivergedBranches

func (o GetProjectsProjectOutput) MirrorOverwritesDivergedBranches() pulumi.BoolOutput

func (GetProjectsProjectOutput) MirrorTriggerBuilds

func (o GetProjectsProjectOutput) MirrorTriggerBuilds() pulumi.BoolOutput

func (GetProjectsProjectOutput) MirrorUserId

func (o GetProjectsProjectOutput) MirrorUserId() pulumi.IntOutput

func (GetProjectsProjectOutput) Name

func (GetProjectsProjectOutput) NameWithNamespace

func (o GetProjectsProjectOutput) NameWithNamespace() pulumi.StringOutput

func (GetProjectsProjectOutput) Namespace

func (GetProjectsProjectOutput) OnlyAllowMergeIfAllDiscussionsAreResolved

func (o GetProjectsProjectOutput) OnlyAllowMergeIfAllDiscussionsAreResolved() pulumi.BoolOutput

func (GetProjectsProjectOutput) OnlyAllowMergeIfPipelineSucceeds

func (o GetProjectsProjectOutput) OnlyAllowMergeIfPipelineSucceeds() pulumi.BoolOutput

func (GetProjectsProjectOutput) OnlyMirrorProtectedBranches

func (o GetProjectsProjectOutput) OnlyMirrorProtectedBranches() pulumi.BoolOutput

func (GetProjectsProjectOutput) OpenIssuesCount

func (o GetProjectsProjectOutput) OpenIssuesCount() pulumi.IntOutput

func (GetProjectsProjectOutput) OperationsAccessLevel added in v4.7.0

func (o GetProjectsProjectOutput) OperationsAccessLevel() pulumi.StringOutput

func (GetProjectsProjectOutput) Owner

func (GetProjectsProjectOutput) PackagesEnabled

func (o GetProjectsProjectOutput) PackagesEnabled() pulumi.BoolOutput

func (GetProjectsProjectOutput) Path

func (GetProjectsProjectOutput) PathWithNamespace

func (o GetProjectsProjectOutput) PathWithNamespace() pulumi.StringOutput

func (GetProjectsProjectOutput) Permissions

func (GetProjectsProjectOutput) Public

func (GetProjectsProjectOutput) PublicBuilds

func (o GetProjectsProjectOutput) PublicBuilds() pulumi.BoolOutput

func (GetProjectsProjectOutput) ReadmeUrl

func (GetProjectsProjectOutput) RepositoryAccessLevel added in v4.7.0

func (o GetProjectsProjectOutput) RepositoryAccessLevel() pulumi.StringOutput

func (GetProjectsProjectOutput) RepositoryStorage added in v4.7.0

func (o GetProjectsProjectOutput) RepositoryStorage() pulumi.StringOutput

func (GetProjectsProjectOutput) RequestAccessEnabled

func (o GetProjectsProjectOutput) RequestAccessEnabled() pulumi.BoolOutput

func (GetProjectsProjectOutput) RequirementsAccessLevel added in v4.7.0

func (o GetProjectsProjectOutput) RequirementsAccessLevel() pulumi.StringOutput

func (GetProjectsProjectOutput) ResolveOutdatedDiffDiscussions

func (o GetProjectsProjectOutput) ResolveOutdatedDiffDiscussions() pulumi.BoolOutput

func (GetProjectsProjectOutput) RunnersToken

func (o GetProjectsProjectOutput) RunnersToken() pulumi.StringOutput

func (GetProjectsProjectOutput) SecurityAndComplianceAccessLevel added in v4.7.0

func (o GetProjectsProjectOutput) SecurityAndComplianceAccessLevel() pulumi.StringOutput

func (GetProjectsProjectOutput) SharedRunnersEnabled

func (o GetProjectsProjectOutput) SharedRunnersEnabled() pulumi.BoolOutput

func (GetProjectsProjectOutput) SharedWithGroups

func (GetProjectsProjectOutput) SnippetsAccessLevel added in v4.7.0

func (o GetProjectsProjectOutput) SnippetsAccessLevel() pulumi.StringOutput

func (GetProjectsProjectOutput) SnippetsEnabled

func (o GetProjectsProjectOutput) SnippetsEnabled() pulumi.BoolOutput

func (GetProjectsProjectOutput) SquashCommitTemplate added in v4.7.0

func (o GetProjectsProjectOutput) SquashCommitTemplate() pulumi.StringOutput

func (GetProjectsProjectOutput) SshUrlToRepo

func (o GetProjectsProjectOutput) SshUrlToRepo() pulumi.StringOutput

func (GetProjectsProjectOutput) StarCount

func (GetProjectsProjectOutput) Statistics

Include project statistics. Cannot be used with `groupId`.

func (GetProjectsProjectOutput) SuggestionCommitMessage added in v4.10.0

func (o GetProjectsProjectOutput) SuggestionCommitMessage() pulumi.StringOutput

func (GetProjectsProjectOutput) TagLists

func (GetProjectsProjectOutput) ToGetProjectsProjectOutput

func (o GetProjectsProjectOutput) ToGetProjectsProjectOutput() GetProjectsProjectOutput

func (GetProjectsProjectOutput) ToGetProjectsProjectOutputWithContext

func (o GetProjectsProjectOutput) ToGetProjectsProjectOutputWithContext(ctx context.Context) GetProjectsProjectOutput

func (GetProjectsProjectOutput) Topics added in v4.7.0

func (GetProjectsProjectOutput) Visibility

Limit by visibility `public`, `internal`, or `private`.

func (GetProjectsProjectOutput) WebUrl

func (GetProjectsProjectOutput) WikiAccessLevel added in v4.7.0

func (o GetProjectsProjectOutput) WikiAccessLevel() pulumi.StringOutput

func (GetProjectsProjectOutput) WikiEnabled

func (o GetProjectsProjectOutput) WikiEnabled() pulumi.BoolOutput

type GetProjectsProjectOwner

type GetProjectsProjectOwner struct {
	AvatarUrl string `pulumi:"avatarUrl"`
	// The ID of this resource.
	Id         int    `pulumi:"id"`
	Name       string `pulumi:"name"`
	State      string `pulumi:"state"`
	Username   string `pulumi:"username"`
	WebsiteUrl string `pulumi:"websiteUrl"`
}

type GetProjectsProjectOwnerArgs

type GetProjectsProjectOwnerArgs struct {
	AvatarUrl pulumi.StringInput `pulumi:"avatarUrl"`
	// The ID of this resource.
	Id         pulumi.IntInput    `pulumi:"id"`
	Name       pulumi.StringInput `pulumi:"name"`
	State      pulumi.StringInput `pulumi:"state"`
	Username   pulumi.StringInput `pulumi:"username"`
	WebsiteUrl pulumi.StringInput `pulumi:"websiteUrl"`
}

func (GetProjectsProjectOwnerArgs) ElementType

func (GetProjectsProjectOwnerArgs) ToGetProjectsProjectOwnerOutput

func (i GetProjectsProjectOwnerArgs) ToGetProjectsProjectOwnerOutput() GetProjectsProjectOwnerOutput

func (GetProjectsProjectOwnerArgs) ToGetProjectsProjectOwnerOutputWithContext

func (i GetProjectsProjectOwnerArgs) ToGetProjectsProjectOwnerOutputWithContext(ctx context.Context) GetProjectsProjectOwnerOutput

type GetProjectsProjectOwnerInput

type GetProjectsProjectOwnerInput interface {
	pulumi.Input

	ToGetProjectsProjectOwnerOutput() GetProjectsProjectOwnerOutput
	ToGetProjectsProjectOwnerOutputWithContext(context.Context) GetProjectsProjectOwnerOutput
}

GetProjectsProjectOwnerInput is an input type that accepts GetProjectsProjectOwnerArgs and GetProjectsProjectOwnerOutput values. You can construct a concrete instance of `GetProjectsProjectOwnerInput` via:

GetProjectsProjectOwnerArgs{...}

type GetProjectsProjectOwnerOutput

type GetProjectsProjectOwnerOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectOwnerOutput) AvatarUrl

func (GetProjectsProjectOwnerOutput) ElementType

func (GetProjectsProjectOwnerOutput) Id

The ID of this resource.

func (GetProjectsProjectOwnerOutput) Name

func (GetProjectsProjectOwnerOutput) State

func (GetProjectsProjectOwnerOutput) ToGetProjectsProjectOwnerOutput

func (o GetProjectsProjectOwnerOutput) ToGetProjectsProjectOwnerOutput() GetProjectsProjectOwnerOutput

func (GetProjectsProjectOwnerOutput) ToGetProjectsProjectOwnerOutputWithContext

func (o GetProjectsProjectOwnerOutput) ToGetProjectsProjectOwnerOutputWithContext(ctx context.Context) GetProjectsProjectOwnerOutput

func (GetProjectsProjectOwnerOutput) Username

func (GetProjectsProjectOwnerOutput) WebsiteUrl

type GetProjectsProjectPermissions

type GetProjectsProjectPermissions struct {
	GroupAccess   map[string]int `pulumi:"groupAccess"`
	ProjectAccess map[string]int `pulumi:"projectAccess"`
}

type GetProjectsProjectPermissionsArgs

type GetProjectsProjectPermissionsArgs struct {
	GroupAccess   pulumi.IntMapInput `pulumi:"groupAccess"`
	ProjectAccess pulumi.IntMapInput `pulumi:"projectAccess"`
}

func (GetProjectsProjectPermissionsArgs) ElementType

func (GetProjectsProjectPermissionsArgs) ToGetProjectsProjectPermissionsOutput

func (i GetProjectsProjectPermissionsArgs) ToGetProjectsProjectPermissionsOutput() GetProjectsProjectPermissionsOutput

func (GetProjectsProjectPermissionsArgs) ToGetProjectsProjectPermissionsOutputWithContext

func (i GetProjectsProjectPermissionsArgs) ToGetProjectsProjectPermissionsOutputWithContext(ctx context.Context) GetProjectsProjectPermissionsOutput

type GetProjectsProjectPermissionsInput

type GetProjectsProjectPermissionsInput interface {
	pulumi.Input

	ToGetProjectsProjectPermissionsOutput() GetProjectsProjectPermissionsOutput
	ToGetProjectsProjectPermissionsOutputWithContext(context.Context) GetProjectsProjectPermissionsOutput
}

GetProjectsProjectPermissionsInput is an input type that accepts GetProjectsProjectPermissionsArgs and GetProjectsProjectPermissionsOutput values. You can construct a concrete instance of `GetProjectsProjectPermissionsInput` via:

GetProjectsProjectPermissionsArgs{...}

type GetProjectsProjectPermissionsOutput

type GetProjectsProjectPermissionsOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectPermissionsOutput) ElementType

func (GetProjectsProjectPermissionsOutput) GroupAccess

func (GetProjectsProjectPermissionsOutput) ProjectAccess

func (GetProjectsProjectPermissionsOutput) ToGetProjectsProjectPermissionsOutput

func (o GetProjectsProjectPermissionsOutput) ToGetProjectsProjectPermissionsOutput() GetProjectsProjectPermissionsOutput

func (GetProjectsProjectPermissionsOutput) ToGetProjectsProjectPermissionsOutputWithContext

func (o GetProjectsProjectPermissionsOutput) ToGetProjectsProjectPermissionsOutputWithContext(ctx context.Context) GetProjectsProjectPermissionsOutput

type GetProjectsProjectSharedWithGroup

type GetProjectsProjectSharedWithGroup struct {
	GroupAccessLevel string `pulumi:"groupAccessLevel"`
	// The ID of the group owned by the authenticated user to look projects for within. Cannot be used with `minAccessLevel`, `withProgrammingLanguage` or `statistics`.
	GroupId   int    `pulumi:"groupId"`
	GroupName string `pulumi:"groupName"`
}

type GetProjectsProjectSharedWithGroupArgs

type GetProjectsProjectSharedWithGroupArgs struct {
	GroupAccessLevel pulumi.StringInput `pulumi:"groupAccessLevel"`
	// The ID of the group owned by the authenticated user to look projects for within. Cannot be used with `minAccessLevel`, `withProgrammingLanguage` or `statistics`.
	GroupId   pulumi.IntInput    `pulumi:"groupId"`
	GroupName pulumi.StringInput `pulumi:"groupName"`
}

func (GetProjectsProjectSharedWithGroupArgs) ElementType

func (GetProjectsProjectSharedWithGroupArgs) ToGetProjectsProjectSharedWithGroupOutput

func (i GetProjectsProjectSharedWithGroupArgs) ToGetProjectsProjectSharedWithGroupOutput() GetProjectsProjectSharedWithGroupOutput

func (GetProjectsProjectSharedWithGroupArgs) ToGetProjectsProjectSharedWithGroupOutputWithContext

func (i GetProjectsProjectSharedWithGroupArgs) ToGetProjectsProjectSharedWithGroupOutputWithContext(ctx context.Context) GetProjectsProjectSharedWithGroupOutput

type GetProjectsProjectSharedWithGroupArray

type GetProjectsProjectSharedWithGroupArray []GetProjectsProjectSharedWithGroupInput

func (GetProjectsProjectSharedWithGroupArray) ElementType

func (GetProjectsProjectSharedWithGroupArray) ToGetProjectsProjectSharedWithGroupArrayOutput

func (i GetProjectsProjectSharedWithGroupArray) ToGetProjectsProjectSharedWithGroupArrayOutput() GetProjectsProjectSharedWithGroupArrayOutput

func (GetProjectsProjectSharedWithGroupArray) ToGetProjectsProjectSharedWithGroupArrayOutputWithContext

func (i GetProjectsProjectSharedWithGroupArray) ToGetProjectsProjectSharedWithGroupArrayOutputWithContext(ctx context.Context) GetProjectsProjectSharedWithGroupArrayOutput

type GetProjectsProjectSharedWithGroupArrayInput

type GetProjectsProjectSharedWithGroupArrayInput interface {
	pulumi.Input

	ToGetProjectsProjectSharedWithGroupArrayOutput() GetProjectsProjectSharedWithGroupArrayOutput
	ToGetProjectsProjectSharedWithGroupArrayOutputWithContext(context.Context) GetProjectsProjectSharedWithGroupArrayOutput
}

GetProjectsProjectSharedWithGroupArrayInput is an input type that accepts GetProjectsProjectSharedWithGroupArray and GetProjectsProjectSharedWithGroupArrayOutput values. You can construct a concrete instance of `GetProjectsProjectSharedWithGroupArrayInput` via:

GetProjectsProjectSharedWithGroupArray{ GetProjectsProjectSharedWithGroupArgs{...} }

type GetProjectsProjectSharedWithGroupArrayOutput

type GetProjectsProjectSharedWithGroupArrayOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectSharedWithGroupArrayOutput) ElementType

func (GetProjectsProjectSharedWithGroupArrayOutput) Index

func (GetProjectsProjectSharedWithGroupArrayOutput) ToGetProjectsProjectSharedWithGroupArrayOutput

func (o GetProjectsProjectSharedWithGroupArrayOutput) ToGetProjectsProjectSharedWithGroupArrayOutput() GetProjectsProjectSharedWithGroupArrayOutput

func (GetProjectsProjectSharedWithGroupArrayOutput) ToGetProjectsProjectSharedWithGroupArrayOutputWithContext

func (o GetProjectsProjectSharedWithGroupArrayOutput) ToGetProjectsProjectSharedWithGroupArrayOutputWithContext(ctx context.Context) GetProjectsProjectSharedWithGroupArrayOutput

type GetProjectsProjectSharedWithGroupInput

type GetProjectsProjectSharedWithGroupInput interface {
	pulumi.Input

	ToGetProjectsProjectSharedWithGroupOutput() GetProjectsProjectSharedWithGroupOutput
	ToGetProjectsProjectSharedWithGroupOutputWithContext(context.Context) GetProjectsProjectSharedWithGroupOutput
}

GetProjectsProjectSharedWithGroupInput is an input type that accepts GetProjectsProjectSharedWithGroupArgs and GetProjectsProjectSharedWithGroupOutput values. You can construct a concrete instance of `GetProjectsProjectSharedWithGroupInput` via:

GetProjectsProjectSharedWithGroupArgs{...}

type GetProjectsProjectSharedWithGroupOutput

type GetProjectsProjectSharedWithGroupOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectSharedWithGroupOutput) ElementType

func (GetProjectsProjectSharedWithGroupOutput) GroupAccessLevel

func (GetProjectsProjectSharedWithGroupOutput) GroupId

The ID of the group owned by the authenticated user to look projects for within. Cannot be used with `minAccessLevel`, `withProgrammingLanguage` or `statistics`.

func (GetProjectsProjectSharedWithGroupOutput) GroupName

func (GetProjectsProjectSharedWithGroupOutput) ToGetProjectsProjectSharedWithGroupOutput

func (o GetProjectsProjectSharedWithGroupOutput) ToGetProjectsProjectSharedWithGroupOutput() GetProjectsProjectSharedWithGroupOutput

func (GetProjectsProjectSharedWithGroupOutput) ToGetProjectsProjectSharedWithGroupOutputWithContext

func (o GetProjectsProjectSharedWithGroupOutput) ToGetProjectsProjectSharedWithGroupOutputWithContext(ctx context.Context) GetProjectsProjectSharedWithGroupOutput

type GetProjectsResult

type GetProjectsResult struct {
	// Limit by archived status.
	Archived *bool `pulumi:"archived"`
	// The ID of the group owned by the authenticated user to look projects for within. Cannot be used with `minAccessLevel`, `withProgrammingLanguage` or `statistics`.
	GroupId *int `pulumi:"groupId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Include projects in subgroups of this group. Default is `false`. Needs `groupId`.
	IncludeSubgroups *bool `pulumi:"includeSubgroups"`
	// The maximum number of project results pages that may be queried. Prevents overloading your Gitlab instance in case of a misconfiguration.
	MaxQueryablePages *int `pulumi:"maxQueryablePages"`
	// Limit by projects that the current user is a member of.
	Membership *bool `pulumi:"membership"`
	// Limit to projects where current user has at least this access level, refer to the [official documentation](https://docs.gitlab.com/ee/api/members.html) for values. Cannot be used with `groupId`.
	MinAccessLevel *int `pulumi:"minAccessLevel"`
	// Return projects ordered by `id`, `name`, `path`, `createdAt`, `updatedAt`, or `lastActivityAt` fields. Default is `createdAt`.
	OrderBy *string `pulumi:"orderBy"`
	// Limit by projects owned by the current user.
	Owned *bool `pulumi:"owned"`
	// The first page to begin the query on.
	Page *int `pulumi:"page"`
	// The number of results to return per page.
	PerPage *int `pulumi:"perPage"`
	// A list containing the projects matching the supplied arguments
	Projects []GetProjectsProject `pulumi:"projects"`
	// Return list of authorized projects matching the search criteria.
	Search *string `pulumi:"search"`
	// Return only the ID, URL, name, and path of each project.
	Simple *bool `pulumi:"simple"`
	// Return projects sorted in `asc` or `desc` order. Default is `desc`.
	Sort *string `pulumi:"sort"`
	// Limit by projects starred by the current user.
	Starred *bool `pulumi:"starred"`
	// Include project statistics. Cannot be used with `groupId`.
	Statistics *bool `pulumi:"statistics"`
	// Limit by visibility `public`, `internal`, or `private`.
	Visibility *string `pulumi:"visibility"`
	// Include custom attributes in response *(admins only)*.
	WithCustomAttributes *bool `pulumi:"withCustomAttributes"`
	// Limit by projects with issues feature enabled. Default is `false`.
	WithIssuesEnabled *bool `pulumi:"withIssuesEnabled"`
	// Limit by projects with merge requests feature enabled. Default is `false`.
	WithMergeRequestsEnabled *bool `pulumi:"withMergeRequestsEnabled"`
	// Limit by projects which use the given programming language. Cannot be used with `groupId`.
	WithProgrammingLanguage *string `pulumi:"withProgrammingLanguage"`
	// Include projects shared to this group. Default is `true`. Needs `groupId`.
	WithShared *bool `pulumi:"withShared"`
}

A collection of values returned by getProjects.

func GetProjects

func GetProjects(ctx *pulumi.Context, args *GetProjectsArgs, opts ...pulumi.InvokeOption) (*GetProjectsResult, error)

The `getProjects` data source allows details of multiple projects to be retrieved. Optionally filtered by the set attributes.

> This data source supports all available filters exposed by the xanzy/go-gitlab package, which might not expose all available filters exposed by the Gitlab APIs.

> The owner sub-attributes are only populated if the Gitlab token used has an administrator scope.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/projects.html#list-all-projects)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		mygroup, err := gitlab.LookupGroup(ctx, &gitlab.LookupGroupArgs{
			FullPath: pulumi.StringRef("mygroup"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = gitlab.GetProjects(ctx, &gitlab.GetProjectsArgs{
			GroupId:          pulumi.IntRef(mygroup.Id),
			OrderBy:          pulumi.StringRef("name"),
			IncludeSubgroups: pulumi.BoolRef(true),
			WithShared:       pulumi.BoolRef(false),
		}, nil)
		if err != nil {
			return err
		}
		_, err = gitlab.GetProjects(ctx, &gitlab.GetProjectsArgs{
			Search:     pulumi.StringRef("postgresql"),
			Visibility: pulumi.StringRef("private"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetProjectsResultOutput added in v4.3.0

type GetProjectsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProjects.

func GetProjectsOutput added in v4.3.0

func GetProjectsOutput(ctx *pulumi.Context, args GetProjectsOutputArgs, opts ...pulumi.InvokeOption) GetProjectsResultOutput

func (GetProjectsResultOutput) Archived added in v4.3.0

Limit by archived status.

func (GetProjectsResultOutput) ElementType added in v4.3.0

func (GetProjectsResultOutput) ElementType() reflect.Type

func (GetProjectsResultOutput) GroupId added in v4.3.0

The ID of the group owned by the authenticated user to look projects for within. Cannot be used with `minAccessLevel`, `withProgrammingLanguage` or `statistics`.

func (GetProjectsResultOutput) Id added in v4.3.0

The provider-assigned unique ID for this managed resource.

func (GetProjectsResultOutput) IncludeSubgroups added in v4.3.0

func (o GetProjectsResultOutput) IncludeSubgroups() pulumi.BoolPtrOutput

Include projects in subgroups of this group. Default is `false`. Needs `groupId`.

func (GetProjectsResultOutput) MaxQueryablePages added in v4.3.0

func (o GetProjectsResultOutput) MaxQueryablePages() pulumi.IntPtrOutput

The maximum number of project results pages that may be queried. Prevents overloading your Gitlab instance in case of a misconfiguration.

func (GetProjectsResultOutput) Membership added in v4.3.0

Limit by projects that the current user is a member of.

func (GetProjectsResultOutput) MinAccessLevel added in v4.3.0

func (o GetProjectsResultOutput) MinAccessLevel() pulumi.IntPtrOutput

Limit to projects where current user has at least this access level, refer to the [official documentation](https://docs.gitlab.com/ee/api/members.html) for values. Cannot be used with `groupId`.

func (GetProjectsResultOutput) OrderBy added in v4.3.0

Return projects ordered by `id`, `name`, `path`, `createdAt`, `updatedAt`, or `lastActivityAt` fields. Default is `createdAt`.

func (GetProjectsResultOutput) Owned added in v4.3.0

Limit by projects owned by the current user.

func (GetProjectsResultOutput) Page added in v4.3.0

The first page to begin the query on.

func (GetProjectsResultOutput) PerPage added in v4.3.0

The number of results to return per page.

func (GetProjectsResultOutput) Projects added in v4.3.0

A list containing the projects matching the supplied arguments

func (GetProjectsResultOutput) Search added in v4.3.0

Return list of authorized projects matching the search criteria.

func (GetProjectsResultOutput) Simple added in v4.3.0

Return only the ID, URL, name, and path of each project.

func (GetProjectsResultOutput) Sort added in v4.3.0

Return projects sorted in `asc` or `desc` order. Default is `desc`.

func (GetProjectsResultOutput) Starred added in v4.3.0

Limit by projects starred by the current user.

func (GetProjectsResultOutput) Statistics added in v4.3.0

Include project statistics. Cannot be used with `groupId`.

func (GetProjectsResultOutput) ToGetProjectsResultOutput added in v4.3.0

func (o GetProjectsResultOutput) ToGetProjectsResultOutput() GetProjectsResultOutput

func (GetProjectsResultOutput) ToGetProjectsResultOutputWithContext added in v4.3.0

func (o GetProjectsResultOutput) ToGetProjectsResultOutputWithContext(ctx context.Context) GetProjectsResultOutput

func (GetProjectsResultOutput) Visibility added in v4.3.0

Limit by visibility `public`, `internal`, or `private`.

func (GetProjectsResultOutput) WithCustomAttributes added in v4.3.0

func (o GetProjectsResultOutput) WithCustomAttributes() pulumi.BoolPtrOutput

Include custom attributes in response *(admins only)*.

func (GetProjectsResultOutput) WithIssuesEnabled added in v4.3.0

func (o GetProjectsResultOutput) WithIssuesEnabled() pulumi.BoolPtrOutput

Limit by projects with issues feature enabled. Default is `false`.

func (GetProjectsResultOutput) WithMergeRequestsEnabled added in v4.3.0

func (o GetProjectsResultOutput) WithMergeRequestsEnabled() pulumi.BoolPtrOutput

Limit by projects with merge requests feature enabled. Default is `false`.

func (GetProjectsResultOutput) WithProgrammingLanguage added in v4.3.0

func (o GetProjectsResultOutput) WithProgrammingLanguage() pulumi.StringPtrOutput

Limit by projects which use the given programming language. Cannot be used with `groupId`.

func (GetProjectsResultOutput) WithShared added in v4.3.0

Include projects shared to this group. Default is `true`. Needs `groupId`.

type GetReleaseLinksArgs added in v4.8.0

type GetReleaseLinksArgs struct {
	// The ID or full path to the project.
	Project string `pulumi:"project"`
	// The tag associated with the Release.
	TagName string `pulumi:"tagName"`
}

A collection of arguments for invoking getReleaseLinks.

type GetReleaseLinksOutputArgs added in v4.8.0

type GetReleaseLinksOutputArgs struct {
	// The ID or full path to the project.
	Project pulumi.StringInput `pulumi:"project"`
	// The tag associated with the Release.
	TagName pulumi.StringInput `pulumi:"tagName"`
}

A collection of arguments for invoking getReleaseLinks.

func (GetReleaseLinksOutputArgs) ElementType added in v4.8.0

func (GetReleaseLinksOutputArgs) ElementType() reflect.Type
type GetReleaseLinksReleaseLink struct {
	DirectAssetUrl string `pulumi:"directAssetUrl"`
	External       bool   `pulumi:"external"`
	Filepath       string `pulumi:"filepath"`
	LinkId         int    `pulumi:"linkId"`
	LinkType       string `pulumi:"linkType"`
	Name           string `pulumi:"name"`
	// The ID or full path to the project.
	Project string `pulumi:"project"`
	// The tag associated with the Release.
	TagName string `pulumi:"tagName"`
	Url     string `pulumi:"url"`
}

type GetReleaseLinksReleaseLinkArgs added in v4.8.0

type GetReleaseLinksReleaseLinkArgs struct {
	DirectAssetUrl pulumi.StringInput `pulumi:"directAssetUrl"`
	External       pulumi.BoolInput   `pulumi:"external"`
	Filepath       pulumi.StringInput `pulumi:"filepath"`
	LinkId         pulumi.IntInput    `pulumi:"linkId"`
	LinkType       pulumi.StringInput `pulumi:"linkType"`
	Name           pulumi.StringInput `pulumi:"name"`
	// The ID or full path to the project.
	Project pulumi.StringInput `pulumi:"project"`
	// The tag associated with the Release.
	TagName pulumi.StringInput `pulumi:"tagName"`
	Url     pulumi.StringInput `pulumi:"url"`
}

func (GetReleaseLinksReleaseLinkArgs) ElementType added in v4.8.0

func (GetReleaseLinksReleaseLinkArgs) ToGetReleaseLinksReleaseLinkOutput added in v4.8.0

func (i GetReleaseLinksReleaseLinkArgs) ToGetReleaseLinksReleaseLinkOutput() GetReleaseLinksReleaseLinkOutput

func (GetReleaseLinksReleaseLinkArgs) ToGetReleaseLinksReleaseLinkOutputWithContext added in v4.8.0

func (i GetReleaseLinksReleaseLinkArgs) ToGetReleaseLinksReleaseLinkOutputWithContext(ctx context.Context) GetReleaseLinksReleaseLinkOutput

type GetReleaseLinksReleaseLinkArray added in v4.8.0

type GetReleaseLinksReleaseLinkArray []GetReleaseLinksReleaseLinkInput

func (GetReleaseLinksReleaseLinkArray) ElementType added in v4.8.0

func (GetReleaseLinksReleaseLinkArray) ToGetReleaseLinksReleaseLinkArrayOutput added in v4.8.0

func (i GetReleaseLinksReleaseLinkArray) ToGetReleaseLinksReleaseLinkArrayOutput() GetReleaseLinksReleaseLinkArrayOutput

func (GetReleaseLinksReleaseLinkArray) ToGetReleaseLinksReleaseLinkArrayOutputWithContext added in v4.8.0

func (i GetReleaseLinksReleaseLinkArray) ToGetReleaseLinksReleaseLinkArrayOutputWithContext(ctx context.Context) GetReleaseLinksReleaseLinkArrayOutput

type GetReleaseLinksReleaseLinkArrayInput added in v4.8.0

type GetReleaseLinksReleaseLinkArrayInput interface {
	pulumi.Input

	ToGetReleaseLinksReleaseLinkArrayOutput() GetReleaseLinksReleaseLinkArrayOutput
	ToGetReleaseLinksReleaseLinkArrayOutputWithContext(context.Context) GetReleaseLinksReleaseLinkArrayOutput
}

GetReleaseLinksReleaseLinkArrayInput is an input type that accepts GetReleaseLinksReleaseLinkArray and GetReleaseLinksReleaseLinkArrayOutput values. You can construct a concrete instance of `GetReleaseLinksReleaseLinkArrayInput` via:

GetReleaseLinksReleaseLinkArray{ GetReleaseLinksReleaseLinkArgs{...} }

type GetReleaseLinksReleaseLinkArrayOutput added in v4.8.0

type GetReleaseLinksReleaseLinkArrayOutput struct{ *pulumi.OutputState }

func (GetReleaseLinksReleaseLinkArrayOutput) ElementType added in v4.8.0

func (GetReleaseLinksReleaseLinkArrayOutput) Index added in v4.8.0

func (GetReleaseLinksReleaseLinkArrayOutput) ToGetReleaseLinksReleaseLinkArrayOutput added in v4.8.0

func (o GetReleaseLinksReleaseLinkArrayOutput) ToGetReleaseLinksReleaseLinkArrayOutput() GetReleaseLinksReleaseLinkArrayOutput

func (GetReleaseLinksReleaseLinkArrayOutput) ToGetReleaseLinksReleaseLinkArrayOutputWithContext added in v4.8.0

func (o GetReleaseLinksReleaseLinkArrayOutput) ToGetReleaseLinksReleaseLinkArrayOutputWithContext(ctx context.Context) GetReleaseLinksReleaseLinkArrayOutput

type GetReleaseLinksReleaseLinkInput added in v4.8.0

type GetReleaseLinksReleaseLinkInput interface {
	pulumi.Input

	ToGetReleaseLinksReleaseLinkOutput() GetReleaseLinksReleaseLinkOutput
	ToGetReleaseLinksReleaseLinkOutputWithContext(context.Context) GetReleaseLinksReleaseLinkOutput
}

GetReleaseLinksReleaseLinkInput is an input type that accepts GetReleaseLinksReleaseLinkArgs and GetReleaseLinksReleaseLinkOutput values. You can construct a concrete instance of `GetReleaseLinksReleaseLinkInput` via:

GetReleaseLinksReleaseLinkArgs{...}

type GetReleaseLinksReleaseLinkOutput added in v4.8.0

type GetReleaseLinksReleaseLinkOutput struct{ *pulumi.OutputState }

func (GetReleaseLinksReleaseLinkOutput) DirectAssetUrl added in v4.8.0

func (GetReleaseLinksReleaseLinkOutput) ElementType added in v4.8.0

func (GetReleaseLinksReleaseLinkOutput) External added in v4.8.0

func (GetReleaseLinksReleaseLinkOutput) Filepath added in v4.8.0

func (GetReleaseLinksReleaseLinkOutput) LinkId added in v4.8.0

func (GetReleaseLinksReleaseLinkOutput) LinkType added in v4.8.0

func (GetReleaseLinksReleaseLinkOutput) Name added in v4.8.0

func (GetReleaseLinksReleaseLinkOutput) Project added in v4.8.0

The ID or full path to the project.

func (GetReleaseLinksReleaseLinkOutput) TagName added in v4.8.0

The tag associated with the Release.

func (GetReleaseLinksReleaseLinkOutput) ToGetReleaseLinksReleaseLinkOutput added in v4.8.0

func (o GetReleaseLinksReleaseLinkOutput) ToGetReleaseLinksReleaseLinkOutput() GetReleaseLinksReleaseLinkOutput

func (GetReleaseLinksReleaseLinkOutput) ToGetReleaseLinksReleaseLinkOutputWithContext added in v4.8.0

func (o GetReleaseLinksReleaseLinkOutput) ToGetReleaseLinksReleaseLinkOutputWithContext(ctx context.Context) GetReleaseLinksReleaseLinkOutput

func (GetReleaseLinksReleaseLinkOutput) Url added in v4.8.0

type GetReleaseLinksResult added in v4.8.0

type GetReleaseLinksResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The ID or full path to the project.
	Project string `pulumi:"project"`
	// List of release links
	ReleaseLinks []GetReleaseLinksReleaseLink `pulumi:"releaseLinks"`
	// The tag associated with the Release.
	TagName string `pulumi:"tagName"`
}

A collection of values returned by getReleaseLinks.

func GetReleaseLinks(ctx *pulumi.Context, args *GetReleaseLinksArgs, opts ...pulumi.InvokeOption) (*GetReleaseLinksResult, error)

The `getReleaseLinks` data source allows get details of release links.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/releases/links.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.GetReleaseLinks(ctx, &gitlab.GetReleaseLinksArgs{
			Project: "foo/bar",
			TagName: "v1.0.1",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetReleaseLinksResultOutput added in v4.8.0

type GetReleaseLinksResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getReleaseLinks.

func GetReleaseLinksOutput added in v4.8.0

func (GetReleaseLinksResultOutput) ElementType added in v4.8.0

func (GetReleaseLinksResultOutput) Id added in v4.8.0

The provider-assigned unique ID for this managed resource.

func (GetReleaseLinksResultOutput) Project added in v4.8.0

The ID or full path to the project.

List of release links

func (GetReleaseLinksResultOutput) TagName added in v4.8.0

The tag associated with the Release.

func (GetReleaseLinksResultOutput) ToGetReleaseLinksResultOutput added in v4.8.0

func (o GetReleaseLinksResultOutput) ToGetReleaseLinksResultOutput() GetReleaseLinksResultOutput

func (GetReleaseLinksResultOutput) ToGetReleaseLinksResultOutputWithContext added in v4.8.0

func (o GetReleaseLinksResultOutput) ToGetReleaseLinksResultOutputWithContext(ctx context.Context) GetReleaseLinksResultOutput

type GetRepositoryTreeArgs added in v4.9.0

type GetRepositoryTreeArgs struct {
	// The path inside repository. Used to get content of subdirectories.
	Path *string `pulumi:"path"`
	// The ID or full path of the project owned by the authenticated user.
	Project string `pulumi:"project"`
	// Boolean value used to get a recursive tree (false by default).
	Recursive *bool `pulumi:"recursive"`
	// The name of a repository branch or tag.
	Ref string `pulumi:"ref"`
}

A collection of arguments for invoking getRepositoryTree.

type GetRepositoryTreeOutputArgs added in v4.9.0

type GetRepositoryTreeOutputArgs struct {
	// The path inside repository. Used to get content of subdirectories.
	Path pulumi.StringPtrInput `pulumi:"path"`
	// The ID or full path of the project owned by the authenticated user.
	Project pulumi.StringInput `pulumi:"project"`
	// Boolean value used to get a recursive tree (false by default).
	Recursive pulumi.BoolPtrInput `pulumi:"recursive"`
	// The name of a repository branch or tag.
	Ref pulumi.StringInput `pulumi:"ref"`
}

A collection of arguments for invoking getRepositoryTree.

func (GetRepositoryTreeOutputArgs) ElementType added in v4.9.0

type GetRepositoryTreeResult added in v4.9.0

type GetRepositoryTreeResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The path inside repository. Used to get content of subdirectories.
	Path *string `pulumi:"path"`
	// The ID or full path of the project owned by the authenticated user.
	Project string `pulumi:"project"`
	// Boolean value used to get a recursive tree (false by default).
	Recursive *bool `pulumi:"recursive"`
	// The name of a repository branch or tag.
	Ref string `pulumi:"ref"`
	// The list of files/directories returned by the search
	Trees []GetRepositoryTreeTree `pulumi:"trees"`
}

A collection of values returned by getRepositoryTree.

func GetRepositoryTree added in v4.9.0

func GetRepositoryTree(ctx *pulumi.Context, args *GetRepositoryTreeArgs, opts ...pulumi.InvokeOption) (*GetRepositoryTreeResult, error)

The `getRepositoryTree` data source allows details of directories and files in a repository to be retrieved.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/repositories.html#list-repository-tree)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.GetRepositoryTree(ctx, &gitlab.GetRepositoryTreeArgs{
			Path:      pulumi.StringRef("ExampleSubFolder"),
			Project:   "example",
			Recursive: pulumi.BoolRef(true),
			Ref:       "main",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetRepositoryTreeResultOutput added in v4.9.0

type GetRepositoryTreeResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRepositoryTree.

func GetRepositoryTreeOutput added in v4.9.0

func (GetRepositoryTreeResultOutput) ElementType added in v4.9.0

func (GetRepositoryTreeResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (GetRepositoryTreeResultOutput) Path added in v4.9.0

The path inside repository. Used to get content of subdirectories.

func (GetRepositoryTreeResultOutput) Project added in v4.9.0

The ID or full path of the project owned by the authenticated user.

func (GetRepositoryTreeResultOutput) Recursive added in v4.9.0

Boolean value used to get a recursive tree (false by default).

func (GetRepositoryTreeResultOutput) Ref added in v4.9.0

The name of a repository branch or tag.

func (GetRepositoryTreeResultOutput) ToGetRepositoryTreeResultOutput added in v4.9.0

func (o GetRepositoryTreeResultOutput) ToGetRepositoryTreeResultOutput() GetRepositoryTreeResultOutput

func (GetRepositoryTreeResultOutput) ToGetRepositoryTreeResultOutputWithContext added in v4.9.0

func (o GetRepositoryTreeResultOutput) ToGetRepositoryTreeResultOutputWithContext(ctx context.Context) GetRepositoryTreeResultOutput

func (GetRepositoryTreeResultOutput) Trees added in v4.9.0

The list of files/directories returned by the search

type GetRepositoryTreeTree added in v4.9.0

type GetRepositoryTreeTree struct {
	// The ID of this resource.
	Id   string `pulumi:"id"`
	Mode string `pulumi:"mode"`
	Name string `pulumi:"name"`
	// The path inside repository. Used to get content of subdirectories.
	Path string `pulumi:"path"`
	Type string `pulumi:"type"`
}

type GetRepositoryTreeTreeArgs added in v4.9.0

type GetRepositoryTreeTreeArgs struct {
	// The ID of this resource.
	Id   pulumi.StringInput `pulumi:"id"`
	Mode pulumi.StringInput `pulumi:"mode"`
	Name pulumi.StringInput `pulumi:"name"`
	// The path inside repository. Used to get content of subdirectories.
	Path pulumi.StringInput `pulumi:"path"`
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetRepositoryTreeTreeArgs) ElementType added in v4.9.0

func (GetRepositoryTreeTreeArgs) ElementType() reflect.Type

func (GetRepositoryTreeTreeArgs) ToGetRepositoryTreeTreeOutput added in v4.9.0

func (i GetRepositoryTreeTreeArgs) ToGetRepositoryTreeTreeOutput() GetRepositoryTreeTreeOutput

func (GetRepositoryTreeTreeArgs) ToGetRepositoryTreeTreeOutputWithContext added in v4.9.0

func (i GetRepositoryTreeTreeArgs) ToGetRepositoryTreeTreeOutputWithContext(ctx context.Context) GetRepositoryTreeTreeOutput

type GetRepositoryTreeTreeArray added in v4.9.0

type GetRepositoryTreeTreeArray []GetRepositoryTreeTreeInput

func (GetRepositoryTreeTreeArray) ElementType added in v4.9.0

func (GetRepositoryTreeTreeArray) ElementType() reflect.Type

func (GetRepositoryTreeTreeArray) ToGetRepositoryTreeTreeArrayOutput added in v4.9.0

func (i GetRepositoryTreeTreeArray) ToGetRepositoryTreeTreeArrayOutput() GetRepositoryTreeTreeArrayOutput

func (GetRepositoryTreeTreeArray) ToGetRepositoryTreeTreeArrayOutputWithContext added in v4.9.0

func (i GetRepositoryTreeTreeArray) ToGetRepositoryTreeTreeArrayOutputWithContext(ctx context.Context) GetRepositoryTreeTreeArrayOutput

type GetRepositoryTreeTreeArrayInput added in v4.9.0

type GetRepositoryTreeTreeArrayInput interface {
	pulumi.Input

	ToGetRepositoryTreeTreeArrayOutput() GetRepositoryTreeTreeArrayOutput
	ToGetRepositoryTreeTreeArrayOutputWithContext(context.Context) GetRepositoryTreeTreeArrayOutput
}

GetRepositoryTreeTreeArrayInput is an input type that accepts GetRepositoryTreeTreeArray and GetRepositoryTreeTreeArrayOutput values. You can construct a concrete instance of `GetRepositoryTreeTreeArrayInput` via:

GetRepositoryTreeTreeArray{ GetRepositoryTreeTreeArgs{...} }

type GetRepositoryTreeTreeArrayOutput added in v4.9.0

type GetRepositoryTreeTreeArrayOutput struct{ *pulumi.OutputState }

func (GetRepositoryTreeTreeArrayOutput) ElementType added in v4.9.0

func (GetRepositoryTreeTreeArrayOutput) Index added in v4.9.0

func (GetRepositoryTreeTreeArrayOutput) ToGetRepositoryTreeTreeArrayOutput added in v4.9.0

func (o GetRepositoryTreeTreeArrayOutput) ToGetRepositoryTreeTreeArrayOutput() GetRepositoryTreeTreeArrayOutput

func (GetRepositoryTreeTreeArrayOutput) ToGetRepositoryTreeTreeArrayOutputWithContext added in v4.9.0

func (o GetRepositoryTreeTreeArrayOutput) ToGetRepositoryTreeTreeArrayOutputWithContext(ctx context.Context) GetRepositoryTreeTreeArrayOutput

type GetRepositoryTreeTreeInput added in v4.9.0

type GetRepositoryTreeTreeInput interface {
	pulumi.Input

	ToGetRepositoryTreeTreeOutput() GetRepositoryTreeTreeOutput
	ToGetRepositoryTreeTreeOutputWithContext(context.Context) GetRepositoryTreeTreeOutput
}

GetRepositoryTreeTreeInput is an input type that accepts GetRepositoryTreeTreeArgs and GetRepositoryTreeTreeOutput values. You can construct a concrete instance of `GetRepositoryTreeTreeInput` via:

GetRepositoryTreeTreeArgs{...}

type GetRepositoryTreeTreeOutput added in v4.9.0

type GetRepositoryTreeTreeOutput struct{ *pulumi.OutputState }

func (GetRepositoryTreeTreeOutput) ElementType added in v4.9.0

func (GetRepositoryTreeTreeOutput) Id added in v4.9.0

The ID of this resource.

func (GetRepositoryTreeTreeOutput) Mode added in v4.9.0

func (GetRepositoryTreeTreeOutput) Name added in v4.9.0

func (GetRepositoryTreeTreeOutput) Path added in v4.9.0

The path inside repository. Used to get content of subdirectories.

func (GetRepositoryTreeTreeOutput) ToGetRepositoryTreeTreeOutput added in v4.9.0

func (o GetRepositoryTreeTreeOutput) ToGetRepositoryTreeTreeOutput() GetRepositoryTreeTreeOutput

func (GetRepositoryTreeTreeOutput) ToGetRepositoryTreeTreeOutputWithContext added in v4.9.0

func (o GetRepositoryTreeTreeOutput) ToGetRepositoryTreeTreeOutputWithContext(ctx context.Context) GetRepositoryTreeTreeOutput

func (GetRepositoryTreeTreeOutput) Type added in v4.9.0

type GetUserSshkeysArgs added in v4.10.0

type GetUserSshkeysArgs struct {
	// ID of the user to get the SSH keys for.
	UserId *int `pulumi:"userId"`
	// Username of the user to get the SSH keys for.
	Username *string `pulumi:"username"`
}

A collection of arguments for invoking getUserSshkeys.

type GetUserSshkeysKey added in v4.10.0

type GetUserSshkeysKey struct {
	CreatedAt string `pulumi:"createdAt"`
	ExpiresAt string `pulumi:"expiresAt"`
	Key       string `pulumi:"key"`
	KeyId     int    `pulumi:"keyId"`
	Title     string `pulumi:"title"`
	// ID of the user to get the SSH keys for.
	UserId int `pulumi:"userId"`
}

type GetUserSshkeysKeyArgs added in v4.10.0

type GetUserSshkeysKeyArgs struct {
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	ExpiresAt pulumi.StringInput `pulumi:"expiresAt"`
	Key       pulumi.StringInput `pulumi:"key"`
	KeyId     pulumi.IntInput    `pulumi:"keyId"`
	Title     pulumi.StringInput `pulumi:"title"`
	// ID of the user to get the SSH keys for.
	UserId pulumi.IntInput `pulumi:"userId"`
}

func (GetUserSshkeysKeyArgs) ElementType added in v4.10.0

func (GetUserSshkeysKeyArgs) ElementType() reflect.Type

func (GetUserSshkeysKeyArgs) ToGetUserSshkeysKeyOutput added in v4.10.0

func (i GetUserSshkeysKeyArgs) ToGetUserSshkeysKeyOutput() GetUserSshkeysKeyOutput

func (GetUserSshkeysKeyArgs) ToGetUserSshkeysKeyOutputWithContext added in v4.10.0

func (i GetUserSshkeysKeyArgs) ToGetUserSshkeysKeyOutputWithContext(ctx context.Context) GetUserSshkeysKeyOutput

type GetUserSshkeysKeyArray added in v4.10.0

type GetUserSshkeysKeyArray []GetUserSshkeysKeyInput

func (GetUserSshkeysKeyArray) ElementType added in v4.10.0

func (GetUserSshkeysKeyArray) ElementType() reflect.Type

func (GetUserSshkeysKeyArray) ToGetUserSshkeysKeyArrayOutput added in v4.10.0

func (i GetUserSshkeysKeyArray) ToGetUserSshkeysKeyArrayOutput() GetUserSshkeysKeyArrayOutput

func (GetUserSshkeysKeyArray) ToGetUserSshkeysKeyArrayOutputWithContext added in v4.10.0

func (i GetUserSshkeysKeyArray) ToGetUserSshkeysKeyArrayOutputWithContext(ctx context.Context) GetUserSshkeysKeyArrayOutput

type GetUserSshkeysKeyArrayInput added in v4.10.0

type GetUserSshkeysKeyArrayInput interface {
	pulumi.Input

	ToGetUserSshkeysKeyArrayOutput() GetUserSshkeysKeyArrayOutput
	ToGetUserSshkeysKeyArrayOutputWithContext(context.Context) GetUserSshkeysKeyArrayOutput
}

GetUserSshkeysKeyArrayInput is an input type that accepts GetUserSshkeysKeyArray and GetUserSshkeysKeyArrayOutput values. You can construct a concrete instance of `GetUserSshkeysKeyArrayInput` via:

GetUserSshkeysKeyArray{ GetUserSshkeysKeyArgs{...} }

type GetUserSshkeysKeyArrayOutput added in v4.10.0

type GetUserSshkeysKeyArrayOutput struct{ *pulumi.OutputState }

func (GetUserSshkeysKeyArrayOutput) ElementType added in v4.10.0

func (GetUserSshkeysKeyArrayOutput) Index added in v4.10.0

func (GetUserSshkeysKeyArrayOutput) ToGetUserSshkeysKeyArrayOutput added in v4.10.0

func (o GetUserSshkeysKeyArrayOutput) ToGetUserSshkeysKeyArrayOutput() GetUserSshkeysKeyArrayOutput

func (GetUserSshkeysKeyArrayOutput) ToGetUserSshkeysKeyArrayOutputWithContext added in v4.10.0

func (o GetUserSshkeysKeyArrayOutput) ToGetUserSshkeysKeyArrayOutputWithContext(ctx context.Context) GetUserSshkeysKeyArrayOutput

type GetUserSshkeysKeyInput added in v4.10.0

type GetUserSshkeysKeyInput interface {
	pulumi.Input

	ToGetUserSshkeysKeyOutput() GetUserSshkeysKeyOutput
	ToGetUserSshkeysKeyOutputWithContext(context.Context) GetUserSshkeysKeyOutput
}

GetUserSshkeysKeyInput is an input type that accepts GetUserSshkeysKeyArgs and GetUserSshkeysKeyOutput values. You can construct a concrete instance of `GetUserSshkeysKeyInput` via:

GetUserSshkeysKeyArgs{...}

type GetUserSshkeysKeyOutput added in v4.10.0

type GetUserSshkeysKeyOutput struct{ *pulumi.OutputState }

func (GetUserSshkeysKeyOutput) CreatedAt added in v4.10.0

func (GetUserSshkeysKeyOutput) ElementType added in v4.10.0

func (GetUserSshkeysKeyOutput) ElementType() reflect.Type

func (GetUserSshkeysKeyOutput) ExpiresAt added in v4.10.0

func (GetUserSshkeysKeyOutput) Key added in v4.10.0

func (GetUserSshkeysKeyOutput) KeyId added in v4.10.0

func (GetUserSshkeysKeyOutput) Title added in v4.10.0

func (GetUserSshkeysKeyOutput) ToGetUserSshkeysKeyOutput added in v4.10.0

func (o GetUserSshkeysKeyOutput) ToGetUserSshkeysKeyOutput() GetUserSshkeysKeyOutput

func (GetUserSshkeysKeyOutput) ToGetUserSshkeysKeyOutputWithContext added in v4.10.0

func (o GetUserSshkeysKeyOutput) ToGetUserSshkeysKeyOutputWithContext(ctx context.Context) GetUserSshkeysKeyOutput

func (GetUserSshkeysKeyOutput) UserId added in v4.10.0

ID of the user to get the SSH keys for.

type GetUserSshkeysOutputArgs added in v4.10.0

type GetUserSshkeysOutputArgs struct {
	// ID of the user to get the SSH keys for.
	UserId pulumi.IntPtrInput `pulumi:"userId"`
	// Username of the user to get the SSH keys for.
	Username pulumi.StringPtrInput `pulumi:"username"`
}

A collection of arguments for invoking getUserSshkeys.

func (GetUserSshkeysOutputArgs) ElementType added in v4.10.0

func (GetUserSshkeysOutputArgs) ElementType() reflect.Type

type GetUserSshkeysResult added in v4.10.0

type GetUserSshkeysResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The user's keys.
	Keys []GetUserSshkeysKey `pulumi:"keys"`
	// ID of the user to get the SSH keys for.
	UserId int `pulumi:"userId"`
	// Username of the user to get the SSH keys for.
	Username string `pulumi:"username"`
}

A collection of values returned by getUserSshkeys.

func GetUserSshkeys added in v4.10.0

func GetUserSshkeys(ctx *pulumi.Context, args *GetUserSshkeysArgs, opts ...pulumi.InvokeOption) (*GetUserSshkeysResult, error)

The `getUserSshkeys` data source allows a list of SSH keys to be retrieved by either the user ID or username.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/users.html#list-ssh-keys-for-user)

type GetUserSshkeysResultOutput added in v4.10.0

type GetUserSshkeysResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getUserSshkeys.

func GetUserSshkeysOutput added in v4.10.0

func GetUserSshkeysOutput(ctx *pulumi.Context, args GetUserSshkeysOutputArgs, opts ...pulumi.InvokeOption) GetUserSshkeysResultOutput

func (GetUserSshkeysResultOutput) ElementType added in v4.10.0

func (GetUserSshkeysResultOutput) ElementType() reflect.Type

func (GetUserSshkeysResultOutput) Id added in v4.10.0

The provider-assigned unique ID for this managed resource.

func (GetUserSshkeysResultOutput) Keys added in v4.10.0

The user's keys.

func (GetUserSshkeysResultOutput) ToGetUserSshkeysResultOutput added in v4.10.0

func (o GetUserSshkeysResultOutput) ToGetUserSshkeysResultOutput() GetUserSshkeysResultOutput

func (GetUserSshkeysResultOutput) ToGetUserSshkeysResultOutputWithContext added in v4.10.0

func (o GetUserSshkeysResultOutput) ToGetUserSshkeysResultOutputWithContext(ctx context.Context) GetUserSshkeysResultOutput

func (GetUserSshkeysResultOutput) UserId added in v4.10.0

ID of the user to get the SSH keys for.

func (GetUserSshkeysResultOutput) Username added in v4.10.0

Username of the user to get the SSH keys for.

type GetUsersArgs

type GetUsersArgs struct {
	// Filter users that are active.
	Active *bool `pulumi:"active"`
	// Filter users that are blocked.
	Blocked *bool `pulumi:"blocked"`
	// Search for users created after a specific date. (Requires administrator privileges)
	CreatedAfter *string `pulumi:"createdAfter"`
	// Search for users created before a specific date. (Requires administrator privileges)
	CreatedBefore *string `pulumi:"createdBefore"`
	// Lookup users by external provider. (Requires administrator privileges)
	ExternProvider *string `pulumi:"externProvider"`
	// Lookup users by external UID. (Requires administrator privileges)
	ExternUid *string `pulumi:"externUid"`
	// Order the users' list by `id`, `name`, `username`, `createdAt` or `updatedAt`. (Requires administrator privileges)
	OrderBy *string `pulumi:"orderBy"`
	// Search users by username, name or email.
	Search *string `pulumi:"search"`
	// Sort users' list in asc or desc order. (Requires administrator privileges)
	Sort *string `pulumi:"sort"`
}

A collection of arguments for invoking getUsers.

type GetUsersOutputArgs added in v4.3.0

type GetUsersOutputArgs struct {
	// Filter users that are active.
	Active pulumi.BoolPtrInput `pulumi:"active"`
	// Filter users that are blocked.
	Blocked pulumi.BoolPtrInput `pulumi:"blocked"`
	// Search for users created after a specific date. (Requires administrator privileges)
	CreatedAfter pulumi.StringPtrInput `pulumi:"createdAfter"`
	// Search for users created before a specific date. (Requires administrator privileges)
	CreatedBefore pulumi.StringPtrInput `pulumi:"createdBefore"`
	// Lookup users by external provider. (Requires administrator privileges)
	ExternProvider pulumi.StringPtrInput `pulumi:"externProvider"`
	// Lookup users by external UID. (Requires administrator privileges)
	ExternUid pulumi.StringPtrInput `pulumi:"externUid"`
	// Order the users' list by `id`, `name`, `username`, `createdAt` or `updatedAt`. (Requires administrator privileges)
	OrderBy pulumi.StringPtrInput `pulumi:"orderBy"`
	// Search users by username, name or email.
	Search pulumi.StringPtrInput `pulumi:"search"`
	// Sort users' list in asc or desc order. (Requires administrator privileges)
	Sort pulumi.StringPtrInput `pulumi:"sort"`
}

A collection of arguments for invoking getUsers.

func (GetUsersOutputArgs) ElementType added in v4.3.0

func (GetUsersOutputArgs) ElementType() reflect.Type

type GetUsersResult

type GetUsersResult struct {
	// Filter users that are active.
	Active *bool `pulumi:"active"`
	// Filter users that are blocked.
	Blocked *bool `pulumi:"blocked"`
	// Search for users created after a specific date. (Requires administrator privileges)
	CreatedAfter *string `pulumi:"createdAfter"`
	// Search for users created before a specific date. (Requires administrator privileges)
	CreatedBefore *string `pulumi:"createdBefore"`
	// Lookup users by external provider. (Requires administrator privileges)
	ExternProvider *string `pulumi:"externProvider"`
	// Lookup users by external UID. (Requires administrator privileges)
	ExternUid *string `pulumi:"externUid"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Order the users' list by `id`, `name`, `username`, `createdAt` or `updatedAt`. (Requires administrator privileges)
	OrderBy *string `pulumi:"orderBy"`
	// Search users by username, name or email.
	Search *string `pulumi:"search"`
	// Sort users' list in asc or desc order. (Requires administrator privileges)
	Sort *string `pulumi:"sort"`
	// The list of users.
	Users []GetUsersUser `pulumi:"users"`
}

A collection of values returned by getUsers.

func GetUsers

func GetUsers(ctx *pulumi.Context, args *GetUsersArgs, opts ...pulumi.InvokeOption) (*GetUsersResult, error)

The `getUsers` data source allows details of multiple users to be retrieved given some optional filter criteria.

> Some attributes might not be returned depending on if you're an admin or not.

> Some available options require administrator privileges.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ce/api/users.html#list-users)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.GetUsers(ctx, &gitlab.GetUsersArgs{
			CreatedBefore: pulumi.StringRef("2019-01-01"),
			OrderBy:       pulumi.StringRef("name"),
			Sort:          pulumi.StringRef("desc"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = gitlab.GetUsers(ctx, &gitlab.GetUsersArgs{
			Search: pulumi.StringRef("username"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetUsersResultOutput added in v4.3.0

type GetUsersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getUsers.

func GetUsersOutput added in v4.3.0

func GetUsersOutput(ctx *pulumi.Context, args GetUsersOutputArgs, opts ...pulumi.InvokeOption) GetUsersResultOutput

func (GetUsersResultOutput) Active added in v4.3.0

Filter users that are active.

func (GetUsersResultOutput) Blocked added in v4.3.0

Filter users that are blocked.

func (GetUsersResultOutput) CreatedAfter added in v4.3.0

func (o GetUsersResultOutput) CreatedAfter() pulumi.StringPtrOutput

Search for users created after a specific date. (Requires administrator privileges)

func (GetUsersResultOutput) CreatedBefore added in v4.3.0

func (o GetUsersResultOutput) CreatedBefore() pulumi.StringPtrOutput

Search for users created before a specific date. (Requires administrator privileges)

func (GetUsersResultOutput) ElementType added in v4.3.0

func (GetUsersResultOutput) ElementType() reflect.Type

func (GetUsersResultOutput) ExternProvider added in v4.3.0

func (o GetUsersResultOutput) ExternProvider() pulumi.StringPtrOutput

Lookup users by external provider. (Requires administrator privileges)

func (GetUsersResultOutput) ExternUid added in v4.3.0

Lookup users by external UID. (Requires administrator privileges)

func (GetUsersResultOutput) Id added in v4.3.0

The provider-assigned unique ID for this managed resource.

func (GetUsersResultOutput) OrderBy added in v4.3.0

Order the users' list by `id`, `name`, `username`, `createdAt` or `updatedAt`. (Requires administrator privileges)

func (GetUsersResultOutput) Search added in v4.3.0

Search users by username, name or email.

func (GetUsersResultOutput) Sort added in v4.3.0

Sort users' list in asc or desc order. (Requires administrator privileges)

func (GetUsersResultOutput) ToGetUsersResultOutput added in v4.3.0

func (o GetUsersResultOutput) ToGetUsersResultOutput() GetUsersResultOutput

func (GetUsersResultOutput) ToGetUsersResultOutputWithContext added in v4.3.0

func (o GetUsersResultOutput) ToGetUsersResultOutputWithContext(ctx context.Context) GetUsersResultOutput

func (GetUsersResultOutput) Users added in v4.3.0

The list of users.

type GetUsersUser

type GetUsersUser struct {
	AvatarUrl        string `pulumi:"avatarUrl"`
	Bio              string `pulumi:"bio"`
	CanCreateGroup   bool   `pulumi:"canCreateGroup"`
	CanCreateProject bool   `pulumi:"canCreateProject"`
	ColorSchemeId    int    `pulumi:"colorSchemeId"`
	CreatedAt        string `pulumi:"createdAt"`
	CurrentSignInAt  string `pulumi:"currentSignInAt"`
	Email            string `pulumi:"email"`
	// Lookup users by external UID. (Requires administrator privileges)
	ExternUid string `pulumi:"externUid"`
	External  bool   `pulumi:"external"`
	// The ID of this resource.
	Id               int    `pulumi:"id"`
	IsAdmin          bool   `pulumi:"isAdmin"`
	LastSignInAt     string `pulumi:"lastSignInAt"`
	Linkedin         string `pulumi:"linkedin"`
	Location         string `pulumi:"location"`
	Name             string `pulumi:"name"`
	NamespaceId      int    `pulumi:"namespaceId"`
	Organization     string `pulumi:"organization"`
	ProjectsLimit    int    `pulumi:"projectsLimit"`
	Provider         string `pulumi:"provider"`
	Skype            string `pulumi:"skype"`
	State            string `pulumi:"state"`
	ThemeId          int    `pulumi:"themeId"`
	Twitter          string `pulumi:"twitter"`
	TwoFactorEnabled bool   `pulumi:"twoFactorEnabled"`
	Username         string `pulumi:"username"`
	WebsiteUrl       string `pulumi:"websiteUrl"`
}

type GetUsersUserArgs

type GetUsersUserArgs struct {
	AvatarUrl        pulumi.StringInput `pulumi:"avatarUrl"`
	Bio              pulumi.StringInput `pulumi:"bio"`
	CanCreateGroup   pulumi.BoolInput   `pulumi:"canCreateGroup"`
	CanCreateProject pulumi.BoolInput   `pulumi:"canCreateProject"`
	ColorSchemeId    pulumi.IntInput    `pulumi:"colorSchemeId"`
	CreatedAt        pulumi.StringInput `pulumi:"createdAt"`
	CurrentSignInAt  pulumi.StringInput `pulumi:"currentSignInAt"`
	Email            pulumi.StringInput `pulumi:"email"`
	// Lookup users by external UID. (Requires administrator privileges)
	ExternUid pulumi.StringInput `pulumi:"externUid"`
	External  pulumi.BoolInput   `pulumi:"external"`
	// The ID of this resource.
	Id               pulumi.IntInput    `pulumi:"id"`
	IsAdmin          pulumi.BoolInput   `pulumi:"isAdmin"`
	LastSignInAt     pulumi.StringInput `pulumi:"lastSignInAt"`
	Linkedin         pulumi.StringInput `pulumi:"linkedin"`
	Location         pulumi.StringInput `pulumi:"location"`
	Name             pulumi.StringInput `pulumi:"name"`
	NamespaceId      pulumi.IntInput    `pulumi:"namespaceId"`
	Organization     pulumi.StringInput `pulumi:"organization"`
	ProjectsLimit    pulumi.IntInput    `pulumi:"projectsLimit"`
	Provider         pulumi.StringInput `pulumi:"provider"`
	Skype            pulumi.StringInput `pulumi:"skype"`
	State            pulumi.StringInput `pulumi:"state"`
	ThemeId          pulumi.IntInput    `pulumi:"themeId"`
	Twitter          pulumi.StringInput `pulumi:"twitter"`
	TwoFactorEnabled pulumi.BoolInput   `pulumi:"twoFactorEnabled"`
	Username         pulumi.StringInput `pulumi:"username"`
	WebsiteUrl       pulumi.StringInput `pulumi:"websiteUrl"`
}

func (GetUsersUserArgs) ElementType

func (GetUsersUserArgs) ElementType() reflect.Type

func (GetUsersUserArgs) ToGetUsersUserOutput

func (i GetUsersUserArgs) ToGetUsersUserOutput() GetUsersUserOutput

func (GetUsersUserArgs) ToGetUsersUserOutputWithContext

func (i GetUsersUserArgs) ToGetUsersUserOutputWithContext(ctx context.Context) GetUsersUserOutput

type GetUsersUserArray

type GetUsersUserArray []GetUsersUserInput

func (GetUsersUserArray) ElementType

func (GetUsersUserArray) ElementType() reflect.Type

func (GetUsersUserArray) ToGetUsersUserArrayOutput

func (i GetUsersUserArray) ToGetUsersUserArrayOutput() GetUsersUserArrayOutput

func (GetUsersUserArray) ToGetUsersUserArrayOutputWithContext

func (i GetUsersUserArray) ToGetUsersUserArrayOutputWithContext(ctx context.Context) GetUsersUserArrayOutput

type GetUsersUserArrayInput

type GetUsersUserArrayInput interface {
	pulumi.Input

	ToGetUsersUserArrayOutput() GetUsersUserArrayOutput
	ToGetUsersUserArrayOutputWithContext(context.Context) GetUsersUserArrayOutput
}

GetUsersUserArrayInput is an input type that accepts GetUsersUserArray and GetUsersUserArrayOutput values. You can construct a concrete instance of `GetUsersUserArrayInput` via:

GetUsersUserArray{ GetUsersUserArgs{...} }

type GetUsersUserArrayOutput

type GetUsersUserArrayOutput struct{ *pulumi.OutputState }

func (GetUsersUserArrayOutput) ElementType

func (GetUsersUserArrayOutput) ElementType() reflect.Type

func (GetUsersUserArrayOutput) Index

func (GetUsersUserArrayOutput) ToGetUsersUserArrayOutput

func (o GetUsersUserArrayOutput) ToGetUsersUserArrayOutput() GetUsersUserArrayOutput

func (GetUsersUserArrayOutput) ToGetUsersUserArrayOutputWithContext

func (o GetUsersUserArrayOutput) ToGetUsersUserArrayOutputWithContext(ctx context.Context) GetUsersUserArrayOutput

type GetUsersUserInput

type GetUsersUserInput interface {
	pulumi.Input

	ToGetUsersUserOutput() GetUsersUserOutput
	ToGetUsersUserOutputWithContext(context.Context) GetUsersUserOutput
}

GetUsersUserInput is an input type that accepts GetUsersUserArgs and GetUsersUserOutput values. You can construct a concrete instance of `GetUsersUserInput` via:

GetUsersUserArgs{...}

type GetUsersUserOutput

type GetUsersUserOutput struct{ *pulumi.OutputState }

func (GetUsersUserOutput) AvatarUrl

func (o GetUsersUserOutput) AvatarUrl() pulumi.StringOutput

func (GetUsersUserOutput) Bio

func (GetUsersUserOutput) CanCreateGroup

func (o GetUsersUserOutput) CanCreateGroup() pulumi.BoolOutput

func (GetUsersUserOutput) CanCreateProject

func (o GetUsersUserOutput) CanCreateProject() pulumi.BoolOutput

func (GetUsersUserOutput) ColorSchemeId

func (o GetUsersUserOutput) ColorSchemeId() pulumi.IntOutput

func (GetUsersUserOutput) CreatedAt

func (o GetUsersUserOutput) CreatedAt() pulumi.StringOutput

func (GetUsersUserOutput) CurrentSignInAt

func (o GetUsersUserOutput) CurrentSignInAt() pulumi.StringOutput

func (GetUsersUserOutput) ElementType

func (GetUsersUserOutput) ElementType() reflect.Type

func (GetUsersUserOutput) Email

func (GetUsersUserOutput) ExternUid

func (o GetUsersUserOutput) ExternUid() pulumi.StringOutput

Lookup users by external UID. (Requires administrator privileges)

func (GetUsersUserOutput) External

func (o GetUsersUserOutput) External() pulumi.BoolOutput

func (GetUsersUserOutput) Id

The ID of this resource.

func (GetUsersUserOutput) IsAdmin

func (o GetUsersUserOutput) IsAdmin() pulumi.BoolOutput

func (GetUsersUserOutput) LastSignInAt

func (o GetUsersUserOutput) LastSignInAt() pulumi.StringOutput

func (GetUsersUserOutput) Linkedin

func (o GetUsersUserOutput) Linkedin() pulumi.StringOutput

func (GetUsersUserOutput) Location

func (o GetUsersUserOutput) Location() pulumi.StringOutput

func (GetUsersUserOutput) Name

func (GetUsersUserOutput) NamespaceId added in v4.8.0

func (o GetUsersUserOutput) NamespaceId() pulumi.IntOutput

func (GetUsersUserOutput) Organization

func (o GetUsersUserOutput) Organization() pulumi.StringOutput

func (GetUsersUserOutput) ProjectsLimit

func (o GetUsersUserOutput) ProjectsLimit() pulumi.IntOutput

func (GetUsersUserOutput) Provider

func (o GetUsersUserOutput) Provider() pulumi.StringOutput

func (GetUsersUserOutput) Skype

func (GetUsersUserOutput) State

func (GetUsersUserOutput) ThemeId

func (o GetUsersUserOutput) ThemeId() pulumi.IntOutput

func (GetUsersUserOutput) ToGetUsersUserOutput

func (o GetUsersUserOutput) ToGetUsersUserOutput() GetUsersUserOutput

func (GetUsersUserOutput) ToGetUsersUserOutputWithContext

func (o GetUsersUserOutput) ToGetUsersUserOutputWithContext(ctx context.Context) GetUsersUserOutput

func (GetUsersUserOutput) Twitter

func (GetUsersUserOutput) TwoFactorEnabled

func (o GetUsersUserOutput) TwoFactorEnabled() pulumi.BoolOutput

func (GetUsersUserOutput) Username

func (o GetUsersUserOutput) Username() pulumi.StringOutput

func (GetUsersUserOutput) WebsiteUrl

func (o GetUsersUserOutput) WebsiteUrl() pulumi.StringOutput

type Group

type Group struct {
	pulumi.CustomResourceState

	// Defaults to false. Default to Auto DevOps pipeline for all projects within this group.
	AutoDevopsEnabled pulumi.BoolPtrOutput `pulumi:"autoDevopsEnabled"`
	// Defaults to 2. See https://docs.gitlab.com/ee/api/groups.html#options-for-default*branch*protection
	DefaultBranchProtection pulumi.IntPtrOutput `pulumi:"defaultBranchProtection"`
	// The description of the group.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Defaults to false. Disable email notifications.
	EmailsDisabled pulumi.BoolPtrOutput `pulumi:"emailsDisabled"`
	// Can be set by administrators only. Additional CI/CD minutes for this group.
	ExtraSharedRunnersMinutesLimit pulumi.IntPtrOutput `pulumi:"extraSharedRunnersMinutesLimit"`
	// The full name of the group.
	FullName pulumi.StringOutput `pulumi:"fullName"`
	// The full path of the group.
	FullPath pulumi.StringOutput `pulumi:"fullPath"`
	// Defaults to true. Enable/disable Large File Storage (LFS) for the projects in this group.
	LfsEnabled pulumi.BoolPtrOutput `pulumi:"lfsEnabled"`
	// Users cannot be added to projects in this group.
	MembershipLock pulumi.BoolPtrOutput `pulumi:"membershipLock"`
	// Defaults to false. Disable the capability of a group from getting mentioned.
	MentionsDisabled pulumi.BoolPtrOutput `pulumi:"mentionsDisabled"`
	// The name of this group.
	Name pulumi.StringOutput `pulumi:"name"`
	// Id of the parent group (creates a nested group).
	ParentId pulumi.IntPtrOutput `pulumi:"parentId"`
	// The path of the group.
	Path pulumi.StringOutput `pulumi:"path"`
	// Defaults to false. When enabled, users can not fork projects from this group to external namespaces.
	PreventForkingOutsideGroup pulumi.BoolPtrOutput `pulumi:"preventForkingOutsideGroup"`
	// Defaults to maintainer. Determine if developers can create projects in the group.
	ProjectCreationLevel pulumi.StringPtrOutput `pulumi:"projectCreationLevel"`
	// Defaults to false. Allow users to request member access.
	RequestAccessEnabled pulumi.BoolPtrOutput `pulumi:"requestAccessEnabled"`
	// Defaults to false. Require all users in this group to setup Two-factor authentication.
	RequireTwoFactorAuthentication pulumi.BoolPtrOutput `pulumi:"requireTwoFactorAuthentication"`
	// The group level registration token to use during runner setup.
	RunnersToken pulumi.StringOutput `pulumi:"runnersToken"`
	// Defaults to false. Prevent sharing a project with another group within this group.
	ShareWithGroupLock pulumi.BoolPtrOutput `pulumi:"shareWithGroupLock"`
	// Can be set by administrators only. Maximum number of monthly CI/CD minutes for this group. Can be nil (default; inherit system default), 0 (unlimited), or > 0.
	SharedRunnersMinutesLimit pulumi.IntPtrOutput `pulumi:"sharedRunnersMinutesLimit"`
	// Defaults to owner. Allowed to create subgroups.
	SubgroupCreationLevel pulumi.StringPtrOutput `pulumi:"subgroupCreationLevel"`
	// Defaults to 48. Time before Two-factor authentication is enforced (in hours).
	TwoFactorGracePeriod pulumi.IntPtrOutput `pulumi:"twoFactorGracePeriod"`
	// The group's visibility. Can be `private`, `internal`, or `public`.
	VisibilityLevel pulumi.StringOutput `pulumi:"visibilityLevel"`
	// Web URL of the group.
	WebUrl pulumi.StringOutput `pulumi:"webUrl"`
}

The `Group` resource allows to manage the lifecycle of a group.

> On GitLab SaaS, you must use the GitLab UI to create groups without a parent group. You cannot use this provider nor the API to do this.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/groups.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleGroup, err := gitlab.NewGroup(ctx, "exampleGroup", &gitlab.GroupArgs{
			Path:        pulumi.String("example"),
			Description: pulumi.String("An example group"),
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewProject(ctx, "exampleProject", &gitlab.ProjectArgs{
			Description: pulumi.String("An example project"),
			NamespaceId: exampleGroup.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import gitlab:index/group:Group You can import a group state using `<resource> <id>`. The

```

`id` can be whatever the [details of a group][details_of_a_group] api takes for its `:id` value, so for example

```sh

$ pulumi import gitlab:index/group:Group example example

```

func GetGroup

func GetGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GroupState, opts ...pulumi.ResourceOption) (*Group, error)

GetGroup gets an existing Group resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGroup

func NewGroup(ctx *pulumi.Context,
	name string, args *GroupArgs, opts ...pulumi.ResourceOption) (*Group, error)

NewGroup registers a new resource with the given unique name, arguments, and options.

func (*Group) ElementType

func (*Group) ElementType() reflect.Type

func (*Group) ToGroupOutput

func (i *Group) ToGroupOutput() GroupOutput

func (*Group) ToGroupOutputWithContext

func (i *Group) ToGroupOutputWithContext(ctx context.Context) GroupOutput

type GroupAccessToken added in v4.6.0

type GroupAccessToken struct {
	pulumi.CustomResourceState

	// The access level for the group access token. Valid values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.
	AccessLevel pulumi.StringPtrOutput `pulumi:"accessLevel"`
	// True if the token is active.
	Active pulumi.BoolOutput `pulumi:"active"`
	// Time the token has been created, RFC3339 format.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The token expires at midnight UTC on that date. The date must be in the format YYYY-MM-DD. Default is never.
	ExpiresAt pulumi.StringPtrOutput `pulumi:"expiresAt"`
	// The ID or path of the group to add the group access token to.
	Group pulumi.StringOutput `pulumi:"group"`
	// The name of the group access token.
	Name pulumi.StringOutput `pulumi:"name"`
	// True if the token is revoked.
	Revoked pulumi.BoolOutput `pulumi:"revoked"`
	// The scope for the group access token. It determines the actions which can be performed when authenticating with this token. Valid values are: `api`, `readApi`, `readRegistry`, `writeRegistry`, `readRepository`, `writeRepository`.
	Scopes pulumi.StringArrayOutput `pulumi:"scopes"`
	// The group access token. This is only populated when creating a new group access token. This attribute is not available for imported resources.
	Token pulumi.StringOutput `pulumi:"token"`
	// The user id associated to the token.
	UserId pulumi.IntOutput `pulumi:"userId"`
}

The `gitlabGroupAccess`token resource allows to manage the lifecycle of a group access token.

> Group Access Token were introduced in GitLab 14.7

**Upstream API**: [GitLab REST API](https://docs.gitlab.com/ee/api/group_access_tokens.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleGroupAccessToken, err := gitlab.NewGroupAccessToken(ctx, "exampleGroupAccessToken", &gitlab.GroupAccessTokenArgs{
			Group:       pulumi.String("25"),
			ExpiresAt:   pulumi.String("2020-03-14"),
			AccessLevel: pulumi.String("developer"),
			Scopes: pulumi.StringArray{
				pulumi.String("api"),
			},
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewGroupVariable(ctx, "exampleGroupVariable", &gitlab.GroupVariableArgs{
			Group: pulumi.String("25"),
			Key:   pulumi.String("gat"),
			Value: exampleGroupAccessToken.Token,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

A GitLab Group Access Token can be imported using a key composed of `<group-id>:<token-id>`, e.g.

```sh

$ pulumi import gitlab:index/groupAccessToken:GroupAccessToken example "12345:1"

```

ATTENTIONthe `token` resource attribute is not available for imported resources as this information cannot be read from the GitLab API.

func GetGroupAccessToken added in v4.6.0

func GetGroupAccessToken(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GroupAccessTokenState, opts ...pulumi.ResourceOption) (*GroupAccessToken, error)

GetGroupAccessToken gets an existing GroupAccessToken resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGroupAccessToken added in v4.6.0

func NewGroupAccessToken(ctx *pulumi.Context,
	name string, args *GroupAccessTokenArgs, opts ...pulumi.ResourceOption) (*GroupAccessToken, error)

NewGroupAccessToken registers a new resource with the given unique name, arguments, and options.

func (*GroupAccessToken) ElementType added in v4.6.0

func (*GroupAccessToken) ElementType() reflect.Type

func (*GroupAccessToken) ToGroupAccessTokenOutput added in v4.6.0

func (i *GroupAccessToken) ToGroupAccessTokenOutput() GroupAccessTokenOutput

func (*GroupAccessToken) ToGroupAccessTokenOutputWithContext added in v4.6.0

func (i *GroupAccessToken) ToGroupAccessTokenOutputWithContext(ctx context.Context) GroupAccessTokenOutput

type GroupAccessTokenArgs added in v4.6.0

type GroupAccessTokenArgs struct {
	// The access level for the group access token. Valid values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.
	AccessLevel pulumi.StringPtrInput
	// The token expires at midnight UTC on that date. The date must be in the format YYYY-MM-DD. Default is never.
	ExpiresAt pulumi.StringPtrInput
	// The ID or path of the group to add the group access token to.
	Group pulumi.StringInput
	// The name of the group access token.
	Name pulumi.StringPtrInput
	// The scope for the group access token. It determines the actions which can be performed when authenticating with this token. Valid values are: `api`, `readApi`, `readRegistry`, `writeRegistry`, `readRepository`, `writeRepository`.
	Scopes pulumi.StringArrayInput
}

The set of arguments for constructing a GroupAccessToken resource.

func (GroupAccessTokenArgs) ElementType added in v4.6.0

func (GroupAccessTokenArgs) ElementType() reflect.Type

type GroupAccessTokenArray added in v4.6.0

type GroupAccessTokenArray []GroupAccessTokenInput

func (GroupAccessTokenArray) ElementType added in v4.6.0

func (GroupAccessTokenArray) ElementType() reflect.Type

func (GroupAccessTokenArray) ToGroupAccessTokenArrayOutput added in v4.6.0

func (i GroupAccessTokenArray) ToGroupAccessTokenArrayOutput() GroupAccessTokenArrayOutput

func (GroupAccessTokenArray) ToGroupAccessTokenArrayOutputWithContext added in v4.6.0

func (i GroupAccessTokenArray) ToGroupAccessTokenArrayOutputWithContext(ctx context.Context) GroupAccessTokenArrayOutput

type GroupAccessTokenArrayInput added in v4.6.0

type GroupAccessTokenArrayInput interface {
	pulumi.Input

	ToGroupAccessTokenArrayOutput() GroupAccessTokenArrayOutput
	ToGroupAccessTokenArrayOutputWithContext(context.Context) GroupAccessTokenArrayOutput
}

GroupAccessTokenArrayInput is an input type that accepts GroupAccessTokenArray and GroupAccessTokenArrayOutput values. You can construct a concrete instance of `GroupAccessTokenArrayInput` via:

GroupAccessTokenArray{ GroupAccessTokenArgs{...} }

type GroupAccessTokenArrayOutput added in v4.6.0

type GroupAccessTokenArrayOutput struct{ *pulumi.OutputState }

func (GroupAccessTokenArrayOutput) ElementType added in v4.6.0

func (GroupAccessTokenArrayOutput) Index added in v4.6.0

func (GroupAccessTokenArrayOutput) ToGroupAccessTokenArrayOutput added in v4.6.0

func (o GroupAccessTokenArrayOutput) ToGroupAccessTokenArrayOutput() GroupAccessTokenArrayOutput

func (GroupAccessTokenArrayOutput) ToGroupAccessTokenArrayOutputWithContext added in v4.6.0

func (o GroupAccessTokenArrayOutput) ToGroupAccessTokenArrayOutputWithContext(ctx context.Context) GroupAccessTokenArrayOutput

type GroupAccessTokenInput added in v4.6.0

type GroupAccessTokenInput interface {
	pulumi.Input

	ToGroupAccessTokenOutput() GroupAccessTokenOutput
	ToGroupAccessTokenOutputWithContext(ctx context.Context) GroupAccessTokenOutput
}

type GroupAccessTokenMap added in v4.6.0

type GroupAccessTokenMap map[string]GroupAccessTokenInput

func (GroupAccessTokenMap) ElementType added in v4.6.0

func (GroupAccessTokenMap) ElementType() reflect.Type

func (GroupAccessTokenMap) ToGroupAccessTokenMapOutput added in v4.6.0

func (i GroupAccessTokenMap) ToGroupAccessTokenMapOutput() GroupAccessTokenMapOutput

func (GroupAccessTokenMap) ToGroupAccessTokenMapOutputWithContext added in v4.6.0

func (i GroupAccessTokenMap) ToGroupAccessTokenMapOutputWithContext(ctx context.Context) GroupAccessTokenMapOutput

type GroupAccessTokenMapInput added in v4.6.0

type GroupAccessTokenMapInput interface {
	pulumi.Input

	ToGroupAccessTokenMapOutput() GroupAccessTokenMapOutput
	ToGroupAccessTokenMapOutputWithContext(context.Context) GroupAccessTokenMapOutput
}

GroupAccessTokenMapInput is an input type that accepts GroupAccessTokenMap and GroupAccessTokenMapOutput values. You can construct a concrete instance of `GroupAccessTokenMapInput` via:

GroupAccessTokenMap{ "key": GroupAccessTokenArgs{...} }

type GroupAccessTokenMapOutput added in v4.6.0

type GroupAccessTokenMapOutput struct{ *pulumi.OutputState }

func (GroupAccessTokenMapOutput) ElementType added in v4.6.0

func (GroupAccessTokenMapOutput) ElementType() reflect.Type

func (GroupAccessTokenMapOutput) MapIndex added in v4.6.0

func (GroupAccessTokenMapOutput) ToGroupAccessTokenMapOutput added in v4.6.0

func (o GroupAccessTokenMapOutput) ToGroupAccessTokenMapOutput() GroupAccessTokenMapOutput

func (GroupAccessTokenMapOutput) ToGroupAccessTokenMapOutputWithContext added in v4.6.0

func (o GroupAccessTokenMapOutput) ToGroupAccessTokenMapOutputWithContext(ctx context.Context) GroupAccessTokenMapOutput

type GroupAccessTokenOutput added in v4.6.0

type GroupAccessTokenOutput struct{ *pulumi.OutputState }

func (GroupAccessTokenOutput) AccessLevel added in v4.7.1

The access level for the group access token. Valid values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.

func (GroupAccessTokenOutput) Active added in v4.7.1

True if the token is active.

func (GroupAccessTokenOutput) CreatedAt added in v4.7.1

Time the token has been created, RFC3339 format.

func (GroupAccessTokenOutput) ElementType added in v4.6.0

func (GroupAccessTokenOutput) ElementType() reflect.Type

func (GroupAccessTokenOutput) ExpiresAt added in v4.7.1

The token expires at midnight UTC on that date. The date must be in the format YYYY-MM-DD. Default is never.

func (GroupAccessTokenOutput) Group added in v4.7.1

The ID or path of the group to add the group access token to.

func (GroupAccessTokenOutput) Name added in v4.7.1

The name of the group access token.

func (GroupAccessTokenOutput) Revoked added in v4.7.1

True if the token is revoked.

func (GroupAccessTokenOutput) Scopes added in v4.7.1

The scope for the group access token. It determines the actions which can be performed when authenticating with this token. Valid values are: `api`, `readApi`, `readRegistry`, `writeRegistry`, `readRepository`, `writeRepository`.

func (GroupAccessTokenOutput) ToGroupAccessTokenOutput added in v4.6.0

func (o GroupAccessTokenOutput) ToGroupAccessTokenOutput() GroupAccessTokenOutput

func (GroupAccessTokenOutput) ToGroupAccessTokenOutputWithContext added in v4.6.0

func (o GroupAccessTokenOutput) ToGroupAccessTokenOutputWithContext(ctx context.Context) GroupAccessTokenOutput

func (GroupAccessTokenOutput) Token added in v4.7.1

The group access token. This is only populated when creating a new group access token. This attribute is not available for imported resources.

func (GroupAccessTokenOutput) UserId added in v4.7.1

The user id associated to the token.

type GroupAccessTokenState added in v4.6.0

type GroupAccessTokenState struct {
	// The access level for the group access token. Valid values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.
	AccessLevel pulumi.StringPtrInput
	// True if the token is active.
	Active pulumi.BoolPtrInput
	// Time the token has been created, RFC3339 format.
	CreatedAt pulumi.StringPtrInput
	// The token expires at midnight UTC on that date. The date must be in the format YYYY-MM-DD. Default is never.
	ExpiresAt pulumi.StringPtrInput
	// The ID or path of the group to add the group access token to.
	Group pulumi.StringPtrInput
	// The name of the group access token.
	Name pulumi.StringPtrInput
	// True if the token is revoked.
	Revoked pulumi.BoolPtrInput
	// The scope for the group access token. It determines the actions which can be performed when authenticating with this token. Valid values are: `api`, `readApi`, `readRegistry`, `writeRegistry`, `readRepository`, `writeRepository`.
	Scopes pulumi.StringArrayInput
	// The group access token. This is only populated when creating a new group access token. This attribute is not available for imported resources.
	Token pulumi.StringPtrInput
	// The user id associated to the token.
	UserId pulumi.IntPtrInput
}

func (GroupAccessTokenState) ElementType added in v4.6.0

func (GroupAccessTokenState) ElementType() reflect.Type

type GroupArgs

type GroupArgs struct {
	// Defaults to false. Default to Auto DevOps pipeline for all projects within this group.
	AutoDevopsEnabled pulumi.BoolPtrInput
	// Defaults to 2. See https://docs.gitlab.com/ee/api/groups.html#options-for-default*branch*protection
	DefaultBranchProtection pulumi.IntPtrInput
	// The description of the group.
	Description pulumi.StringPtrInput
	// Defaults to false. Disable email notifications.
	EmailsDisabled pulumi.BoolPtrInput
	// Can be set by administrators only. Additional CI/CD minutes for this group.
	ExtraSharedRunnersMinutesLimit pulumi.IntPtrInput
	// Defaults to true. Enable/disable Large File Storage (LFS) for the projects in this group.
	LfsEnabled pulumi.BoolPtrInput
	// Users cannot be added to projects in this group.
	MembershipLock pulumi.BoolPtrInput
	// Defaults to false. Disable the capability of a group from getting mentioned.
	MentionsDisabled pulumi.BoolPtrInput
	// The name of this group.
	Name pulumi.StringPtrInput
	// Id of the parent group (creates a nested group).
	ParentId pulumi.IntPtrInput
	// The path of the group.
	Path pulumi.StringInput
	// Defaults to false. When enabled, users can not fork projects from this group to external namespaces.
	PreventForkingOutsideGroup pulumi.BoolPtrInput
	// Defaults to maintainer. Determine if developers can create projects in the group.
	ProjectCreationLevel pulumi.StringPtrInput
	// Defaults to false. Allow users to request member access.
	RequestAccessEnabled pulumi.BoolPtrInput
	// Defaults to false. Require all users in this group to setup Two-factor authentication.
	RequireTwoFactorAuthentication pulumi.BoolPtrInput
	// Defaults to false. Prevent sharing a project with another group within this group.
	ShareWithGroupLock pulumi.BoolPtrInput
	// Can be set by administrators only. Maximum number of monthly CI/CD minutes for this group. Can be nil (default; inherit system default), 0 (unlimited), or > 0.
	SharedRunnersMinutesLimit pulumi.IntPtrInput
	// Defaults to owner. Allowed to create subgroups.
	SubgroupCreationLevel pulumi.StringPtrInput
	// Defaults to 48. Time before Two-factor authentication is enforced (in hours).
	TwoFactorGracePeriod pulumi.IntPtrInput
	// The group's visibility. Can be `private`, `internal`, or `public`.
	VisibilityLevel pulumi.StringPtrInput
}

The set of arguments for constructing a Group resource.

func (GroupArgs) ElementType

func (GroupArgs) ElementType() reflect.Type

type GroupArray

type GroupArray []GroupInput

func (GroupArray) ElementType

func (GroupArray) ElementType() reflect.Type

func (GroupArray) ToGroupArrayOutput

func (i GroupArray) ToGroupArrayOutput() GroupArrayOutput

func (GroupArray) ToGroupArrayOutputWithContext

func (i GroupArray) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput

type GroupArrayInput

type GroupArrayInput interface {
	pulumi.Input

	ToGroupArrayOutput() GroupArrayOutput
	ToGroupArrayOutputWithContext(context.Context) GroupArrayOutput
}

GroupArrayInput is an input type that accepts GroupArray and GroupArrayOutput values. You can construct a concrete instance of `GroupArrayInput` via:

GroupArray{ GroupArgs{...} }

type GroupArrayOutput

type GroupArrayOutput struct{ *pulumi.OutputState }

func (GroupArrayOutput) ElementType

func (GroupArrayOutput) ElementType() reflect.Type

func (GroupArrayOutput) Index

func (GroupArrayOutput) ToGroupArrayOutput

func (o GroupArrayOutput) ToGroupArrayOutput() GroupArrayOutput

func (GroupArrayOutput) ToGroupArrayOutputWithContext

func (o GroupArrayOutput) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput

type GroupBadge added in v4.5.0

type GroupBadge struct {
	pulumi.CustomResourceState

	// The id of the group to add the badge to.
	Group pulumi.StringOutput `pulumi:"group"`
	// The image url which will be presented on group overview.
	ImageUrl pulumi.StringOutput `pulumi:"imageUrl"`
	// The url linked with the badge.
	LinkUrl pulumi.StringOutput `pulumi:"linkUrl"`
	// The imageUrl argument rendered (in case of use of placeholders).
	RenderedImageUrl pulumi.StringOutput `pulumi:"renderedImageUrl"`
	// The linkUrl argument rendered (in case of use of placeholders).
	RenderedLinkUrl pulumi.StringOutput `pulumi:"renderedLinkUrl"`
}

The `GroupBadge` resource allows to mange the lifecycle of group badges.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/user/project/badges.html#group-badges)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foo, err := gitlab.NewGroup(ctx, "foo", nil)
		if err != nil {
			return err
		}
		_, err = gitlab.NewGroupBadge(ctx, "example", &gitlab.GroupBadgeArgs{
			Group:    foo.ID(),
			LinkUrl:  pulumi.String("https://example.com/badge-123"),
			ImageUrl: pulumi.String("https://example.com/badge-123.svg"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GitLab group badges can be imported using an id made up of `{group_id}:{badge_id}`, e.g.

```sh

$ pulumi import gitlab:index/groupBadge:GroupBadge foo 1:3

```

func GetGroupBadge added in v4.5.0

func GetGroupBadge(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GroupBadgeState, opts ...pulumi.ResourceOption) (*GroupBadge, error)

GetGroupBadge gets an existing GroupBadge resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGroupBadge added in v4.5.0

func NewGroupBadge(ctx *pulumi.Context,
	name string, args *GroupBadgeArgs, opts ...pulumi.ResourceOption) (*GroupBadge, error)

NewGroupBadge registers a new resource with the given unique name, arguments, and options.

func (*GroupBadge) ElementType added in v4.5.0

func (*GroupBadge) ElementType() reflect.Type

func (*GroupBadge) ToGroupBadgeOutput added in v4.5.0

func (i *GroupBadge) ToGroupBadgeOutput() GroupBadgeOutput

func (*GroupBadge) ToGroupBadgeOutputWithContext added in v4.5.0

func (i *GroupBadge) ToGroupBadgeOutputWithContext(ctx context.Context) GroupBadgeOutput

type GroupBadgeArgs added in v4.5.0

type GroupBadgeArgs struct {
	// The id of the group to add the badge to.
	Group pulumi.StringInput
	// The image url which will be presented on group overview.
	ImageUrl pulumi.StringInput
	// The url linked with the badge.
	LinkUrl pulumi.StringInput
}

The set of arguments for constructing a GroupBadge resource.

func (GroupBadgeArgs) ElementType added in v4.5.0

func (GroupBadgeArgs) ElementType() reflect.Type

type GroupBadgeArray added in v4.5.0

type GroupBadgeArray []GroupBadgeInput

func (GroupBadgeArray) ElementType added in v4.5.0

func (GroupBadgeArray) ElementType() reflect.Type

func (GroupBadgeArray) ToGroupBadgeArrayOutput added in v4.5.0

func (i GroupBadgeArray) ToGroupBadgeArrayOutput() GroupBadgeArrayOutput

func (GroupBadgeArray) ToGroupBadgeArrayOutputWithContext added in v4.5.0

func (i GroupBadgeArray) ToGroupBadgeArrayOutputWithContext(ctx context.Context) GroupBadgeArrayOutput

type GroupBadgeArrayInput added in v4.5.0

type GroupBadgeArrayInput interface {
	pulumi.Input

	ToGroupBadgeArrayOutput() GroupBadgeArrayOutput
	ToGroupBadgeArrayOutputWithContext(context.Context) GroupBadgeArrayOutput
}

GroupBadgeArrayInput is an input type that accepts GroupBadgeArray and GroupBadgeArrayOutput values. You can construct a concrete instance of `GroupBadgeArrayInput` via:

GroupBadgeArray{ GroupBadgeArgs{...} }

type GroupBadgeArrayOutput added in v4.5.0

type GroupBadgeArrayOutput struct{ *pulumi.OutputState }

func (GroupBadgeArrayOutput) ElementType added in v4.5.0

func (GroupBadgeArrayOutput) ElementType() reflect.Type

func (GroupBadgeArrayOutput) Index added in v4.5.0

func (GroupBadgeArrayOutput) ToGroupBadgeArrayOutput added in v4.5.0

func (o GroupBadgeArrayOutput) ToGroupBadgeArrayOutput() GroupBadgeArrayOutput

func (GroupBadgeArrayOutput) ToGroupBadgeArrayOutputWithContext added in v4.5.0

func (o GroupBadgeArrayOutput) ToGroupBadgeArrayOutputWithContext(ctx context.Context) GroupBadgeArrayOutput

type GroupBadgeInput added in v4.5.0

type GroupBadgeInput interface {
	pulumi.Input

	ToGroupBadgeOutput() GroupBadgeOutput
	ToGroupBadgeOutputWithContext(ctx context.Context) GroupBadgeOutput
}

type GroupBadgeMap added in v4.5.0

type GroupBadgeMap map[string]GroupBadgeInput

func (GroupBadgeMap) ElementType added in v4.5.0

func (GroupBadgeMap) ElementType() reflect.Type

func (GroupBadgeMap) ToGroupBadgeMapOutput added in v4.5.0

func (i GroupBadgeMap) ToGroupBadgeMapOutput() GroupBadgeMapOutput

func (GroupBadgeMap) ToGroupBadgeMapOutputWithContext added in v4.5.0

func (i GroupBadgeMap) ToGroupBadgeMapOutputWithContext(ctx context.Context) GroupBadgeMapOutput

type GroupBadgeMapInput added in v4.5.0

type GroupBadgeMapInput interface {
	pulumi.Input

	ToGroupBadgeMapOutput() GroupBadgeMapOutput
	ToGroupBadgeMapOutputWithContext(context.Context) GroupBadgeMapOutput
}

GroupBadgeMapInput is an input type that accepts GroupBadgeMap and GroupBadgeMapOutput values. You can construct a concrete instance of `GroupBadgeMapInput` via:

GroupBadgeMap{ "key": GroupBadgeArgs{...} }

type GroupBadgeMapOutput added in v4.5.0

type GroupBadgeMapOutput struct{ *pulumi.OutputState }

func (GroupBadgeMapOutput) ElementType added in v4.5.0

func (GroupBadgeMapOutput) ElementType() reflect.Type

func (GroupBadgeMapOutput) MapIndex added in v4.5.0

func (GroupBadgeMapOutput) ToGroupBadgeMapOutput added in v4.5.0

func (o GroupBadgeMapOutput) ToGroupBadgeMapOutput() GroupBadgeMapOutput

func (GroupBadgeMapOutput) ToGroupBadgeMapOutputWithContext added in v4.5.0

func (o GroupBadgeMapOutput) ToGroupBadgeMapOutputWithContext(ctx context.Context) GroupBadgeMapOutput

type GroupBadgeOutput added in v4.5.0

type GroupBadgeOutput struct{ *pulumi.OutputState }

func (GroupBadgeOutput) ElementType added in v4.5.0

func (GroupBadgeOutput) ElementType() reflect.Type

func (GroupBadgeOutput) Group added in v4.7.1

The id of the group to add the badge to.

func (GroupBadgeOutput) ImageUrl added in v4.7.1

func (o GroupBadgeOutput) ImageUrl() pulumi.StringOutput

The image url which will be presented on group overview.

func (GroupBadgeOutput) LinkUrl added in v4.7.1

func (o GroupBadgeOutput) LinkUrl() pulumi.StringOutput

The url linked with the badge.

func (GroupBadgeOutput) RenderedImageUrl added in v4.7.1

func (o GroupBadgeOutput) RenderedImageUrl() pulumi.StringOutput

The imageUrl argument rendered (in case of use of placeholders).

func (GroupBadgeOutput) RenderedLinkUrl added in v4.7.1

func (o GroupBadgeOutput) RenderedLinkUrl() pulumi.StringOutput

The linkUrl argument rendered (in case of use of placeholders).

func (GroupBadgeOutput) ToGroupBadgeOutput added in v4.5.0

func (o GroupBadgeOutput) ToGroupBadgeOutput() GroupBadgeOutput

func (GroupBadgeOutput) ToGroupBadgeOutputWithContext added in v4.5.0

func (o GroupBadgeOutput) ToGroupBadgeOutputWithContext(ctx context.Context) GroupBadgeOutput

type GroupBadgeState added in v4.5.0

type GroupBadgeState struct {
	// The id of the group to add the badge to.
	Group pulumi.StringPtrInput
	// The image url which will be presented on group overview.
	ImageUrl pulumi.StringPtrInput
	// The url linked with the badge.
	LinkUrl pulumi.StringPtrInput
	// The imageUrl argument rendered (in case of use of placeholders).
	RenderedImageUrl pulumi.StringPtrInput
	// The linkUrl argument rendered (in case of use of placeholders).
	RenderedLinkUrl pulumi.StringPtrInput
}

func (GroupBadgeState) ElementType added in v4.5.0

func (GroupBadgeState) ElementType() reflect.Type

type GroupCluster

type GroupCluster struct {
	pulumi.CustomResourceState

	// Cluster type.
	ClusterType pulumi.StringOutput `pulumi:"clusterType"`
	// Create time.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The base domain of the cluster.
	Domain pulumi.StringPtrOutput `pulumi:"domain"`
	// Determines if cluster is active or not. Defaults to `true`. This attribute cannot be read.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// The associated environment to the cluster. Defaults to `*`.
	EnvironmentScope pulumi.StringPtrOutput `pulumi:"environmentScope"`
	// The id of the group to add the cluster to.
	Group pulumi.StringOutput `pulumi:"group"`
	// The URL to access the Kubernetes API.
	KubernetesApiUrl pulumi.StringOutput `pulumi:"kubernetesApiUrl"`
	// The cluster authorization type. Valid values are `rbac`, `abac`, `unknownAuthorization`. Defaults to `rbac`.
	KubernetesAuthorizationType pulumi.StringPtrOutput `pulumi:"kubernetesAuthorizationType"`
	// TLS certificate (needed if API is using a self-signed TLS certificate).
	KubernetesCaCert pulumi.StringPtrOutput `pulumi:"kubernetesCaCert"`
	// The token to authenticate against Kubernetes.
	KubernetesToken pulumi.StringOutput `pulumi:"kubernetesToken"`
	// Determines if cluster is managed by gitlab or not. Defaults to `true`. This attribute cannot be read.
	Managed pulumi.BoolPtrOutput `pulumi:"managed"`
	// The ID of the management project for the cluster.
	ManagementProjectId pulumi.StringPtrOutput `pulumi:"managementProjectId"`
	// The name of cluster.
	Name pulumi.StringOutput `pulumi:"name"`
	// Platform type.
	PlatformType pulumi.StringOutput `pulumi:"platformType"`
	// Provider type.
	ProviderType pulumi.StringOutput `pulumi:"providerType"`
}

The `GroupCluster` resource allows to manage the lifecycle of a group cluster.

> This is deprecated GitLab feature since 14.5

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/group_clusters.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foo, err := gitlab.NewGroup(ctx, "foo", &gitlab.GroupArgs{
			Path: pulumi.String("foo-path"),
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewGroupCluster(ctx, "bar", &gitlab.GroupClusterArgs{
			Group:                       foo.ID(),
			Domain:                      pulumi.String("example.com"),
			Enabled:                     pulumi.Bool(true),
			KubernetesApiUrl:            pulumi.String("https://124.124.124"),
			KubernetesToken:             pulumi.String("some-token"),
			KubernetesCaCert:            pulumi.String("some-cert"),
			KubernetesAuthorizationType: pulumi.String("rbac"),
			EnvironmentScope:            pulumi.String("*"),
			ManagementProjectId:         pulumi.String("123456"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GitLab group clusters can be imported using an id made up of `groupid:clusterid`, e.g.

```sh

$ pulumi import gitlab:index/groupCluster:GroupCluster bar 123:321

```

func GetGroupCluster

func GetGroupCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GroupClusterState, opts ...pulumi.ResourceOption) (*GroupCluster, error)

GetGroupCluster gets an existing GroupCluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGroupCluster

func NewGroupCluster(ctx *pulumi.Context,
	name string, args *GroupClusterArgs, opts ...pulumi.ResourceOption) (*GroupCluster, error)

NewGroupCluster registers a new resource with the given unique name, arguments, and options.

func (*GroupCluster) ElementType

func (*GroupCluster) ElementType() reflect.Type

func (*GroupCluster) ToGroupClusterOutput

func (i *GroupCluster) ToGroupClusterOutput() GroupClusterOutput

func (*GroupCluster) ToGroupClusterOutputWithContext

func (i *GroupCluster) ToGroupClusterOutputWithContext(ctx context.Context) GroupClusterOutput

type GroupClusterArgs

type GroupClusterArgs struct {
	// The base domain of the cluster.
	Domain pulumi.StringPtrInput
	// Determines if cluster is active or not. Defaults to `true`. This attribute cannot be read.
	Enabled pulumi.BoolPtrInput
	// The associated environment to the cluster. Defaults to `*`.
	EnvironmentScope pulumi.StringPtrInput
	// The id of the group to add the cluster to.
	Group pulumi.StringInput
	// The URL to access the Kubernetes API.
	KubernetesApiUrl pulumi.StringInput
	// The cluster authorization type. Valid values are `rbac`, `abac`, `unknownAuthorization`. Defaults to `rbac`.
	KubernetesAuthorizationType pulumi.StringPtrInput
	// TLS certificate (needed if API is using a self-signed TLS certificate).
	KubernetesCaCert pulumi.StringPtrInput
	// The token to authenticate against Kubernetes.
	KubernetesToken pulumi.StringInput
	// Determines if cluster is managed by gitlab or not. Defaults to `true`. This attribute cannot be read.
	Managed pulumi.BoolPtrInput
	// The ID of the management project for the cluster.
	ManagementProjectId pulumi.StringPtrInput
	// The name of cluster.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a GroupCluster resource.

func (GroupClusterArgs) ElementType

func (GroupClusterArgs) ElementType() reflect.Type

type GroupClusterArray

type GroupClusterArray []GroupClusterInput

func (GroupClusterArray) ElementType

func (GroupClusterArray) ElementType() reflect.Type

func (GroupClusterArray) ToGroupClusterArrayOutput

func (i GroupClusterArray) ToGroupClusterArrayOutput() GroupClusterArrayOutput

func (GroupClusterArray) ToGroupClusterArrayOutputWithContext

func (i GroupClusterArray) ToGroupClusterArrayOutputWithContext(ctx context.Context) GroupClusterArrayOutput

type GroupClusterArrayInput

type GroupClusterArrayInput interface {
	pulumi.Input

	ToGroupClusterArrayOutput() GroupClusterArrayOutput
	ToGroupClusterArrayOutputWithContext(context.Context) GroupClusterArrayOutput
}

GroupClusterArrayInput is an input type that accepts GroupClusterArray and GroupClusterArrayOutput values. You can construct a concrete instance of `GroupClusterArrayInput` via:

GroupClusterArray{ GroupClusterArgs{...} }

type GroupClusterArrayOutput

type GroupClusterArrayOutput struct{ *pulumi.OutputState }

func (GroupClusterArrayOutput) ElementType

func (GroupClusterArrayOutput) ElementType() reflect.Type

func (GroupClusterArrayOutput) Index

func (GroupClusterArrayOutput) ToGroupClusterArrayOutput

func (o GroupClusterArrayOutput) ToGroupClusterArrayOutput() GroupClusterArrayOutput

func (GroupClusterArrayOutput) ToGroupClusterArrayOutputWithContext

func (o GroupClusterArrayOutput) ToGroupClusterArrayOutputWithContext(ctx context.Context) GroupClusterArrayOutput

type GroupClusterInput

type GroupClusterInput interface {
	pulumi.Input

	ToGroupClusterOutput() GroupClusterOutput
	ToGroupClusterOutputWithContext(ctx context.Context) GroupClusterOutput
}

type GroupClusterMap

type GroupClusterMap map[string]GroupClusterInput

func (GroupClusterMap) ElementType

func (GroupClusterMap) ElementType() reflect.Type

func (GroupClusterMap) ToGroupClusterMapOutput

func (i GroupClusterMap) ToGroupClusterMapOutput() GroupClusterMapOutput

func (GroupClusterMap) ToGroupClusterMapOutputWithContext

func (i GroupClusterMap) ToGroupClusterMapOutputWithContext(ctx context.Context) GroupClusterMapOutput

type GroupClusterMapInput

type GroupClusterMapInput interface {
	pulumi.Input

	ToGroupClusterMapOutput() GroupClusterMapOutput
	ToGroupClusterMapOutputWithContext(context.Context) GroupClusterMapOutput
}

GroupClusterMapInput is an input type that accepts GroupClusterMap and GroupClusterMapOutput values. You can construct a concrete instance of `GroupClusterMapInput` via:

GroupClusterMap{ "key": GroupClusterArgs{...} }

type GroupClusterMapOutput

type GroupClusterMapOutput struct{ *pulumi.OutputState }

func (GroupClusterMapOutput) ElementType

func (GroupClusterMapOutput) ElementType() reflect.Type

func (GroupClusterMapOutput) MapIndex

func (GroupClusterMapOutput) ToGroupClusterMapOutput

func (o GroupClusterMapOutput) ToGroupClusterMapOutput() GroupClusterMapOutput

func (GroupClusterMapOutput) ToGroupClusterMapOutputWithContext

func (o GroupClusterMapOutput) ToGroupClusterMapOutputWithContext(ctx context.Context) GroupClusterMapOutput

type GroupClusterOutput

type GroupClusterOutput struct{ *pulumi.OutputState }

func (GroupClusterOutput) ClusterType added in v4.7.1

func (o GroupClusterOutput) ClusterType() pulumi.StringOutput

Cluster type.

func (GroupClusterOutput) CreatedAt added in v4.7.1

func (o GroupClusterOutput) CreatedAt() pulumi.StringOutput

Create time.

func (GroupClusterOutput) Domain added in v4.7.1

The base domain of the cluster.

func (GroupClusterOutput) ElementType

func (GroupClusterOutput) ElementType() reflect.Type

func (GroupClusterOutput) Enabled added in v4.7.1

Determines if cluster is active or not. Defaults to `true`. This attribute cannot be read.

func (GroupClusterOutput) EnvironmentScope added in v4.7.1

func (o GroupClusterOutput) EnvironmentScope() pulumi.StringPtrOutput

The associated environment to the cluster. Defaults to `*`.

func (GroupClusterOutput) Group added in v4.7.1

The id of the group to add the cluster to.

func (GroupClusterOutput) KubernetesApiUrl added in v4.7.1

func (o GroupClusterOutput) KubernetesApiUrl() pulumi.StringOutput

The URL to access the Kubernetes API.

func (GroupClusterOutput) KubernetesAuthorizationType added in v4.7.1

func (o GroupClusterOutput) KubernetesAuthorizationType() pulumi.StringPtrOutput

The cluster authorization type. Valid values are `rbac`, `abac`, `unknownAuthorization`. Defaults to `rbac`.

func (GroupClusterOutput) KubernetesCaCert added in v4.7.1

func (o GroupClusterOutput) KubernetesCaCert() pulumi.StringPtrOutput

TLS certificate (needed if API is using a self-signed TLS certificate).

func (GroupClusterOutput) KubernetesToken added in v4.7.1

func (o GroupClusterOutput) KubernetesToken() pulumi.StringOutput

The token to authenticate against Kubernetes.

func (GroupClusterOutput) Managed added in v4.7.1

Determines if cluster is managed by gitlab or not. Defaults to `true`. This attribute cannot be read.

func (GroupClusterOutput) ManagementProjectId added in v4.7.1

func (o GroupClusterOutput) ManagementProjectId() pulumi.StringPtrOutput

The ID of the management project for the cluster.

func (GroupClusterOutput) Name added in v4.7.1

The name of cluster.

func (GroupClusterOutput) PlatformType added in v4.7.1

func (o GroupClusterOutput) PlatformType() pulumi.StringOutput

Platform type.

func (GroupClusterOutput) ProviderType added in v4.7.1

func (o GroupClusterOutput) ProviderType() pulumi.StringOutput

Provider type.

func (GroupClusterOutput) ToGroupClusterOutput

func (o GroupClusterOutput) ToGroupClusterOutput() GroupClusterOutput

func (GroupClusterOutput) ToGroupClusterOutputWithContext

func (o GroupClusterOutput) ToGroupClusterOutputWithContext(ctx context.Context) GroupClusterOutput

type GroupClusterState

type GroupClusterState struct {
	// Cluster type.
	ClusterType pulumi.StringPtrInput
	// Create time.
	CreatedAt pulumi.StringPtrInput
	// The base domain of the cluster.
	Domain pulumi.StringPtrInput
	// Determines if cluster is active or not. Defaults to `true`. This attribute cannot be read.
	Enabled pulumi.BoolPtrInput
	// The associated environment to the cluster. Defaults to `*`.
	EnvironmentScope pulumi.StringPtrInput
	// The id of the group to add the cluster to.
	Group pulumi.StringPtrInput
	// The URL to access the Kubernetes API.
	KubernetesApiUrl pulumi.StringPtrInput
	// The cluster authorization type. Valid values are `rbac`, `abac`, `unknownAuthorization`. Defaults to `rbac`.
	KubernetesAuthorizationType pulumi.StringPtrInput
	// TLS certificate (needed if API is using a self-signed TLS certificate).
	KubernetesCaCert pulumi.StringPtrInput
	// The token to authenticate against Kubernetes.
	KubernetesToken pulumi.StringPtrInput
	// Determines if cluster is managed by gitlab or not. Defaults to `true`. This attribute cannot be read.
	Managed pulumi.BoolPtrInput
	// The ID of the management project for the cluster.
	ManagementProjectId pulumi.StringPtrInput
	// The name of cluster.
	Name pulumi.StringPtrInput
	// Platform type.
	PlatformType pulumi.StringPtrInput
	// Provider type.
	ProviderType pulumi.StringPtrInput
}

func (GroupClusterState) ElementType

func (GroupClusterState) ElementType() reflect.Type

type GroupCustomAttribute added in v4.5.0

type GroupCustomAttribute struct {
	pulumi.CustomResourceState

	// The id of the group.
	Group pulumi.IntOutput `pulumi:"group"`
	// Key for the Custom Attribute.
	Key pulumi.StringOutput `pulumi:"key"`
	// Value for the Custom Attribute.
	Value pulumi.StringOutput `pulumi:"value"`
}

The `GroupCustomAttribute` resource allows to manage custom attributes for a group.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/custom_attributes.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewGroupCustomAttribute(ctx, "attr", &gitlab.GroupCustomAttributeArgs{
			Group: pulumi.Int(42),
			Key:   pulumi.String("location"),
			Value: pulumi.String("Greenland"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

You can import a group custom attribute using the an id made up of `{group-id}:{key}`, e.g.

```sh

$ pulumi import gitlab:index/groupCustomAttribute:GroupCustomAttribute attr 42:location

```

func GetGroupCustomAttribute added in v4.5.0

func GetGroupCustomAttribute(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GroupCustomAttributeState, opts ...pulumi.ResourceOption) (*GroupCustomAttribute, error)

GetGroupCustomAttribute gets an existing GroupCustomAttribute resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGroupCustomAttribute added in v4.5.0

func NewGroupCustomAttribute(ctx *pulumi.Context,
	name string, args *GroupCustomAttributeArgs, opts ...pulumi.ResourceOption) (*GroupCustomAttribute, error)

NewGroupCustomAttribute registers a new resource with the given unique name, arguments, and options.

func (*GroupCustomAttribute) ElementType added in v4.5.0

func (*GroupCustomAttribute) ElementType() reflect.Type

func (*GroupCustomAttribute) ToGroupCustomAttributeOutput added in v4.5.0

func (i *GroupCustomAttribute) ToGroupCustomAttributeOutput() GroupCustomAttributeOutput

func (*GroupCustomAttribute) ToGroupCustomAttributeOutputWithContext added in v4.5.0

func (i *GroupCustomAttribute) ToGroupCustomAttributeOutputWithContext(ctx context.Context) GroupCustomAttributeOutput

type GroupCustomAttributeArgs added in v4.5.0

type GroupCustomAttributeArgs struct {
	// The id of the group.
	Group pulumi.IntInput
	// Key for the Custom Attribute.
	Key pulumi.StringInput
	// Value for the Custom Attribute.
	Value pulumi.StringInput
}

The set of arguments for constructing a GroupCustomAttribute resource.

func (GroupCustomAttributeArgs) ElementType added in v4.5.0

func (GroupCustomAttributeArgs) ElementType() reflect.Type

type GroupCustomAttributeArray added in v4.5.0

type GroupCustomAttributeArray []GroupCustomAttributeInput

func (GroupCustomAttributeArray) ElementType added in v4.5.0

func (GroupCustomAttributeArray) ElementType() reflect.Type

func (GroupCustomAttributeArray) ToGroupCustomAttributeArrayOutput added in v4.5.0

func (i GroupCustomAttributeArray) ToGroupCustomAttributeArrayOutput() GroupCustomAttributeArrayOutput

func (GroupCustomAttributeArray) ToGroupCustomAttributeArrayOutputWithContext added in v4.5.0

func (i GroupCustomAttributeArray) ToGroupCustomAttributeArrayOutputWithContext(ctx context.Context) GroupCustomAttributeArrayOutput

type GroupCustomAttributeArrayInput added in v4.5.0

type GroupCustomAttributeArrayInput interface {
	pulumi.Input

	ToGroupCustomAttributeArrayOutput() GroupCustomAttributeArrayOutput
	ToGroupCustomAttributeArrayOutputWithContext(context.Context) GroupCustomAttributeArrayOutput
}

GroupCustomAttributeArrayInput is an input type that accepts GroupCustomAttributeArray and GroupCustomAttributeArrayOutput values. You can construct a concrete instance of `GroupCustomAttributeArrayInput` via:

GroupCustomAttributeArray{ GroupCustomAttributeArgs{...} }

type GroupCustomAttributeArrayOutput added in v4.5.0

type GroupCustomAttributeArrayOutput struct{ *pulumi.OutputState }

func (GroupCustomAttributeArrayOutput) ElementType added in v4.5.0

func (GroupCustomAttributeArrayOutput) Index added in v4.5.0

func (GroupCustomAttributeArrayOutput) ToGroupCustomAttributeArrayOutput added in v4.5.0

func (o GroupCustomAttributeArrayOutput) ToGroupCustomAttributeArrayOutput() GroupCustomAttributeArrayOutput

func (GroupCustomAttributeArrayOutput) ToGroupCustomAttributeArrayOutputWithContext added in v4.5.0

func (o GroupCustomAttributeArrayOutput) ToGroupCustomAttributeArrayOutputWithContext(ctx context.Context) GroupCustomAttributeArrayOutput

type GroupCustomAttributeInput added in v4.5.0

type GroupCustomAttributeInput interface {
	pulumi.Input

	ToGroupCustomAttributeOutput() GroupCustomAttributeOutput
	ToGroupCustomAttributeOutputWithContext(ctx context.Context) GroupCustomAttributeOutput
}

type GroupCustomAttributeMap added in v4.5.0

type GroupCustomAttributeMap map[string]GroupCustomAttributeInput

func (GroupCustomAttributeMap) ElementType added in v4.5.0

func (GroupCustomAttributeMap) ElementType() reflect.Type

func (GroupCustomAttributeMap) ToGroupCustomAttributeMapOutput added in v4.5.0

func (i GroupCustomAttributeMap) ToGroupCustomAttributeMapOutput() GroupCustomAttributeMapOutput

func (GroupCustomAttributeMap) ToGroupCustomAttributeMapOutputWithContext added in v4.5.0

func (i GroupCustomAttributeMap) ToGroupCustomAttributeMapOutputWithContext(ctx context.Context) GroupCustomAttributeMapOutput

type GroupCustomAttributeMapInput added in v4.5.0

type GroupCustomAttributeMapInput interface {
	pulumi.Input

	ToGroupCustomAttributeMapOutput() GroupCustomAttributeMapOutput
	ToGroupCustomAttributeMapOutputWithContext(context.Context) GroupCustomAttributeMapOutput
}

GroupCustomAttributeMapInput is an input type that accepts GroupCustomAttributeMap and GroupCustomAttributeMapOutput values. You can construct a concrete instance of `GroupCustomAttributeMapInput` via:

GroupCustomAttributeMap{ "key": GroupCustomAttributeArgs{...} }

type GroupCustomAttributeMapOutput added in v4.5.0

type GroupCustomAttributeMapOutput struct{ *pulumi.OutputState }

func (GroupCustomAttributeMapOutput) ElementType added in v4.5.0

func (GroupCustomAttributeMapOutput) MapIndex added in v4.5.0

func (GroupCustomAttributeMapOutput) ToGroupCustomAttributeMapOutput added in v4.5.0

func (o GroupCustomAttributeMapOutput) ToGroupCustomAttributeMapOutput() GroupCustomAttributeMapOutput

func (GroupCustomAttributeMapOutput) ToGroupCustomAttributeMapOutputWithContext added in v4.5.0

func (o GroupCustomAttributeMapOutput) ToGroupCustomAttributeMapOutputWithContext(ctx context.Context) GroupCustomAttributeMapOutput

type GroupCustomAttributeOutput added in v4.5.0

type GroupCustomAttributeOutput struct{ *pulumi.OutputState }

func (GroupCustomAttributeOutput) ElementType added in v4.5.0

func (GroupCustomAttributeOutput) ElementType() reflect.Type

func (GroupCustomAttributeOutput) Group added in v4.7.1

The id of the group.

func (GroupCustomAttributeOutput) Key added in v4.7.1

Key for the Custom Attribute.

func (GroupCustomAttributeOutput) ToGroupCustomAttributeOutput added in v4.5.0

func (o GroupCustomAttributeOutput) ToGroupCustomAttributeOutput() GroupCustomAttributeOutput

func (GroupCustomAttributeOutput) ToGroupCustomAttributeOutputWithContext added in v4.5.0

func (o GroupCustomAttributeOutput) ToGroupCustomAttributeOutputWithContext(ctx context.Context) GroupCustomAttributeOutput

func (GroupCustomAttributeOutput) Value added in v4.7.1

Value for the Custom Attribute.

type GroupCustomAttributeState added in v4.5.0

type GroupCustomAttributeState struct {
	// The id of the group.
	Group pulumi.IntPtrInput
	// Key for the Custom Attribute.
	Key pulumi.StringPtrInput
	// Value for the Custom Attribute.
	Value pulumi.StringPtrInput
}

func (GroupCustomAttributeState) ElementType added in v4.5.0

func (GroupCustomAttributeState) ElementType() reflect.Type

type GroupHook added in v4.9.0

type GroupHook struct {
	pulumi.CustomResourceState

	// Invoke the hook for confidential issues events.
	ConfidentialIssuesEvents pulumi.BoolPtrOutput `pulumi:"confidentialIssuesEvents"`
	// Invoke the hook for confidential notes events.
	ConfidentialNoteEvents pulumi.BoolPtrOutput `pulumi:"confidentialNoteEvents"`
	// Invoke the hook for deployment events.
	DeploymentEvents pulumi.BoolPtrOutput `pulumi:"deploymentEvents"`
	// Enable ssl verification when invoking the hook.
	EnableSslVerification pulumi.BoolPtrOutput `pulumi:"enableSslVerification"`
	// The ID or full path of the group.
	Group pulumi.StringOutput `pulumi:"group"`
	// The id of the group for the hook.
	GroupId pulumi.IntOutput `pulumi:"groupId"`
	// The id of the group hook.
	HookId pulumi.IntOutput `pulumi:"hookId"`
	// Invoke the hook for issues events.
	IssuesEvents pulumi.BoolPtrOutput `pulumi:"issuesEvents"`
	// Invoke the hook for job events.
	JobEvents pulumi.BoolPtrOutput `pulumi:"jobEvents"`
	// Invoke the hook for merge requests.
	MergeRequestsEvents pulumi.BoolPtrOutput `pulumi:"mergeRequestsEvents"`
	// Invoke the hook for notes events.
	NoteEvents pulumi.BoolPtrOutput `pulumi:"noteEvents"`
	// Invoke the hook for pipeline events.
	PipelineEvents pulumi.BoolPtrOutput `pulumi:"pipelineEvents"`
	// Invoke the hook for push events.
	PushEvents pulumi.BoolPtrOutput `pulumi:"pushEvents"`
	// Invoke the hook for push events on matching branches only.
	PushEventsBranchFilter pulumi.StringPtrOutput `pulumi:"pushEventsBranchFilter"`
	// Invoke the hook for releases events.
	ReleasesEvents pulumi.BoolPtrOutput `pulumi:"releasesEvents"`
	// Invoke the hook for subgroup events.
	SubgroupEvents pulumi.BoolPtrOutput `pulumi:"subgroupEvents"`
	// Invoke the hook for tag push events.
	TagPushEvents pulumi.BoolPtrOutput `pulumi:"tagPushEvents"`
	// A token to present when invoking the hook. The token is not available for imported resources.
	Token pulumi.StringPtrOutput `pulumi:"token"`
	// The url of the hook to invoke.
	Url pulumi.StringOutput `pulumi:"url"`
	// Invoke the hook for wiki page events.
	WikiPageEvents pulumi.BoolPtrOutput `pulumi:"wikiPageEvents"`
}

The `GroupHook` resource allows to manage the lifecycle of a group hook.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/groups.html#hooks)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewGroupHook(ctx, "example", &gitlab.GroupHookArgs{
			Group:               pulumi.String("example/hooked"),
			MergeRequestsEvents: pulumi.Bool(true),
			Url:                 pulumi.String("https://example.com/hook/example"),
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewGroupHook(ctx, "allAttributes", &gitlab.GroupHookArgs{
			ConfidentialIssuesEvents: pulumi.Bool(false),
			ConfidentialNoteEvents:   pulumi.Bool(true),
			DeploymentEvents:         pulumi.Bool(true),
			EnableSslVerification:    pulumi.Bool(false),
			Group:                    pulumi.String("1"),
			IssuesEvents:             pulumi.Bool(false),
			JobEvents:                pulumi.Bool(true),
			MergeRequestsEvents:      pulumi.Bool(true),
			NoteEvents:               pulumi.Bool(true),
			PipelineEvents:           pulumi.Bool(true),
			PushEvents:               pulumi.Bool(true),
			PushEventsBranchFilter:   pulumi.String("devel"),
			ReleasesEvents:           pulumi.Bool(true),
			SubgroupEvents:           pulumi.Bool(true),
			TagPushEvents:            pulumi.Bool(true),
			Token:                    pulumi.String("supersecret"),
			Url:                      pulumi.String("http://example.com"),
			WikiPageEvents:           pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

A GitLab Group Hook can be imported using a key composed of `<group-id>:<hook-id>`, e.g.

```sh

$ pulumi import gitlab:index/groupHook:GroupHook example "12345:1"

```

NOTEthe `token` resource attribute is not available for imported resources as this information cannot be read from the GitLab API.

func GetGroupHook added in v4.9.0

func GetGroupHook(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GroupHookState, opts ...pulumi.ResourceOption) (*GroupHook, error)

GetGroupHook gets an existing GroupHook resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGroupHook added in v4.9.0

func NewGroupHook(ctx *pulumi.Context,
	name string, args *GroupHookArgs, opts ...pulumi.ResourceOption) (*GroupHook, error)

NewGroupHook registers a new resource with the given unique name, arguments, and options.

func (*GroupHook) ElementType added in v4.9.0

func (*GroupHook) ElementType() reflect.Type

func (*GroupHook) ToGroupHookOutput added in v4.9.0

func (i *GroupHook) ToGroupHookOutput() GroupHookOutput

func (*GroupHook) ToGroupHookOutputWithContext added in v4.9.0

func (i *GroupHook) ToGroupHookOutputWithContext(ctx context.Context) GroupHookOutput

type GroupHookArgs added in v4.9.0

type GroupHookArgs struct {
	// Invoke the hook for confidential issues events.
	ConfidentialIssuesEvents pulumi.BoolPtrInput
	// Invoke the hook for confidential notes events.
	ConfidentialNoteEvents pulumi.BoolPtrInput
	// Invoke the hook for deployment events.
	DeploymentEvents pulumi.BoolPtrInput
	// Enable ssl verification when invoking the hook.
	EnableSslVerification pulumi.BoolPtrInput
	// The ID or full path of the group.
	Group pulumi.StringInput
	// Invoke the hook for issues events.
	IssuesEvents pulumi.BoolPtrInput
	// Invoke the hook for job events.
	JobEvents pulumi.BoolPtrInput
	// Invoke the hook for merge requests.
	MergeRequestsEvents pulumi.BoolPtrInput
	// Invoke the hook for notes events.
	NoteEvents pulumi.BoolPtrInput
	// Invoke the hook for pipeline events.
	PipelineEvents pulumi.BoolPtrInput
	// Invoke the hook for push events.
	PushEvents pulumi.BoolPtrInput
	// Invoke the hook for push events on matching branches only.
	PushEventsBranchFilter pulumi.StringPtrInput
	// Invoke the hook for releases events.
	ReleasesEvents pulumi.BoolPtrInput
	// Invoke the hook for subgroup events.
	SubgroupEvents pulumi.BoolPtrInput
	// Invoke the hook for tag push events.
	TagPushEvents pulumi.BoolPtrInput
	// A token to present when invoking the hook. The token is not available for imported resources.
	Token pulumi.StringPtrInput
	// The url of the hook to invoke.
	Url pulumi.StringInput
	// Invoke the hook for wiki page events.
	WikiPageEvents pulumi.BoolPtrInput
}

The set of arguments for constructing a GroupHook resource.

func (GroupHookArgs) ElementType added in v4.9.0

func (GroupHookArgs) ElementType() reflect.Type

type GroupHookArray added in v4.9.0

type GroupHookArray []GroupHookInput

func (GroupHookArray) ElementType added in v4.9.0

func (GroupHookArray) ElementType() reflect.Type

func (GroupHookArray) ToGroupHookArrayOutput added in v4.9.0

func (i GroupHookArray) ToGroupHookArrayOutput() GroupHookArrayOutput

func (GroupHookArray) ToGroupHookArrayOutputWithContext added in v4.9.0

func (i GroupHookArray) ToGroupHookArrayOutputWithContext(ctx context.Context) GroupHookArrayOutput

type GroupHookArrayInput added in v4.9.0

type GroupHookArrayInput interface {
	pulumi.Input

	ToGroupHookArrayOutput() GroupHookArrayOutput
	ToGroupHookArrayOutputWithContext(context.Context) GroupHookArrayOutput
}

GroupHookArrayInput is an input type that accepts GroupHookArray and GroupHookArrayOutput values. You can construct a concrete instance of `GroupHookArrayInput` via:

GroupHookArray{ GroupHookArgs{...} }

type GroupHookArrayOutput added in v4.9.0

type GroupHookArrayOutput struct{ *pulumi.OutputState }

func (GroupHookArrayOutput) ElementType added in v4.9.0

func (GroupHookArrayOutput) ElementType() reflect.Type

func (GroupHookArrayOutput) Index added in v4.9.0

func (GroupHookArrayOutput) ToGroupHookArrayOutput added in v4.9.0

func (o GroupHookArrayOutput) ToGroupHookArrayOutput() GroupHookArrayOutput

func (GroupHookArrayOutput) ToGroupHookArrayOutputWithContext added in v4.9.0

func (o GroupHookArrayOutput) ToGroupHookArrayOutputWithContext(ctx context.Context) GroupHookArrayOutput

type GroupHookInput added in v4.9.0

type GroupHookInput interface {
	pulumi.Input

	ToGroupHookOutput() GroupHookOutput
	ToGroupHookOutputWithContext(ctx context.Context) GroupHookOutput
}

type GroupHookMap added in v4.9.0

type GroupHookMap map[string]GroupHookInput

func (GroupHookMap) ElementType added in v4.9.0

func (GroupHookMap) ElementType() reflect.Type

func (GroupHookMap) ToGroupHookMapOutput added in v4.9.0

func (i GroupHookMap) ToGroupHookMapOutput() GroupHookMapOutput

func (GroupHookMap) ToGroupHookMapOutputWithContext added in v4.9.0

func (i GroupHookMap) ToGroupHookMapOutputWithContext(ctx context.Context) GroupHookMapOutput

type GroupHookMapInput added in v4.9.0

type GroupHookMapInput interface {
	pulumi.Input

	ToGroupHookMapOutput() GroupHookMapOutput
	ToGroupHookMapOutputWithContext(context.Context) GroupHookMapOutput
}

GroupHookMapInput is an input type that accepts GroupHookMap and GroupHookMapOutput values. You can construct a concrete instance of `GroupHookMapInput` via:

GroupHookMap{ "key": GroupHookArgs{...} }

type GroupHookMapOutput added in v4.9.0

type GroupHookMapOutput struct{ *pulumi.OutputState }

func (GroupHookMapOutput) ElementType added in v4.9.0

func (GroupHookMapOutput) ElementType() reflect.Type

func (GroupHookMapOutput) MapIndex added in v4.9.0

func (GroupHookMapOutput) ToGroupHookMapOutput added in v4.9.0

func (o GroupHookMapOutput) ToGroupHookMapOutput() GroupHookMapOutput

func (GroupHookMapOutput) ToGroupHookMapOutputWithContext added in v4.9.0

func (o GroupHookMapOutput) ToGroupHookMapOutputWithContext(ctx context.Context) GroupHookMapOutput

type GroupHookOutput added in v4.9.0

type GroupHookOutput struct{ *pulumi.OutputState }

func (GroupHookOutput) ConfidentialIssuesEvents added in v4.9.0

func (o GroupHookOutput) ConfidentialIssuesEvents() pulumi.BoolPtrOutput

Invoke the hook for confidential issues events.

func (GroupHookOutput) ConfidentialNoteEvents added in v4.9.0

func (o GroupHookOutput) ConfidentialNoteEvents() pulumi.BoolPtrOutput

Invoke the hook for confidential notes events.

func (GroupHookOutput) DeploymentEvents added in v4.9.0

func (o GroupHookOutput) DeploymentEvents() pulumi.BoolPtrOutput

Invoke the hook for deployment events.

func (GroupHookOutput) ElementType added in v4.9.0

func (GroupHookOutput) ElementType() reflect.Type

func (GroupHookOutput) EnableSslVerification added in v4.9.0

func (o GroupHookOutput) EnableSslVerification() pulumi.BoolPtrOutput

Enable ssl verification when invoking the hook.

func (GroupHookOutput) Group added in v4.9.0

The ID or full path of the group.

func (GroupHookOutput) GroupId added in v4.9.0

func (o GroupHookOutput) GroupId() pulumi.IntOutput

The id of the group for the hook.

func (GroupHookOutput) HookId added in v4.9.0

func (o GroupHookOutput) HookId() pulumi.IntOutput

The id of the group hook.

func (GroupHookOutput) IssuesEvents added in v4.9.0

func (o GroupHookOutput) IssuesEvents() pulumi.BoolPtrOutput

Invoke the hook for issues events.

func (GroupHookOutput) JobEvents added in v4.9.0

func (o GroupHookOutput) JobEvents() pulumi.BoolPtrOutput

Invoke the hook for job events.

func (GroupHookOutput) MergeRequestsEvents added in v4.9.0

func (o GroupHookOutput) MergeRequestsEvents() pulumi.BoolPtrOutput

Invoke the hook for merge requests.

func (GroupHookOutput) NoteEvents added in v4.9.0

func (o GroupHookOutput) NoteEvents() pulumi.BoolPtrOutput

Invoke the hook for notes events.

func (GroupHookOutput) PipelineEvents added in v4.9.0

func (o GroupHookOutput) PipelineEvents() pulumi.BoolPtrOutput

Invoke the hook for pipeline events.

func (GroupHookOutput) PushEvents added in v4.9.0

func (o GroupHookOutput) PushEvents() pulumi.BoolPtrOutput

Invoke the hook for push events.

func (GroupHookOutput) PushEventsBranchFilter added in v4.9.0

func (o GroupHookOutput) PushEventsBranchFilter() pulumi.StringPtrOutput

Invoke the hook for push events on matching branches only.

func (GroupHookOutput) ReleasesEvents added in v4.9.0

func (o GroupHookOutput) ReleasesEvents() pulumi.BoolPtrOutput

Invoke the hook for releases events.

func (GroupHookOutput) SubgroupEvents added in v4.9.0

func (o GroupHookOutput) SubgroupEvents() pulumi.BoolPtrOutput

Invoke the hook for subgroup events.

func (GroupHookOutput) TagPushEvents added in v4.9.0

func (o GroupHookOutput) TagPushEvents() pulumi.BoolPtrOutput

Invoke the hook for tag push events.

func (GroupHookOutput) ToGroupHookOutput added in v4.9.0

func (o GroupHookOutput) ToGroupHookOutput() GroupHookOutput

func (GroupHookOutput) ToGroupHookOutputWithContext added in v4.9.0

func (o GroupHookOutput) ToGroupHookOutputWithContext(ctx context.Context) GroupHookOutput

func (GroupHookOutput) Token added in v4.9.0

A token to present when invoking the hook. The token is not available for imported resources.

func (GroupHookOutput) Url added in v4.9.0

The url of the hook to invoke.

func (GroupHookOutput) WikiPageEvents added in v4.9.0

func (o GroupHookOutput) WikiPageEvents() pulumi.BoolPtrOutput

Invoke the hook for wiki page events.

type GroupHookState added in v4.9.0

type GroupHookState struct {
	// Invoke the hook for confidential issues events.
	ConfidentialIssuesEvents pulumi.BoolPtrInput
	// Invoke the hook for confidential notes events.
	ConfidentialNoteEvents pulumi.BoolPtrInput
	// Invoke the hook for deployment events.
	DeploymentEvents pulumi.BoolPtrInput
	// Enable ssl verification when invoking the hook.
	EnableSslVerification pulumi.BoolPtrInput
	// The ID or full path of the group.
	Group pulumi.StringPtrInput
	// The id of the group for the hook.
	GroupId pulumi.IntPtrInput
	// The id of the group hook.
	HookId pulumi.IntPtrInput
	// Invoke the hook for issues events.
	IssuesEvents pulumi.BoolPtrInput
	// Invoke the hook for job events.
	JobEvents pulumi.BoolPtrInput
	// Invoke the hook for merge requests.
	MergeRequestsEvents pulumi.BoolPtrInput
	// Invoke the hook for notes events.
	NoteEvents pulumi.BoolPtrInput
	// Invoke the hook for pipeline events.
	PipelineEvents pulumi.BoolPtrInput
	// Invoke the hook for push events.
	PushEvents pulumi.BoolPtrInput
	// Invoke the hook for push events on matching branches only.
	PushEventsBranchFilter pulumi.StringPtrInput
	// Invoke the hook for releases events.
	ReleasesEvents pulumi.BoolPtrInput
	// Invoke the hook for subgroup events.
	SubgroupEvents pulumi.BoolPtrInput
	// Invoke the hook for tag push events.
	TagPushEvents pulumi.BoolPtrInput
	// A token to present when invoking the hook. The token is not available for imported resources.
	Token pulumi.StringPtrInput
	// The url of the hook to invoke.
	Url pulumi.StringPtrInput
	// Invoke the hook for wiki page events.
	WikiPageEvents pulumi.BoolPtrInput
}

func (GroupHookState) ElementType added in v4.9.0

func (GroupHookState) ElementType() reflect.Type

type GroupInput

type GroupInput interface {
	pulumi.Input

	ToGroupOutput() GroupOutput
	ToGroupOutputWithContext(ctx context.Context) GroupOutput
}

type GroupLabel

type GroupLabel struct {
	pulumi.CustomResourceState

	// The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
	Color pulumi.StringOutput `pulumi:"color"`
	// The description of the label.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name or id of the group to add the label to.
	Group pulumi.StringOutput `pulumi:"group"`
	// The name of the label.
	Name pulumi.StringOutput `pulumi:"name"`
}

The `GroupLabel` resource allows to manage the lifecycle of labels within a group.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/user/project/labels.html#group-labels)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewGroupLabel(ctx, "fixme", &gitlab.GroupLabelArgs{
			Color:       pulumi.String("#ffcc00"),
			Description: pulumi.String("issue with failing tests"),
			Group:       pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Gitlab group labels can be imported using an id made up of `{group_id}:{group_label_id}`, e.g.

```sh

$ pulumi import gitlab:index/groupLabel:GroupLabel example 12345:fixme

```

func GetGroupLabel

func GetGroupLabel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GroupLabelState, opts ...pulumi.ResourceOption) (*GroupLabel, error)

GetGroupLabel gets an existing GroupLabel resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGroupLabel

func NewGroupLabel(ctx *pulumi.Context,
	name string, args *GroupLabelArgs, opts ...pulumi.ResourceOption) (*GroupLabel, error)

NewGroupLabel registers a new resource with the given unique name, arguments, and options.

func (*GroupLabel) ElementType

func (*GroupLabel) ElementType() reflect.Type

func (*GroupLabel) ToGroupLabelOutput

func (i *GroupLabel) ToGroupLabelOutput() GroupLabelOutput

func (*GroupLabel) ToGroupLabelOutputWithContext

func (i *GroupLabel) ToGroupLabelOutputWithContext(ctx context.Context) GroupLabelOutput

type GroupLabelArgs

type GroupLabelArgs struct {
	// The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
	Color pulumi.StringInput
	// The description of the label.
	Description pulumi.StringPtrInput
	// The name or id of the group to add the label to.
	Group pulumi.StringInput
	// The name of the label.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a GroupLabel resource.

func (GroupLabelArgs) ElementType

func (GroupLabelArgs) ElementType() reflect.Type

type GroupLabelArray

type GroupLabelArray []GroupLabelInput

func (GroupLabelArray) ElementType

func (GroupLabelArray) ElementType() reflect.Type

func (GroupLabelArray) ToGroupLabelArrayOutput

func (i GroupLabelArray) ToGroupLabelArrayOutput() GroupLabelArrayOutput

func (GroupLabelArray) ToGroupLabelArrayOutputWithContext

func (i GroupLabelArray) ToGroupLabelArrayOutputWithContext(ctx context.Context) GroupLabelArrayOutput

type GroupLabelArrayInput

type GroupLabelArrayInput interface {
	pulumi.Input

	ToGroupLabelArrayOutput() GroupLabelArrayOutput
	ToGroupLabelArrayOutputWithContext(context.Context) GroupLabelArrayOutput
}

GroupLabelArrayInput is an input type that accepts GroupLabelArray and GroupLabelArrayOutput values. You can construct a concrete instance of `GroupLabelArrayInput` via:

GroupLabelArray{ GroupLabelArgs{...} }

type GroupLabelArrayOutput

type GroupLabelArrayOutput struct{ *pulumi.OutputState }

func (GroupLabelArrayOutput) ElementType

func (GroupLabelArrayOutput) ElementType() reflect.Type

func (GroupLabelArrayOutput) Index

func (GroupLabelArrayOutput) ToGroupLabelArrayOutput

func (o GroupLabelArrayOutput) ToGroupLabelArrayOutput() GroupLabelArrayOutput

func (GroupLabelArrayOutput) ToGroupLabelArrayOutputWithContext

func (o GroupLabelArrayOutput) ToGroupLabelArrayOutputWithContext(ctx context.Context) GroupLabelArrayOutput

type GroupLabelInput

type GroupLabelInput interface {
	pulumi.Input

	ToGroupLabelOutput() GroupLabelOutput
	ToGroupLabelOutputWithContext(ctx context.Context) GroupLabelOutput
}

type GroupLabelMap

type GroupLabelMap map[string]GroupLabelInput

func (GroupLabelMap) ElementType

func (GroupLabelMap) ElementType() reflect.Type

func (GroupLabelMap) ToGroupLabelMapOutput

func (i GroupLabelMap) ToGroupLabelMapOutput() GroupLabelMapOutput

func (GroupLabelMap) ToGroupLabelMapOutputWithContext

func (i GroupLabelMap) ToGroupLabelMapOutputWithContext(ctx context.Context) GroupLabelMapOutput

type GroupLabelMapInput

type GroupLabelMapInput interface {
	pulumi.Input

	ToGroupLabelMapOutput() GroupLabelMapOutput
	ToGroupLabelMapOutputWithContext(context.Context) GroupLabelMapOutput
}

GroupLabelMapInput is an input type that accepts GroupLabelMap and GroupLabelMapOutput values. You can construct a concrete instance of `GroupLabelMapInput` via:

GroupLabelMap{ "key": GroupLabelArgs{...} }

type GroupLabelMapOutput

type GroupLabelMapOutput struct{ *pulumi.OutputState }

func (GroupLabelMapOutput) ElementType

func (GroupLabelMapOutput) ElementType() reflect.Type

func (GroupLabelMapOutput) MapIndex

func (GroupLabelMapOutput) ToGroupLabelMapOutput

func (o GroupLabelMapOutput) ToGroupLabelMapOutput() GroupLabelMapOutput

func (GroupLabelMapOutput) ToGroupLabelMapOutputWithContext

func (o GroupLabelMapOutput) ToGroupLabelMapOutputWithContext(ctx context.Context) GroupLabelMapOutput

type GroupLabelOutput

type GroupLabelOutput struct{ *pulumi.OutputState }

func (GroupLabelOutput) Color added in v4.7.1

The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).

func (GroupLabelOutput) Description added in v4.7.1

func (o GroupLabelOutput) Description() pulumi.StringPtrOutput

The description of the label.

func (GroupLabelOutput) ElementType

func (GroupLabelOutput) ElementType() reflect.Type

func (GroupLabelOutput) Group added in v4.7.1

The name or id of the group to add the label to.

func (GroupLabelOutput) Name added in v4.7.1

The name of the label.

func (GroupLabelOutput) ToGroupLabelOutput

func (o GroupLabelOutput) ToGroupLabelOutput() GroupLabelOutput

func (GroupLabelOutput) ToGroupLabelOutputWithContext

func (o GroupLabelOutput) ToGroupLabelOutputWithContext(ctx context.Context) GroupLabelOutput

type GroupLabelState

type GroupLabelState struct {
	// The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
	Color pulumi.StringPtrInput
	// The description of the label.
	Description pulumi.StringPtrInput
	// The name or id of the group to add the label to.
	Group pulumi.StringPtrInput
	// The name of the label.
	Name pulumi.StringPtrInput
}

func (GroupLabelState) ElementType

func (GroupLabelState) ElementType() reflect.Type
type GroupLdapLink struct {
	pulumi.CustomResourceState

	// Minimum access level for members of the LDAP group. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`
	//
	// Deprecated: Use `group_access` instead of the `access_level` attribute.
	AccessLevel pulumi.StringPtrOutput `pulumi:"accessLevel"`
	// The CN of the LDAP group to link with.
	Cn pulumi.StringOutput `pulumi:"cn"`
	// If true, then delete and replace an existing LDAP link if one exists.
	Force pulumi.BoolPtrOutput `pulumi:"force"`
	// Minimum access level for members of the LDAP group. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`
	GroupAccess pulumi.StringPtrOutput `pulumi:"groupAccess"`
	// The id of the GitLab group.
	GroupId pulumi.StringOutput `pulumi:"groupId"`
	// The name of the LDAP provider as stored in the GitLab database. Note that this is NOT the value of the `label` attribute as shown in the web UI. In most cases this will be `ldapmain` but you may use the [LDAP check rake task](https://docs.gitlab.com/ee/administration/raketasks/ldap.html#check) for receiving the LDAP server name: `LDAP: ... Server: ldapmain`
	LdapProvider pulumi.StringOutput `pulumi:"ldapProvider"`
}

The `GroupLdapLink` resource allows to manage the lifecycle of an LDAP integration with a group.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/groups.html#ldap-group-links)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewGroupLdapLink(ctx, "test", &gitlab.GroupLdapLinkArgs{
			Cn:           pulumi.String("testuser"),
			GroupAccess:  pulumi.String("developer"),
			GroupId:      pulumi.String("12345"),
			LdapProvider: pulumi.String("ldapmain"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GitLab group ldap links can be imported using an id made up of `group_id:ldap_provider:cn`, e.g.

```sh

$ pulumi import gitlab:index/groupLdapLink:GroupLdapLink test "12345:ldapmain:testuser"

```

func GetGroupLdapLink(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GroupLdapLinkState, opts ...pulumi.ResourceOption) (*GroupLdapLink, error)

GetGroupLdapLink gets an existing GroupLdapLink resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGroupLdapLink(ctx *pulumi.Context,
	name string, args *GroupLdapLinkArgs, opts ...pulumi.ResourceOption) (*GroupLdapLink, error)

NewGroupLdapLink registers a new resource with the given unique name, arguments, and options.

func (*GroupLdapLink) ElementType

func (*GroupLdapLink) ElementType() reflect.Type

func (*GroupLdapLink) ToGroupLdapLinkOutput

func (i *GroupLdapLink) ToGroupLdapLinkOutput() GroupLdapLinkOutput

func (*GroupLdapLink) ToGroupLdapLinkOutputWithContext

func (i *GroupLdapLink) ToGroupLdapLinkOutputWithContext(ctx context.Context) GroupLdapLinkOutput

type GroupLdapLinkArgs

type GroupLdapLinkArgs struct {
	// Minimum access level for members of the LDAP group. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`
	//
	// Deprecated: Use `group_access` instead of the `access_level` attribute.
	AccessLevel pulumi.StringPtrInput
	// The CN of the LDAP group to link with.
	Cn pulumi.StringInput
	// If true, then delete and replace an existing LDAP link if one exists.
	Force pulumi.BoolPtrInput
	// Minimum access level for members of the LDAP group. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`
	GroupAccess pulumi.StringPtrInput
	// The id of the GitLab group.
	GroupId pulumi.StringInput
	// The name of the LDAP provider as stored in the GitLab database. Note that this is NOT the value of the `label` attribute as shown in the web UI. In most cases this will be `ldapmain` but you may use the [LDAP check rake task](https://docs.gitlab.com/ee/administration/raketasks/ldap.html#check) for receiving the LDAP server name: `LDAP: ... Server: ldapmain`
	LdapProvider pulumi.StringInput
}

The set of arguments for constructing a GroupLdapLink resource.

func (GroupLdapLinkArgs) ElementType

func (GroupLdapLinkArgs) ElementType() reflect.Type

type GroupLdapLinkArray

type GroupLdapLinkArray []GroupLdapLinkInput

func (GroupLdapLinkArray) ElementType

func (GroupLdapLinkArray) ElementType() reflect.Type

func (GroupLdapLinkArray) ToGroupLdapLinkArrayOutput

func (i GroupLdapLinkArray) ToGroupLdapLinkArrayOutput() GroupLdapLinkArrayOutput

func (GroupLdapLinkArray) ToGroupLdapLinkArrayOutputWithContext

func (i GroupLdapLinkArray) ToGroupLdapLinkArrayOutputWithContext(ctx context.Context) GroupLdapLinkArrayOutput

type GroupLdapLinkArrayInput

type GroupLdapLinkArrayInput interface {
	pulumi.Input

	ToGroupLdapLinkArrayOutput() GroupLdapLinkArrayOutput
	ToGroupLdapLinkArrayOutputWithContext(context.Context) GroupLdapLinkArrayOutput
}

GroupLdapLinkArrayInput is an input type that accepts GroupLdapLinkArray and GroupLdapLinkArrayOutput values. You can construct a concrete instance of `GroupLdapLinkArrayInput` via:

GroupLdapLinkArray{ GroupLdapLinkArgs{...} }

type GroupLdapLinkArrayOutput

type GroupLdapLinkArrayOutput struct{ *pulumi.OutputState }

func (GroupLdapLinkArrayOutput) ElementType

func (GroupLdapLinkArrayOutput) ElementType() reflect.Type

func (GroupLdapLinkArrayOutput) Index

func (GroupLdapLinkArrayOutput) ToGroupLdapLinkArrayOutput

func (o GroupLdapLinkArrayOutput) ToGroupLdapLinkArrayOutput() GroupLdapLinkArrayOutput

func (GroupLdapLinkArrayOutput) ToGroupLdapLinkArrayOutputWithContext

func (o GroupLdapLinkArrayOutput) ToGroupLdapLinkArrayOutputWithContext(ctx context.Context) GroupLdapLinkArrayOutput

type GroupLdapLinkInput

type GroupLdapLinkInput interface {
	pulumi.Input

	ToGroupLdapLinkOutput() GroupLdapLinkOutput
	ToGroupLdapLinkOutputWithContext(ctx context.Context) GroupLdapLinkOutput
}

type GroupLdapLinkMap

type GroupLdapLinkMap map[string]GroupLdapLinkInput

func (GroupLdapLinkMap) ElementType

func (GroupLdapLinkMap) ElementType() reflect.Type

func (GroupLdapLinkMap) ToGroupLdapLinkMapOutput

func (i GroupLdapLinkMap) ToGroupLdapLinkMapOutput() GroupLdapLinkMapOutput

func (GroupLdapLinkMap) ToGroupLdapLinkMapOutputWithContext

func (i GroupLdapLinkMap) ToGroupLdapLinkMapOutputWithContext(ctx context.Context) GroupLdapLinkMapOutput

type GroupLdapLinkMapInput

type GroupLdapLinkMapInput interface {
	pulumi.Input

	ToGroupLdapLinkMapOutput() GroupLdapLinkMapOutput
	ToGroupLdapLinkMapOutputWithContext(context.Context) GroupLdapLinkMapOutput
}

GroupLdapLinkMapInput is an input type that accepts GroupLdapLinkMap and GroupLdapLinkMapOutput values. You can construct a concrete instance of `GroupLdapLinkMapInput` via:

GroupLdapLinkMap{ "key": GroupLdapLinkArgs{...} }

type GroupLdapLinkMapOutput

type GroupLdapLinkMapOutput struct{ *pulumi.OutputState }

func (GroupLdapLinkMapOutput) ElementType

func (GroupLdapLinkMapOutput) ElementType() reflect.Type

func (GroupLdapLinkMapOutput) MapIndex

func (GroupLdapLinkMapOutput) ToGroupLdapLinkMapOutput

func (o GroupLdapLinkMapOutput) ToGroupLdapLinkMapOutput() GroupLdapLinkMapOutput

func (GroupLdapLinkMapOutput) ToGroupLdapLinkMapOutputWithContext

func (o GroupLdapLinkMapOutput) ToGroupLdapLinkMapOutputWithContext(ctx context.Context) GroupLdapLinkMapOutput

type GroupLdapLinkOutput

type GroupLdapLinkOutput struct{ *pulumi.OutputState }

func (GroupLdapLinkOutput) AccessLevel deprecated added in v4.7.1

func (o GroupLdapLinkOutput) AccessLevel() pulumi.StringPtrOutput

Minimum access level for members of the LDAP group. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`

Deprecated: Use `group_access` instead of the `access_level` attribute.

func (GroupLdapLinkOutput) Cn added in v4.7.1

The CN of the LDAP group to link with.

func (GroupLdapLinkOutput) ElementType

func (GroupLdapLinkOutput) ElementType() reflect.Type

func (GroupLdapLinkOutput) Force added in v4.7.1

If true, then delete and replace an existing LDAP link if one exists.

func (GroupLdapLinkOutput) GroupAccess added in v4.7.1

func (o GroupLdapLinkOutput) GroupAccess() pulumi.StringPtrOutput

Minimum access level for members of the LDAP group. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`

func (GroupLdapLinkOutput) GroupId added in v4.7.1

The id of the GitLab group.

func (GroupLdapLinkOutput) LdapProvider added in v4.7.1

func (o GroupLdapLinkOutput) LdapProvider() pulumi.StringOutput

The name of the LDAP provider as stored in the GitLab database. Note that this is NOT the value of the `label` attribute as shown in the web UI. In most cases this will be `ldapmain` but you may use the [LDAP check rake task](https://docs.gitlab.com/ee/administration/raketasks/ldap.html#check) for receiving the LDAP server name: `LDAP: ... Server: ldapmain`

func (GroupLdapLinkOutput) ToGroupLdapLinkOutput

func (o GroupLdapLinkOutput) ToGroupLdapLinkOutput() GroupLdapLinkOutput

func (GroupLdapLinkOutput) ToGroupLdapLinkOutputWithContext

func (o GroupLdapLinkOutput) ToGroupLdapLinkOutputWithContext(ctx context.Context) GroupLdapLinkOutput

type GroupLdapLinkState

type GroupLdapLinkState struct {
	// Minimum access level for members of the LDAP group. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`
	//
	// Deprecated: Use `group_access` instead of the `access_level` attribute.
	AccessLevel pulumi.StringPtrInput
	// The CN of the LDAP group to link with.
	Cn pulumi.StringPtrInput
	// If true, then delete and replace an existing LDAP link if one exists.
	Force pulumi.BoolPtrInput
	// Minimum access level for members of the LDAP group. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`
	GroupAccess pulumi.StringPtrInput
	// The id of the GitLab group.
	GroupId pulumi.StringPtrInput
	// The name of the LDAP provider as stored in the GitLab database. Note that this is NOT the value of the `label` attribute as shown in the web UI. In most cases this will be `ldapmain` but you may use the [LDAP check rake task](https://docs.gitlab.com/ee/administration/raketasks/ldap.html#check) for receiving the LDAP server name: `LDAP: ... Server: ldapmain`
	LdapProvider pulumi.StringPtrInput
}

func (GroupLdapLinkState) ElementType

func (GroupLdapLinkState) ElementType() reflect.Type

type GroupMap

type GroupMap map[string]GroupInput

func (GroupMap) ElementType

func (GroupMap) ElementType() reflect.Type

func (GroupMap) ToGroupMapOutput

func (i GroupMap) ToGroupMapOutput() GroupMapOutput

func (GroupMap) ToGroupMapOutputWithContext

func (i GroupMap) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutput

type GroupMapInput

type GroupMapInput interface {
	pulumi.Input

	ToGroupMapOutput() GroupMapOutput
	ToGroupMapOutputWithContext(context.Context) GroupMapOutput
}

GroupMapInput is an input type that accepts GroupMap and GroupMapOutput values. You can construct a concrete instance of `GroupMapInput` via:

GroupMap{ "key": GroupArgs{...} }

type GroupMapOutput

type GroupMapOutput struct{ *pulumi.OutputState }

func (GroupMapOutput) ElementType

func (GroupMapOutput) ElementType() reflect.Type

func (GroupMapOutput) MapIndex

func (GroupMapOutput) ToGroupMapOutput

func (o GroupMapOutput) ToGroupMapOutput() GroupMapOutput

func (GroupMapOutput) ToGroupMapOutputWithContext

func (o GroupMapOutput) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutput

type GroupMembership

type GroupMembership struct {
	pulumi.CustomResourceState

	// Access level for the member. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`.
	AccessLevel pulumi.StringOutput `pulumi:"accessLevel"`
	// Expiration date for the group membership. Format: `YYYY-MM-DD`
	ExpiresAt pulumi.StringPtrOutput `pulumi:"expiresAt"`
	// The id of the group.
	GroupId pulumi.StringOutput `pulumi:"groupId"`
	// Whether the deletion of direct memberships of the removed member in subgroups and projects should be skipped. Only used during a destroy.
	SkipSubresourcesOnDestroy pulumi.BoolPtrOutput `pulumi:"skipSubresourcesOnDestroy"`
	// Whether the removed member should be unassigned from any issues or merge requests inside a given group or project. Only used during a destroy.
	UnassignIssuablesOnDestroy pulumi.BoolPtrOutput `pulumi:"unassignIssuablesOnDestroy"`
	// The id of the user.
	UserId pulumi.IntOutput `pulumi:"userId"`
}

The `GroupMembership` resource allows to manage the lifecycle of a users group membersip.

> If a group should grant membership to another group use the `GroupShareGroup` resource instead.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/members.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewGroupMembership(ctx, "test", &gitlab.GroupMembershipArgs{
			AccessLevel: pulumi.String("guest"),
			ExpiresAt:   pulumi.String("2020-12-31"),
			GroupId:     pulumi.String("12345"),
			UserId:      pulumi.Int(1337),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GitLab group membership can be imported using an id made up of `group_id:user_id`, e.g.

```sh

$ pulumi import gitlab:index/groupMembership:GroupMembership test "12345:1337"

```

func GetGroupMembership

func GetGroupMembership(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GroupMembershipState, opts ...pulumi.ResourceOption) (*GroupMembership, error)

GetGroupMembership gets an existing GroupMembership resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGroupMembership

func NewGroupMembership(ctx *pulumi.Context,
	name string, args *GroupMembershipArgs, opts ...pulumi.ResourceOption) (*GroupMembership, error)

NewGroupMembership registers a new resource with the given unique name, arguments, and options.

func (*GroupMembership) ElementType

func (*GroupMembership) ElementType() reflect.Type

func (*GroupMembership) ToGroupMembershipOutput

func (i *GroupMembership) ToGroupMembershipOutput() GroupMembershipOutput

func (*GroupMembership) ToGroupMembershipOutputWithContext

func (i *GroupMembership) ToGroupMembershipOutputWithContext(ctx context.Context) GroupMembershipOutput

type GroupMembershipArgs

type GroupMembershipArgs struct {
	// Access level for the member. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`.
	AccessLevel pulumi.StringInput
	// Expiration date for the group membership. Format: `YYYY-MM-DD`
	ExpiresAt pulumi.StringPtrInput
	// The id of the group.
	GroupId pulumi.StringInput
	// Whether the deletion of direct memberships of the removed member in subgroups and projects should be skipped. Only used during a destroy.
	SkipSubresourcesOnDestroy pulumi.BoolPtrInput
	// Whether the removed member should be unassigned from any issues or merge requests inside a given group or project. Only used during a destroy.
	UnassignIssuablesOnDestroy pulumi.BoolPtrInput
	// The id of the user.
	UserId pulumi.IntInput
}

The set of arguments for constructing a GroupMembership resource.

func (GroupMembershipArgs) ElementType

func (GroupMembershipArgs) ElementType() reflect.Type

type GroupMembershipArray

type GroupMembershipArray []GroupMembershipInput

func (GroupMembershipArray) ElementType

func (GroupMembershipArray) ElementType() reflect.Type

func (GroupMembershipArray) ToGroupMembershipArrayOutput

func (i GroupMembershipArray) ToGroupMembershipArrayOutput() GroupMembershipArrayOutput

func (GroupMembershipArray) ToGroupMembershipArrayOutputWithContext

func (i GroupMembershipArray) ToGroupMembershipArrayOutputWithContext(ctx context.Context) GroupMembershipArrayOutput

type GroupMembershipArrayInput

type GroupMembershipArrayInput interface {
	pulumi.Input

	ToGroupMembershipArrayOutput() GroupMembershipArrayOutput
	ToGroupMembershipArrayOutputWithContext(context.Context) GroupMembershipArrayOutput
}

GroupMembershipArrayInput is an input type that accepts GroupMembershipArray and GroupMembershipArrayOutput values. You can construct a concrete instance of `GroupMembershipArrayInput` via:

GroupMembershipArray{ GroupMembershipArgs{...} }

type GroupMembershipArrayOutput

type GroupMembershipArrayOutput struct{ *pulumi.OutputState }

func (GroupMembershipArrayOutput) ElementType

func (GroupMembershipArrayOutput) ElementType() reflect.Type

func (GroupMembershipArrayOutput) Index

func (GroupMembershipArrayOutput) ToGroupMembershipArrayOutput

func (o GroupMembershipArrayOutput) ToGroupMembershipArrayOutput() GroupMembershipArrayOutput

func (GroupMembershipArrayOutput) ToGroupMembershipArrayOutputWithContext

func (o GroupMembershipArrayOutput) ToGroupMembershipArrayOutputWithContext(ctx context.Context) GroupMembershipArrayOutput

type GroupMembershipInput

type GroupMembershipInput interface {
	pulumi.Input

	ToGroupMembershipOutput() GroupMembershipOutput
	ToGroupMembershipOutputWithContext(ctx context.Context) GroupMembershipOutput
}

type GroupMembershipMap

type GroupMembershipMap map[string]GroupMembershipInput

func (GroupMembershipMap) ElementType

func (GroupMembershipMap) ElementType() reflect.Type

func (GroupMembershipMap) ToGroupMembershipMapOutput

func (i GroupMembershipMap) ToGroupMembershipMapOutput() GroupMembershipMapOutput

func (GroupMembershipMap) ToGroupMembershipMapOutputWithContext

func (i GroupMembershipMap) ToGroupMembershipMapOutputWithContext(ctx context.Context) GroupMembershipMapOutput

type GroupMembershipMapInput

type GroupMembershipMapInput interface {
	pulumi.Input

	ToGroupMembershipMapOutput() GroupMembershipMapOutput
	ToGroupMembershipMapOutputWithContext(context.Context) GroupMembershipMapOutput
}

GroupMembershipMapInput is an input type that accepts GroupMembershipMap and GroupMembershipMapOutput values. You can construct a concrete instance of `GroupMembershipMapInput` via:

GroupMembershipMap{ "key": GroupMembershipArgs{...} }

type GroupMembershipMapOutput

type GroupMembershipMapOutput struct{ *pulumi.OutputState }

func (GroupMembershipMapOutput) ElementType

func (GroupMembershipMapOutput) ElementType() reflect.Type

func (GroupMembershipMapOutput) MapIndex

func (GroupMembershipMapOutput) ToGroupMembershipMapOutput

func (o GroupMembershipMapOutput) ToGroupMembershipMapOutput() GroupMembershipMapOutput

func (GroupMembershipMapOutput) ToGroupMembershipMapOutputWithContext

func (o GroupMembershipMapOutput) ToGroupMembershipMapOutputWithContext(ctx context.Context) GroupMembershipMapOutput

type GroupMembershipOutput

type GroupMembershipOutput struct{ *pulumi.OutputState }

func (GroupMembershipOutput) AccessLevel added in v4.7.1

func (o GroupMembershipOutput) AccessLevel() pulumi.StringOutput

Access level for the member. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`.

func (GroupMembershipOutput) ElementType

func (GroupMembershipOutput) ElementType() reflect.Type

func (GroupMembershipOutput) ExpiresAt added in v4.7.1

Expiration date for the group membership. Format: `YYYY-MM-DD`

func (GroupMembershipOutput) GroupId added in v4.7.1

The id of the group.

func (GroupMembershipOutput) SkipSubresourcesOnDestroy added in v4.9.0

func (o GroupMembershipOutput) SkipSubresourcesOnDestroy() pulumi.BoolPtrOutput

Whether the deletion of direct memberships of the removed member in subgroups and projects should be skipped. Only used during a destroy.

func (GroupMembershipOutput) ToGroupMembershipOutput

func (o GroupMembershipOutput) ToGroupMembershipOutput() GroupMembershipOutput

func (GroupMembershipOutput) ToGroupMembershipOutputWithContext

func (o GroupMembershipOutput) ToGroupMembershipOutputWithContext(ctx context.Context) GroupMembershipOutput

func (GroupMembershipOutput) UnassignIssuablesOnDestroy added in v4.9.0

func (o GroupMembershipOutput) UnassignIssuablesOnDestroy() pulumi.BoolPtrOutput

Whether the removed member should be unassigned from any issues or merge requests inside a given group or project. Only used during a destroy.

func (GroupMembershipOutput) UserId added in v4.7.1

The id of the user.

type GroupMembershipState

type GroupMembershipState struct {
	// Access level for the member. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`.
	AccessLevel pulumi.StringPtrInput
	// Expiration date for the group membership. Format: `YYYY-MM-DD`
	ExpiresAt pulumi.StringPtrInput
	// The id of the group.
	GroupId pulumi.StringPtrInput
	// Whether the deletion of direct memberships of the removed member in subgroups and projects should be skipped. Only used during a destroy.
	SkipSubresourcesOnDestroy pulumi.BoolPtrInput
	// Whether the removed member should be unassigned from any issues or merge requests inside a given group or project. Only used during a destroy.
	UnassignIssuablesOnDestroy pulumi.BoolPtrInput
	// The id of the user.
	UserId pulumi.IntPtrInput
}

func (GroupMembershipState) ElementType

func (GroupMembershipState) ElementType() reflect.Type

type GroupOutput

type GroupOutput struct{ *pulumi.OutputState }

func (GroupOutput) AutoDevopsEnabled added in v4.7.1

func (o GroupOutput) AutoDevopsEnabled() pulumi.BoolPtrOutput

Defaults to false. Default to Auto DevOps pipeline for all projects within this group.

func (GroupOutput) DefaultBranchProtection added in v4.7.1

func (o GroupOutput) DefaultBranchProtection() pulumi.IntPtrOutput

Defaults to 2. See https://docs.gitlab.com/ee/api/groups.html#options-for-default*branch*protection

func (GroupOutput) Description added in v4.7.1

func (o GroupOutput) Description() pulumi.StringPtrOutput

The description of the group.

func (GroupOutput) ElementType

func (GroupOutput) ElementType() reflect.Type

func (GroupOutput) EmailsDisabled added in v4.7.1

func (o GroupOutput) EmailsDisabled() pulumi.BoolPtrOutput

Defaults to false. Disable email notifications.

func (GroupOutput) ExtraSharedRunnersMinutesLimit added in v4.10.0

func (o GroupOutput) ExtraSharedRunnersMinutesLimit() pulumi.IntPtrOutput

Can be set by administrators only. Additional CI/CD minutes for this group.

func (GroupOutput) FullName added in v4.7.1

func (o GroupOutput) FullName() pulumi.StringOutput

The full name of the group.

func (GroupOutput) FullPath added in v4.7.1

func (o GroupOutput) FullPath() pulumi.StringOutput

The full path of the group.

func (GroupOutput) LfsEnabled added in v4.7.1

func (o GroupOutput) LfsEnabled() pulumi.BoolPtrOutput

Defaults to true. Enable/disable Large File Storage (LFS) for the projects in this group.

func (GroupOutput) MembershipLock added in v4.10.0

func (o GroupOutput) MembershipLock() pulumi.BoolPtrOutput

Users cannot be added to projects in this group.

func (GroupOutput) MentionsDisabled added in v4.7.1

func (o GroupOutput) MentionsDisabled() pulumi.BoolPtrOutput

Defaults to false. Disable the capability of a group from getting mentioned.

func (GroupOutput) Name added in v4.7.1

func (o GroupOutput) Name() pulumi.StringOutput

The name of this group.

func (GroupOutput) ParentId added in v4.7.1

func (o GroupOutput) ParentId() pulumi.IntPtrOutput

Id of the parent group (creates a nested group).

func (GroupOutput) Path added in v4.7.1

func (o GroupOutput) Path() pulumi.StringOutput

The path of the group.

func (GroupOutput) PreventForkingOutsideGroup added in v4.7.1

func (o GroupOutput) PreventForkingOutsideGroup() pulumi.BoolPtrOutput

Defaults to false. When enabled, users can not fork projects from this group to external namespaces.

func (GroupOutput) ProjectCreationLevel added in v4.7.1

func (o GroupOutput) ProjectCreationLevel() pulumi.StringPtrOutput

Defaults to maintainer. Determine if developers can create projects in the group.

func (GroupOutput) RequestAccessEnabled added in v4.7.1

func (o GroupOutput) RequestAccessEnabled() pulumi.BoolPtrOutput

Defaults to false. Allow users to request member access.

func (GroupOutput) RequireTwoFactorAuthentication added in v4.7.1

func (o GroupOutput) RequireTwoFactorAuthentication() pulumi.BoolPtrOutput

Defaults to false. Require all users in this group to setup Two-factor authentication.

func (GroupOutput) RunnersToken added in v4.7.1

func (o GroupOutput) RunnersToken() pulumi.StringOutput

The group level registration token to use during runner setup.

func (GroupOutput) ShareWithGroupLock added in v4.7.1

func (o GroupOutput) ShareWithGroupLock() pulumi.BoolPtrOutput

Defaults to false. Prevent sharing a project with another group within this group.

func (GroupOutput) SharedRunnersMinutesLimit added in v4.10.0

func (o GroupOutput) SharedRunnersMinutesLimit() pulumi.IntPtrOutput

Can be set by administrators only. Maximum number of monthly CI/CD minutes for this group. Can be nil (default; inherit system default), 0 (unlimited), or > 0.

func (GroupOutput) SubgroupCreationLevel added in v4.7.1

func (o GroupOutput) SubgroupCreationLevel() pulumi.StringPtrOutput

Defaults to owner. Allowed to create subgroups.

func (GroupOutput) ToGroupOutput

func (o GroupOutput) ToGroupOutput() GroupOutput

func (GroupOutput) ToGroupOutputWithContext

func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput

func (GroupOutput) TwoFactorGracePeriod added in v4.7.1

func (o GroupOutput) TwoFactorGracePeriod() pulumi.IntPtrOutput

Defaults to 48. Time before Two-factor authentication is enforced (in hours).

func (GroupOutput) VisibilityLevel added in v4.7.1

func (o GroupOutput) VisibilityLevel() pulumi.StringOutput

The group's visibility. Can be `private`, `internal`, or `public`.

func (GroupOutput) WebUrl added in v4.7.1

func (o GroupOutput) WebUrl() pulumi.StringOutput

Web URL of the group.

type GroupProjectFileTemplate added in v4.8.0

type GroupProjectFileTemplate struct {
	pulumi.CustomResourceState

	// The ID of the project that will be used for file templates. This project must be the direct
	// 			child of the project defined by the group_id
	FileTemplateProjectId pulumi.IntOutput `pulumi:"fileTemplateProjectId"`
	// The ID of the group that will use the file template project. This group must be the direct
	//             parent of the project defined by project_id
	GroupId pulumi.IntOutput `pulumi:"groupId"`
}

The `GroupProjectFileTemplate` resource allows setting a project from which custom file templates will be loaded. In order to use this resource, the project selected must be a direct child of the group selected. After the resource has run, `gitlab_project_template.template_project_id` is available for use. For more information about which file types are available as templates, view [GitLab's documentation](https://docs.gitlab.com/ee/user/group/custom_project_templates.html)

> This resource requires a GitLab Enterprise instance with a Premium license.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/groups.html#update-group)

func GetGroupProjectFileTemplate added in v4.8.0

func GetGroupProjectFileTemplate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GroupProjectFileTemplateState, opts ...pulumi.ResourceOption) (*GroupProjectFileTemplate, error)

GetGroupProjectFileTemplate gets an existing GroupProjectFileTemplate resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGroupProjectFileTemplate added in v4.8.0

func NewGroupProjectFileTemplate(ctx *pulumi.Context,
	name string, args *GroupProjectFileTemplateArgs, opts ...pulumi.ResourceOption) (*GroupProjectFileTemplate, error)

NewGroupProjectFileTemplate registers a new resource with the given unique name, arguments, and options.

func (*GroupProjectFileTemplate) ElementType added in v4.8.0

func (*GroupProjectFileTemplate) ElementType() reflect.Type

func (*GroupProjectFileTemplate) ToGroupProjectFileTemplateOutput added in v4.8.0

func (i *GroupProjectFileTemplate) ToGroupProjectFileTemplateOutput() GroupProjectFileTemplateOutput

func (*GroupProjectFileTemplate) ToGroupProjectFileTemplateOutputWithContext added in v4.8.0

func (i *GroupProjectFileTemplate) ToGroupProjectFileTemplateOutputWithContext(ctx context.Context) GroupProjectFileTemplateOutput

type GroupProjectFileTemplateArgs added in v4.8.0

type GroupProjectFileTemplateArgs struct {
	// The ID of the project that will be used for file templates. This project must be the direct
	// 			child of the project defined by the group_id
	FileTemplateProjectId pulumi.IntInput
	// The ID of the group that will use the file template project. This group must be the direct
	//             parent of the project defined by project_id
	GroupId pulumi.IntInput
}

The set of arguments for constructing a GroupProjectFileTemplate resource.

func (GroupProjectFileTemplateArgs) ElementType added in v4.8.0

type GroupProjectFileTemplateArray added in v4.8.0

type GroupProjectFileTemplateArray []GroupProjectFileTemplateInput

func (GroupProjectFileTemplateArray) ElementType added in v4.8.0

func (GroupProjectFileTemplateArray) ToGroupProjectFileTemplateArrayOutput added in v4.8.0

func (i GroupProjectFileTemplateArray) ToGroupProjectFileTemplateArrayOutput() GroupProjectFileTemplateArrayOutput

func (GroupProjectFileTemplateArray) ToGroupProjectFileTemplateArrayOutputWithContext added in v4.8.0

func (i GroupProjectFileTemplateArray) ToGroupProjectFileTemplateArrayOutputWithContext(ctx context.Context) GroupProjectFileTemplateArrayOutput

type GroupProjectFileTemplateArrayInput added in v4.8.0

type GroupProjectFileTemplateArrayInput interface {
	pulumi.Input

	ToGroupProjectFileTemplateArrayOutput() GroupProjectFileTemplateArrayOutput
	ToGroupProjectFileTemplateArrayOutputWithContext(context.Context) GroupProjectFileTemplateArrayOutput
}

GroupProjectFileTemplateArrayInput is an input type that accepts GroupProjectFileTemplateArray and GroupProjectFileTemplateArrayOutput values. You can construct a concrete instance of `GroupProjectFileTemplateArrayInput` via:

GroupProjectFileTemplateArray{ GroupProjectFileTemplateArgs{...} }

type GroupProjectFileTemplateArrayOutput added in v4.8.0

type GroupProjectFileTemplateArrayOutput struct{ *pulumi.OutputState }

func (GroupProjectFileTemplateArrayOutput) ElementType added in v4.8.0

func (GroupProjectFileTemplateArrayOutput) Index added in v4.8.0

func (GroupProjectFileTemplateArrayOutput) ToGroupProjectFileTemplateArrayOutput added in v4.8.0

func (o GroupProjectFileTemplateArrayOutput) ToGroupProjectFileTemplateArrayOutput() GroupProjectFileTemplateArrayOutput

func (GroupProjectFileTemplateArrayOutput) ToGroupProjectFileTemplateArrayOutputWithContext added in v4.8.0

func (o GroupProjectFileTemplateArrayOutput) ToGroupProjectFileTemplateArrayOutputWithContext(ctx context.Context) GroupProjectFileTemplateArrayOutput

type GroupProjectFileTemplateInput added in v4.8.0

type GroupProjectFileTemplateInput interface {
	pulumi.Input

	ToGroupProjectFileTemplateOutput() GroupProjectFileTemplateOutput
	ToGroupProjectFileTemplateOutputWithContext(ctx context.Context) GroupProjectFileTemplateOutput
}

type GroupProjectFileTemplateMap added in v4.8.0

type GroupProjectFileTemplateMap map[string]GroupProjectFileTemplateInput

func (GroupProjectFileTemplateMap) ElementType added in v4.8.0

func (GroupProjectFileTemplateMap) ToGroupProjectFileTemplateMapOutput added in v4.8.0

func (i GroupProjectFileTemplateMap) ToGroupProjectFileTemplateMapOutput() GroupProjectFileTemplateMapOutput

func (GroupProjectFileTemplateMap) ToGroupProjectFileTemplateMapOutputWithContext added in v4.8.0

func (i GroupProjectFileTemplateMap) ToGroupProjectFileTemplateMapOutputWithContext(ctx context.Context) GroupProjectFileTemplateMapOutput

type GroupProjectFileTemplateMapInput added in v4.8.0

type GroupProjectFileTemplateMapInput interface {
	pulumi.Input

	ToGroupProjectFileTemplateMapOutput() GroupProjectFileTemplateMapOutput
	ToGroupProjectFileTemplateMapOutputWithContext(context.Context) GroupProjectFileTemplateMapOutput
}

GroupProjectFileTemplateMapInput is an input type that accepts GroupProjectFileTemplateMap and GroupProjectFileTemplateMapOutput values. You can construct a concrete instance of `GroupProjectFileTemplateMapInput` via:

GroupProjectFileTemplateMap{ "key": GroupProjectFileTemplateArgs{...} }

type GroupProjectFileTemplateMapOutput added in v4.8.0

type GroupProjectFileTemplateMapOutput struct{ *pulumi.OutputState }

func (GroupProjectFileTemplateMapOutput) ElementType added in v4.8.0

func (GroupProjectFileTemplateMapOutput) MapIndex added in v4.8.0

func (GroupProjectFileTemplateMapOutput) ToGroupProjectFileTemplateMapOutput added in v4.8.0

func (o GroupProjectFileTemplateMapOutput) ToGroupProjectFileTemplateMapOutput() GroupProjectFileTemplateMapOutput

func (GroupProjectFileTemplateMapOutput) ToGroupProjectFileTemplateMapOutputWithContext added in v4.8.0

func (o GroupProjectFileTemplateMapOutput) ToGroupProjectFileTemplateMapOutputWithContext(ctx context.Context) GroupProjectFileTemplateMapOutput

type GroupProjectFileTemplateOutput added in v4.8.0

type GroupProjectFileTemplateOutput struct{ *pulumi.OutputState }

func (GroupProjectFileTemplateOutput) ElementType added in v4.8.0

func (GroupProjectFileTemplateOutput) FileTemplateProjectId added in v4.8.0

func (o GroupProjectFileTemplateOutput) FileTemplateProjectId() pulumi.IntOutput

The ID of the project that will be used for file templates. This project must be the direct

child of the project defined by the group_id

func (GroupProjectFileTemplateOutput) GroupId added in v4.8.0

The ID of the group that will use the file template project. This group must be the direct

parent of the project defined by project_id

func (GroupProjectFileTemplateOutput) ToGroupProjectFileTemplateOutput added in v4.8.0

func (o GroupProjectFileTemplateOutput) ToGroupProjectFileTemplateOutput() GroupProjectFileTemplateOutput

func (GroupProjectFileTemplateOutput) ToGroupProjectFileTemplateOutputWithContext added in v4.8.0

func (o GroupProjectFileTemplateOutput) ToGroupProjectFileTemplateOutputWithContext(ctx context.Context) GroupProjectFileTemplateOutput

type GroupProjectFileTemplateState added in v4.8.0

type GroupProjectFileTemplateState struct {
	// The ID of the project that will be used for file templates. This project must be the direct
	// 			child of the project defined by the group_id
	FileTemplateProjectId pulumi.IntPtrInput
	// The ID of the group that will use the file template project. This group must be the direct
	//             parent of the project defined by project_id
	GroupId pulumi.IntPtrInput
}

func (GroupProjectFileTemplateState) ElementType added in v4.8.0

type GroupSamlLink struct {
	pulumi.CustomResourceState

	// Access level for members of the SAML group. Valid values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.
	AccessLevel pulumi.StringOutput `pulumi:"accessLevel"`
	// The ID or path of the group to add the SAML Group Link to.
	Group pulumi.StringOutput `pulumi:"group"`
	// The name of the SAML group.
	SamlGroupName pulumi.StringOutput `pulumi:"samlGroupName"`
}

The `GroupSamlLink` resource allows to manage the lifecycle of an SAML integration with a group.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/groups.html#saml-group-links)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewGroupSamlLink(ctx, "test", &gitlab.GroupSamlLinkArgs{
			AccessLevel:   pulumi.String("developer"),
			Group:         pulumi.String("12345"),
			SamlGroupName: pulumi.String("samlgroupname1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GitLab group saml links can be imported using an id made up of `group_id:saml_group_name`, e.g.

```sh

$ pulumi import gitlab:index/groupSamlLink:GroupSamlLink test "12345:samlgroupname1"

```

func GetGroupSamlLink(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GroupSamlLinkState, opts ...pulumi.ResourceOption) (*GroupSamlLink, error)

GetGroupSamlLink gets an existing GroupSamlLink resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGroupSamlLink(ctx *pulumi.Context,
	name string, args *GroupSamlLinkArgs, opts ...pulumi.ResourceOption) (*GroupSamlLink, error)

NewGroupSamlLink registers a new resource with the given unique name, arguments, and options.

func (*GroupSamlLink) ElementType added in v4.9.0

func (*GroupSamlLink) ElementType() reflect.Type

func (*GroupSamlLink) ToGroupSamlLinkOutput added in v4.9.0

func (i *GroupSamlLink) ToGroupSamlLinkOutput() GroupSamlLinkOutput

func (*GroupSamlLink) ToGroupSamlLinkOutputWithContext added in v4.9.0

func (i *GroupSamlLink) ToGroupSamlLinkOutputWithContext(ctx context.Context) GroupSamlLinkOutput

type GroupSamlLinkArgs added in v4.9.0

type GroupSamlLinkArgs struct {
	// Access level for members of the SAML group. Valid values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.
	AccessLevel pulumi.StringInput
	// The ID or path of the group to add the SAML Group Link to.
	Group pulumi.StringInput
	// The name of the SAML group.
	SamlGroupName pulumi.StringInput
}

The set of arguments for constructing a GroupSamlLink resource.

func (GroupSamlLinkArgs) ElementType added in v4.9.0

func (GroupSamlLinkArgs) ElementType() reflect.Type

type GroupSamlLinkArray added in v4.9.0

type GroupSamlLinkArray []GroupSamlLinkInput

func (GroupSamlLinkArray) ElementType added in v4.9.0

func (GroupSamlLinkArray) ElementType() reflect.Type

func (GroupSamlLinkArray) ToGroupSamlLinkArrayOutput added in v4.9.0

func (i GroupSamlLinkArray) ToGroupSamlLinkArrayOutput() GroupSamlLinkArrayOutput

func (GroupSamlLinkArray) ToGroupSamlLinkArrayOutputWithContext added in v4.9.0

func (i GroupSamlLinkArray) ToGroupSamlLinkArrayOutputWithContext(ctx context.Context) GroupSamlLinkArrayOutput

type GroupSamlLinkArrayInput added in v4.9.0

type GroupSamlLinkArrayInput interface {
	pulumi.Input

	ToGroupSamlLinkArrayOutput() GroupSamlLinkArrayOutput
	ToGroupSamlLinkArrayOutputWithContext(context.Context) GroupSamlLinkArrayOutput
}

GroupSamlLinkArrayInput is an input type that accepts GroupSamlLinkArray and GroupSamlLinkArrayOutput values. You can construct a concrete instance of `GroupSamlLinkArrayInput` via:

GroupSamlLinkArray{ GroupSamlLinkArgs{...} }

type GroupSamlLinkArrayOutput added in v4.9.0

type GroupSamlLinkArrayOutput struct{ *pulumi.OutputState }

func (GroupSamlLinkArrayOutput) ElementType added in v4.9.0

func (GroupSamlLinkArrayOutput) ElementType() reflect.Type

func (GroupSamlLinkArrayOutput) Index added in v4.9.0

func (GroupSamlLinkArrayOutput) ToGroupSamlLinkArrayOutput added in v4.9.0

func (o GroupSamlLinkArrayOutput) ToGroupSamlLinkArrayOutput() GroupSamlLinkArrayOutput

func (GroupSamlLinkArrayOutput) ToGroupSamlLinkArrayOutputWithContext added in v4.9.0

func (o GroupSamlLinkArrayOutput) ToGroupSamlLinkArrayOutputWithContext(ctx context.Context) GroupSamlLinkArrayOutput

type GroupSamlLinkInput added in v4.9.0

type GroupSamlLinkInput interface {
	pulumi.Input

	ToGroupSamlLinkOutput() GroupSamlLinkOutput
	ToGroupSamlLinkOutputWithContext(ctx context.Context) GroupSamlLinkOutput
}

type GroupSamlLinkMap added in v4.9.0

type GroupSamlLinkMap map[string]GroupSamlLinkInput

func (GroupSamlLinkMap) ElementType added in v4.9.0

func (GroupSamlLinkMap) ElementType() reflect.Type

func (GroupSamlLinkMap) ToGroupSamlLinkMapOutput added in v4.9.0

func (i GroupSamlLinkMap) ToGroupSamlLinkMapOutput() GroupSamlLinkMapOutput

func (GroupSamlLinkMap) ToGroupSamlLinkMapOutputWithContext added in v4.9.0

func (i GroupSamlLinkMap) ToGroupSamlLinkMapOutputWithContext(ctx context.Context) GroupSamlLinkMapOutput

type GroupSamlLinkMapInput added in v4.9.0

type GroupSamlLinkMapInput interface {
	pulumi.Input

	ToGroupSamlLinkMapOutput() GroupSamlLinkMapOutput
	ToGroupSamlLinkMapOutputWithContext(context.Context) GroupSamlLinkMapOutput
}

GroupSamlLinkMapInput is an input type that accepts GroupSamlLinkMap and GroupSamlLinkMapOutput values. You can construct a concrete instance of `GroupSamlLinkMapInput` via:

GroupSamlLinkMap{ "key": GroupSamlLinkArgs{...} }

type GroupSamlLinkMapOutput added in v4.9.0

type GroupSamlLinkMapOutput struct{ *pulumi.OutputState }

func (GroupSamlLinkMapOutput) ElementType added in v4.9.0

func (GroupSamlLinkMapOutput) ElementType() reflect.Type

func (GroupSamlLinkMapOutput) MapIndex added in v4.9.0

func (GroupSamlLinkMapOutput) ToGroupSamlLinkMapOutput added in v4.9.0

func (o GroupSamlLinkMapOutput) ToGroupSamlLinkMapOutput() GroupSamlLinkMapOutput

func (GroupSamlLinkMapOutput) ToGroupSamlLinkMapOutputWithContext added in v4.9.0

func (o GroupSamlLinkMapOutput) ToGroupSamlLinkMapOutputWithContext(ctx context.Context) GroupSamlLinkMapOutput

type GroupSamlLinkOutput added in v4.9.0

type GroupSamlLinkOutput struct{ *pulumi.OutputState }

func (GroupSamlLinkOutput) AccessLevel added in v4.9.0

func (o GroupSamlLinkOutput) AccessLevel() pulumi.StringOutput

Access level for members of the SAML group. Valid values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.

func (GroupSamlLinkOutput) ElementType added in v4.9.0

func (GroupSamlLinkOutput) ElementType() reflect.Type

func (GroupSamlLinkOutput) Group added in v4.9.0

The ID or path of the group to add the SAML Group Link to.

func (GroupSamlLinkOutput) SamlGroupName added in v4.9.0

func (o GroupSamlLinkOutput) SamlGroupName() pulumi.StringOutput

The name of the SAML group.

func (GroupSamlLinkOutput) ToGroupSamlLinkOutput added in v4.9.0

func (o GroupSamlLinkOutput) ToGroupSamlLinkOutput() GroupSamlLinkOutput

func (GroupSamlLinkOutput) ToGroupSamlLinkOutputWithContext added in v4.9.0

func (o GroupSamlLinkOutput) ToGroupSamlLinkOutputWithContext(ctx context.Context) GroupSamlLinkOutput

type GroupSamlLinkState added in v4.9.0

type GroupSamlLinkState struct {
	// Access level for members of the SAML group. Valid values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.
	AccessLevel pulumi.StringPtrInput
	// The ID or path of the group to add the SAML Group Link to.
	Group pulumi.StringPtrInput
	// The name of the SAML group.
	SamlGroupName pulumi.StringPtrInput
}

func (GroupSamlLinkState) ElementType added in v4.9.0

func (GroupSamlLinkState) ElementType() reflect.Type

type GroupShareGroup

type GroupShareGroup struct {
	pulumi.CustomResourceState

	// Share expiration date. Format: `YYYY-MM-DD`
	ExpiresAt pulumi.StringPtrOutput `pulumi:"expiresAt"`
	// The access level to grant the group. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`
	GroupAccess pulumi.StringOutput `pulumi:"groupAccess"`
	// The id of the main group to be shared.
	GroupId pulumi.StringOutput `pulumi:"groupId"`
	// The id of the additional group with which the main group will be shared.
	ShareGroupId pulumi.IntOutput `pulumi:"shareGroupId"`
}

The `GroupShareGroup` resource allows to manage the lifecycle of group shared with another group.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/groups.html#share-groups-with-groups)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewGroupShareGroup(ctx, "test", &gitlab.GroupShareGroupArgs{
			GroupId:      pulumi.Any(gitlab_group.Foo.Id),
			ShareGroupId: pulumi.Any(gitlab_group.Bar.Id),
			GroupAccess:  pulumi.String("guest"),
			ExpiresAt:    pulumi.String("2099-01-01"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GitLab group shares can be imported using an id made up of `mainGroupId:shareGroupId`, e.g.

```sh

$ pulumi import gitlab:index/groupShareGroup:GroupShareGroup test 12345:1337

```

func GetGroupShareGroup

func GetGroupShareGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GroupShareGroupState, opts ...pulumi.ResourceOption) (*GroupShareGroup, error)

GetGroupShareGroup gets an existing GroupShareGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGroupShareGroup

func NewGroupShareGroup(ctx *pulumi.Context,
	name string, args *GroupShareGroupArgs, opts ...pulumi.ResourceOption) (*GroupShareGroup, error)

NewGroupShareGroup registers a new resource with the given unique name, arguments, and options.

func (*GroupShareGroup) ElementType

func (*GroupShareGroup) ElementType() reflect.Type

func (*GroupShareGroup) ToGroupShareGroupOutput

func (i *GroupShareGroup) ToGroupShareGroupOutput() GroupShareGroupOutput

func (*GroupShareGroup) ToGroupShareGroupOutputWithContext

func (i *GroupShareGroup) ToGroupShareGroupOutputWithContext(ctx context.Context) GroupShareGroupOutput

type GroupShareGroupArgs

type GroupShareGroupArgs struct {
	// Share expiration date. Format: `YYYY-MM-DD`
	ExpiresAt pulumi.StringPtrInput
	// The access level to grant the group. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`
	GroupAccess pulumi.StringInput
	// The id of the main group to be shared.
	GroupId pulumi.StringInput
	// The id of the additional group with which the main group will be shared.
	ShareGroupId pulumi.IntInput
}

The set of arguments for constructing a GroupShareGroup resource.

func (GroupShareGroupArgs) ElementType

func (GroupShareGroupArgs) ElementType() reflect.Type

type GroupShareGroupArray

type GroupShareGroupArray []GroupShareGroupInput

func (GroupShareGroupArray) ElementType

func (GroupShareGroupArray) ElementType() reflect.Type

func (GroupShareGroupArray) ToGroupShareGroupArrayOutput

func (i GroupShareGroupArray) ToGroupShareGroupArrayOutput() GroupShareGroupArrayOutput

func (GroupShareGroupArray) ToGroupShareGroupArrayOutputWithContext

func (i GroupShareGroupArray) ToGroupShareGroupArrayOutputWithContext(ctx context.Context) GroupShareGroupArrayOutput

type GroupShareGroupArrayInput

type GroupShareGroupArrayInput interface {
	pulumi.Input

	ToGroupShareGroupArrayOutput() GroupShareGroupArrayOutput
	ToGroupShareGroupArrayOutputWithContext(context.Context) GroupShareGroupArrayOutput
}

GroupShareGroupArrayInput is an input type that accepts GroupShareGroupArray and GroupShareGroupArrayOutput values. You can construct a concrete instance of `GroupShareGroupArrayInput` via:

GroupShareGroupArray{ GroupShareGroupArgs{...} }

type GroupShareGroupArrayOutput

type GroupShareGroupArrayOutput struct{ *pulumi.OutputState }

func (GroupShareGroupArrayOutput) ElementType

func (GroupShareGroupArrayOutput) ElementType() reflect.Type

func (GroupShareGroupArrayOutput) Index

func (GroupShareGroupArrayOutput) ToGroupShareGroupArrayOutput

func (o GroupShareGroupArrayOutput) ToGroupShareGroupArrayOutput() GroupShareGroupArrayOutput

func (GroupShareGroupArrayOutput) ToGroupShareGroupArrayOutputWithContext

func (o GroupShareGroupArrayOutput) ToGroupShareGroupArrayOutputWithContext(ctx context.Context) GroupShareGroupArrayOutput

type GroupShareGroupInput

type GroupShareGroupInput interface {
	pulumi.Input

	ToGroupShareGroupOutput() GroupShareGroupOutput
	ToGroupShareGroupOutputWithContext(ctx context.Context) GroupShareGroupOutput
}

type GroupShareGroupMap

type GroupShareGroupMap map[string]GroupShareGroupInput

func (GroupShareGroupMap) ElementType

func (GroupShareGroupMap) ElementType() reflect.Type

func (GroupShareGroupMap) ToGroupShareGroupMapOutput

func (i GroupShareGroupMap) ToGroupShareGroupMapOutput() GroupShareGroupMapOutput

func (GroupShareGroupMap) ToGroupShareGroupMapOutputWithContext

func (i GroupShareGroupMap) ToGroupShareGroupMapOutputWithContext(ctx context.Context) GroupShareGroupMapOutput

type GroupShareGroupMapInput

type GroupShareGroupMapInput interface {
	pulumi.Input

	ToGroupShareGroupMapOutput() GroupShareGroupMapOutput
	ToGroupShareGroupMapOutputWithContext(context.Context) GroupShareGroupMapOutput
}

GroupShareGroupMapInput is an input type that accepts GroupShareGroupMap and GroupShareGroupMapOutput values. You can construct a concrete instance of `GroupShareGroupMapInput` via:

GroupShareGroupMap{ "key": GroupShareGroupArgs{...} }

type GroupShareGroupMapOutput

type GroupShareGroupMapOutput struct{ *pulumi.OutputState }

func (GroupShareGroupMapOutput) ElementType

func (GroupShareGroupMapOutput) ElementType() reflect.Type

func (GroupShareGroupMapOutput) MapIndex

func (GroupShareGroupMapOutput) ToGroupShareGroupMapOutput

func (o GroupShareGroupMapOutput) ToGroupShareGroupMapOutput() GroupShareGroupMapOutput

func (GroupShareGroupMapOutput) ToGroupShareGroupMapOutputWithContext

func (o GroupShareGroupMapOutput) ToGroupShareGroupMapOutputWithContext(ctx context.Context) GroupShareGroupMapOutput

type GroupShareGroupOutput

type GroupShareGroupOutput struct{ *pulumi.OutputState }

func (GroupShareGroupOutput) ElementType

func (GroupShareGroupOutput) ElementType() reflect.Type

func (GroupShareGroupOutput) ExpiresAt added in v4.7.1

Share expiration date. Format: `YYYY-MM-DD`

func (GroupShareGroupOutput) GroupAccess added in v4.7.1

func (o GroupShareGroupOutput) GroupAccess() pulumi.StringOutput

The access level to grant the group. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`

func (GroupShareGroupOutput) GroupId added in v4.7.1

The id of the main group to be shared.

func (GroupShareGroupOutput) ShareGroupId added in v4.7.1

func (o GroupShareGroupOutput) ShareGroupId() pulumi.IntOutput

The id of the additional group with which the main group will be shared.

func (GroupShareGroupOutput) ToGroupShareGroupOutput

func (o GroupShareGroupOutput) ToGroupShareGroupOutput() GroupShareGroupOutput

func (GroupShareGroupOutput) ToGroupShareGroupOutputWithContext

func (o GroupShareGroupOutput) ToGroupShareGroupOutputWithContext(ctx context.Context) GroupShareGroupOutput

type GroupShareGroupState

type GroupShareGroupState struct {
	// Share expiration date. Format: `YYYY-MM-DD`
	ExpiresAt pulumi.StringPtrInput
	// The access level to grant the group. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`
	GroupAccess pulumi.StringPtrInput
	// The id of the main group to be shared.
	GroupId pulumi.StringPtrInput
	// The id of the additional group with which the main group will be shared.
	ShareGroupId pulumi.IntPtrInput
}

func (GroupShareGroupState) ElementType

func (GroupShareGroupState) ElementType() reflect.Type

type GroupState

type GroupState struct {
	// Defaults to false. Default to Auto DevOps pipeline for all projects within this group.
	AutoDevopsEnabled pulumi.BoolPtrInput
	// Defaults to 2. See https://docs.gitlab.com/ee/api/groups.html#options-for-default*branch*protection
	DefaultBranchProtection pulumi.IntPtrInput
	// The description of the group.
	Description pulumi.StringPtrInput
	// Defaults to false. Disable email notifications.
	EmailsDisabled pulumi.BoolPtrInput
	// Can be set by administrators only. Additional CI/CD minutes for this group.
	ExtraSharedRunnersMinutesLimit pulumi.IntPtrInput
	// The full name of the group.
	FullName pulumi.StringPtrInput
	// The full path of the group.
	FullPath pulumi.StringPtrInput
	// Defaults to true. Enable/disable Large File Storage (LFS) for the projects in this group.
	LfsEnabled pulumi.BoolPtrInput
	// Users cannot be added to projects in this group.
	MembershipLock pulumi.BoolPtrInput
	// Defaults to false. Disable the capability of a group from getting mentioned.
	MentionsDisabled pulumi.BoolPtrInput
	// The name of this group.
	Name pulumi.StringPtrInput
	// Id of the parent group (creates a nested group).
	ParentId pulumi.IntPtrInput
	// The path of the group.
	Path pulumi.StringPtrInput
	// Defaults to false. When enabled, users can not fork projects from this group to external namespaces.
	PreventForkingOutsideGroup pulumi.BoolPtrInput
	// Defaults to maintainer. Determine if developers can create projects in the group.
	ProjectCreationLevel pulumi.StringPtrInput
	// Defaults to false. Allow users to request member access.
	RequestAccessEnabled pulumi.BoolPtrInput
	// Defaults to false. Require all users in this group to setup Two-factor authentication.
	RequireTwoFactorAuthentication pulumi.BoolPtrInput
	// The group level registration token to use during runner setup.
	RunnersToken pulumi.StringPtrInput
	// Defaults to false. Prevent sharing a project with another group within this group.
	ShareWithGroupLock pulumi.BoolPtrInput
	// Can be set by administrators only. Maximum number of monthly CI/CD minutes for this group. Can be nil (default; inherit system default), 0 (unlimited), or > 0.
	SharedRunnersMinutesLimit pulumi.IntPtrInput
	// Defaults to owner. Allowed to create subgroups.
	SubgroupCreationLevel pulumi.StringPtrInput
	// Defaults to 48. Time before Two-factor authentication is enforced (in hours).
	TwoFactorGracePeriod pulumi.IntPtrInput
	// The group's visibility. Can be `private`, `internal`, or `public`.
	VisibilityLevel pulumi.StringPtrInput
	// Web URL of the group.
	WebUrl pulumi.StringPtrInput
}

func (GroupState) ElementType

func (GroupState) ElementType() reflect.Type

type GroupVariable

type GroupVariable struct {
	pulumi.CustomResourceState

	// The environment scope of the variable. Defaults to all environment (`*`). Note that in Community Editions of Gitlab, values other than `*` will cause inconsistent plans.
	EnvironmentScope pulumi.StringPtrOutput `pulumi:"environmentScope"`
	// The name or id of the group.
	Group pulumi.StringOutput `pulumi:"group"`
	// The name of the variable.
	Key pulumi.StringOutput `pulumi:"key"`
	// If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ee/ci/variables/#masked-variables). Defaults to `false`.
	Masked pulumi.BoolPtrOutput `pulumi:"masked"`
	// If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.
	Protected pulumi.BoolPtrOutput `pulumi:"protected"`
	// The value of the variable.
	Value pulumi.StringOutput `pulumi:"value"`
	// The type of a variable. Valid values are: `envVar`, `file`. Default is `envVar`.
	VariableType pulumi.StringPtrOutput `pulumi:"variableType"`
}

The `GroupVariable` resource allows to manage the lifecycle of a CI/CD variable for a group.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/group_level_variables.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewGroupVariable(ctx, "example", &gitlab.GroupVariableArgs{
			EnvironmentScope: pulumi.String("*"),
			Group:            pulumi.String("12345"),
			Key:              pulumi.String("group_variable_key"),
			Masked:           pulumi.Bool(false),
			Protected:        pulumi.Bool(false),
			Value:            pulumi.String("group_variable_value"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GitLab group variables can be imported using an id made up of `groupid:variablename:scope`, e.g.

```sh

$ pulumi import gitlab:index/groupVariable:GroupVariable example 12345:group_variable_key:*

```

func GetGroupVariable

func GetGroupVariable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GroupVariableState, opts ...pulumi.ResourceOption) (*GroupVariable, error)

GetGroupVariable gets an existing GroupVariable resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGroupVariable

func NewGroupVariable(ctx *pulumi.Context,
	name string, args *GroupVariableArgs, opts ...pulumi.ResourceOption) (*GroupVariable, error)

NewGroupVariable registers a new resource with the given unique name, arguments, and options.

func (*GroupVariable) ElementType

func (*GroupVariable) ElementType() reflect.Type

func (*GroupVariable) ToGroupVariableOutput

func (i *GroupVariable) ToGroupVariableOutput() GroupVariableOutput

func (*GroupVariable) ToGroupVariableOutputWithContext

func (i *GroupVariable) ToGroupVariableOutputWithContext(ctx context.Context) GroupVariableOutput

type GroupVariableArgs

type GroupVariableArgs struct {
	// The environment scope of the variable. Defaults to all environment (`*`). Note that in Community Editions of Gitlab, values other than `*` will cause inconsistent plans.
	EnvironmentScope pulumi.StringPtrInput
	// The name or id of the group.
	Group pulumi.StringInput
	// The name of the variable.
	Key pulumi.StringInput
	// If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ee/ci/variables/#masked-variables). Defaults to `false`.
	Masked pulumi.BoolPtrInput
	// If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.
	Protected pulumi.BoolPtrInput
	// The value of the variable.
	Value pulumi.StringInput
	// The type of a variable. Valid values are: `envVar`, `file`. Default is `envVar`.
	VariableType pulumi.StringPtrInput
}

The set of arguments for constructing a GroupVariable resource.

func (GroupVariableArgs) ElementType

func (GroupVariableArgs) ElementType() reflect.Type

type GroupVariableArray

type GroupVariableArray []GroupVariableInput

func (GroupVariableArray) ElementType

func (GroupVariableArray) ElementType() reflect.Type

func (GroupVariableArray) ToGroupVariableArrayOutput

func (i GroupVariableArray) ToGroupVariableArrayOutput() GroupVariableArrayOutput

func (GroupVariableArray) ToGroupVariableArrayOutputWithContext

func (i GroupVariableArray) ToGroupVariableArrayOutputWithContext(ctx context.Context) GroupVariableArrayOutput

type GroupVariableArrayInput

type GroupVariableArrayInput interface {
	pulumi.Input

	ToGroupVariableArrayOutput() GroupVariableArrayOutput
	ToGroupVariableArrayOutputWithContext(context.Context) GroupVariableArrayOutput
}

GroupVariableArrayInput is an input type that accepts GroupVariableArray and GroupVariableArrayOutput values. You can construct a concrete instance of `GroupVariableArrayInput` via:

GroupVariableArray{ GroupVariableArgs{...} }

type GroupVariableArrayOutput

type GroupVariableArrayOutput struct{ *pulumi.OutputState }

func (GroupVariableArrayOutput) ElementType

func (GroupVariableArrayOutput) ElementType() reflect.Type

func (GroupVariableArrayOutput) Index

func (GroupVariableArrayOutput) ToGroupVariableArrayOutput

func (o GroupVariableArrayOutput) ToGroupVariableArrayOutput() GroupVariableArrayOutput

func (GroupVariableArrayOutput) ToGroupVariableArrayOutputWithContext

func (o GroupVariableArrayOutput) ToGroupVariableArrayOutputWithContext(ctx context.Context) GroupVariableArrayOutput

type GroupVariableInput

type GroupVariableInput interface {
	pulumi.Input

	ToGroupVariableOutput() GroupVariableOutput
	ToGroupVariableOutputWithContext(ctx context.Context) GroupVariableOutput
}

type GroupVariableMap

type GroupVariableMap map[string]GroupVariableInput

func (GroupVariableMap) ElementType

func (GroupVariableMap) ElementType() reflect.Type

func (GroupVariableMap) ToGroupVariableMapOutput

func (i GroupVariableMap) ToGroupVariableMapOutput() GroupVariableMapOutput

func (GroupVariableMap) ToGroupVariableMapOutputWithContext

func (i GroupVariableMap) ToGroupVariableMapOutputWithContext(ctx context.Context) GroupVariableMapOutput

type GroupVariableMapInput

type GroupVariableMapInput interface {
	pulumi.Input

	ToGroupVariableMapOutput() GroupVariableMapOutput
	ToGroupVariableMapOutputWithContext(context.Context) GroupVariableMapOutput
}

GroupVariableMapInput is an input type that accepts GroupVariableMap and GroupVariableMapOutput values. You can construct a concrete instance of `GroupVariableMapInput` via:

GroupVariableMap{ "key": GroupVariableArgs{...} }

type GroupVariableMapOutput

type GroupVariableMapOutput struct{ *pulumi.OutputState }

func (GroupVariableMapOutput) ElementType

func (GroupVariableMapOutput) ElementType() reflect.Type

func (GroupVariableMapOutput) MapIndex

func (GroupVariableMapOutput) ToGroupVariableMapOutput

func (o GroupVariableMapOutput) ToGroupVariableMapOutput() GroupVariableMapOutput

func (GroupVariableMapOutput) ToGroupVariableMapOutputWithContext

func (o GroupVariableMapOutput) ToGroupVariableMapOutputWithContext(ctx context.Context) GroupVariableMapOutput

type GroupVariableOutput

type GroupVariableOutput struct{ *pulumi.OutputState }

func (GroupVariableOutput) ElementType

func (GroupVariableOutput) ElementType() reflect.Type

func (GroupVariableOutput) EnvironmentScope added in v4.7.1

func (o GroupVariableOutput) EnvironmentScope() pulumi.StringPtrOutput

The environment scope of the variable. Defaults to all environment (`*`). Note that in Community Editions of Gitlab, values other than `*` will cause inconsistent plans.

func (GroupVariableOutput) Group added in v4.7.1

The name or id of the group.

func (GroupVariableOutput) Key added in v4.7.1

The name of the variable.

func (GroupVariableOutput) Masked added in v4.7.1

If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ee/ci/variables/#masked-variables). Defaults to `false`.

func (GroupVariableOutput) Protected added in v4.7.1

If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.

func (GroupVariableOutput) ToGroupVariableOutput

func (o GroupVariableOutput) ToGroupVariableOutput() GroupVariableOutput

func (GroupVariableOutput) ToGroupVariableOutputWithContext

func (o GroupVariableOutput) ToGroupVariableOutputWithContext(ctx context.Context) GroupVariableOutput

func (GroupVariableOutput) Value added in v4.7.1

The value of the variable.

func (GroupVariableOutput) VariableType added in v4.7.1

func (o GroupVariableOutput) VariableType() pulumi.StringPtrOutput

The type of a variable. Valid values are: `envVar`, `file`. Default is `envVar`.

type GroupVariableState

type GroupVariableState struct {
	// The environment scope of the variable. Defaults to all environment (`*`). Note that in Community Editions of Gitlab, values other than `*` will cause inconsistent plans.
	EnvironmentScope pulumi.StringPtrInput
	// The name or id of the group.
	Group pulumi.StringPtrInput
	// The name of the variable.
	Key pulumi.StringPtrInput
	// If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ee/ci/variables/#masked-variables). Defaults to `false`.
	Masked pulumi.BoolPtrInput
	// If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.
	Protected pulumi.BoolPtrInput
	// The value of the variable.
	Value pulumi.StringPtrInput
	// The type of a variable. Valid values are: `envVar`, `file`. Default is `envVar`.
	VariableType pulumi.StringPtrInput
}

func (GroupVariableState) ElementType

func (GroupVariableState) ElementType() reflect.Type

type InstanceCluster

type InstanceCluster struct {
	pulumi.CustomResourceState

	// Cluster type.
	ClusterType pulumi.StringOutput `pulumi:"clusterType"`
	// Create time.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The base domain of the cluster.
	Domain pulumi.StringPtrOutput `pulumi:"domain"`
	// Determines if cluster is active or not. Defaults to `true`. This attribute cannot be read.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// The associated environment to the cluster. Defaults to `*`.
	EnvironmentScope pulumi.StringPtrOutput `pulumi:"environmentScope"`
	// The URL to access the Kubernetes API.
	KubernetesApiUrl pulumi.StringOutput `pulumi:"kubernetesApiUrl"`
	// The cluster authorization type. Valid values are `rbac`, `abac`, `unknownAuthorization`. Defaults to `rbac`.
	KubernetesAuthorizationType pulumi.StringPtrOutput `pulumi:"kubernetesAuthorizationType"`
	// TLS certificate (needed if API is using a self-signed TLS certificate).
	KubernetesCaCert pulumi.StringPtrOutput `pulumi:"kubernetesCaCert"`
	// The unique namespace related to the instance.
	KubernetesNamespace pulumi.StringPtrOutput `pulumi:"kubernetesNamespace"`
	// The token to authenticate against Kubernetes. This attribute cannot be read.
	KubernetesToken pulumi.StringOutput `pulumi:"kubernetesToken"`
	// Determines if cluster is managed by gitlab or not. Defaults to `true`. This attribute cannot be read.
	Managed pulumi.BoolPtrOutput `pulumi:"managed"`
	// The ID of the management project for the cluster.
	ManagementProjectId pulumi.StringPtrOutput `pulumi:"managementProjectId"`
	// The name of cluster.
	Name pulumi.StringOutput `pulumi:"name"`
	// Platform type.
	PlatformType pulumi.StringOutput `pulumi:"platformType"`
	// Provider type.
	ProviderType pulumi.StringOutput `pulumi:"providerType"`
}

The `InstanceCluster` resource allows to manage the lifecycle of an instance cluster.

> This is deprecated GitLab feature since 14.5

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/instance_clusters.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewInstanceCluster(ctx, "bar", &gitlab.InstanceClusterArgs{
			Domain:                      pulumi.String("example.com"),
			Enabled:                     pulumi.Bool(true),
			EnvironmentScope:            pulumi.String("*"),
			KubernetesApiUrl:            pulumi.String("https://124.124.124"),
			KubernetesAuthorizationType: pulumi.String("rbac"),
			KubernetesCaCert:            pulumi.String("some-cert"),
			KubernetesNamespace:         pulumi.String("namespace"),
			KubernetesToken:             pulumi.String("some-token"),
			ManagementProjectId:         pulumi.String("123456"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GitLab instance clusters can be imported using a `clusterid`, e.g.

```sh

$ pulumi import gitlab:index/instanceCluster:InstanceCluster bar 123

```

func GetInstanceCluster

func GetInstanceCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceClusterState, opts ...pulumi.ResourceOption) (*InstanceCluster, error)

GetInstanceCluster gets an existing InstanceCluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInstanceCluster

func NewInstanceCluster(ctx *pulumi.Context,
	name string, args *InstanceClusterArgs, opts ...pulumi.ResourceOption) (*InstanceCluster, error)

NewInstanceCluster registers a new resource with the given unique name, arguments, and options.

func (*InstanceCluster) ElementType

func (*InstanceCluster) ElementType() reflect.Type

func (*InstanceCluster) ToInstanceClusterOutput

func (i *InstanceCluster) ToInstanceClusterOutput() InstanceClusterOutput

func (*InstanceCluster) ToInstanceClusterOutputWithContext

func (i *InstanceCluster) ToInstanceClusterOutputWithContext(ctx context.Context) InstanceClusterOutput

type InstanceClusterArgs

type InstanceClusterArgs struct {
	// The base domain of the cluster.
	Domain pulumi.StringPtrInput
	// Determines if cluster is active or not. Defaults to `true`. This attribute cannot be read.
	Enabled pulumi.BoolPtrInput
	// The associated environment to the cluster. Defaults to `*`.
	EnvironmentScope pulumi.StringPtrInput
	// The URL to access the Kubernetes API.
	KubernetesApiUrl pulumi.StringInput
	// The cluster authorization type. Valid values are `rbac`, `abac`, `unknownAuthorization`. Defaults to `rbac`.
	KubernetesAuthorizationType pulumi.StringPtrInput
	// TLS certificate (needed if API is using a self-signed TLS certificate).
	KubernetesCaCert pulumi.StringPtrInput
	// The unique namespace related to the instance.
	KubernetesNamespace pulumi.StringPtrInput
	// The token to authenticate against Kubernetes. This attribute cannot be read.
	KubernetesToken pulumi.StringInput
	// Determines if cluster is managed by gitlab or not. Defaults to `true`. This attribute cannot be read.
	Managed pulumi.BoolPtrInput
	// The ID of the management project for the cluster.
	ManagementProjectId pulumi.StringPtrInput
	// The name of cluster.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a InstanceCluster resource.

func (InstanceClusterArgs) ElementType

func (InstanceClusterArgs) ElementType() reflect.Type

type InstanceClusterArray

type InstanceClusterArray []InstanceClusterInput

func (InstanceClusterArray) ElementType

func (InstanceClusterArray) ElementType() reflect.Type

func (InstanceClusterArray) ToInstanceClusterArrayOutput

func (i InstanceClusterArray) ToInstanceClusterArrayOutput() InstanceClusterArrayOutput

func (InstanceClusterArray) ToInstanceClusterArrayOutputWithContext

func (i InstanceClusterArray) ToInstanceClusterArrayOutputWithContext(ctx context.Context) InstanceClusterArrayOutput

type InstanceClusterArrayInput

type InstanceClusterArrayInput interface {
	pulumi.Input

	ToInstanceClusterArrayOutput() InstanceClusterArrayOutput
	ToInstanceClusterArrayOutputWithContext(context.Context) InstanceClusterArrayOutput
}

InstanceClusterArrayInput is an input type that accepts InstanceClusterArray and InstanceClusterArrayOutput values. You can construct a concrete instance of `InstanceClusterArrayInput` via:

InstanceClusterArray{ InstanceClusterArgs{...} }

type InstanceClusterArrayOutput

type InstanceClusterArrayOutput struct{ *pulumi.OutputState }

func (InstanceClusterArrayOutput) ElementType

func (InstanceClusterArrayOutput) ElementType() reflect.Type

func (InstanceClusterArrayOutput) Index

func (InstanceClusterArrayOutput) ToInstanceClusterArrayOutput

func (o InstanceClusterArrayOutput) ToInstanceClusterArrayOutput() InstanceClusterArrayOutput

func (InstanceClusterArrayOutput) ToInstanceClusterArrayOutputWithContext

func (o InstanceClusterArrayOutput) ToInstanceClusterArrayOutputWithContext(ctx context.Context) InstanceClusterArrayOutput

type InstanceClusterInput

type InstanceClusterInput interface {
	pulumi.Input

	ToInstanceClusterOutput() InstanceClusterOutput
	ToInstanceClusterOutputWithContext(ctx context.Context) InstanceClusterOutput
}

type InstanceClusterMap

type InstanceClusterMap map[string]InstanceClusterInput

func (InstanceClusterMap) ElementType

func (InstanceClusterMap) ElementType() reflect.Type

func (InstanceClusterMap) ToInstanceClusterMapOutput

func (i InstanceClusterMap) ToInstanceClusterMapOutput() InstanceClusterMapOutput

func (InstanceClusterMap) ToInstanceClusterMapOutputWithContext

func (i InstanceClusterMap) ToInstanceClusterMapOutputWithContext(ctx context.Context) InstanceClusterMapOutput

type InstanceClusterMapInput

type InstanceClusterMapInput interface {
	pulumi.Input

	ToInstanceClusterMapOutput() InstanceClusterMapOutput
	ToInstanceClusterMapOutputWithContext(context.Context) InstanceClusterMapOutput
}

InstanceClusterMapInput is an input type that accepts InstanceClusterMap and InstanceClusterMapOutput values. You can construct a concrete instance of `InstanceClusterMapInput` via:

InstanceClusterMap{ "key": InstanceClusterArgs{...} }

type InstanceClusterMapOutput

type InstanceClusterMapOutput struct{ *pulumi.OutputState }

func (InstanceClusterMapOutput) ElementType

func (InstanceClusterMapOutput) ElementType() reflect.Type

func (InstanceClusterMapOutput) MapIndex

func (InstanceClusterMapOutput) ToInstanceClusterMapOutput

func (o InstanceClusterMapOutput) ToInstanceClusterMapOutput() InstanceClusterMapOutput

func (InstanceClusterMapOutput) ToInstanceClusterMapOutputWithContext

func (o InstanceClusterMapOutput) ToInstanceClusterMapOutputWithContext(ctx context.Context) InstanceClusterMapOutput

type InstanceClusterOutput

type InstanceClusterOutput struct{ *pulumi.OutputState }

func (InstanceClusterOutput) ClusterType added in v4.7.1

func (o InstanceClusterOutput) ClusterType() pulumi.StringOutput

Cluster type.

func (InstanceClusterOutput) CreatedAt added in v4.7.1

Create time.

func (InstanceClusterOutput) Domain added in v4.7.1

The base domain of the cluster.

func (InstanceClusterOutput) ElementType

func (InstanceClusterOutput) ElementType() reflect.Type

func (InstanceClusterOutput) Enabled added in v4.7.1

Determines if cluster is active or not. Defaults to `true`. This attribute cannot be read.

func (InstanceClusterOutput) EnvironmentScope added in v4.7.1

func (o InstanceClusterOutput) EnvironmentScope() pulumi.StringPtrOutput

The associated environment to the cluster. Defaults to `*`.

func (InstanceClusterOutput) KubernetesApiUrl added in v4.7.1

func (o InstanceClusterOutput) KubernetesApiUrl() pulumi.StringOutput

The URL to access the Kubernetes API.

func (InstanceClusterOutput) KubernetesAuthorizationType added in v4.7.1

func (o InstanceClusterOutput) KubernetesAuthorizationType() pulumi.StringPtrOutput

The cluster authorization type. Valid values are `rbac`, `abac`, `unknownAuthorization`. Defaults to `rbac`.

func (InstanceClusterOutput) KubernetesCaCert added in v4.7.1

func (o InstanceClusterOutput) KubernetesCaCert() pulumi.StringPtrOutput

TLS certificate (needed if API is using a self-signed TLS certificate).

func (InstanceClusterOutput) KubernetesNamespace added in v4.7.1

func (o InstanceClusterOutput) KubernetesNamespace() pulumi.StringPtrOutput

The unique namespace related to the instance.

func (InstanceClusterOutput) KubernetesToken added in v4.7.1

func (o InstanceClusterOutput) KubernetesToken() pulumi.StringOutput

The token to authenticate against Kubernetes. This attribute cannot be read.

func (InstanceClusterOutput) Managed added in v4.7.1

Determines if cluster is managed by gitlab or not. Defaults to `true`. This attribute cannot be read.

func (InstanceClusterOutput) ManagementProjectId added in v4.7.1

func (o InstanceClusterOutput) ManagementProjectId() pulumi.StringPtrOutput

The ID of the management project for the cluster.

func (InstanceClusterOutput) Name added in v4.7.1

The name of cluster.

func (InstanceClusterOutput) PlatformType added in v4.7.1

func (o InstanceClusterOutput) PlatformType() pulumi.StringOutput

Platform type.

func (InstanceClusterOutput) ProviderType added in v4.7.1

func (o InstanceClusterOutput) ProviderType() pulumi.StringOutput

Provider type.

func (InstanceClusterOutput) ToInstanceClusterOutput

func (o InstanceClusterOutput) ToInstanceClusterOutput() InstanceClusterOutput

func (InstanceClusterOutput) ToInstanceClusterOutputWithContext

func (o InstanceClusterOutput) ToInstanceClusterOutputWithContext(ctx context.Context) InstanceClusterOutput

type InstanceClusterState

type InstanceClusterState struct {
	// Cluster type.
	ClusterType pulumi.StringPtrInput
	// Create time.
	CreatedAt pulumi.StringPtrInput
	// The base domain of the cluster.
	Domain pulumi.StringPtrInput
	// Determines if cluster is active or not. Defaults to `true`. This attribute cannot be read.
	Enabled pulumi.BoolPtrInput
	// The associated environment to the cluster. Defaults to `*`.
	EnvironmentScope pulumi.StringPtrInput
	// The URL to access the Kubernetes API.
	KubernetesApiUrl pulumi.StringPtrInput
	// The cluster authorization type. Valid values are `rbac`, `abac`, `unknownAuthorization`. Defaults to `rbac`.
	KubernetesAuthorizationType pulumi.StringPtrInput
	// TLS certificate (needed if API is using a self-signed TLS certificate).
	KubernetesCaCert pulumi.StringPtrInput
	// The unique namespace related to the instance.
	KubernetesNamespace pulumi.StringPtrInput
	// The token to authenticate against Kubernetes. This attribute cannot be read.
	KubernetesToken pulumi.StringPtrInput
	// Determines if cluster is managed by gitlab or not. Defaults to `true`. This attribute cannot be read.
	Managed pulumi.BoolPtrInput
	// The ID of the management project for the cluster.
	ManagementProjectId pulumi.StringPtrInput
	// The name of cluster.
	Name pulumi.StringPtrInput
	// Platform type.
	PlatformType pulumi.StringPtrInput
	// Provider type.
	ProviderType pulumi.StringPtrInput
}

func (InstanceClusterState) ElementType

func (InstanceClusterState) ElementType() reflect.Type

type InstanceVariable

type InstanceVariable struct {
	pulumi.CustomResourceState

	// The name of the variable.
	Key pulumi.StringOutput `pulumi:"key"`
	// If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ee/ci/variables/#masked-variables). Defaults to `false`.
	Masked pulumi.BoolPtrOutput `pulumi:"masked"`
	// If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.
	Protected pulumi.BoolPtrOutput `pulumi:"protected"`
	// The value of the variable.
	Value pulumi.StringOutput `pulumi:"value"`
	// The type of a variable. Valid values are: `envVar`, `file`. Default is `envVar`.
	VariableType pulumi.StringPtrOutput `pulumi:"variableType"`
}

The `InstanceVariable` resource allows to manage the lifecycle of an instance-level CI/CD variable.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/instance_level_ci_variables.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewInstanceVariable(ctx, "example", &gitlab.InstanceVariableArgs{
			Key:       pulumi.String("instance_variable_key"),
			Masked:    pulumi.Bool(false),
			Protected: pulumi.Bool(false),
			Value:     pulumi.String("instance_variable_value"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GitLab instance variables can be imported using an id made up of `variablename`, e.g.

```sh

$ pulumi import gitlab:index/instanceVariable:InstanceVariable example instance_variable_key

```

func GetInstanceVariable

func GetInstanceVariable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceVariableState, opts ...pulumi.ResourceOption) (*InstanceVariable, error)

GetInstanceVariable gets an existing InstanceVariable resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInstanceVariable

func NewInstanceVariable(ctx *pulumi.Context,
	name string, args *InstanceVariableArgs, opts ...pulumi.ResourceOption) (*InstanceVariable, error)

NewInstanceVariable registers a new resource with the given unique name, arguments, and options.

func (*InstanceVariable) ElementType

func (*InstanceVariable) ElementType() reflect.Type

func (*InstanceVariable) ToInstanceVariableOutput

func (i *InstanceVariable) ToInstanceVariableOutput() InstanceVariableOutput

func (*InstanceVariable) ToInstanceVariableOutputWithContext

func (i *InstanceVariable) ToInstanceVariableOutputWithContext(ctx context.Context) InstanceVariableOutput

type InstanceVariableArgs

type InstanceVariableArgs struct {
	// The name of the variable.
	Key pulumi.StringInput
	// If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ee/ci/variables/#masked-variables). Defaults to `false`.
	Masked pulumi.BoolPtrInput
	// If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.
	Protected pulumi.BoolPtrInput
	// The value of the variable.
	Value pulumi.StringInput
	// The type of a variable. Valid values are: `envVar`, `file`. Default is `envVar`.
	VariableType pulumi.StringPtrInput
}

The set of arguments for constructing a InstanceVariable resource.

func (InstanceVariableArgs) ElementType

func (InstanceVariableArgs) ElementType() reflect.Type

type InstanceVariableArray

type InstanceVariableArray []InstanceVariableInput

func (InstanceVariableArray) ElementType

func (InstanceVariableArray) ElementType() reflect.Type

func (InstanceVariableArray) ToInstanceVariableArrayOutput

func (i InstanceVariableArray) ToInstanceVariableArrayOutput() InstanceVariableArrayOutput

func (InstanceVariableArray) ToInstanceVariableArrayOutputWithContext

func (i InstanceVariableArray) ToInstanceVariableArrayOutputWithContext(ctx context.Context) InstanceVariableArrayOutput

type InstanceVariableArrayInput

type InstanceVariableArrayInput interface {
	pulumi.Input

	ToInstanceVariableArrayOutput() InstanceVariableArrayOutput
	ToInstanceVariableArrayOutputWithContext(context.Context) InstanceVariableArrayOutput
}

InstanceVariableArrayInput is an input type that accepts InstanceVariableArray and InstanceVariableArrayOutput values. You can construct a concrete instance of `InstanceVariableArrayInput` via:

InstanceVariableArray{ InstanceVariableArgs{...} }

type InstanceVariableArrayOutput

type InstanceVariableArrayOutput struct{ *pulumi.OutputState }

func (InstanceVariableArrayOutput) ElementType

func (InstanceVariableArrayOutput) Index

func (InstanceVariableArrayOutput) ToInstanceVariableArrayOutput

func (o InstanceVariableArrayOutput) ToInstanceVariableArrayOutput() InstanceVariableArrayOutput

func (InstanceVariableArrayOutput) ToInstanceVariableArrayOutputWithContext

func (o InstanceVariableArrayOutput) ToInstanceVariableArrayOutputWithContext(ctx context.Context) InstanceVariableArrayOutput

type InstanceVariableInput

type InstanceVariableInput interface {
	pulumi.Input

	ToInstanceVariableOutput() InstanceVariableOutput
	ToInstanceVariableOutputWithContext(ctx context.Context) InstanceVariableOutput
}

type InstanceVariableMap

type InstanceVariableMap map[string]InstanceVariableInput

func (InstanceVariableMap) ElementType

func (InstanceVariableMap) ElementType() reflect.Type

func (InstanceVariableMap) ToInstanceVariableMapOutput

func (i InstanceVariableMap) ToInstanceVariableMapOutput() InstanceVariableMapOutput

func (InstanceVariableMap) ToInstanceVariableMapOutputWithContext

func (i InstanceVariableMap) ToInstanceVariableMapOutputWithContext(ctx context.Context) InstanceVariableMapOutput

type InstanceVariableMapInput

type InstanceVariableMapInput interface {
	pulumi.Input

	ToInstanceVariableMapOutput() InstanceVariableMapOutput
	ToInstanceVariableMapOutputWithContext(context.Context) InstanceVariableMapOutput
}

InstanceVariableMapInput is an input type that accepts InstanceVariableMap and InstanceVariableMapOutput values. You can construct a concrete instance of `InstanceVariableMapInput` via:

InstanceVariableMap{ "key": InstanceVariableArgs{...} }

type InstanceVariableMapOutput

type InstanceVariableMapOutput struct{ *pulumi.OutputState }

func (InstanceVariableMapOutput) ElementType

func (InstanceVariableMapOutput) ElementType() reflect.Type

func (InstanceVariableMapOutput) MapIndex

func (InstanceVariableMapOutput) ToInstanceVariableMapOutput

func (o InstanceVariableMapOutput) ToInstanceVariableMapOutput() InstanceVariableMapOutput

func (InstanceVariableMapOutput) ToInstanceVariableMapOutputWithContext

func (o InstanceVariableMapOutput) ToInstanceVariableMapOutputWithContext(ctx context.Context) InstanceVariableMapOutput

type InstanceVariableOutput

type InstanceVariableOutput struct{ *pulumi.OutputState }

func (InstanceVariableOutput) ElementType

func (InstanceVariableOutput) ElementType() reflect.Type

func (InstanceVariableOutput) Key added in v4.7.1

The name of the variable.

func (InstanceVariableOutput) Masked added in v4.7.1

If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ee/ci/variables/#masked-variables). Defaults to `false`.

func (InstanceVariableOutput) Protected added in v4.7.1

If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.

func (InstanceVariableOutput) ToInstanceVariableOutput

func (o InstanceVariableOutput) ToInstanceVariableOutput() InstanceVariableOutput

func (InstanceVariableOutput) ToInstanceVariableOutputWithContext

func (o InstanceVariableOutput) ToInstanceVariableOutputWithContext(ctx context.Context) InstanceVariableOutput

func (InstanceVariableOutput) Value added in v4.7.1

The value of the variable.

func (InstanceVariableOutput) VariableType added in v4.7.1

The type of a variable. Valid values are: `envVar`, `file`. Default is `envVar`.

type InstanceVariableState

type InstanceVariableState struct {
	// The name of the variable.
	Key pulumi.StringPtrInput
	// If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ee/ci/variables/#masked-variables). Defaults to `false`.
	Masked pulumi.BoolPtrInput
	// If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.
	Protected pulumi.BoolPtrInput
	// The value of the variable.
	Value pulumi.StringPtrInput
	// The type of a variable. Valid values are: `envVar`, `file`. Default is `envVar`.
	VariableType pulumi.StringPtrInput
}

func (InstanceVariableState) ElementType

func (InstanceVariableState) ElementType() reflect.Type

type Label

type Label struct {
	pulumi.CustomResourceState

	// The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
	Color pulumi.StringOutput `pulumi:"color"`
	// The description of the label.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of the label.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name or id of the project to add the label to.
	Project pulumi.StringOutput `pulumi:"project"`
}

The `Label` resource allows to manage the lifecycle of a project label.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/labels.html#project-labels)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewLabel(ctx, "fixme", &gitlab.LabelArgs{
			Project:     pulumi.String("example"),
			Description: pulumi.String("issue with failing tests"),
			Color:       pulumi.String("#ffcc00"),
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewLabel(ctx, "devopsCreate", &gitlab.LabelArgs{
			Project:     pulumi.Any(gitlab_project.Example.Id),
			Description: pulumi.String("issue for creating infrastructure resources"),
			Color:       pulumi.String("#ffa500"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Gitlab labels can be imported using an id made up of `{project_id}:{group_label_id}`, e.g.

```sh

$ pulumi import gitlab:index/label:Label example 12345:fixme

```

func GetLabel

func GetLabel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LabelState, opts ...pulumi.ResourceOption) (*Label, error)

GetLabel gets an existing Label resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLabel

func NewLabel(ctx *pulumi.Context,
	name string, args *LabelArgs, opts ...pulumi.ResourceOption) (*Label, error)

NewLabel registers a new resource with the given unique name, arguments, and options.

func (*Label) ElementType

func (*Label) ElementType() reflect.Type

func (*Label) ToLabelOutput

func (i *Label) ToLabelOutput() LabelOutput

func (*Label) ToLabelOutputWithContext

func (i *Label) ToLabelOutputWithContext(ctx context.Context) LabelOutput

type LabelArgs

type LabelArgs struct {
	// The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
	Color pulumi.StringInput
	// The description of the label.
	Description pulumi.StringPtrInput
	// The name of the label.
	Name pulumi.StringPtrInput
	// The name or id of the project to add the label to.
	Project pulumi.StringInput
}

The set of arguments for constructing a Label resource.

func (LabelArgs) ElementType

func (LabelArgs) ElementType() reflect.Type

type LabelArray

type LabelArray []LabelInput

func (LabelArray) ElementType

func (LabelArray) ElementType() reflect.Type

func (LabelArray) ToLabelArrayOutput

func (i LabelArray) ToLabelArrayOutput() LabelArrayOutput

func (LabelArray) ToLabelArrayOutputWithContext

func (i LabelArray) ToLabelArrayOutputWithContext(ctx context.Context) LabelArrayOutput

type LabelArrayInput

type LabelArrayInput interface {
	pulumi.Input

	ToLabelArrayOutput() LabelArrayOutput
	ToLabelArrayOutputWithContext(context.Context) LabelArrayOutput
}

LabelArrayInput is an input type that accepts LabelArray and LabelArrayOutput values. You can construct a concrete instance of `LabelArrayInput` via:

LabelArray{ LabelArgs{...} }

type LabelArrayOutput

type LabelArrayOutput struct{ *pulumi.OutputState }

func (LabelArrayOutput) ElementType

func (LabelArrayOutput) ElementType() reflect.Type

func (LabelArrayOutput) Index

func (LabelArrayOutput) ToLabelArrayOutput

func (o LabelArrayOutput) ToLabelArrayOutput() LabelArrayOutput

func (LabelArrayOutput) ToLabelArrayOutputWithContext

func (o LabelArrayOutput) ToLabelArrayOutputWithContext(ctx context.Context) LabelArrayOutput

type LabelInput

type LabelInput interface {
	pulumi.Input

	ToLabelOutput() LabelOutput
	ToLabelOutputWithContext(ctx context.Context) LabelOutput
}

type LabelMap

type LabelMap map[string]LabelInput

func (LabelMap) ElementType

func (LabelMap) ElementType() reflect.Type

func (LabelMap) ToLabelMapOutput

func (i LabelMap) ToLabelMapOutput() LabelMapOutput

func (LabelMap) ToLabelMapOutputWithContext

func (i LabelMap) ToLabelMapOutputWithContext(ctx context.Context) LabelMapOutput

type LabelMapInput

type LabelMapInput interface {
	pulumi.Input

	ToLabelMapOutput() LabelMapOutput
	ToLabelMapOutputWithContext(context.Context) LabelMapOutput
}

LabelMapInput is an input type that accepts LabelMap and LabelMapOutput values. You can construct a concrete instance of `LabelMapInput` via:

LabelMap{ "key": LabelArgs{...} }

type LabelMapOutput

type LabelMapOutput struct{ *pulumi.OutputState }

func (LabelMapOutput) ElementType

func (LabelMapOutput) ElementType() reflect.Type

func (LabelMapOutput) MapIndex

func (LabelMapOutput) ToLabelMapOutput

func (o LabelMapOutput) ToLabelMapOutput() LabelMapOutput

func (LabelMapOutput) ToLabelMapOutputWithContext

func (o LabelMapOutput) ToLabelMapOutputWithContext(ctx context.Context) LabelMapOutput

type LabelOutput

type LabelOutput struct{ *pulumi.OutputState }

func (LabelOutput) Color added in v4.7.1

func (o LabelOutput) Color() pulumi.StringOutput

The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).

func (LabelOutput) Description added in v4.7.1

func (o LabelOutput) Description() pulumi.StringPtrOutput

The description of the label.

func (LabelOutput) ElementType

func (LabelOutput) ElementType() reflect.Type

func (LabelOutput) Name added in v4.7.1

func (o LabelOutput) Name() pulumi.StringOutput

The name of the label.

func (LabelOutput) Project added in v4.7.1

func (o LabelOutput) Project() pulumi.StringOutput

The name or id of the project to add the label to.

func (LabelOutput) ToLabelOutput

func (o LabelOutput) ToLabelOutput() LabelOutput

func (LabelOutput) ToLabelOutputWithContext

func (o LabelOutput) ToLabelOutputWithContext(ctx context.Context) LabelOutput

type LabelState

type LabelState struct {
	// The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the [CSS color names](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).
	Color pulumi.StringPtrInput
	// The description of the label.
	Description pulumi.StringPtrInput
	// The name of the label.
	Name pulumi.StringPtrInput
	// The name or id of the project to add the label to.
	Project pulumi.StringPtrInput
}

func (LabelState) ElementType

func (LabelState) ElementType() reflect.Type

type LookupBranchArgs added in v4.6.0

type LookupBranchArgs struct {
	// The name of the branch.
	Name string `pulumi:"name"`
	// The full path or id of the project.
	Project string `pulumi:"project"`
}

A collection of arguments for invoking getBranch.

type LookupBranchOutputArgs added in v4.6.0

type LookupBranchOutputArgs struct {
	// The name of the branch.
	Name pulumi.StringInput `pulumi:"name"`
	// The full path or id of the project.
	Project pulumi.StringInput `pulumi:"project"`
}

A collection of arguments for invoking getBranch.

func (LookupBranchOutputArgs) ElementType added in v4.6.0

func (LookupBranchOutputArgs) ElementType() reflect.Type

type LookupBranchResult added in v4.6.0

type LookupBranchResult struct {
	// Bool, true if you can push to the branch.
	CanPush bool `pulumi:"canPush"`
	// The commit associated with the branch ref.
	Commits []GetBranchCommit `pulumi:"commits"`
	// Bool, true if branch is the default branch for the project.
	Default bool `pulumi:"default"`
	// Bool, true if developer level access allows to merge branch.
	DeveloperCanMerge bool `pulumi:"developerCanMerge"`
	// Bool, true if developer level access allows git push.
	DeveloperCanPush bool `pulumi:"developerCanPush"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Bool, true if the branch has been merged into it's parent.
	Merged bool `pulumi:"merged"`
	// The name of the branch.
	Name string `pulumi:"name"`
	// The full path or id of the project.
	Project string `pulumi:"project"`
	// Bool, true if branch has branch protection.
	Protected bool `pulumi:"protected"`
	// The url of the created branch (https.)
	WebUrl string `pulumi:"webUrl"`
}

A collection of values returned by getBranch.

func LookupBranch added in v4.6.0

func LookupBranch(ctx *pulumi.Context, args *LookupBranchArgs, opts ...pulumi.InvokeOption) (*LookupBranchResult, error)

The `Branch` data source allows details of a repository branch to be retrieved by its name and project.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/branches.html#get-single-repository-branch)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.LookupBranch(ctx, &gitlab.LookupBranchArgs{
			Name:    "example",
			Project: "foo/bar",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupBranchResultOutput added in v4.6.0

type LookupBranchResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBranch.

func LookupBranchOutput added in v4.6.0

func LookupBranchOutput(ctx *pulumi.Context, args LookupBranchOutputArgs, opts ...pulumi.InvokeOption) LookupBranchResultOutput

func (LookupBranchResultOutput) CanPush added in v4.6.0

Bool, true if you can push to the branch.

func (LookupBranchResultOutput) Commits added in v4.6.0

The commit associated with the branch ref.

func (LookupBranchResultOutput) Default added in v4.6.0

Bool, true if branch is the default branch for the project.

func (LookupBranchResultOutput) DeveloperCanMerge added in v4.6.0

func (o LookupBranchResultOutput) DeveloperCanMerge() pulumi.BoolOutput

Bool, true if developer level access allows to merge branch.

func (LookupBranchResultOutput) DeveloperCanPush added in v4.6.0

func (o LookupBranchResultOutput) DeveloperCanPush() pulumi.BoolOutput

Bool, true if developer level access allows git push.

func (LookupBranchResultOutput) ElementType added in v4.6.0

func (LookupBranchResultOutput) ElementType() reflect.Type

func (LookupBranchResultOutput) Id added in v4.6.0

The provider-assigned unique ID for this managed resource.

func (LookupBranchResultOutput) Merged added in v4.6.0

Bool, true if the branch has been merged into it's parent.

func (LookupBranchResultOutput) Name added in v4.6.0

The name of the branch.

func (LookupBranchResultOutput) Project added in v4.6.0

The full path or id of the project.

func (LookupBranchResultOutput) Protected added in v4.6.0

Bool, true if branch has branch protection.

func (LookupBranchResultOutput) ToLookupBranchResultOutput added in v4.6.0

func (o LookupBranchResultOutput) ToLookupBranchResultOutput() LookupBranchResultOutput

func (LookupBranchResultOutput) ToLookupBranchResultOutputWithContext added in v4.6.0

func (o LookupBranchResultOutput) ToLookupBranchResultOutputWithContext(ctx context.Context) LookupBranchResultOutput

func (LookupBranchResultOutput) WebUrl added in v4.6.0

The url of the created branch (https.)

type LookupClusterAgentArgs added in v4.8.0

type LookupClusterAgentArgs struct {
	// The ID of the agent.
	AgentId int `pulumi:"agentId"`
	// ID or full path of the project maintained by the authenticated user.
	Project string `pulumi:"project"`
}

A collection of arguments for invoking getClusterAgent.

type LookupClusterAgentOutputArgs added in v4.8.0

type LookupClusterAgentOutputArgs struct {
	// The ID of the agent.
	AgentId pulumi.IntInput `pulumi:"agentId"`
	// ID or full path of the project maintained by the authenticated user.
	Project pulumi.StringInput `pulumi:"project"`
}

A collection of arguments for invoking getClusterAgent.

func (LookupClusterAgentOutputArgs) ElementType added in v4.8.0

type LookupClusterAgentResult added in v4.8.0

type LookupClusterAgentResult struct {
	// The ID of the agent.
	AgentId int `pulumi:"agentId"`
	// The ISO8601 datetime when the agent was created.
	CreatedAt string `pulumi:"createdAt"`
	// The ID of the user who created the agent.
	CreatedByUserId int `pulumi:"createdByUserId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The Name of the agent.
	Name string `pulumi:"name"`
	// ID or full path of the project maintained by the authenticated user.
	Project string `pulumi:"project"`
}

A collection of values returned by getClusterAgent.

func LookupClusterAgent added in v4.8.0

func LookupClusterAgent(ctx *pulumi.Context, args *LookupClusterAgentArgs, opts ...pulumi.InvokeOption) (*LookupClusterAgentResult, error)

The `ClusterAgent` data source allows to retrieve details about a GitLab Agent for Kubernetes.

> Requires at least GitLab 14.10

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/cluster_agents.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.LookupClusterAgent(ctx, &gitlab.LookupClusterAgentArgs{
			AgentId: 1,
			Project: "12345",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupClusterAgentResultOutput added in v4.8.0

type LookupClusterAgentResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getClusterAgent.

func LookupClusterAgentOutput added in v4.8.0

func (LookupClusterAgentResultOutput) AgentId added in v4.8.0

The ID of the agent.

func (LookupClusterAgentResultOutput) CreatedAt added in v4.8.0

The ISO8601 datetime when the agent was created.

func (LookupClusterAgentResultOutput) CreatedByUserId added in v4.8.0

func (o LookupClusterAgentResultOutput) CreatedByUserId() pulumi.IntOutput

The ID of the user who created the agent.

func (LookupClusterAgentResultOutput) ElementType added in v4.8.0

func (LookupClusterAgentResultOutput) Id added in v4.8.0

The provider-assigned unique ID for this managed resource.

func (LookupClusterAgentResultOutput) Name added in v4.8.0

The Name of the agent.

func (LookupClusterAgentResultOutput) Project added in v4.8.0

ID or full path of the project maintained by the authenticated user.

func (LookupClusterAgentResultOutput) ToLookupClusterAgentResultOutput added in v4.8.0

func (o LookupClusterAgentResultOutput) ToLookupClusterAgentResultOutput() LookupClusterAgentResultOutput

func (LookupClusterAgentResultOutput) ToLookupClusterAgentResultOutputWithContext added in v4.8.0

func (o LookupClusterAgentResultOutput) ToLookupClusterAgentResultOutputWithContext(ctx context.Context) LookupClusterAgentResultOutput

type LookupGroupArgs

type LookupGroupArgs struct {
	// The full path of the group.
	FullPath *string `pulumi:"fullPath"`
	// The ID of the group.
	GroupId *int `pulumi:"groupId"`
}

A collection of arguments for invoking getGroup.

type LookupGroupHookArgs added in v4.9.0

type LookupGroupHookArgs struct {
	// The ID or full path of the group.
	Group string `pulumi:"group"`
	// The id of the group hook.
	HookId int `pulumi:"hookId"`
}

A collection of arguments for invoking getGroupHook.

type LookupGroupHookOutputArgs added in v4.9.0

type LookupGroupHookOutputArgs struct {
	// The ID or full path of the group.
	Group pulumi.StringInput `pulumi:"group"`
	// The id of the group hook.
	HookId pulumi.IntInput `pulumi:"hookId"`
}

A collection of arguments for invoking getGroupHook.

func (LookupGroupHookOutputArgs) ElementType added in v4.9.0

func (LookupGroupHookOutputArgs) ElementType() reflect.Type

type LookupGroupHookResult added in v4.9.0

type LookupGroupHookResult struct {
	// Invoke the hook for confidential issues events.
	ConfidentialIssuesEvents bool `pulumi:"confidentialIssuesEvents"`
	// Invoke the hook for confidential notes events.
	ConfidentialNoteEvents bool `pulumi:"confidentialNoteEvents"`
	// Invoke the hook for deployment events.
	DeploymentEvents bool `pulumi:"deploymentEvents"`
	// Enable ssl verification when invoking the hook.
	EnableSslVerification bool `pulumi:"enableSslVerification"`
	// The ID or full path of the group.
	Group string `pulumi:"group"`
	// The id of the group for the hook.
	GroupId int `pulumi:"groupId"`
	// The id of the group hook.
	HookId int `pulumi:"hookId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Invoke the hook for issues events.
	IssuesEvents bool `pulumi:"issuesEvents"`
	// Invoke the hook for job events.
	JobEvents bool `pulumi:"jobEvents"`
	// Invoke the hook for merge requests.
	MergeRequestsEvents bool `pulumi:"mergeRequestsEvents"`
	// Invoke the hook for notes events.
	NoteEvents bool `pulumi:"noteEvents"`
	// Invoke the hook for pipeline events.
	PipelineEvents bool `pulumi:"pipelineEvents"`
	// Invoke the hook for push events.
	PushEvents bool `pulumi:"pushEvents"`
	// Invoke the hook for push events on matching branches only.
	PushEventsBranchFilter string `pulumi:"pushEventsBranchFilter"`
	// Invoke the hook for releases events.
	ReleasesEvents bool `pulumi:"releasesEvents"`
	// Invoke the hook for subgroup events.
	SubgroupEvents bool `pulumi:"subgroupEvents"`
	// Invoke the hook for tag push events.
	TagPushEvents bool `pulumi:"tagPushEvents"`
	// A token to present when invoking the hook. The token is not available for imported resources.
	Token string `pulumi:"token"`
	// The url of the hook to invoke.
	Url string `pulumi:"url"`
	// Invoke the hook for wiki page events.
	WikiPageEvents bool `pulumi:"wikiPageEvents"`
}

A collection of values returned by getGroupHook.

func LookupGroupHook added in v4.9.0

func LookupGroupHook(ctx *pulumi.Context, args *LookupGroupHookArgs, opts ...pulumi.InvokeOption) (*LookupGroupHookResult, error)

The `GroupHook` data source allows to retrieve details about a hook in a group.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/groups.html#get-group-hook)

type LookupGroupHookResultOutput added in v4.9.0

type LookupGroupHookResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getGroupHook.

func LookupGroupHookOutput added in v4.9.0

func (LookupGroupHookResultOutput) ConfidentialIssuesEvents added in v4.9.0

func (o LookupGroupHookResultOutput) ConfidentialIssuesEvents() pulumi.BoolOutput

Invoke the hook for confidential issues events.

func (LookupGroupHookResultOutput) ConfidentialNoteEvents added in v4.9.0

func (o LookupGroupHookResultOutput) ConfidentialNoteEvents() pulumi.BoolOutput

Invoke the hook for confidential notes events.

func (LookupGroupHookResultOutput) DeploymentEvents added in v4.9.0

func (o LookupGroupHookResultOutput) DeploymentEvents() pulumi.BoolOutput

Invoke the hook for deployment events.

func (LookupGroupHookResultOutput) ElementType added in v4.9.0

func (LookupGroupHookResultOutput) EnableSslVerification added in v4.9.0

func (o LookupGroupHookResultOutput) EnableSslVerification() pulumi.BoolOutput

Enable ssl verification when invoking the hook.

func (LookupGroupHookResultOutput) Group added in v4.9.0

The ID or full path of the group.

func (LookupGroupHookResultOutput) GroupId added in v4.9.0

The id of the group for the hook.

func (LookupGroupHookResultOutput) HookId added in v4.9.0

The id of the group hook.

func (LookupGroupHookResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (LookupGroupHookResultOutput) IssuesEvents added in v4.9.0

Invoke the hook for issues events.

func (LookupGroupHookResultOutput) JobEvents added in v4.9.0

Invoke the hook for job events.

func (LookupGroupHookResultOutput) MergeRequestsEvents added in v4.9.0

func (o LookupGroupHookResultOutput) MergeRequestsEvents() pulumi.BoolOutput

Invoke the hook for merge requests.

func (LookupGroupHookResultOutput) NoteEvents added in v4.9.0

Invoke the hook for notes events.

func (LookupGroupHookResultOutput) PipelineEvents added in v4.9.0

func (o LookupGroupHookResultOutput) PipelineEvents() pulumi.BoolOutput

Invoke the hook for pipeline events.

func (LookupGroupHookResultOutput) PushEvents added in v4.9.0

Invoke the hook for push events.

func (LookupGroupHookResultOutput) PushEventsBranchFilter added in v4.9.0

func (o LookupGroupHookResultOutput) PushEventsBranchFilter() pulumi.StringOutput

Invoke the hook for push events on matching branches only.

func (LookupGroupHookResultOutput) ReleasesEvents added in v4.9.0

func (o LookupGroupHookResultOutput) ReleasesEvents() pulumi.BoolOutput

Invoke the hook for releases events.

func (LookupGroupHookResultOutput) SubgroupEvents added in v4.9.0

func (o LookupGroupHookResultOutput) SubgroupEvents() pulumi.BoolOutput

Invoke the hook for subgroup events.

func (LookupGroupHookResultOutput) TagPushEvents added in v4.9.0

func (o LookupGroupHookResultOutput) TagPushEvents() pulumi.BoolOutput

Invoke the hook for tag push events.

func (LookupGroupHookResultOutput) ToLookupGroupHookResultOutput added in v4.9.0

func (o LookupGroupHookResultOutput) ToLookupGroupHookResultOutput() LookupGroupHookResultOutput

func (LookupGroupHookResultOutput) ToLookupGroupHookResultOutputWithContext added in v4.9.0

func (o LookupGroupHookResultOutput) ToLookupGroupHookResultOutputWithContext(ctx context.Context) LookupGroupHookResultOutput

func (LookupGroupHookResultOutput) Token added in v4.9.0

A token to present when invoking the hook. The token is not available for imported resources.

func (LookupGroupHookResultOutput) Url added in v4.9.0

The url of the hook to invoke.

func (LookupGroupHookResultOutput) WikiPageEvents added in v4.9.0

func (o LookupGroupHookResultOutput) WikiPageEvents() pulumi.BoolOutput

Invoke the hook for wiki page events.

type LookupGroupMembershipArgs

type LookupGroupMembershipArgs struct {
	// Only return members with the desired access level. Acceptable values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.
	AccessLevel *string `pulumi:"accessLevel"`
	// The full path of the group.
	FullPath *string `pulumi:"fullPath"`
	// The ID of the group.
	GroupId *int `pulumi:"groupId"`
}

A collection of arguments for invoking getGroupMembership.

type LookupGroupMembershipOutputArgs added in v4.3.0

type LookupGroupMembershipOutputArgs struct {
	// Only return members with the desired access level. Acceptable values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.
	AccessLevel pulumi.StringPtrInput `pulumi:"accessLevel"`
	// The full path of the group.
	FullPath pulumi.StringPtrInput `pulumi:"fullPath"`
	// The ID of the group.
	GroupId pulumi.IntPtrInput `pulumi:"groupId"`
}

A collection of arguments for invoking getGroupMembership.

func (LookupGroupMembershipOutputArgs) ElementType added in v4.3.0

type LookupGroupMembershipResult

type LookupGroupMembershipResult struct {
	// Only return members with the desired access level. Acceptable values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.
	AccessLevel string `pulumi:"accessLevel"`
	// The full path of the group.
	FullPath string `pulumi:"fullPath"`
	// The ID of the group.
	GroupId int `pulumi:"groupId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of group members.
	Members []GetGroupMembershipMember `pulumi:"members"`
}

A collection of values returned by getGroupMembership.

func LookupGroupMembership

func LookupGroupMembership(ctx *pulumi.Context, args *LookupGroupMembershipArgs, opts ...pulumi.InvokeOption) (*LookupGroupMembershipResult, error)

The `GroupMembership` data source allows to list and filter all members of a group specified by either its id or full path.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/members.html#list-all-members-of-a-group-or-project)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.LookupGroupMembership(ctx, &gitlab.LookupGroupMembershipArgs{
			FullPath: pulumi.StringRef("foo/bar"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupGroupMembershipResultOutput added in v4.3.0

type LookupGroupMembershipResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getGroupMembership.

func LookupGroupMembershipOutput added in v4.3.0

func (LookupGroupMembershipResultOutput) AccessLevel added in v4.3.0

Only return members with the desired access level. Acceptable values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.

func (LookupGroupMembershipResultOutput) ElementType added in v4.3.0

func (LookupGroupMembershipResultOutput) FullPath added in v4.3.0

The full path of the group.

func (LookupGroupMembershipResultOutput) GroupId added in v4.3.0

The ID of the group.

func (LookupGroupMembershipResultOutput) Id added in v4.3.0

The provider-assigned unique ID for this managed resource.

func (LookupGroupMembershipResultOutput) Members added in v4.3.0

The list of group members.

func (LookupGroupMembershipResultOutput) ToLookupGroupMembershipResultOutput added in v4.3.0

func (o LookupGroupMembershipResultOutput) ToLookupGroupMembershipResultOutput() LookupGroupMembershipResultOutput

func (LookupGroupMembershipResultOutput) ToLookupGroupMembershipResultOutputWithContext added in v4.3.0

func (o LookupGroupMembershipResultOutput) ToLookupGroupMembershipResultOutputWithContext(ctx context.Context) LookupGroupMembershipResultOutput

type LookupGroupOutputArgs added in v4.3.0

type LookupGroupOutputArgs struct {
	// The full path of the group.
	FullPath pulumi.StringPtrInput `pulumi:"fullPath"`
	// The ID of the group.
	GroupId pulumi.IntPtrInput `pulumi:"groupId"`
}

A collection of arguments for invoking getGroup.

func (LookupGroupOutputArgs) ElementType added in v4.3.0

func (LookupGroupOutputArgs) ElementType() reflect.Type

type LookupGroupResult

type LookupGroupResult struct {
	// Whether developers and maintainers can push to the applicable default branch.
	DefaultBranchProtection int `pulumi:"defaultBranchProtection"`
	// The description of the group.
	Description string `pulumi:"description"`
	// Can be set by administrators only. Additional CI/CD minutes for this group.
	ExtraSharedRunnersMinutesLimit int `pulumi:"extraSharedRunnersMinutesLimit"`
	// The full name of the group.
	FullName string `pulumi:"fullName"`
	// The full path of the group.
	FullPath string `pulumi:"fullPath"`
	// The ID of the group.
	GroupId int `pulumi:"groupId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Boolean, is LFS enabled for projects in this group.
	LfsEnabled bool `pulumi:"lfsEnabled"`
	// Users cannot be added to projects in this group.
	MembershipLock bool `pulumi:"membershipLock"`
	// The name of this group.
	Name string `pulumi:"name"`
	// Integer, ID of the parent group.
	ParentId int `pulumi:"parentId"`
	// The path of the group.
	Path string `pulumi:"path"`
	// When enabled, users can not fork projects from this group to external namespaces.
	PreventForkingOutsideGroup bool `pulumi:"preventForkingOutsideGroup"`
	// Boolean, is request for access enabled to the group.
	RequestAccessEnabled bool `pulumi:"requestAccessEnabled"`
	// The group level registration token to use during runner setup.
	RunnersToken string `pulumi:"runnersToken"`
	// Can be set by administrators only. Maximum number of monthly CI/CD minutes for this group. Can be nil (default; inherit system default), 0 (unlimited), or > 0.
	SharedRunnersMinutesLimit int `pulumi:"sharedRunnersMinutesLimit"`
	// Visibility level of the group. Possible values are `private`, `internal`, `public`.
	VisibilityLevel string `pulumi:"visibilityLevel"`
	// Web URL of the group.
	WebUrl string `pulumi:"webUrl"`
}

A collection of values returned by getGroup.

func LookupGroup

func LookupGroup(ctx *pulumi.Context, args *LookupGroupArgs, opts ...pulumi.InvokeOption) (*LookupGroupResult, error)

The `Group` data source allows details of a group to be retrieved by its id or full path.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/groups.html#details-of-a-group)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.LookupGroup(ctx, &gitlab.LookupGroupArgs{
			FullPath: pulumi.StringRef("foo/bar"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupGroupResultOutput added in v4.3.0

type LookupGroupResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getGroup.

func LookupGroupOutput added in v4.3.0

func LookupGroupOutput(ctx *pulumi.Context, args LookupGroupOutputArgs, opts ...pulumi.InvokeOption) LookupGroupResultOutput

func (LookupGroupResultOutput) DefaultBranchProtection added in v4.4.0

func (o LookupGroupResultOutput) DefaultBranchProtection() pulumi.IntOutput

Whether developers and maintainers can push to the applicable default branch.

func (LookupGroupResultOutput) Description added in v4.3.0

The description of the group.

func (LookupGroupResultOutput) ElementType added in v4.3.0

func (LookupGroupResultOutput) ElementType() reflect.Type

func (LookupGroupResultOutput) ExtraSharedRunnersMinutesLimit added in v4.10.0

func (o LookupGroupResultOutput) ExtraSharedRunnersMinutesLimit() pulumi.IntOutput

Can be set by administrators only. Additional CI/CD minutes for this group.

func (LookupGroupResultOutput) FullName added in v4.3.0

The full name of the group.

func (LookupGroupResultOutput) FullPath added in v4.3.0

The full path of the group.

func (LookupGroupResultOutput) GroupId added in v4.3.0

The ID of the group.

func (LookupGroupResultOutput) Id added in v4.3.0

The provider-assigned unique ID for this managed resource.

func (LookupGroupResultOutput) LfsEnabled added in v4.3.0

func (o LookupGroupResultOutput) LfsEnabled() pulumi.BoolOutput

Boolean, is LFS enabled for projects in this group.

func (LookupGroupResultOutput) MembershipLock added in v4.10.0

func (o LookupGroupResultOutput) MembershipLock() pulumi.BoolOutput

Users cannot be added to projects in this group.

func (LookupGroupResultOutput) Name added in v4.3.0

The name of this group.

func (LookupGroupResultOutput) ParentId added in v4.3.0

Integer, ID of the parent group.

func (LookupGroupResultOutput) Path added in v4.3.0

The path of the group.

func (LookupGroupResultOutput) PreventForkingOutsideGroup added in v4.7.0

func (o LookupGroupResultOutput) PreventForkingOutsideGroup() pulumi.BoolOutput

When enabled, users can not fork projects from this group to external namespaces.

func (LookupGroupResultOutput) RequestAccessEnabled added in v4.3.0

func (o LookupGroupResultOutput) RequestAccessEnabled() pulumi.BoolOutput

Boolean, is request for access enabled to the group.

func (LookupGroupResultOutput) RunnersToken added in v4.3.0

func (o LookupGroupResultOutput) RunnersToken() pulumi.StringOutput

The group level registration token to use during runner setup.

func (LookupGroupResultOutput) SharedRunnersMinutesLimit added in v4.10.0

func (o LookupGroupResultOutput) SharedRunnersMinutesLimit() pulumi.IntOutput

Can be set by administrators only. Maximum number of monthly CI/CD minutes for this group. Can be nil (default; inherit system default), 0 (unlimited), or > 0.

func (LookupGroupResultOutput) ToLookupGroupResultOutput added in v4.3.0

func (o LookupGroupResultOutput) ToLookupGroupResultOutput() LookupGroupResultOutput

func (LookupGroupResultOutput) ToLookupGroupResultOutputWithContext added in v4.3.0

func (o LookupGroupResultOutput) ToLookupGroupResultOutputWithContext(ctx context.Context) LookupGroupResultOutput

func (LookupGroupResultOutput) VisibilityLevel added in v4.3.0

func (o LookupGroupResultOutput) VisibilityLevel() pulumi.StringOutput

Visibility level of the group. Possible values are `private`, `internal`, `public`.

func (LookupGroupResultOutput) WebUrl added in v4.3.0

Web URL of the group.

type LookupGroupVariableArgs added in v4.8.0

type LookupGroupVariableArgs struct {
	// The environment scope of the variable. Defaults to all environment (`*`). Note that in Community Editions of Gitlab, values other than `*` will cause inconsistent plans.
	EnvironmentScope *string `pulumi:"environmentScope"`
	// The name or id of the group.
	Group string `pulumi:"group"`
	// The name of the variable.
	Key string `pulumi:"key"`
}

A collection of arguments for invoking getGroupVariable.

type LookupGroupVariableOutputArgs added in v4.8.0

type LookupGroupVariableOutputArgs struct {
	// The environment scope of the variable. Defaults to all environment (`*`). Note that in Community Editions of Gitlab, values other than `*` will cause inconsistent plans.
	EnvironmentScope pulumi.StringPtrInput `pulumi:"environmentScope"`
	// The name or id of the group.
	Group pulumi.StringInput `pulumi:"group"`
	// The name of the variable.
	Key pulumi.StringInput `pulumi:"key"`
}

A collection of arguments for invoking getGroupVariable.

func (LookupGroupVariableOutputArgs) ElementType added in v4.8.0

type LookupGroupVariableResult added in v4.8.0

type LookupGroupVariableResult struct {
	// The environment scope of the variable. Defaults to all environment (`*`). Note that in Community Editions of Gitlab, values other than `*` will cause inconsistent plans.
	EnvironmentScope string `pulumi:"environmentScope"`
	// The name or id of the group.
	Group string `pulumi:"group"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the variable.
	Key string `pulumi:"key"`
	// If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ee/ci/variables/#masked-variables). Defaults to `false`.
	Masked bool `pulumi:"masked"`
	// If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.
	Protected bool `pulumi:"protected"`
	// The value of the variable.
	Value string `pulumi:"value"`
	// The type of a variable. Valid values are: `envVar`, `file`. Default is `envVar`.
	VariableType string `pulumi:"variableType"`
}

A collection of values returned by getGroupVariable.

func LookupGroupVariable added in v4.8.0

func LookupGroupVariable(ctx *pulumi.Context, args *LookupGroupVariableArgs, opts ...pulumi.InvokeOption) (*LookupGroupVariableResult, error)

The `GroupVariable` data source allows to retrieve details about a group-level CI/CD variable.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/group_level_variables.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.LookupGroupVariable(ctx, &gitlab.LookupGroupVariableArgs{
			Group: "my/example/group",
			Key:   "foo",
		}, nil)
		if err != nil {
			return err
		}
		_, err = gitlab.LookupGroupVariable(ctx, &gitlab.LookupGroupVariableArgs{
			EnvironmentScope: pulumi.StringRef("staging/*"),
			Group:            "my/example/group",
			Key:              "bar",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupGroupVariableResultOutput added in v4.8.0

type LookupGroupVariableResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getGroupVariable.

func LookupGroupVariableOutput added in v4.8.0

func (LookupGroupVariableResultOutput) ElementType added in v4.8.0

func (LookupGroupVariableResultOutput) EnvironmentScope added in v4.8.0

The environment scope of the variable. Defaults to all environment (`*`). Note that in Community Editions of Gitlab, values other than `*` will cause inconsistent plans.

func (LookupGroupVariableResultOutput) Group added in v4.8.0

The name or id of the group.

func (LookupGroupVariableResultOutput) Id added in v4.8.0

The provider-assigned unique ID for this managed resource.

func (LookupGroupVariableResultOutput) Key added in v4.8.0

The name of the variable.

func (LookupGroupVariableResultOutput) Masked added in v4.8.0

If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ee/ci/variables/#masked-variables). Defaults to `false`.

func (LookupGroupVariableResultOutput) Protected added in v4.8.0

If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.

func (LookupGroupVariableResultOutput) ToLookupGroupVariableResultOutput added in v4.8.0

func (o LookupGroupVariableResultOutput) ToLookupGroupVariableResultOutput() LookupGroupVariableResultOutput

func (LookupGroupVariableResultOutput) ToLookupGroupVariableResultOutputWithContext added in v4.8.0

func (o LookupGroupVariableResultOutput) ToLookupGroupVariableResultOutputWithContext(ctx context.Context) LookupGroupVariableResultOutput

func (LookupGroupVariableResultOutput) Value added in v4.8.0

The value of the variable.

func (LookupGroupVariableResultOutput) VariableType added in v4.8.0

The type of a variable. Valid values are: `envVar`, `file`. Default is `envVar`.

type LookupInstanceVariableArgs added in v4.8.0

type LookupInstanceVariableArgs struct {
	// The name of the variable.
	Key string `pulumi:"key"`
}

A collection of arguments for invoking getInstanceVariable.

type LookupInstanceVariableOutputArgs added in v4.8.0

type LookupInstanceVariableOutputArgs struct {
	// The name of the variable.
	Key pulumi.StringInput `pulumi:"key"`
}

A collection of arguments for invoking getInstanceVariable.

func (LookupInstanceVariableOutputArgs) ElementType added in v4.8.0

type LookupInstanceVariableResult added in v4.8.0

type LookupInstanceVariableResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the variable.
	Key string `pulumi:"key"`
	// If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ee/ci/variables/#masked-variables). Defaults to `false`.
	Masked bool `pulumi:"masked"`
	// If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.
	Protected bool `pulumi:"protected"`
	// The value of the variable.
	Value string `pulumi:"value"`
	// The type of a variable. Valid values are: `envVar`, `file`. Default is `envVar`.
	VariableType string `pulumi:"variableType"`
}

A collection of values returned by getInstanceVariable.

func LookupInstanceVariable added in v4.8.0

func LookupInstanceVariable(ctx *pulumi.Context, args *LookupInstanceVariableArgs, opts ...pulumi.InvokeOption) (*LookupInstanceVariableResult, error)

The `InstanceVariable` data source allows to retrieve details about an instance-level CI/CD variable.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/instance_level_ci_variables.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.LookupInstanceVariable(ctx, &gitlab.LookupInstanceVariableArgs{
			Key: "foo",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupInstanceVariableResultOutput added in v4.8.0

type LookupInstanceVariableResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInstanceVariable.

func LookupInstanceVariableOutput added in v4.8.0

func (LookupInstanceVariableResultOutput) ElementType added in v4.8.0

func (LookupInstanceVariableResultOutput) Id added in v4.8.0

The provider-assigned unique ID for this managed resource.

func (LookupInstanceVariableResultOutput) Key added in v4.8.0

The name of the variable.

func (LookupInstanceVariableResultOutput) Masked added in v4.8.0

If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ee/ci/variables/#masked-variables). Defaults to `false`.

func (LookupInstanceVariableResultOutput) Protected added in v4.8.0

If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.

func (LookupInstanceVariableResultOutput) ToLookupInstanceVariableResultOutput added in v4.8.0

func (o LookupInstanceVariableResultOutput) ToLookupInstanceVariableResultOutput() LookupInstanceVariableResultOutput

func (LookupInstanceVariableResultOutput) ToLookupInstanceVariableResultOutputWithContext added in v4.8.0

func (o LookupInstanceVariableResultOutput) ToLookupInstanceVariableResultOutputWithContext(ctx context.Context) LookupInstanceVariableResultOutput

func (LookupInstanceVariableResultOutput) Value added in v4.8.0

The value of the variable.

func (LookupInstanceVariableResultOutput) VariableType added in v4.8.0

The type of a variable. Valid values are: `envVar`, `file`. Default is `envVar`.

type LookupProjectArgs

type LookupProjectArgs struct {
	// Default number of revisions for shallow cloning.
	CiDefaultGitDepth *int `pulumi:"ciDefaultGitDepth"`
	// The integer or path with namespace that uniquely identifies the project within the gitlab install.
	Id *string `pulumi:"id"`
	// The path of the repository with namespace.
	PathWithNamespace *string `pulumi:"pathWithNamespace"`
	// If true, jobs can be viewed by non-project members.
	PublicBuilds *bool `pulumi:"publicBuilds"`
}

A collection of arguments for invoking getProject.

type LookupProjectHookArgs added in v4.9.0

type LookupProjectHookArgs struct {
	// The id of the project hook.
	HookId int `pulumi:"hookId"`
	// The name or id of the project to add the hook to.
	Project string `pulumi:"project"`
}

A collection of arguments for invoking getProjectHook.

type LookupProjectHookOutputArgs added in v4.9.0

type LookupProjectHookOutputArgs struct {
	// The id of the project hook.
	HookId pulumi.IntInput `pulumi:"hookId"`
	// The name or id of the project to add the hook to.
	Project pulumi.StringInput `pulumi:"project"`
}

A collection of arguments for invoking getProjectHook.

func (LookupProjectHookOutputArgs) ElementType added in v4.9.0

type LookupProjectHookResult added in v4.9.0

type LookupProjectHookResult struct {
	// Invoke the hook for confidential issues events.
	ConfidentialIssuesEvents bool `pulumi:"confidentialIssuesEvents"`
	// Invoke the hook for confidential notes events.
	ConfidentialNoteEvents bool `pulumi:"confidentialNoteEvents"`
	// Invoke the hook for deployment events.
	DeploymentEvents bool `pulumi:"deploymentEvents"`
	// Enable ssl verification when invoking the hook.
	EnableSslVerification bool `pulumi:"enableSslVerification"`
	// The id of the project hook.
	HookId int `pulumi:"hookId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Invoke the hook for issues events.
	IssuesEvents bool `pulumi:"issuesEvents"`
	// Invoke the hook for job events.
	JobEvents bool `pulumi:"jobEvents"`
	// Invoke the hook for merge requests.
	MergeRequestsEvents bool `pulumi:"mergeRequestsEvents"`
	// Invoke the hook for notes events.
	NoteEvents bool `pulumi:"noteEvents"`
	// Invoke the hook for pipeline events.
	PipelineEvents bool `pulumi:"pipelineEvents"`
	// The name or id of the project to add the hook to.
	Project string `pulumi:"project"`
	// The id of the project for the hook.
	ProjectId int `pulumi:"projectId"`
	// Invoke the hook for push events.
	PushEvents bool `pulumi:"pushEvents"`
	// Invoke the hook for push events on matching branches only.
	PushEventsBranchFilter string `pulumi:"pushEventsBranchFilter"`
	// Invoke the hook for releases events.
	ReleasesEvents bool `pulumi:"releasesEvents"`
	// Invoke the hook for tag push events.
	TagPushEvents bool `pulumi:"tagPushEvents"`
	// A token to present when invoking the hook. The token is not available for imported resources.
	Token string `pulumi:"token"`
	// The url of the hook to invoke.
	Url string `pulumi:"url"`
	// Invoke the hook for wiki page events.
	WikiPageEvents bool `pulumi:"wikiPageEvents"`
}

A collection of values returned by getProjectHook.

func LookupProjectHook added in v4.9.0

func LookupProjectHook(ctx *pulumi.Context, args *LookupProjectHookArgs, opts ...pulumi.InvokeOption) (*LookupProjectHookResult, error)

The `ProjectHook` data source allows to retrieve details about a hook in a project.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/projects.html#get-project-hook)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := gitlab.LookupProject(ctx, &gitlab.LookupProjectArgs{
			Id: pulumi.StringRef("foo/bar/baz"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = gitlab.LookupProjectHook(ctx, &gitlab.LookupProjectHookArgs{
			Project: exampleProject.Id,
			HookId:  1,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupProjectHookResultOutput added in v4.9.0

type LookupProjectHookResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProjectHook.

func LookupProjectHookOutput added in v4.9.0

func (LookupProjectHookResultOutput) ConfidentialIssuesEvents added in v4.9.0

func (o LookupProjectHookResultOutput) ConfidentialIssuesEvents() pulumi.BoolOutput

Invoke the hook for confidential issues events.

func (LookupProjectHookResultOutput) ConfidentialNoteEvents added in v4.9.0

func (o LookupProjectHookResultOutput) ConfidentialNoteEvents() pulumi.BoolOutput

Invoke the hook for confidential notes events.

func (LookupProjectHookResultOutput) DeploymentEvents added in v4.9.0

func (o LookupProjectHookResultOutput) DeploymentEvents() pulumi.BoolOutput

Invoke the hook for deployment events.

func (LookupProjectHookResultOutput) ElementType added in v4.9.0

func (LookupProjectHookResultOutput) EnableSslVerification added in v4.9.0

func (o LookupProjectHookResultOutput) EnableSslVerification() pulumi.BoolOutput

Enable ssl verification when invoking the hook.

func (LookupProjectHookResultOutput) HookId added in v4.9.0

The id of the project hook.

func (LookupProjectHookResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (LookupProjectHookResultOutput) IssuesEvents added in v4.9.0

Invoke the hook for issues events.

func (LookupProjectHookResultOutput) JobEvents added in v4.9.0

Invoke the hook for job events.

func (LookupProjectHookResultOutput) MergeRequestsEvents added in v4.9.0

func (o LookupProjectHookResultOutput) MergeRequestsEvents() pulumi.BoolOutput

Invoke the hook for merge requests.

func (LookupProjectHookResultOutput) NoteEvents added in v4.9.0

Invoke the hook for notes events.

func (LookupProjectHookResultOutput) PipelineEvents added in v4.9.0

func (o LookupProjectHookResultOutput) PipelineEvents() pulumi.BoolOutput

Invoke the hook for pipeline events.

func (LookupProjectHookResultOutput) Project added in v4.9.0

The name or id of the project to add the hook to.

func (LookupProjectHookResultOutput) ProjectId added in v4.9.0

The id of the project for the hook.

func (LookupProjectHookResultOutput) PushEvents added in v4.9.0

Invoke the hook for push events.

func (LookupProjectHookResultOutput) PushEventsBranchFilter added in v4.9.0

func (o LookupProjectHookResultOutput) PushEventsBranchFilter() pulumi.StringOutput

Invoke the hook for push events on matching branches only.

func (LookupProjectHookResultOutput) ReleasesEvents added in v4.9.0

func (o LookupProjectHookResultOutput) ReleasesEvents() pulumi.BoolOutput

Invoke the hook for releases events.

func (LookupProjectHookResultOutput) TagPushEvents added in v4.9.0

Invoke the hook for tag push events.

func (LookupProjectHookResultOutput) ToLookupProjectHookResultOutput added in v4.9.0

func (o LookupProjectHookResultOutput) ToLookupProjectHookResultOutput() LookupProjectHookResultOutput

func (LookupProjectHookResultOutput) ToLookupProjectHookResultOutputWithContext added in v4.9.0

func (o LookupProjectHookResultOutput) ToLookupProjectHookResultOutputWithContext(ctx context.Context) LookupProjectHookResultOutput

func (LookupProjectHookResultOutput) Token added in v4.9.0

A token to present when invoking the hook. The token is not available for imported resources.

func (LookupProjectHookResultOutput) Url added in v4.9.0

The url of the hook to invoke.

func (LookupProjectHookResultOutput) WikiPageEvents added in v4.9.0

func (o LookupProjectHookResultOutput) WikiPageEvents() pulumi.BoolOutput

Invoke the hook for wiki page events.

type LookupProjectIssueArgs added in v4.7.0

type LookupProjectIssueArgs struct {
	// The internal ID of the project's issue.
	Iid int `pulumi:"iid"`
	// The name or ID of the project.
	Project string `pulumi:"project"`
}

A collection of arguments for invoking getProjectIssue.

type LookupProjectIssueOutputArgs added in v4.7.0

type LookupProjectIssueOutputArgs struct {
	// The internal ID of the project's issue.
	Iid pulumi.IntInput `pulumi:"iid"`
	// The name or ID of the project.
	Project pulumi.StringInput `pulumi:"project"`
}

A collection of arguments for invoking getProjectIssue.

func (LookupProjectIssueOutputArgs) ElementType added in v4.7.0

type LookupProjectIssueResult added in v4.7.0

type LookupProjectIssueResult struct {
	// The IDs of the users to assign the issue to.
	AssigneeIds []int `pulumi:"assigneeIds"`
	// The ID of the author of the issue. Use `User` data source to get more information about the user.
	AuthorId int `pulumi:"authorId"`
	// When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
	ClosedAt string `pulumi:"closedAt"`
	// The ID of the user that closed the issue. Use `User` data source to get more information about the user.
	ClosedByUserId int `pulumi:"closedByUserId"`
	// Set an issue to be confidential.
	Confidential bool `pulumi:"confidential"`
	// When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.
	CreatedAt string `pulumi:"createdAt"`
	// The description of an issue. Limited to 1,048,576 characters.
	Description string `pulumi:"description"`
	// Whether the issue is locked for discussions or not.
	DiscussionLocked bool `pulumi:"discussionLocked"`
	// The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as resolved. Use in combination with merge*request*to*resolve*discussions_of.
	DiscussionToResolve string `pulumi:"discussionToResolve"`
	// The number of downvotes the issue has received.
	Downvotes int `pulumi:"downvotes"`
	// The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
	// **Note:** removing a due date is currently not supported, see https://github.com/xanzy/go-gitlab/issues/1384 for details.
	DueDate string `pulumi:"dueDate"`
	// ID of the epic to add the issue to. Valid values are greater than or equal to 0.
	EpicId int `pulumi:"epicId"`
	// The ID of the epic issue.
	EpicIssueId int `pulumi:"epicIssueId"`
	// The external ID of the issue.
	ExternalId string `pulumi:"externalId"`
	// The human-readable time estimate of the issue.
	HumanTimeEstimate string `pulumi:"humanTimeEstimate"`
	// The human-readable total time spent of the issue.
	HumanTotalTimeSpent string `pulumi:"humanTotalTimeSpent"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The internal ID of the project's issue.
	Iid int `pulumi:"iid"`
	// The instance-wide ID of the issue.
	IssueId int `pulumi:"issueId"`
	// The ID of the issue link.
	IssueLinkId int `pulumi:"issueLinkId"`
	// The type of issue. Valid values are: `issue`, `incident`, `testCase`.
	IssueType string `pulumi:"issueType"`
	// The labels of an issue.
	Labels []string `pulumi:"labels"`
	// The links of the issue.
	Links map[string]string `pulumi:"links"`
	// The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.
	MergeRequestToResolveDiscussionsOf int `pulumi:"mergeRequestToResolveDiscussionsOf"`
	// The number of merge requests associated with the issue.
	MergeRequestsCount int `pulumi:"mergeRequestsCount"`
	// The global ID of a milestone to assign issue. To find the milestoneId associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.
	MilestoneId int `pulumi:"milestoneId"`
	// The ID of the issue that was moved to.
	MovedToId int `pulumi:"movedToId"`
	// The name or ID of the project.
	Project string `pulumi:"project"`
	// The references of the issue.
	References map[string]string `pulumi:"references"`
	// The state of the issue. Valid values are: `opened`, `closed`.
	State string `pulumi:"state"`
	// Whether the authenticated user is subscribed to the issue or not.
	Subscribed bool `pulumi:"subscribed"`
	// The task completion status. It's always a one element list.
	TaskCompletionStatuses []GetProjectIssueTaskCompletionStatus `pulumi:"taskCompletionStatuses"`
	// The time estimate of the issue.
	TimeEstimate int `pulumi:"timeEstimate"`
	// The title of the issue.
	Title string `pulumi:"title"`
	// The total time spent of the issue.
	TotalTimeSpent int `pulumi:"totalTimeSpent"`
	// When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
	UpdatedAt string `pulumi:"updatedAt"`
	// The number of upvotes the issue has received.
	Upvotes int `pulumi:"upvotes"`
	// The number of user notes on the issue.
	UserNotesCount int `pulumi:"userNotesCount"`
	// The web URL of the issue.
	WebUrl string `pulumi:"webUrl"`
	// The weight of the issue. Valid values are greater than or equal to 0.
	Weight int `pulumi:"weight"`
}

A collection of values returned by getProjectIssue.

func LookupProjectIssue added in v4.7.0

func LookupProjectIssue(ctx *pulumi.Context, args *LookupProjectIssueArgs, opts ...pulumi.InvokeOption) (*LookupProjectIssueResult, error)

The `ProjectIssue` data source allows to retrieve details about an issue in a project.

**Upstream API**: [GitLab API docs](https://docs.gitlab.com/ee/api/issues.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foo, err := gitlab.LookupProject(ctx, &gitlab.LookupProjectArgs{
			Id: pulumi.StringRef("foo/bar/baz"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = gitlab.LookupProjectIssue(ctx, &gitlab.LookupProjectIssueArgs{
			Project: foo.Id,
			Iid:     1,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("welcomeIssueWebUrl", data.Gitlab_project_issue.Web_url)
		return nil
	})
}

```

type LookupProjectIssueResultOutput added in v4.7.0

type LookupProjectIssueResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProjectIssue.

func LookupProjectIssueOutput added in v4.7.0

func (LookupProjectIssueResultOutput) AssigneeIds added in v4.7.0

The IDs of the users to assign the issue to.

func (LookupProjectIssueResultOutput) AuthorId added in v4.7.0

The ID of the author of the issue. Use `User` data source to get more information about the user.

func (LookupProjectIssueResultOutput) ClosedAt added in v4.7.0

When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.

func (LookupProjectIssueResultOutput) ClosedByUserId added in v4.7.0

func (o LookupProjectIssueResultOutput) ClosedByUserId() pulumi.IntOutput

The ID of the user that closed the issue. Use `User` data source to get more information about the user.

func (LookupProjectIssueResultOutput) Confidential added in v4.7.0

Set an issue to be confidential.

func (LookupProjectIssueResultOutput) CreatedAt added in v4.7.0

When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.

func (LookupProjectIssueResultOutput) Description added in v4.7.0

The description of an issue. Limited to 1,048,576 characters.

func (LookupProjectIssueResultOutput) DiscussionLocked added in v4.7.0

func (o LookupProjectIssueResultOutput) DiscussionLocked() pulumi.BoolOutput

Whether the issue is locked for discussions or not.

func (LookupProjectIssueResultOutput) DiscussionToResolve added in v4.7.0

func (o LookupProjectIssueResultOutput) DiscussionToResolve() pulumi.StringOutput

The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as resolved. Use in combination with merge*request*to*resolve*discussions_of.

func (LookupProjectIssueResultOutput) Downvotes added in v4.7.0

The number of downvotes the issue has received.

func (LookupProjectIssueResultOutput) DueDate added in v4.7.0

The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11. **Note:** removing a due date is currently not supported, see https://github.com/xanzy/go-gitlab/issues/1384 for details.

func (LookupProjectIssueResultOutput) ElementType added in v4.7.0

func (LookupProjectIssueResultOutput) EpicId added in v4.7.0

ID of the epic to add the issue to. Valid values are greater than or equal to 0.

func (LookupProjectIssueResultOutput) EpicIssueId added in v4.7.0

The ID of the epic issue.

func (LookupProjectIssueResultOutput) ExternalId added in v4.7.0

The external ID of the issue.

func (LookupProjectIssueResultOutput) HumanTimeEstimate added in v4.7.0

func (o LookupProjectIssueResultOutput) HumanTimeEstimate() pulumi.StringOutput

The human-readable time estimate of the issue.

func (LookupProjectIssueResultOutput) HumanTotalTimeSpent added in v4.7.0

func (o LookupProjectIssueResultOutput) HumanTotalTimeSpent() pulumi.StringOutput

The human-readable total time spent of the issue.

func (LookupProjectIssueResultOutput) Id added in v4.7.0

The provider-assigned unique ID for this managed resource.

func (LookupProjectIssueResultOutput) Iid added in v4.7.0

The internal ID of the project's issue.

func (LookupProjectIssueResultOutput) IssueId added in v4.7.0

The instance-wide ID of the issue.

func (LookupProjectIssueResultOutput) IssueLinkId added in v4.7.0

The ID of the issue link.

func (LookupProjectIssueResultOutput) IssueType added in v4.7.0

The type of issue. Valid values are: `issue`, `incident`, `testCase`.

func (LookupProjectIssueResultOutput) Labels added in v4.7.0

The labels of an issue.

The links of the issue.

func (LookupProjectIssueResultOutput) MergeRequestToResolveDiscussionsOf added in v4.7.0

func (o LookupProjectIssueResultOutput) MergeRequestToResolveDiscussionsOf() pulumi.IntOutput

The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.

func (LookupProjectIssueResultOutput) MergeRequestsCount added in v4.7.0

func (o LookupProjectIssueResultOutput) MergeRequestsCount() pulumi.IntOutput

The number of merge requests associated with the issue.

func (LookupProjectIssueResultOutput) MilestoneId added in v4.7.0

The global ID of a milestone to assign issue. To find the milestoneId associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.

func (LookupProjectIssueResultOutput) MovedToId added in v4.7.0

The ID of the issue that was moved to.

func (LookupProjectIssueResultOutput) Project added in v4.7.0

The name or ID of the project.

func (LookupProjectIssueResultOutput) References added in v4.7.0

The references of the issue.

func (LookupProjectIssueResultOutput) State added in v4.7.0

The state of the issue. Valid values are: `opened`, `closed`.

func (LookupProjectIssueResultOutput) Subscribed added in v4.7.0

Whether the authenticated user is subscribed to the issue or not.

func (LookupProjectIssueResultOutput) TaskCompletionStatuses added in v4.7.0

The task completion status. It's always a one element list.

func (LookupProjectIssueResultOutput) TimeEstimate added in v4.7.0

The time estimate of the issue.

func (LookupProjectIssueResultOutput) Title added in v4.7.0

The title of the issue.

func (LookupProjectIssueResultOutput) ToLookupProjectIssueResultOutput added in v4.7.0

func (o LookupProjectIssueResultOutput) ToLookupProjectIssueResultOutput() LookupProjectIssueResultOutput

func (LookupProjectIssueResultOutput) ToLookupProjectIssueResultOutputWithContext added in v4.7.0

func (o LookupProjectIssueResultOutput) ToLookupProjectIssueResultOutputWithContext(ctx context.Context) LookupProjectIssueResultOutput

func (LookupProjectIssueResultOutput) TotalTimeSpent added in v4.7.0

func (o LookupProjectIssueResultOutput) TotalTimeSpent() pulumi.IntOutput

The total time spent of the issue.

func (LookupProjectIssueResultOutput) UpdatedAt added in v4.7.0

When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.

func (LookupProjectIssueResultOutput) Upvotes added in v4.7.0

The number of upvotes the issue has received.

func (LookupProjectIssueResultOutput) UserNotesCount added in v4.7.0

func (o LookupProjectIssueResultOutput) UserNotesCount() pulumi.IntOutput

The number of user notes on the issue.

func (LookupProjectIssueResultOutput) WebUrl added in v4.7.0

The web URL of the issue.

func (LookupProjectIssueResultOutput) Weight added in v4.7.0

The weight of the issue. Valid values are greater than or equal to 0.

type LookupProjectMembershipArgs added in v4.9.0

type LookupProjectMembershipArgs struct {
	// The full path of the project.
	FullPath *string `pulumi:"fullPath"`
	// Return all project members including members through ancestor groups
	Inherited *bool `pulumi:"inherited"`
	// The ID of the project.
	ProjectId *int `pulumi:"projectId"`
	// A query string to search for members
	Query *string `pulumi:"query"`
}

A collection of arguments for invoking getProjectMembership.

type LookupProjectMembershipOutputArgs added in v4.9.0

type LookupProjectMembershipOutputArgs struct {
	// The full path of the project.
	FullPath pulumi.StringPtrInput `pulumi:"fullPath"`
	// Return all project members including members through ancestor groups
	Inherited pulumi.BoolPtrInput `pulumi:"inherited"`
	// The ID of the project.
	ProjectId pulumi.IntPtrInput `pulumi:"projectId"`
	// A query string to search for members
	Query pulumi.StringPtrInput `pulumi:"query"`
}

A collection of arguments for invoking getProjectMembership.

func (LookupProjectMembershipOutputArgs) ElementType added in v4.9.0

type LookupProjectMembershipResult added in v4.9.0

type LookupProjectMembershipResult struct {
	// The full path of the project.
	FullPath string `pulumi:"fullPath"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Return all project members including members through ancestor groups
	Inherited *bool `pulumi:"inherited"`
	// The list of project members.
	Members []GetProjectMembershipMember `pulumi:"members"`
	// The ID of the project.
	ProjectId int `pulumi:"projectId"`
	// A query string to search for members
	Query *string `pulumi:"query"`
}

A collection of values returned by getProjectMembership.

func LookupProjectMembership added in v4.9.0

func LookupProjectMembership(ctx *pulumi.Context, args *LookupProjectMembershipArgs, opts ...pulumi.InvokeOption) (*LookupProjectMembershipResult, error)

The `ProjectMembership` data source allows to list and filter all members of a project specified by either its id or full path.

> **Note** exactly one of projectId or fullPath must be provided.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/members.html#list-all-members-of-a-group-or-project)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.LookupProjectMembership(ctx, &gitlab.LookupProjectMembershipArgs{
			Inherited: pulumi.BoolRef(true),
			ProjectId: pulumi.IntRef(123),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupProjectMembershipResultOutput added in v4.9.0

type LookupProjectMembershipResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProjectMembership.

func (LookupProjectMembershipResultOutput) ElementType added in v4.9.0

func (LookupProjectMembershipResultOutput) FullPath added in v4.9.0

The full path of the project.

func (LookupProjectMembershipResultOutput) Id added in v4.9.0

The provider-assigned unique ID for this managed resource.

func (LookupProjectMembershipResultOutput) Inherited added in v4.9.0

Return all project members including members through ancestor groups

func (LookupProjectMembershipResultOutput) Members added in v4.9.0

The list of project members.

func (LookupProjectMembershipResultOutput) ProjectId added in v4.9.0

The ID of the project.

func (LookupProjectMembershipResultOutput) Query added in v4.9.0

A query string to search for members

func (LookupProjectMembershipResultOutput) ToLookupProjectMembershipResultOutput added in v4.9.0

func (o LookupProjectMembershipResultOutput) ToLookupProjectMembershipResultOutput() LookupProjectMembershipResultOutput

func (LookupProjectMembershipResultOutput) ToLookupProjectMembershipResultOutputWithContext added in v4.9.0

func (o LookupProjectMembershipResultOutput) ToLookupProjectMembershipResultOutputWithContext(ctx context.Context) LookupProjectMembershipResultOutput

type LookupProjectMilestoneArgs added in v4.8.0

type LookupProjectMilestoneArgs struct {
	// The instance-wide ID of the project’s milestone.
	MilestoneId int `pulumi:"milestoneId"`
	// The ID or URL-encoded path of the project owned by the authenticated user.
	Project string `pulumi:"project"`
}

A collection of arguments for invoking getProjectMilestone.

type LookupProjectMilestoneOutputArgs added in v4.8.0

type LookupProjectMilestoneOutputArgs struct {
	// The instance-wide ID of the project’s milestone.
	MilestoneId pulumi.IntInput `pulumi:"milestoneId"`
	// The ID or URL-encoded path of the project owned by the authenticated user.
	Project pulumi.StringInput `pulumi:"project"`
}

A collection of arguments for invoking getProjectMilestone.

func (LookupProjectMilestoneOutputArgs) ElementType added in v4.8.0

type LookupProjectMilestoneResult added in v4.8.0

type LookupProjectMilestoneResult struct {
	// The time of creation of the milestone. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
	CreatedAt string `pulumi:"createdAt"`
	// The description of the milestone.
	Description string `pulumi:"description"`
	// The due date of the milestone. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
	DueDate string `pulumi:"dueDate"`
	// Bool, true if milestore expired.
	Expired bool `pulumi:"expired"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The ID of the project's milestone.
	Iid int `pulumi:"iid"`
	// The instance-wide ID of the project’s milestone.
	MilestoneId int `pulumi:"milestoneId"`
	// The ID or URL-encoded path of the project owned by the authenticated user.
	Project string `pulumi:"project"`
	// The project ID of milestone.
	ProjectId int `pulumi:"projectId"`
	// The start date of the milestone. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
	StartDate string `pulumi:"startDate"`
	// The state of the milestone. Valid values are: `active`, `closed`.
	State string `pulumi:"state"`
	// The title of a milestone.
	Title string `pulumi:"title"`
	// The last update time of the milestone. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
	UpdatedAt string `pulumi:"updatedAt"`
	// The web URL of the milestone.
	WebUrl string `pulumi:"webUrl"`
}

A collection of values returned by getProjectMilestone.

func LookupProjectMilestone added in v4.8.0

func LookupProjectMilestone(ctx *pulumi.Context, args *LookupProjectMilestoneArgs, opts ...pulumi.InvokeOption) (*LookupProjectMilestoneResult, error)

The `ProjectMilestone` data source allows get details of a project milestone.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/milestones.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.LookupProjectMilestone(ctx, &gitlab.LookupProjectMilestoneArgs{
			MilestoneId: 10,
			Project:     "foo/bar",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupProjectMilestoneResultOutput added in v4.8.0

type LookupProjectMilestoneResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProjectMilestone.

func LookupProjectMilestoneOutput added in v4.8.0

func (LookupProjectMilestoneResultOutput) CreatedAt added in v4.8.0

The time of creation of the milestone. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.

func (LookupProjectMilestoneResultOutput) Description added in v4.8.0

The description of the milestone.

func (LookupProjectMilestoneResultOutput) DueDate added in v4.8.0

The due date of the milestone. Date time string in the format YYYY-MM-DD, for example 2016-03-11.

func (LookupProjectMilestoneResultOutput) ElementType added in v4.8.0

func (LookupProjectMilestoneResultOutput) Expired added in v4.8.0

Bool, true if milestore expired.

func (LookupProjectMilestoneResultOutput) Id added in v4.8.0

The provider-assigned unique ID for this managed resource.

func (LookupProjectMilestoneResultOutput) Iid added in v4.8.0

The ID of the project's milestone.

func (LookupProjectMilestoneResultOutput) MilestoneId added in v4.8.0

The instance-wide ID of the project’s milestone.

func (LookupProjectMilestoneResultOutput) Project added in v4.8.0

The ID or URL-encoded path of the project owned by the authenticated user.

func (LookupProjectMilestoneResultOutput) ProjectId added in v4.8.0

The project ID of milestone.

func (LookupProjectMilestoneResultOutput) StartDate added in v4.8.0

The start date of the milestone. Date time string in the format YYYY-MM-DD, for example 2016-03-11.

func (LookupProjectMilestoneResultOutput) State added in v4.8.0

The state of the milestone. Valid values are: `active`, `closed`.

func (LookupProjectMilestoneResultOutput) Title added in v4.8.0

The title of a milestone.

func (LookupProjectMilestoneResultOutput) ToLookupProjectMilestoneResultOutput added in v4.8.0

func (o LookupProjectMilestoneResultOutput) ToLookupProjectMilestoneResultOutput() LookupProjectMilestoneResultOutput

func (LookupProjectMilestoneResultOutput) ToLookupProjectMilestoneResultOutputWithContext added in v4.8.0

func (o LookupProjectMilestoneResultOutput) ToLookupProjectMilestoneResultOutputWithContext(ctx context.Context) LookupProjectMilestoneResultOutput

func (LookupProjectMilestoneResultOutput) UpdatedAt added in v4.8.0

The last update time of the milestone. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.

func (LookupProjectMilestoneResultOutput) WebUrl added in v4.8.0

The web URL of the milestone.

type LookupProjectOutputArgs added in v4.3.0

type LookupProjectOutputArgs struct {
	// Default number of revisions for shallow cloning.
	CiDefaultGitDepth pulumi.IntPtrInput `pulumi:"ciDefaultGitDepth"`
	// The integer or path with namespace that uniquely identifies the project within the gitlab install.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The path of the repository with namespace.
	PathWithNamespace pulumi.StringPtrInput `pulumi:"pathWithNamespace"`
	// If true, jobs can be viewed by non-project members.
	PublicBuilds pulumi.BoolPtrInput `pulumi:"publicBuilds"`
}

A collection of arguments for invoking getProject.

func (LookupProjectOutputArgs) ElementType added in v4.3.0

func (LookupProjectOutputArgs) ElementType() reflect.Type

type LookupProjectResult

type LookupProjectResult struct {
	// Set the analytics access level. Valid values are `disabled`, `private`, `enabled`.
	AnalyticsAccessLevel string `pulumi:"analyticsAccessLevel"`
	// Whether the project is in read-only mode (archived).
	Archived bool `pulumi:"archived"`
	// Auto-cancel pending pipelines. This isn’t a boolean, but enabled/disabled.
	AutoCancelPendingPipelines string `pulumi:"autoCancelPendingPipelines"`
	// Auto Deploy strategy. Valid values are `continuous`, `manual`, `timedIncremental`.
	AutoDevopsDeployStrategy string `pulumi:"autoDevopsDeployStrategy"`
	// Enable Auto DevOps for this project.
	AutoDevopsEnabled bool `pulumi:"autoDevopsEnabled"`
	// Set whether auto-closing referenced issues on default branch.
	AutocloseReferencedIssues bool `pulumi:"autocloseReferencedIssues"`
	// The Git strategy. Defaults to fetch.
	BuildGitStrategy string `pulumi:"buildGitStrategy"`
	// The maximum amount of time, in seconds, that a job can run.
	BuildTimeout int `pulumi:"buildTimeout"`
	// Set the builds access level. Valid values are `disabled`, `private`, `enabled`.
	BuildsAccessLevel string `pulumi:"buildsAccessLevel"`
	// CI config file path for the project.
	CiConfigPath string `pulumi:"ciConfigPath"`
	// Default number of revisions for shallow cloning.
	CiDefaultGitDepth int `pulumi:"ciDefaultGitDepth"`
	// Set the image cleanup policy for this project. **Note**: this field is sometimes named `containerExpirationPolicyAttributes` in the GitLab Upstream API.
	ContainerExpirationPolicies []GetProjectContainerExpirationPolicy `pulumi:"containerExpirationPolicies"`
	// Set visibility of container registry, for this project. Valid values are `disabled`, `private`, `enabled`.
	ContainerRegistryAccessLevel string `pulumi:"containerRegistryAccessLevel"`
	// The default branch for the project.
	DefaultBranch string `pulumi:"defaultBranch"`
	// A description of the project.
	Description string `pulumi:"description"`
	// Disable email notifications.
	EmailsDisabled bool `pulumi:"emailsDisabled"`
	// The classification label for the project.
	ExternalAuthorizationClassificationLabel string `pulumi:"externalAuthorizationClassificationLabel"`
	// Set the forking access level. Valid values are `disabled`, `private`, `enabled`.
	ForkingAccessLevel string `pulumi:"forkingAccessLevel"`
	// URL that can be provided to `git clone` to clone the
	HttpUrlToRepo string `pulumi:"httpUrlToRepo"`
	// The integer or path with namespace that uniquely identifies the project within the gitlab install.
	Id string `pulumi:"id"`
	// Set the issues access level. Valid values are `disabled`, `private`, `enabled`.
	IssuesAccessLevel string `pulumi:"issuesAccessLevel"`
	// Enable issue tracking for the project.
	IssuesEnabled bool `pulumi:"issuesEnabled"`
	// Enable LFS for the project.
	LfsEnabled bool `pulumi:"lfsEnabled"`
	// Template used to create merge commit message in merge requests. (Introduced in GitLab 14.5.)
	MergeCommitTemplate string `pulumi:"mergeCommitTemplate"`
	// Enable or disable merge pipelines.
	MergePipelinesEnabled bool `pulumi:"mergePipelinesEnabled"`
	// Set the merge requests access level. Valid values are `disabled`, `private`, `enabled`.
	MergeRequestsAccessLevel string `pulumi:"mergeRequestsAccessLevel"`
	// Enable merge requests for the project.
	MergeRequestsEnabled bool `pulumi:"mergeRequestsEnabled"`
	// Enable or disable merge trains.
	MergeTrainsEnabled bool `pulumi:"mergeTrainsEnabled"`
	// The name of the project.
	Name string `pulumi:"name"`
	// The namespace (group or user) of the project. Defaults to your user.
	NamespaceId int `pulumi:"namespaceId"`
	// Set the operations access level. Valid values are `disabled`, `private`, `enabled`.
	OperationsAccessLevel string `pulumi:"operationsAccessLevel"`
	// The path of the repository.
	Path string `pulumi:"path"`
	// The path of the repository with namespace.
	PathWithNamespace string `pulumi:"pathWithNamespace"`
	// Enable pipelines for the project.
	PipelinesEnabled bool `pulumi:"pipelinesEnabled"`
	// Show link to create/view merge request when pushing from the command line
	PrintingMergeRequestLinkEnabled bool `pulumi:"printingMergeRequestLinkEnabled"`
	// If true, jobs can be viewed by non-project members.
	PublicBuilds *bool `pulumi:"publicBuilds"`
	// Push rules for the project.
	PushRules GetProjectPushRules `pulumi:"pushRules"`
	// Enable `Delete source branch` option by default for all new merge requests
	RemoveSourceBranchAfterMerge bool `pulumi:"removeSourceBranchAfterMerge"`
	// Set the repository access level. Valid values are `disabled`, `private`, `enabled`.
	RepositoryAccessLevel string `pulumi:"repositoryAccessLevel"`
	// Which storage shard the repository is on. (administrator only)
	RepositoryStorage string `pulumi:"repositoryStorage"`
	// Allow users to request member access.
	RequestAccessEnabled bool `pulumi:"requestAccessEnabled"`
	// Set the requirements access level. Valid values are `disabled`, `private`, `enabled`.
	RequirementsAccessLevel string `pulumi:"requirementsAccessLevel"`
	// Automatically resolve merge request diffs discussions on lines changed with a push.
	ResolveOutdatedDiffDiscussions bool `pulumi:"resolveOutdatedDiffDiscussions"`
	// Registration token to use during runner setup.
	RunnersToken string `pulumi:"runnersToken"`
	// Set the security and compliance access level. Valid values are `disabled`, `private`, `enabled`.
	SecurityAndComplianceAccessLevel string `pulumi:"securityAndComplianceAccessLevel"`
	// Set the snippets access level. Valid values are `disabled`, `private`, `enabled`.
	SnippetsAccessLevel string `pulumi:"snippetsAccessLevel"`
	// Enable snippets for the project.
	SnippetsEnabled bool `pulumi:"snippetsEnabled"`
	// Template used to create squash commit message in merge requests. (Introduced in GitLab 14.6.)
	SquashCommitTemplate string `pulumi:"squashCommitTemplate"`
	// URL that can be provided to `git clone` to clone the
	SshUrlToRepo string `pulumi:"sshUrlToRepo"`
	// The commit message used to apply merge request suggestions.
	SuggestionCommitMessage string `pulumi:"suggestionCommitMessage"`
	// The list of topics for the project.
	Topics []string `pulumi:"topics"`
	// Repositories are created as private by default.
	VisibilityLevel string `pulumi:"visibilityLevel"`
	// URL that can be used to find the project in a browser.
	WebUrl string `pulumi:"webUrl"`
	// Set the wiki access level. Valid values are `disabled`, `private`, `enabled`.
	WikiAccessLevel string `pulumi:"wikiAccessLevel"`
	// Enable wiki for the project.
	WikiEnabled bool `pulumi:"wikiEnabled"`
}

A collection of values returned by getProject.

func LookupProject

func LookupProject(ctx *pulumi.Context, args *LookupProjectArgs, opts ...pulumi.InvokeOption) (*LookupProjectResult, error)

The `Project` data source allows details of a project to be retrieved by either its ID or its path with namespace.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/projects.html#get-single-project)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.LookupProject(ctx, &gitlab.LookupProjectArgs{
			Id: pulumi.StringRef("foo/bar/baz"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupProjectResultOutput added in v4.3.0

type LookupProjectResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProject.

func LookupProjectOutput added in v4.3.0

func LookupProjectOutput(ctx *pulumi.Context, args LookupProjectOutputArgs, opts ...pulumi.InvokeOption) LookupProjectResultOutput

func (LookupProjectResultOutput) AnalyticsAccessLevel added in v4.7.0

func (o LookupProjectResultOutput) AnalyticsAccessLevel() pulumi.StringOutput

Set the analytics access level. Valid values are `disabled`, `private`, `enabled`.

func (LookupProjectResultOutput) Archived added in v4.3.0

Whether the project is in read-only mode (archived).

func (LookupProjectResultOutput) AutoCancelPendingPipelines added in v4.7.0

func (o LookupProjectResultOutput) AutoCancelPendingPipelines() pulumi.StringOutput

Auto-cancel pending pipelines. This isn’t a boolean, but enabled/disabled.

func (LookupProjectResultOutput) AutoDevopsDeployStrategy added in v4.7.0

func (o LookupProjectResultOutput) AutoDevopsDeployStrategy() pulumi.StringOutput

Auto Deploy strategy. Valid values are `continuous`, `manual`, `timedIncremental`.

func (LookupProjectResultOutput) AutoDevopsEnabled added in v4.7.0

func (o LookupProjectResultOutput) AutoDevopsEnabled() pulumi.BoolOutput

Enable Auto DevOps for this project.

func (LookupProjectResultOutput) AutocloseReferencedIssues added in v4.7.0

func (o LookupProjectResultOutput) AutocloseReferencedIssues() pulumi.BoolOutput

Set whether auto-closing referenced issues on default branch.

func (LookupProjectResultOutput) BuildGitStrategy added in v4.7.0

func (o LookupProjectResultOutput) BuildGitStrategy() pulumi.StringOutput

The Git strategy. Defaults to fetch.

func (LookupProjectResultOutput) BuildTimeout added in v4.7.0

func (o LookupProjectResultOutput) BuildTimeout() pulumi.IntOutput

The maximum amount of time, in seconds, that a job can run.

func (LookupProjectResultOutput) BuildsAccessLevel added in v4.7.0

func (o LookupProjectResultOutput) BuildsAccessLevel() pulumi.StringOutput

Set the builds access level. Valid values are `disabled`, `private`, `enabled`.

func (LookupProjectResultOutput) CiConfigPath added in v4.9.0

CI config file path for the project.

func (LookupProjectResultOutput) CiDefaultGitDepth added in v4.8.0

func (o LookupProjectResultOutput) CiDefaultGitDepth() pulumi.IntOutput

Default number of revisions for shallow cloning.

func (LookupProjectResultOutput) ContainerExpirationPolicies added in v4.7.0

Set the image cleanup policy for this project. **Note**: this field is sometimes named `containerExpirationPolicyAttributes` in the GitLab Upstream API.

func (LookupProjectResultOutput) ContainerRegistryAccessLevel added in v4.7.0

func (o LookupProjectResultOutput) ContainerRegistryAccessLevel() pulumi.StringOutput

Set visibility of container registry, for this project. Valid values are `disabled`, `private`, `enabled`.

func (LookupProjectResultOutput) DefaultBranch added in v4.3.0

func (o LookupProjectResultOutput) DefaultBranch() pulumi.StringOutput

The default branch for the project.

func (LookupProjectResultOutput) Description added in v4.3.0

A description of the project.

func (LookupProjectResultOutput) ElementType added in v4.3.0

func (LookupProjectResultOutput) ElementType() reflect.Type

func (LookupProjectResultOutput) EmailsDisabled added in v4.7.0

func (o LookupProjectResultOutput) EmailsDisabled() pulumi.BoolOutput

Disable email notifications.

func (LookupProjectResultOutput) ExternalAuthorizationClassificationLabel added in v4.7.0

func (o LookupProjectResultOutput) ExternalAuthorizationClassificationLabel() pulumi.StringOutput

The classification label for the project.

func (LookupProjectResultOutput) ForkingAccessLevel added in v4.7.0

func (o LookupProjectResultOutput) ForkingAccessLevel() pulumi.StringOutput

Set the forking access level. Valid values are `disabled`, `private`, `enabled`.

func (LookupProjectResultOutput) HttpUrlToRepo added in v4.3.0

func (o LookupProjectResultOutput) HttpUrlToRepo() pulumi.StringOutput

URL that can be provided to `git clone` to clone the

func (LookupProjectResultOutput) Id added in v4.3.0

The integer or path with namespace that uniquely identifies the project within the gitlab install.

func (LookupProjectResultOutput) IssuesAccessLevel added in v4.7.0

func (o LookupProjectResultOutput) IssuesAccessLevel() pulumi.StringOutput

Set the issues access level. Valid values are `disabled`, `private`, `enabled`.

func (LookupProjectResultOutput) IssuesEnabled added in v4.3.0

func (o LookupProjectResultOutput) IssuesEnabled() pulumi.BoolOutput

Enable issue tracking for the project.

func (LookupProjectResultOutput) LfsEnabled added in v4.3.0

Enable LFS for the project.

func (LookupProjectResultOutput) MergeCommitTemplate added in v4.7.0

func (o LookupProjectResultOutput) MergeCommitTemplate() pulumi.StringOutput

Template used to create merge commit message in merge requests. (Introduced in GitLab 14.5.)

func (LookupProjectResultOutput) MergePipelinesEnabled added in v4.6.0

func (o LookupProjectResultOutput) MergePipelinesEnabled() pulumi.BoolOutput

Enable or disable merge pipelines.

func (LookupProjectResultOutput) MergeRequestsAccessLevel added in v4.7.0

func (o LookupProjectResultOutput) MergeRequestsAccessLevel() pulumi.StringOutput

Set the merge requests access level. Valid values are `disabled`, `private`, `enabled`.

func (LookupProjectResultOutput) MergeRequestsEnabled added in v4.3.0

func (o LookupProjectResultOutput) MergeRequestsEnabled() pulumi.BoolOutput

Enable merge requests for the project.

func (LookupProjectResultOutput) MergeTrainsEnabled added in v4.6.0

func (o LookupProjectResultOutput) MergeTrainsEnabled() pulumi.BoolOutput

Enable or disable merge trains.

func (LookupProjectResultOutput) Name added in v4.3.0

The name of the project.

func (LookupProjectResultOutput) NamespaceId added in v4.3.0

func (o LookupProjectResultOutput) NamespaceId() pulumi.IntOutput

The namespace (group or user) of the project. Defaults to your user.

func (LookupProjectResultOutput) OperationsAccessLevel added in v4.7.0

func (o LookupProjectResultOutput) OperationsAccessLevel() pulumi.StringOutput

Set the operations access level. Valid values are `disabled`, `private`, `enabled`.

func (LookupProjectResultOutput) Path added in v4.3.0

The path of the repository.

func (LookupProjectResultOutput) PathWithNamespace added in v4.3.0

func (o LookupProjectResultOutput) PathWithNamespace() pulumi.StringOutput

The path of the repository with namespace.

func (LookupProjectResultOutput) PipelinesEnabled added in v4.3.0

func (o LookupProjectResultOutput) PipelinesEnabled() pulumi.BoolOutput

Enable pipelines for the project.

func (LookupProjectResultOutput) PrintingMergeRequestLinkEnabled added in v4.6.0

func (o LookupProjectResultOutput) PrintingMergeRequestLinkEnabled() pulumi.BoolOutput

Show link to create/view merge request when pushing from the command line

func (LookupProjectResultOutput) PublicBuilds added in v4.7.0

If true, jobs can be viewed by non-project members.

func (LookupProjectResultOutput) PushRules added in v4.3.0

Push rules for the project.

func (LookupProjectResultOutput) RemoveSourceBranchAfterMerge added in v4.3.0

func (o LookupProjectResultOutput) RemoveSourceBranchAfterMerge() pulumi.BoolOutput

Enable `Delete source branch` option by default for all new merge requests

func (LookupProjectResultOutput) RepositoryAccessLevel added in v4.7.0

func (o LookupProjectResultOutput) RepositoryAccessLevel() pulumi.StringOutput

Set the repository access level. Valid values are `disabled`, `private`, `enabled`.

func (LookupProjectResultOutput) RepositoryStorage added in v4.7.0

func (o LookupProjectResultOutput) RepositoryStorage() pulumi.StringOutput

Which storage shard the repository is on. (administrator only)

func (LookupProjectResultOutput) RequestAccessEnabled added in v4.3.0

func (o LookupProjectResultOutput) RequestAccessEnabled() pulumi.BoolOutput

Allow users to request member access.

func (LookupProjectResultOutput) RequirementsAccessLevel added in v4.7.0

func (o LookupProjectResultOutput) RequirementsAccessLevel() pulumi.StringOutput

Set the requirements access level. Valid values are `disabled`, `private`, `enabled`.

func (LookupProjectResultOutput) ResolveOutdatedDiffDiscussions added in v4.7.0

func (o LookupProjectResultOutput) ResolveOutdatedDiffDiscussions() pulumi.BoolOutput

Automatically resolve merge request diffs discussions on lines changed with a push.

func (LookupProjectResultOutput) RunnersToken added in v4.3.0

Registration token to use during runner setup.

func (LookupProjectResultOutput) SecurityAndComplianceAccessLevel added in v4.7.0

func (o LookupProjectResultOutput) SecurityAndComplianceAccessLevel() pulumi.StringOutput

Set the security and compliance access level. Valid values are `disabled`, `private`, `enabled`.

func (LookupProjectResultOutput) SnippetsAccessLevel added in v4.7.0

func (o LookupProjectResultOutput) SnippetsAccessLevel() pulumi.StringOutput

Set the snippets access level. Valid values are `disabled`, `private`, `enabled`.

func (LookupProjectResultOutput) SnippetsEnabled added in v4.3.0

func (o LookupProjectResultOutput) SnippetsEnabled() pulumi.BoolOutput

Enable snippets for the project.

func (LookupProjectResultOutput) SquashCommitTemplate added in v4.7.0

func (o LookupProjectResultOutput) SquashCommitTemplate() pulumi.StringOutput

Template used to create squash commit message in merge requests. (Introduced in GitLab 14.6.)

func (LookupProjectResultOutput) SshUrlToRepo added in v4.3.0

URL that can be provided to `git clone` to clone the

func (LookupProjectResultOutput) SuggestionCommitMessage added in v4.10.0

func (o LookupProjectResultOutput) SuggestionCommitMessage() pulumi.StringOutput

The commit message used to apply merge request suggestions.

func (LookupProjectResultOutput) ToLookupProjectResultOutput added in v4.3.0

func (o LookupProjectResultOutput) ToLookupProjectResultOutput() LookupProjectResultOutput

func (LookupProjectResultOutput) ToLookupProjectResultOutputWithContext added in v4.3.0

func (o LookupProjectResultOutput) ToLookupProjectResultOutputWithContext(ctx context.Context) LookupProjectResultOutput

func (LookupProjectResultOutput) Topics added in v4.7.0

The list of topics for the project.

func (LookupProjectResultOutput) VisibilityLevel added in v4.3.0

func (o LookupProjectResultOutput) VisibilityLevel() pulumi.StringOutput

Repositories are created as private by default.

func (LookupProjectResultOutput) WebUrl added in v4.3.0

URL that can be used to find the project in a browser.

func (LookupProjectResultOutput) WikiAccessLevel added in v4.7.0

func (o LookupProjectResultOutput) WikiAccessLevel() pulumi.StringOutput

Set the wiki access level. Valid values are `disabled`, `private`, `enabled`.

func (LookupProjectResultOutput) WikiEnabled added in v4.3.0

Enable wiki for the project.

type LookupProjectTagArgs added in v4.7.0

type LookupProjectTagArgs struct {
	// The name of a tag.
	Name string `pulumi:"name"`
	// The ID or URL-encoded path of the project owned by the authenticated user.
	Project string `pulumi:"project"`
}

A collection of arguments for invoking getProjectTag.

type LookupProjectTagOutputArgs added in v4.7.0

type LookupProjectTagOutputArgs struct {
	// The name of a tag.
	Name pulumi.StringInput `pulumi:"name"`
	// The ID or URL-encoded path of the project owned by the authenticated user.
	Project pulumi.StringInput `pulumi:"project"`
}

A collection of arguments for invoking getProjectTag.

func (LookupProjectTagOutputArgs) ElementType added in v4.7.0

func (LookupProjectTagOutputArgs) ElementType() reflect.Type

type LookupProjectTagResult added in v4.7.0

type LookupProjectTagResult struct {
	// The commit associated with the tag.
	Commits []GetProjectTagCommit `pulumi:"commits"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The message of the annotated tag.
	Message string `pulumi:"message"`
	// The name of a tag.
	Name string `pulumi:"name"`
	// The ID or URL-encoded path of the project owned by the authenticated user.
	Project string `pulumi:"project"`
	// Bool, true if tag has tag protection.
	Protected bool `pulumi:"protected"`
	// The release associated with the tag.
	Releases []GetProjectTagRelease `pulumi:"releases"`
	// The unique id assigned to the commit by Gitlab.
	Target string `pulumi:"target"`
}

A collection of values returned by getProjectTag.

func LookupProjectTag added in v4.7.0

func LookupProjectTag(ctx *pulumi.Context, args *LookupProjectTagArgs, opts ...pulumi.InvokeOption) (*LookupProjectTagResult, error)

The `ProjectTag` data source allows details of a project tag to be retrieved by its name.

**Upstream API**: [GitLab API docs](https://docs.gitlab.com/ee/api/tags.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.LookupProjectTag(ctx, &gitlab.LookupProjectTagArgs{
			Name:    "example",
			Project: "foo/bar",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupProjectTagResultOutput added in v4.7.0

type LookupProjectTagResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProjectTag.

func LookupProjectTagOutput added in v4.7.0

func (LookupProjectTagResultOutput) Commits added in v4.7.0

The commit associated with the tag.

func (LookupProjectTagResultOutput) ElementType added in v4.7.0

func (LookupProjectTagResultOutput) Id added in v4.7.0

The provider-assigned unique ID for this managed resource.

func (LookupProjectTagResultOutput) Message added in v4.7.0

The message of the annotated tag.

func (LookupProjectTagResultOutput) Name added in v4.7.0

The name of a tag.

func (LookupProjectTagResultOutput) Project added in v4.7.0

The ID or URL-encoded path of the project owned by the authenticated user.

func (LookupProjectTagResultOutput) Protected added in v4.7.0

Bool, true if tag has tag protection.

func (LookupProjectTagResultOutput) Releases added in v4.7.0

The release associated with the tag.

func (LookupProjectTagResultOutput) Target added in v4.7.0

The unique id assigned to the commit by Gitlab.

func (LookupProjectTagResultOutput) ToLookupProjectTagResultOutput added in v4.7.0

func (o LookupProjectTagResultOutput) ToLookupProjectTagResultOutput() LookupProjectTagResultOutput

func (LookupProjectTagResultOutput) ToLookupProjectTagResultOutputWithContext added in v4.7.0

func (o LookupProjectTagResultOutput) ToLookupProjectTagResultOutputWithContext(ctx context.Context) LookupProjectTagResultOutput

type LookupProjectVariableArgs added in v4.8.0

type LookupProjectVariableArgs struct {
	// The environment scope of the variable. Defaults to all environment (`*`). Note that in Community Editions of Gitlab, values other than `*` will cause inconsistent plans.
	EnvironmentScope *string `pulumi:"environmentScope"`
	// The name of the variable.
	Key string `pulumi:"key"`
	// The name or id of the project.
	Project string `pulumi:"project"`
}

A collection of arguments for invoking getProjectVariable.

type LookupProjectVariableOutputArgs added in v4.8.0

type LookupProjectVariableOutputArgs struct {
	// The environment scope of the variable. Defaults to all environment (`*`). Note that in Community Editions of Gitlab, values other than `*` will cause inconsistent plans.
	EnvironmentScope pulumi.StringPtrInput `pulumi:"environmentScope"`
	// The name of the variable.
	Key pulumi.StringInput `pulumi:"key"`
	// The name or id of the project.
	Project pulumi.StringInput `pulumi:"project"`
}

A collection of arguments for invoking getProjectVariable.

func (LookupProjectVariableOutputArgs) ElementType added in v4.8.0

type LookupProjectVariableResult added in v4.8.0

type LookupProjectVariableResult struct {
	// The environment scope of the variable. Defaults to all environment (`*`). Note that in Community Editions of Gitlab, values other than `*` will cause inconsistent plans.
	EnvironmentScope string `pulumi:"environmentScope"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the variable.
	Key string `pulumi:"key"`
	// If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ee/ci/variables/#masked-variables). Defaults to `false`.
	Masked bool `pulumi:"masked"`
	// The name or id of the project.
	Project string `pulumi:"project"`
	// If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.
	Protected bool `pulumi:"protected"`
	// The value of the variable.
	Value string `pulumi:"value"`
	// The type of a variable. Valid values are: `envVar`, `file`. Default is `envVar`.
	VariableType string `pulumi:"variableType"`
}

A collection of values returned by getProjectVariable.

func LookupProjectVariable added in v4.8.0

func LookupProjectVariable(ctx *pulumi.Context, args *LookupProjectVariableArgs, opts ...pulumi.InvokeOption) (*LookupProjectVariableResult, error)

The `ProjectVariable` data source allows to retrieve details about a project-level CI/CD variable.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/project_level_variables.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.LookupProjectVariable(ctx, &gitlab.LookupProjectVariableArgs{
			Key:     "foo",
			Project: "my/example/project",
		}, nil)
		if err != nil {
			return err
		}
		_, err = gitlab.LookupProjectVariable(ctx, &gitlab.LookupProjectVariableArgs{
			EnvironmentScope: pulumi.StringRef("staging/*"),
			Key:              "bar",
			Project:          "my/example/project",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupProjectVariableResultOutput added in v4.8.0

type LookupProjectVariableResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProjectVariable.

func LookupProjectVariableOutput added in v4.8.0

func (LookupProjectVariableResultOutput) ElementType added in v4.8.0

func (LookupProjectVariableResultOutput) EnvironmentScope added in v4.8.0

The environment scope of the variable. Defaults to all environment (`*`). Note that in Community Editions of Gitlab, values other than `*` will cause inconsistent plans.

func (LookupProjectVariableResultOutput) Id added in v4.8.0

The provider-assigned unique ID for this managed resource.

func (LookupProjectVariableResultOutput) Key added in v4.8.0

The name of the variable.

func (LookupProjectVariableResultOutput) Masked added in v4.8.0

If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ee/ci/variables/#masked-variables). Defaults to `false`.

func (LookupProjectVariableResultOutput) Project added in v4.8.0

The name or id of the project.

func (LookupProjectVariableResultOutput) Protected added in v4.8.0

If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.

func (LookupProjectVariableResultOutput) ToLookupProjectVariableResultOutput added in v4.8.0

func (o LookupProjectVariableResultOutput) ToLookupProjectVariableResultOutput() LookupProjectVariableResultOutput

func (LookupProjectVariableResultOutput) ToLookupProjectVariableResultOutputWithContext added in v4.8.0

func (o LookupProjectVariableResultOutput) ToLookupProjectVariableResultOutputWithContext(ctx context.Context) LookupProjectVariableResultOutput

func (LookupProjectVariableResultOutput) Value added in v4.8.0

The value of the variable.

func (LookupProjectVariableResultOutput) VariableType added in v4.8.0

The type of a variable. Valid values are: `envVar`, `file`. Default is `envVar`.

type LookupReleaseLinkArgs added in v4.8.0

type LookupReleaseLinkArgs struct {
	// The ID of the link.
	LinkId int `pulumi:"linkId"`
	// The ID or [URL-encoded path of the project](https://docs.gitlab.com/ee/api/index.html#namespaced-path-encoding).
	Project string `pulumi:"project"`
	// The tag associated with the Release.
	TagName string `pulumi:"tagName"`
}

A collection of arguments for invoking getReleaseLink.

type LookupReleaseLinkOutputArgs added in v4.8.0

type LookupReleaseLinkOutputArgs struct {
	// The ID of the link.
	LinkId pulumi.IntInput `pulumi:"linkId"`
	// The ID or [URL-encoded path of the project](https://docs.gitlab.com/ee/api/index.html#namespaced-path-encoding).
	Project pulumi.StringInput `pulumi:"project"`
	// The tag associated with the Release.
	TagName pulumi.StringInput `pulumi:"tagName"`
}

A collection of arguments for invoking getReleaseLink.

func (LookupReleaseLinkOutputArgs) ElementType added in v4.8.0

type LookupReleaseLinkResult added in v4.8.0

type LookupReleaseLinkResult struct {
	// Full path for a [Direct Asset link](https://docs.gitlab.com/ee/user/project/releases/index.html#permanent-links-to-release-assets).
	DirectAssetUrl string `pulumi:"directAssetUrl"`
	// External or internal link.
	External bool `pulumi:"external"`
	// Relative path for a [Direct Asset link](https://docs.gitlab.com/ee/user/project/releases/index.html#permanent-links-to-release-assets).
	Filepath string `pulumi:"filepath"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The ID of the link.
	LinkId int `pulumi:"linkId"`
	// The type of the link. Valid values are `other`, `runbook`, `image`, `package`. Defaults to other.
	LinkType string `pulumi:"linkType"`
	// The name of the link. Link names must be unique within the release.
	Name string `pulumi:"name"`
	// The ID or [URL-encoded path of the project](https://docs.gitlab.com/ee/api/index.html#namespaced-path-encoding).
	Project string `pulumi:"project"`
	// The tag associated with the Release.
	TagName string `pulumi:"tagName"`
	// The URL of the link. Link URLs must be unique within the release.
	Url string `pulumi:"url"`
}

A collection of values returned by getReleaseLink.

func LookupReleaseLink(ctx *pulumi.Context, args *LookupReleaseLinkArgs, opts ...pulumi.InvokeOption) (*LookupReleaseLinkResult, error)

The `ReleaseLink` data source allows get details of a release link.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/releases/links.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.LookupReleaseLink(ctx, &gitlab.LookupReleaseLinkArgs{
			LinkId:  11,
			Project: "foo/bar",
			TagName: "v1.0.1",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupReleaseLinkResultOutput added in v4.8.0

type LookupReleaseLinkResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getReleaseLink.

func LookupReleaseLinkOutput added in v4.8.0

func (LookupReleaseLinkResultOutput) DirectAssetUrl added in v4.8.0

Full path for a [Direct Asset link](https://docs.gitlab.com/ee/user/project/releases/index.html#permanent-links-to-release-assets).

func (LookupReleaseLinkResultOutput) ElementType added in v4.8.0

func (LookupReleaseLinkResultOutput) External added in v4.8.0

External or internal link.

func (LookupReleaseLinkResultOutput) Filepath added in v4.8.0

Relative path for a [Direct Asset link](https://docs.gitlab.com/ee/user/project/releases/index.html#permanent-links-to-release-assets).

func (LookupReleaseLinkResultOutput) Id added in v4.8.0

The provider-assigned unique ID for this managed resource.

func (LookupReleaseLinkResultOutput) LinkId added in v4.8.0

The ID of the link.

func (LookupReleaseLinkResultOutput) LinkType added in v4.8.0

The type of the link. Valid values are `other`, `runbook`, `image`, `package`. Defaults to other.

func (LookupReleaseLinkResultOutput) Name added in v4.8.0

The name of the link. Link names must be unique within the release.

func (LookupReleaseLinkResultOutput) Project added in v4.8.0

The ID or [URL-encoded path of the project](https://docs.gitlab.com/ee/api/index.html#namespaced-path-encoding).

func (LookupReleaseLinkResultOutput) TagName added in v4.8.0

The tag associated with the Release.

func (LookupReleaseLinkResultOutput) ToLookupReleaseLinkResultOutput added in v4.8.0

func (o LookupReleaseLinkResultOutput) ToLookupReleaseLinkResultOutput() LookupReleaseLinkResultOutput

func (LookupReleaseLinkResultOutput) ToLookupReleaseLinkResultOutputWithContext added in v4.8.0

func (o LookupReleaseLinkResultOutput) ToLookupReleaseLinkResultOutputWithContext(ctx context.Context) LookupReleaseLinkResultOutput

func (LookupReleaseLinkResultOutput) Url added in v4.8.0

The URL of the link. Link URLs must be unique within the release.

type LookupRepositoryFileArgs added in v4.7.0

type LookupRepositoryFileArgs struct {
	// The full path of the file. It must be relative to the root of the project without a leading slash `/`.
	FilePath string `pulumi:"filePath"`
	// The name or ID of the project.
	Project string `pulumi:"project"`
	// The name of branch, tag or commit.
	Ref string `pulumi:"ref"`
}

A collection of arguments for invoking getRepositoryFile.

type LookupRepositoryFileOutputArgs added in v4.7.0

type LookupRepositoryFileOutputArgs struct {
	// The full path of the file. It must be relative to the root of the project without a leading slash `/`.
	FilePath pulumi.StringInput `pulumi:"filePath"`
	// The name or ID of the project.
	Project pulumi.StringInput `pulumi:"project"`
	// The name of branch, tag or commit.
	Ref pulumi.StringInput `pulumi:"ref"`
}

A collection of arguments for invoking getRepositoryFile.

func (LookupRepositoryFileOutputArgs) ElementType added in v4.7.0

type LookupRepositoryFileResult added in v4.7.0

type LookupRepositoryFileResult struct {
	// The blob id.
	BlobId string `pulumi:"blobId"`
	// The commit id.
	CommitId string `pulumi:"commitId"`
	// File content. If the content is not yet base64 encoded, it will be encoded automatically. No other encoding is currently supported, because of a [GitLab API bug](https://gitlab.com/gitlab-org/gitlab/-/issues/342430).
	Content string `pulumi:"content"`
	// File content sha256 digest.
	ContentSha256 string `pulumi:"contentSha256"`
	// The file content encoding.
	Encoding string `pulumi:"encoding"`
	// Enables or disables the execute flag on the file. **Note**: requires GitLab 14.10 or newer.
	ExecuteFilemode bool `pulumi:"executeFilemode"`
	// The filename.
	FileName string `pulumi:"fileName"`
	// The full path of the file. It must be relative to the root of the project without a leading slash `/`.
	FilePath string `pulumi:"filePath"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The last known commit id.
	LastCommitId string `pulumi:"lastCommitId"`
	// The name or ID of the project.
	Project string `pulumi:"project"`
	// The name of branch, tag or commit.
	Ref string `pulumi:"ref"`
	// The file size.
	Size int `pulumi:"size"`
}

A collection of values returned by getRepositoryFile.

func LookupRepositoryFile added in v4.7.0

func LookupRepositoryFile(ctx *pulumi.Context, args *LookupRepositoryFileArgs, opts ...pulumi.InvokeOption) (*LookupRepositoryFileResult, error)

The `RepositoryFile` data source allows details of a file in a repository to be retrieved.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/repository_files.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.LookupRepositoryFile(ctx, &gitlab.LookupRepositoryFileArgs{
			FilePath: "README.md",
			Project:  "example",
			Ref:      "main",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupRepositoryFileResultOutput added in v4.7.0

type LookupRepositoryFileResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRepositoryFile.

func LookupRepositoryFileOutput added in v4.7.0

func (LookupRepositoryFileResultOutput) BlobId added in v4.7.0

The blob id.

func (LookupRepositoryFileResultOutput) CommitId added in v4.7.0

The commit id.

func (LookupRepositoryFileResultOutput) Content added in v4.7.0

File content. If the content is not yet base64 encoded, it will be encoded automatically. No other encoding is currently supported, because of a [GitLab API bug](https://gitlab.com/gitlab-org/gitlab/-/issues/342430).

func (LookupRepositoryFileResultOutput) ContentSha256 added in v4.7.0

File content sha256 digest.

func (LookupRepositoryFileResultOutput) ElementType added in v4.7.0

func (LookupRepositoryFileResultOutput) Encoding added in v4.7.0

The file content encoding.

func (LookupRepositoryFileResultOutput) ExecuteFilemode added in v4.8.0

Enables or disables the execute flag on the file. **Note**: requires GitLab 14.10 or newer.

func (LookupRepositoryFileResultOutput) FileName added in v4.7.0

The filename.

func (LookupRepositoryFileResultOutput) FilePath added in v4.7.0

The full path of the file. It must be relative to the root of the project without a leading slash `/`.

func (LookupRepositoryFileResultOutput) Id added in v4.7.0

The provider-assigned unique ID for this managed resource.

func (LookupRepositoryFileResultOutput) LastCommitId added in v4.7.0

The last known commit id.

func (LookupRepositoryFileResultOutput) Project added in v4.7.0

The name or ID of the project.

func (LookupRepositoryFileResultOutput) Ref added in v4.7.0

The name of branch, tag or commit.

func (LookupRepositoryFileResultOutput) Size added in v4.7.0

The file size.

func (LookupRepositoryFileResultOutput) ToLookupRepositoryFileResultOutput added in v4.7.0

func (o LookupRepositoryFileResultOutput) ToLookupRepositoryFileResultOutput() LookupRepositoryFileResultOutput

func (LookupRepositoryFileResultOutput) ToLookupRepositoryFileResultOutputWithContext added in v4.7.0

func (o LookupRepositoryFileResultOutput) ToLookupRepositoryFileResultOutputWithContext(ctx context.Context) LookupRepositoryFileResultOutput

type LookupUserArgs

type LookupUserArgs struct {
	// The public email address of the user. **Note**: before GitLab 14.8 the lookup was based on the users primary email address.
	Email *string `pulumi:"email"`
	// The ID of the user's namespace. Requires admin token to access this field. Available since GitLab 14.10.
	NamespaceId *int `pulumi:"namespaceId"`
	// The ID of the user.
	UserId *int `pulumi:"userId"`
	// The username of the user.
	Username *string `pulumi:"username"`
}

A collection of arguments for invoking getUser.

type LookupUserOutputArgs added in v4.3.0

type LookupUserOutputArgs struct {
	// The public email address of the user. **Note**: before GitLab 14.8 the lookup was based on the users primary email address.
	Email pulumi.StringPtrInput `pulumi:"email"`
	// The ID of the user's namespace. Requires admin token to access this field. Available since GitLab 14.10.
	NamespaceId pulumi.IntPtrInput `pulumi:"namespaceId"`
	// The ID of the user.
	UserId pulumi.IntPtrInput `pulumi:"userId"`
	// The username of the user.
	Username pulumi.StringPtrInput `pulumi:"username"`
}

A collection of arguments for invoking getUser.

func (LookupUserOutputArgs) ElementType added in v4.3.0

func (LookupUserOutputArgs) ElementType() reflect.Type

type LookupUserResult

type LookupUserResult struct {
	// The avatar URL of the user.
	AvatarUrl string `pulumi:"avatarUrl"`
	// The bio of the user.
	Bio string `pulumi:"bio"`
	// Whether the user can create groups.
	CanCreateGroup bool `pulumi:"canCreateGroup"`
	// Whether the user can create projects.
	CanCreateProject bool `pulumi:"canCreateProject"`
	// User's color scheme ID.
	ColorSchemeId int `pulumi:"colorSchemeId"`
	// Date the user was created at.
	CreatedAt string `pulumi:"createdAt"`
	// Current user's sign-in date.
	CurrentSignInAt string `pulumi:"currentSignInAt"`
	// The public email address of the user. **Note**: before GitLab 14.8 the lookup was based on the users primary email address.
	Email string `pulumi:"email"`
	// The external UID of the user.
	ExternUid string `pulumi:"externUid"`
	// Whether the user is external.
	External bool `pulumi:"external"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Whether the user is an admin.
	IsAdmin bool `pulumi:"isAdmin"`
	// Last user's sign-in date.
	LastSignInAt string `pulumi:"lastSignInAt"`
	// LinkedIn profile of the user.
	Linkedin string `pulumi:"linkedin"`
	// The location of the user.
	Location string `pulumi:"location"`
	// The name of the user.
	Name string `pulumi:"name"`
	// The ID of the user's namespace. Requires admin token to access this field. Available since GitLab 14.10.
	NamespaceId int `pulumi:"namespaceId"`
	// Admin notes for this user.
	Note string `pulumi:"note"`
	// The organization of the user.
	Organization string `pulumi:"organization"`
	// Number of projects the user can create.
	ProjectsLimit int `pulumi:"projectsLimit"`
	// Skype username of the user.
	Skype string `pulumi:"skype"`
	// Whether the user is active or blocked.
	State string `pulumi:"state"`
	// User's theme ID.
	ThemeId int `pulumi:"themeId"`
	// Twitter username of the user.
	Twitter string `pulumi:"twitter"`
	// Whether user's two-factor auth is enabled.
	TwoFactorEnabled bool `pulumi:"twoFactorEnabled"`
	// The ID of the user.
	UserId int `pulumi:"userId"`
	// The UID provider of the user.
	UserProvider string `pulumi:"userProvider"`
	// The username of the user.
	Username string `pulumi:"username"`
	// User's website URL.
	WebsiteUrl string `pulumi:"websiteUrl"`
}

A collection of values returned by getUser.

func LookupUser

func LookupUser(ctx *pulumi.Context, args *LookupUserArgs, opts ...pulumi.InvokeOption) (*LookupUserResult, error)

The `User` data source allows details of a user to be retrieved by either the user ID, username or email address.

> Some attributes might not be returned depending on if you're an admin or not.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/users.html#single-user)

type LookupUserResultOutput added in v4.3.0

type LookupUserResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getUser.

func LookupUserOutput added in v4.3.0

func LookupUserOutput(ctx *pulumi.Context, args LookupUserOutputArgs, opts ...pulumi.InvokeOption) LookupUserResultOutput

func (LookupUserResultOutput) AvatarUrl added in v4.3.0

The avatar URL of the user.

func (LookupUserResultOutput) Bio added in v4.3.0

The bio of the user.

func (LookupUserResultOutput) CanCreateGroup added in v4.3.0

func (o LookupUserResultOutput) CanCreateGroup() pulumi.BoolOutput

Whether the user can create groups.

func (LookupUserResultOutput) CanCreateProject added in v4.3.0

func (o LookupUserResultOutput) CanCreateProject() pulumi.BoolOutput

Whether the user can create projects.

func (LookupUserResultOutput) ColorSchemeId added in v4.3.0

func (o LookupUserResultOutput) ColorSchemeId() pulumi.IntOutput

User's color scheme ID.

func (LookupUserResultOutput) CreatedAt added in v4.3.0

Date the user was created at.

func (LookupUserResultOutput) CurrentSignInAt added in v4.3.0

func (o LookupUserResultOutput) CurrentSignInAt() pulumi.StringOutput

Current user's sign-in date.

func (LookupUserResultOutput) ElementType added in v4.3.0

func (LookupUserResultOutput) ElementType() reflect.Type

func (LookupUserResultOutput) Email added in v4.3.0

The public email address of the user. **Note**: before GitLab 14.8 the lookup was based on the users primary email address.

func (LookupUserResultOutput) ExternUid added in v4.3.0

The external UID of the user.

func (LookupUserResultOutput) External added in v4.3.0

Whether the user is external.

func (LookupUserResultOutput) Id added in v4.3.0

The provider-assigned unique ID for this managed resource.

func (LookupUserResultOutput) IsAdmin added in v4.3.0

Whether the user is an admin.

func (LookupUserResultOutput) LastSignInAt added in v4.3.0

func (o LookupUserResultOutput) LastSignInAt() pulumi.StringOutput

Last user's sign-in date.

func (LookupUserResultOutput) Linkedin added in v4.3.0

LinkedIn profile of the user.

func (LookupUserResultOutput) Location added in v4.3.0

The location of the user.

func (LookupUserResultOutput) Name added in v4.3.0

The name of the user.

func (LookupUserResultOutput) NamespaceId added in v4.8.0

func (o LookupUserResultOutput) NamespaceId() pulumi.IntOutput

The ID of the user's namespace. Requires admin token to access this field. Available since GitLab 14.10.

func (LookupUserResultOutput) Note added in v4.3.0

Admin notes for this user.

func (LookupUserResultOutput) Organization added in v4.3.0

func (o LookupUserResultOutput) Organization() pulumi.StringOutput

The organization of the user.

func (LookupUserResultOutput) ProjectsLimit added in v4.3.0

func (o LookupUserResultOutput) ProjectsLimit() pulumi.IntOutput

Number of projects the user can create.

func (LookupUserResultOutput) Skype added in v4.3.0

Skype username of the user.

func (LookupUserResultOutput) State added in v4.3.0

Whether the user is active or blocked.

func (LookupUserResultOutput) ThemeId added in v4.3.0

User's theme ID.

func (LookupUserResultOutput) ToLookupUserResultOutput added in v4.3.0

func (o LookupUserResultOutput) ToLookupUserResultOutput() LookupUserResultOutput

func (LookupUserResultOutput) ToLookupUserResultOutputWithContext added in v4.3.0

func (o LookupUserResultOutput) ToLookupUserResultOutputWithContext(ctx context.Context) LookupUserResultOutput

func (LookupUserResultOutput) Twitter added in v4.3.0

Twitter username of the user.

func (LookupUserResultOutput) TwoFactorEnabled added in v4.3.0

func (o LookupUserResultOutput) TwoFactorEnabled() pulumi.BoolOutput

Whether user's two-factor auth is enabled.

func (LookupUserResultOutput) UserId added in v4.3.0

The ID of the user.

func (LookupUserResultOutput) UserProvider added in v4.3.0

func (o LookupUserResultOutput) UserProvider() pulumi.StringOutput

The UID provider of the user.

func (LookupUserResultOutput) Username added in v4.3.0

The username of the user.

func (LookupUserResultOutput) WebsiteUrl added in v4.3.0

User's website URL.

type ManagedLicense added in v4.5.0

type ManagedLicense struct {
	pulumi.CustomResourceState

	// The approval status of the license. Valid values are: `approved`, `blacklisted`, `allowed`, `denied`. "approved" and "blacklisted"
	// 			have been deprecated in favor of "allowed" and "denied"; use "allowed" and "denied" for GitLab versions 15.0 and higher.
	// 			Prior to version 15.0 and after 14.6, the values are equivalent.
	ApprovalStatus pulumi.StringOutput `pulumi:"approvalStatus"`
	// The name of the managed license (I.e., 'Apache License 2.0' or 'MIT license')
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project under which the managed license will be created.
	Project pulumi.StringOutput `pulumi:"project"`
}

The `ManagedLicense` resource allows to manage the lifecycle of a managed license.

> This resource requires a GitLab Enterprise instance.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/managed_licenses.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foo, err := gitlab.NewProject(ctx, "foo", &gitlab.ProjectArgs{
			Description:     pulumi.String("Lorem Ipsum"),
			VisibilityLevel: pulumi.String("public"),
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewManagedLicense(ctx, "mit", &gitlab.ManagedLicenseArgs{
			Project:        foo.ID(),
			ApprovalStatus: pulumi.String("allowed"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

You can import this resource with an id made up of `{project-id}:{license-id}`, e.g.

```sh

$ pulumi import gitlab:index/managedLicense:ManagedLicense foo 1:2

```

func GetManagedLicense added in v4.5.0

func GetManagedLicense(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ManagedLicenseState, opts ...pulumi.ResourceOption) (*ManagedLicense, error)

GetManagedLicense gets an existing ManagedLicense resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewManagedLicense added in v4.5.0

func NewManagedLicense(ctx *pulumi.Context,
	name string, args *ManagedLicenseArgs, opts ...pulumi.ResourceOption) (*ManagedLicense, error)

NewManagedLicense registers a new resource with the given unique name, arguments, and options.

func (*ManagedLicense) ElementType added in v4.5.0

func (*ManagedLicense) ElementType() reflect.Type

func (*ManagedLicense) ToManagedLicenseOutput added in v4.5.0

func (i *ManagedLicense) ToManagedLicenseOutput() ManagedLicenseOutput

func (*ManagedLicense) ToManagedLicenseOutputWithContext added in v4.5.0

func (i *ManagedLicense) ToManagedLicenseOutputWithContext(ctx context.Context) ManagedLicenseOutput

type ManagedLicenseArgs added in v4.5.0

type ManagedLicenseArgs struct {
	// The approval status of the license. Valid values are: `approved`, `blacklisted`, `allowed`, `denied`. "approved" and "blacklisted"
	// 			have been deprecated in favor of "allowed" and "denied"; use "allowed" and "denied" for GitLab versions 15.0 and higher.
	// 			Prior to version 15.0 and after 14.6, the values are equivalent.
	ApprovalStatus pulumi.StringInput
	// The name of the managed license (I.e., 'Apache License 2.0' or 'MIT license')
	Name pulumi.StringPtrInput
	// The ID of the project under which the managed license will be created.
	Project pulumi.StringInput
}

The set of arguments for constructing a ManagedLicense resource.

func (ManagedLicenseArgs) ElementType added in v4.5.0

func (ManagedLicenseArgs) ElementType() reflect.Type

type ManagedLicenseArray added in v4.5.0

type ManagedLicenseArray []ManagedLicenseInput

func (ManagedLicenseArray) ElementType added in v4.5.0

func (ManagedLicenseArray) ElementType() reflect.Type

func (ManagedLicenseArray) ToManagedLicenseArrayOutput added in v4.5.0

func (i ManagedLicenseArray) ToManagedLicenseArrayOutput() ManagedLicenseArrayOutput

func (ManagedLicenseArray) ToManagedLicenseArrayOutputWithContext added in v4.5.0

func (i ManagedLicenseArray) ToManagedLicenseArrayOutputWithContext(ctx context.Context) ManagedLicenseArrayOutput

type ManagedLicenseArrayInput added in v4.5.0

type ManagedLicenseArrayInput interface {
	pulumi.Input

	ToManagedLicenseArrayOutput() ManagedLicenseArrayOutput
	ToManagedLicenseArrayOutputWithContext(context.Context) ManagedLicenseArrayOutput
}

ManagedLicenseArrayInput is an input type that accepts ManagedLicenseArray and ManagedLicenseArrayOutput values. You can construct a concrete instance of `ManagedLicenseArrayInput` via:

ManagedLicenseArray{ ManagedLicenseArgs{...} }

type ManagedLicenseArrayOutput added in v4.5.0

type ManagedLicenseArrayOutput struct{ *pulumi.OutputState }

func (ManagedLicenseArrayOutput) ElementType added in v4.5.0

func (ManagedLicenseArrayOutput) ElementType() reflect.Type

func (ManagedLicenseArrayOutput) Index added in v4.5.0

func (ManagedLicenseArrayOutput) ToManagedLicenseArrayOutput added in v4.5.0

func (o ManagedLicenseArrayOutput) ToManagedLicenseArrayOutput() ManagedLicenseArrayOutput

func (ManagedLicenseArrayOutput) ToManagedLicenseArrayOutputWithContext added in v4.5.0

func (o ManagedLicenseArrayOutput) ToManagedLicenseArrayOutputWithContext(ctx context.Context) ManagedLicenseArrayOutput

type ManagedLicenseInput added in v4.5.0

type ManagedLicenseInput interface {
	pulumi.Input

	ToManagedLicenseOutput() ManagedLicenseOutput
	ToManagedLicenseOutputWithContext(ctx context.Context) ManagedLicenseOutput
}

type ManagedLicenseMap added in v4.5.0

type ManagedLicenseMap map[string]ManagedLicenseInput

func (ManagedLicenseMap) ElementType added in v4.5.0

func (ManagedLicenseMap) ElementType() reflect.Type

func (ManagedLicenseMap) ToManagedLicenseMapOutput added in v4.5.0

func (i ManagedLicenseMap) ToManagedLicenseMapOutput() ManagedLicenseMapOutput

func (ManagedLicenseMap) ToManagedLicenseMapOutputWithContext added in v4.5.0

func (i ManagedLicenseMap) ToManagedLicenseMapOutputWithContext(ctx context.Context) ManagedLicenseMapOutput

type ManagedLicenseMapInput added in v4.5.0

type ManagedLicenseMapInput interface {
	pulumi.Input

	ToManagedLicenseMapOutput() ManagedLicenseMapOutput
	ToManagedLicenseMapOutputWithContext(context.Context) ManagedLicenseMapOutput
}

ManagedLicenseMapInput is an input type that accepts ManagedLicenseMap and ManagedLicenseMapOutput values. You can construct a concrete instance of `ManagedLicenseMapInput` via:

ManagedLicenseMap{ "key": ManagedLicenseArgs{...} }

type ManagedLicenseMapOutput added in v4.5.0

type ManagedLicenseMapOutput struct{ *pulumi.OutputState }

func (ManagedLicenseMapOutput) ElementType added in v4.5.0

func (ManagedLicenseMapOutput) ElementType() reflect.Type

func (ManagedLicenseMapOutput) MapIndex added in v4.5.0

func (ManagedLicenseMapOutput) ToManagedLicenseMapOutput added in v4.5.0

func (o ManagedLicenseMapOutput) ToManagedLicenseMapOutput() ManagedLicenseMapOutput

func (ManagedLicenseMapOutput) ToManagedLicenseMapOutputWithContext added in v4.5.0

func (o ManagedLicenseMapOutput) ToManagedLicenseMapOutputWithContext(ctx context.Context) ManagedLicenseMapOutput

type ManagedLicenseOutput added in v4.5.0

type ManagedLicenseOutput struct{ *pulumi.OutputState }

func (ManagedLicenseOutput) ApprovalStatus added in v4.7.1

func (o ManagedLicenseOutput) ApprovalStatus() pulumi.StringOutput

The approval status of the license. Valid values are: `approved`, `blacklisted`, `allowed`, `denied`. "approved" and "blacklisted"

have been deprecated in favor of "allowed" and "denied"; use "allowed" and "denied" for GitLab versions 15.0 and higher.
Prior to version 15.0 and after 14.6, the values are equivalent.

func (ManagedLicenseOutput) ElementType added in v4.5.0

func (ManagedLicenseOutput) ElementType() reflect.Type

func (ManagedLicenseOutput) Name added in v4.7.1

The name of the managed license (I.e., 'Apache License 2.0' or 'MIT license')

func (ManagedLicenseOutput) Project added in v4.7.1

The ID of the project under which the managed license will be created.

func (ManagedLicenseOutput) ToManagedLicenseOutput added in v4.5.0

func (o ManagedLicenseOutput) ToManagedLicenseOutput() ManagedLicenseOutput

func (ManagedLicenseOutput) ToManagedLicenseOutputWithContext added in v4.5.0

func (o ManagedLicenseOutput) ToManagedLicenseOutputWithContext(ctx context.Context) ManagedLicenseOutput

type ManagedLicenseState added in v4.5.0

type ManagedLicenseState struct {
	// The approval status of the license. Valid values are: `approved`, `blacklisted`, `allowed`, `denied`. "approved" and "blacklisted"
	// 			have been deprecated in favor of "allowed" and "denied"; use "allowed" and "denied" for GitLab versions 15.0 and higher.
	// 			Prior to version 15.0 and after 14.6, the values are equivalent.
	ApprovalStatus pulumi.StringPtrInput
	// The name of the managed license (I.e., 'Apache License 2.0' or 'MIT license')
	Name pulumi.StringPtrInput
	// The ID of the project under which the managed license will be created.
	Project pulumi.StringPtrInput
}

func (ManagedLicenseState) ElementType added in v4.5.0

func (ManagedLicenseState) ElementType() reflect.Type

type PersonalAccessToken added in v4.8.0

type PersonalAccessToken struct {
	pulumi.CustomResourceState

	// True if the token is active.
	Active pulumi.BoolOutput `pulumi:"active"`
	// Time the token has been created, RFC3339 format.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The token expires at midnight UTC on that date. The date must be in the format YYYY-MM-DD. Default is never.
	ExpiresAt pulumi.StringPtrOutput `pulumi:"expiresAt"`
	// The name of the personal access token.
	Name pulumi.StringOutput `pulumi:"name"`
	// True if the token is revoked.
	Revoked pulumi.BoolOutput `pulumi:"revoked"`
	// The scope for the personal access token. It determines the actions which can be performed when authenticating with this token. Valid values are: `api`, `readUser`, `readApi`, `readRepository`, `writeRepository`, `readRegistry`, `writeRegistry`, `sudo`.
	Scopes pulumi.StringArrayOutput `pulumi:"scopes"`
	// The personal access token. This is only populated when creating a new personal access token. This attribute is not available for imported resources.
	Token pulumi.StringOutput `pulumi:"token"`
	// The id of the user.
	UserId pulumi.IntOutput `pulumi:"userId"`
}

The `PersonalAccessToken` resource allows to manage the lifecycle of a personal access token for a specified user.

> This resource requires administration privileges.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/personal_access_tokens.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		examplePersonalAccessToken, err := gitlab.NewPersonalAccessToken(ctx, "examplePersonalAccessToken", &gitlab.PersonalAccessTokenArgs{
			UserId:    pulumi.Int(25),
			ExpiresAt: pulumi.String("2020-03-14"),
			Scopes: pulumi.StringArray{
				pulumi.String("api"),
			},
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewProjectVariable(ctx, "exampleProjectVariable", &gitlab.ProjectVariableArgs{
			Project: pulumi.Any(gitlab_project.Example.Id),
			Key:     pulumi.String("pat"),
			Value:   examplePersonalAccessToken.Token,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

A GitLab Personal Access Token can be imported using a key composed of `<user-id>:<token-id>`, e.g.

```sh

$ pulumi import gitlab:index/personalAccessToken:PersonalAccessToken example "12345:1"

```

NOTEthe `token` resource attribute is not available for imported resources as this information cannot be read from the GitLab API.

func GetPersonalAccessToken added in v4.8.0

func GetPersonalAccessToken(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PersonalAccessTokenState, opts ...pulumi.ResourceOption) (*PersonalAccessToken, error)

GetPersonalAccessToken gets an existing PersonalAccessToken resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPersonalAccessToken added in v4.8.0

func NewPersonalAccessToken(ctx *pulumi.Context,
	name string, args *PersonalAccessTokenArgs, opts ...pulumi.ResourceOption) (*PersonalAccessToken, error)

NewPersonalAccessToken registers a new resource with the given unique name, arguments, and options.

func (*PersonalAccessToken) ElementType added in v4.8.0

func (*PersonalAccessToken) ElementType() reflect.Type

func (*PersonalAccessToken) ToPersonalAccessTokenOutput added in v4.8.0

func (i *PersonalAccessToken) ToPersonalAccessTokenOutput() PersonalAccessTokenOutput

func (*PersonalAccessToken) ToPersonalAccessTokenOutputWithContext added in v4.8.0

func (i *PersonalAccessToken) ToPersonalAccessTokenOutputWithContext(ctx context.Context) PersonalAccessTokenOutput

type PersonalAccessTokenArgs added in v4.8.0

type PersonalAccessTokenArgs struct {
	// The token expires at midnight UTC on that date. The date must be in the format YYYY-MM-DD. Default is never.
	ExpiresAt pulumi.StringPtrInput
	// The name of the personal access token.
	Name pulumi.StringPtrInput
	// The scope for the personal access token. It determines the actions which can be performed when authenticating with this token. Valid values are: `api`, `readUser`, `readApi`, `readRepository`, `writeRepository`, `readRegistry`, `writeRegistry`, `sudo`.
	Scopes pulumi.StringArrayInput
	// The id of the user.
	UserId pulumi.IntInput
}

The set of arguments for constructing a PersonalAccessToken resource.

func (PersonalAccessTokenArgs) ElementType added in v4.8.0

func (PersonalAccessTokenArgs) ElementType() reflect.Type

type PersonalAccessTokenArray added in v4.8.0

type PersonalAccessTokenArray []PersonalAccessTokenInput

func (PersonalAccessTokenArray) ElementType added in v4.8.0

func (PersonalAccessTokenArray) ElementType() reflect.Type

func (PersonalAccessTokenArray) ToPersonalAccessTokenArrayOutput added in v4.8.0

func (i PersonalAccessTokenArray) ToPersonalAccessTokenArrayOutput() PersonalAccessTokenArrayOutput

func (PersonalAccessTokenArray) ToPersonalAccessTokenArrayOutputWithContext added in v4.8.0

func (i PersonalAccessTokenArray) ToPersonalAccessTokenArrayOutputWithContext(ctx context.Context) PersonalAccessTokenArrayOutput

type PersonalAccessTokenArrayInput added in v4.8.0

type PersonalAccessTokenArrayInput interface {
	pulumi.Input

	ToPersonalAccessTokenArrayOutput() PersonalAccessTokenArrayOutput
	ToPersonalAccessTokenArrayOutputWithContext(context.Context) PersonalAccessTokenArrayOutput
}

PersonalAccessTokenArrayInput is an input type that accepts PersonalAccessTokenArray and PersonalAccessTokenArrayOutput values. You can construct a concrete instance of `PersonalAccessTokenArrayInput` via:

PersonalAccessTokenArray{ PersonalAccessTokenArgs{...} }

type PersonalAccessTokenArrayOutput added in v4.8.0

type PersonalAccessTokenArrayOutput struct{ *pulumi.OutputState }

func (PersonalAccessTokenArrayOutput) ElementType added in v4.8.0

func (PersonalAccessTokenArrayOutput) Index added in v4.8.0

func (PersonalAccessTokenArrayOutput) ToPersonalAccessTokenArrayOutput added in v4.8.0

func (o PersonalAccessTokenArrayOutput) ToPersonalAccessTokenArrayOutput() PersonalAccessTokenArrayOutput

func (PersonalAccessTokenArrayOutput) ToPersonalAccessTokenArrayOutputWithContext added in v4.8.0

func (o PersonalAccessTokenArrayOutput) ToPersonalAccessTokenArrayOutputWithContext(ctx context.Context) PersonalAccessTokenArrayOutput

type PersonalAccessTokenInput added in v4.8.0

type PersonalAccessTokenInput interface {
	pulumi.Input

	ToPersonalAccessTokenOutput() PersonalAccessTokenOutput
	ToPersonalAccessTokenOutputWithContext(ctx context.Context) PersonalAccessTokenOutput
}

type PersonalAccessTokenMap added in v4.8.0

type PersonalAccessTokenMap map[string]PersonalAccessTokenInput

func (PersonalAccessTokenMap) ElementType added in v4.8.0

func (PersonalAccessTokenMap) ElementType() reflect.Type

func (PersonalAccessTokenMap) ToPersonalAccessTokenMapOutput added in v4.8.0

func (i PersonalAccessTokenMap) ToPersonalAccessTokenMapOutput() PersonalAccessTokenMapOutput

func (PersonalAccessTokenMap) ToPersonalAccessTokenMapOutputWithContext added in v4.8.0

func (i PersonalAccessTokenMap) ToPersonalAccessTokenMapOutputWithContext(ctx context.Context) PersonalAccessTokenMapOutput

type PersonalAccessTokenMapInput added in v4.8.0

type PersonalAccessTokenMapInput interface {
	pulumi.Input

	ToPersonalAccessTokenMapOutput() PersonalAccessTokenMapOutput
	ToPersonalAccessTokenMapOutputWithContext(context.Context) PersonalAccessTokenMapOutput
}

PersonalAccessTokenMapInput is an input type that accepts PersonalAccessTokenMap and PersonalAccessTokenMapOutput values. You can construct a concrete instance of `PersonalAccessTokenMapInput` via:

PersonalAccessTokenMap{ "key": PersonalAccessTokenArgs{...} }

type PersonalAccessTokenMapOutput added in v4.8.0

type PersonalAccessTokenMapOutput struct{ *pulumi.OutputState }

func (PersonalAccessTokenMapOutput) ElementType added in v4.8.0

func (PersonalAccessTokenMapOutput) MapIndex added in v4.8.0

func (PersonalAccessTokenMapOutput) ToPersonalAccessTokenMapOutput added in v4.8.0

func (o PersonalAccessTokenMapOutput) ToPersonalAccessTokenMapOutput() PersonalAccessTokenMapOutput

func (PersonalAccessTokenMapOutput) ToPersonalAccessTokenMapOutputWithContext added in v4.8.0

func (o PersonalAccessTokenMapOutput) ToPersonalAccessTokenMapOutputWithContext(ctx context.Context) PersonalAccessTokenMapOutput

type PersonalAccessTokenOutput added in v4.8.0

type PersonalAccessTokenOutput struct{ *pulumi.OutputState }

func (PersonalAccessTokenOutput) Active added in v4.8.0

True if the token is active.

func (PersonalAccessTokenOutput) CreatedAt added in v4.8.0

Time the token has been created, RFC3339 format.

func (PersonalAccessTokenOutput) ElementType added in v4.8.0

func (PersonalAccessTokenOutput) ElementType() reflect.Type

func (PersonalAccessTokenOutput) ExpiresAt added in v4.8.0

The token expires at midnight UTC on that date. The date must be in the format YYYY-MM-DD. Default is never.

func (PersonalAccessTokenOutput) Name added in v4.8.0

The name of the personal access token.

func (PersonalAccessTokenOutput) Revoked added in v4.8.0

True if the token is revoked.

func (PersonalAccessTokenOutput) Scopes added in v4.8.0

The scope for the personal access token. It determines the actions which can be performed when authenticating with this token. Valid values are: `api`, `readUser`, `readApi`, `readRepository`, `writeRepository`, `readRegistry`, `writeRegistry`, `sudo`.

func (PersonalAccessTokenOutput) ToPersonalAccessTokenOutput added in v4.8.0

func (o PersonalAccessTokenOutput) ToPersonalAccessTokenOutput() PersonalAccessTokenOutput

func (PersonalAccessTokenOutput) ToPersonalAccessTokenOutputWithContext added in v4.8.0

func (o PersonalAccessTokenOutput) ToPersonalAccessTokenOutputWithContext(ctx context.Context) PersonalAccessTokenOutput

func (PersonalAccessTokenOutput) Token added in v4.8.0

The personal access token. This is only populated when creating a new personal access token. This attribute is not available for imported resources.

func (PersonalAccessTokenOutput) UserId added in v4.8.0

The id of the user.

type PersonalAccessTokenState added in v4.8.0

type PersonalAccessTokenState struct {
	// True if the token is active.
	Active pulumi.BoolPtrInput
	// Time the token has been created, RFC3339 format.
	CreatedAt pulumi.StringPtrInput
	// The token expires at midnight UTC on that date. The date must be in the format YYYY-MM-DD. Default is never.
	ExpiresAt pulumi.StringPtrInput
	// The name of the personal access token.
	Name pulumi.StringPtrInput
	// True if the token is revoked.
	Revoked pulumi.BoolPtrInput
	// The scope for the personal access token. It determines the actions which can be performed when authenticating with this token. Valid values are: `api`, `readUser`, `readApi`, `readRepository`, `writeRepository`, `readRegistry`, `writeRegistry`, `sudo`.
	Scopes pulumi.StringArrayInput
	// The personal access token. This is only populated when creating a new personal access token. This attribute is not available for imported resources.
	Token pulumi.StringPtrInput
	// The id of the user.
	UserId pulumi.IntPtrInput
}

func (PersonalAccessTokenState) ElementType added in v4.8.0

func (PersonalAccessTokenState) ElementType() reflect.Type

type PipelineSchedule

type PipelineSchedule struct {
	pulumi.CustomResourceState

	// The activation of pipeline schedule. If false is set, the pipeline schedule will deactivated initially.
	Active pulumi.BoolPtrOutput `pulumi:"active"`
	// The cron (e.g. `0 1 * * *`).
	Cron pulumi.StringOutput `pulumi:"cron"`
	// The timezone.
	CronTimezone pulumi.StringPtrOutput `pulumi:"cronTimezone"`
	// The description of the pipeline schedule.
	Description pulumi.StringOutput `pulumi:"description"`
	// The name or id of the project to add the schedule to.
	Project pulumi.StringOutput `pulumi:"project"`
	// The branch/tag name to be triggered.
	Ref pulumi.StringOutput `pulumi:"ref"`
}

The `PipelineSchedule` resource allows to manage the lifecycle of a scheduled pipeline.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/pipeline_schedules.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewPipelineSchedule(ctx, "example", &gitlab.PipelineScheduleArgs{
			Cron:        pulumi.String("0 1 * * *"),
			Description: pulumi.String("Used to schedule builds"),
			Project:     pulumi.String("12345"),
			Ref:         pulumi.String("master"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GitLab pipeline schedules can be imported using an id made up of `{project_id}:{pipeline_schedule_id}`, e.g.

```sh

$ pulumi import gitlab:index/pipelineSchedule:PipelineSchedule test 1:3

```

func GetPipelineSchedule

func GetPipelineSchedule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PipelineScheduleState, opts ...pulumi.ResourceOption) (*PipelineSchedule, error)

GetPipelineSchedule gets an existing PipelineSchedule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPipelineSchedule

func NewPipelineSchedule(ctx *pulumi.Context,
	name string, args *PipelineScheduleArgs, opts ...pulumi.ResourceOption) (*PipelineSchedule, error)

NewPipelineSchedule registers a new resource with the given unique name, arguments, and options.

func (*PipelineSchedule) ElementType

func (*PipelineSchedule) ElementType() reflect.Type

func (*PipelineSchedule) ToPipelineScheduleOutput

func (i *PipelineSchedule) ToPipelineScheduleOutput() PipelineScheduleOutput

func (*PipelineSchedule) ToPipelineScheduleOutputWithContext

func (i *PipelineSchedule) ToPipelineScheduleOutputWithContext(ctx context.Context) PipelineScheduleOutput

type PipelineScheduleArgs

type PipelineScheduleArgs struct {
	// The activation of pipeline schedule. If false is set, the pipeline schedule will deactivated initially.
	Active pulumi.BoolPtrInput
	// The cron (e.g. `0 1 * * *`).
	Cron pulumi.StringInput
	// The timezone.
	CronTimezone pulumi.StringPtrInput
	// The description of the pipeline schedule.
	Description pulumi.StringInput
	// The name or id of the project to add the schedule to.
	Project pulumi.StringInput
	// The branch/tag name to be triggered.
	Ref pulumi.StringInput
}

The set of arguments for constructing a PipelineSchedule resource.

func (PipelineScheduleArgs) ElementType

func (PipelineScheduleArgs) ElementType() reflect.Type

type PipelineScheduleArray

type PipelineScheduleArray []PipelineScheduleInput

func (PipelineScheduleArray) ElementType

func (PipelineScheduleArray) ElementType() reflect.Type

func (PipelineScheduleArray) ToPipelineScheduleArrayOutput

func (i PipelineScheduleArray) ToPipelineScheduleArrayOutput() PipelineScheduleArrayOutput

func (PipelineScheduleArray) ToPipelineScheduleArrayOutputWithContext

func (i PipelineScheduleArray) ToPipelineScheduleArrayOutputWithContext(ctx context.Context) PipelineScheduleArrayOutput

type PipelineScheduleArrayInput

type PipelineScheduleArrayInput interface {
	pulumi.Input

	ToPipelineScheduleArrayOutput() PipelineScheduleArrayOutput
	ToPipelineScheduleArrayOutputWithContext(context.Context) PipelineScheduleArrayOutput
}

PipelineScheduleArrayInput is an input type that accepts PipelineScheduleArray and PipelineScheduleArrayOutput values. You can construct a concrete instance of `PipelineScheduleArrayInput` via:

PipelineScheduleArray{ PipelineScheduleArgs{...} }

type PipelineScheduleArrayOutput

type PipelineScheduleArrayOutput struct{ *pulumi.OutputState }

func (PipelineScheduleArrayOutput) ElementType

func (PipelineScheduleArrayOutput) Index

func (PipelineScheduleArrayOutput) ToPipelineScheduleArrayOutput

func (o PipelineScheduleArrayOutput) ToPipelineScheduleArrayOutput() PipelineScheduleArrayOutput

func (PipelineScheduleArrayOutput) ToPipelineScheduleArrayOutputWithContext

func (o PipelineScheduleArrayOutput) ToPipelineScheduleArrayOutputWithContext(ctx context.Context) PipelineScheduleArrayOutput

type PipelineScheduleInput

type PipelineScheduleInput interface {
	pulumi.Input

	ToPipelineScheduleOutput() PipelineScheduleOutput
	ToPipelineScheduleOutputWithContext(ctx context.Context) PipelineScheduleOutput
}

type PipelineScheduleMap

type PipelineScheduleMap map[string]PipelineScheduleInput

func (PipelineScheduleMap) ElementType

func (PipelineScheduleMap) ElementType() reflect.Type

func (PipelineScheduleMap) ToPipelineScheduleMapOutput

func (i PipelineScheduleMap) ToPipelineScheduleMapOutput() PipelineScheduleMapOutput

func (PipelineScheduleMap) ToPipelineScheduleMapOutputWithContext

func (i PipelineScheduleMap) ToPipelineScheduleMapOutputWithContext(ctx context.Context) PipelineScheduleMapOutput

type PipelineScheduleMapInput

type PipelineScheduleMapInput interface {
	pulumi.Input

	ToPipelineScheduleMapOutput() PipelineScheduleMapOutput
	ToPipelineScheduleMapOutputWithContext(context.Context) PipelineScheduleMapOutput
}

PipelineScheduleMapInput is an input type that accepts PipelineScheduleMap and PipelineScheduleMapOutput values. You can construct a concrete instance of `PipelineScheduleMapInput` via:

PipelineScheduleMap{ "key": PipelineScheduleArgs{...} }

type PipelineScheduleMapOutput

type PipelineScheduleMapOutput struct{ *pulumi.OutputState }

func (PipelineScheduleMapOutput) ElementType

func (PipelineScheduleMapOutput) ElementType() reflect.Type

func (PipelineScheduleMapOutput) MapIndex

func (PipelineScheduleMapOutput) ToPipelineScheduleMapOutput

func (o PipelineScheduleMapOutput) ToPipelineScheduleMapOutput() PipelineScheduleMapOutput

func (PipelineScheduleMapOutput) ToPipelineScheduleMapOutputWithContext

func (o PipelineScheduleMapOutput) ToPipelineScheduleMapOutputWithContext(ctx context.Context) PipelineScheduleMapOutput

type PipelineScheduleOutput

type PipelineScheduleOutput struct{ *pulumi.OutputState }

func (PipelineScheduleOutput) Active added in v4.7.1

The activation of pipeline schedule. If false is set, the pipeline schedule will deactivated initially.

func (PipelineScheduleOutput) Cron added in v4.7.1

The cron (e.g. `0 1 * * *`).

func (PipelineScheduleOutput) CronTimezone added in v4.7.1

The timezone.

func (PipelineScheduleOutput) Description added in v4.7.1

func (o PipelineScheduleOutput) Description() pulumi.StringOutput

The description of the pipeline schedule.

func (PipelineScheduleOutput) ElementType

func (PipelineScheduleOutput) ElementType() reflect.Type

func (PipelineScheduleOutput) Project added in v4.7.1

The name or id of the project to add the schedule to.

func (PipelineScheduleOutput) Ref added in v4.7.1

The branch/tag name to be triggered.

func (PipelineScheduleOutput) ToPipelineScheduleOutput

func (o PipelineScheduleOutput) ToPipelineScheduleOutput() PipelineScheduleOutput

func (PipelineScheduleOutput) ToPipelineScheduleOutputWithContext

func (o PipelineScheduleOutput) ToPipelineScheduleOutputWithContext(ctx context.Context) PipelineScheduleOutput

type PipelineScheduleState

type PipelineScheduleState struct {
	// The activation of pipeline schedule. If false is set, the pipeline schedule will deactivated initially.
	Active pulumi.BoolPtrInput
	// The cron (e.g. `0 1 * * *`).
	Cron pulumi.StringPtrInput
	// The timezone.
	CronTimezone pulumi.StringPtrInput
	// The description of the pipeline schedule.
	Description pulumi.StringPtrInput
	// The name or id of the project to add the schedule to.
	Project pulumi.StringPtrInput
	// The branch/tag name to be triggered.
	Ref pulumi.StringPtrInput
}

func (PipelineScheduleState) ElementType

func (PipelineScheduleState) ElementType() reflect.Type

type PipelineScheduleVariable

type PipelineScheduleVariable struct {
	pulumi.CustomResourceState

	// Name of the variable.
	Key pulumi.StringOutput `pulumi:"key"`
	// The id of the pipeline schedule.
	PipelineScheduleId pulumi.IntOutput `pulumi:"pipelineScheduleId"`
	// The id of the project to add the schedule to.
	Project pulumi.StringOutput `pulumi:"project"`
	// Value of the variable.
	Value pulumi.StringOutput `pulumi:"value"`
}

The `PipelineScheduleVariable` resource allows to manage the lifecycle of a variable for a pipeline schedule.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/pipeline_schedules.html#pipeline-schedule-variables)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		examplePipelineSchedule, err := gitlab.NewPipelineSchedule(ctx, "examplePipelineSchedule", &gitlab.PipelineScheduleArgs{
			Project:     pulumi.String("12345"),
			Description: pulumi.String("Used to schedule builds"),
			Ref:         pulumi.String("master"),
			Cron:        pulumi.String("0 1 * * *"),
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewPipelineScheduleVariable(ctx, "examplePipelineScheduleVariable", &gitlab.PipelineScheduleVariableArgs{
			Project:            examplePipelineSchedule.Project,
			PipelineScheduleId: examplePipelineSchedule.ID(),
			Key:                pulumi.String("EXAMPLE_KEY"),
			Value:              pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Pipeline schedule variables can be imported using an id made up of `project_id:pipeline_schedule_id:key`, e.g.

```sh

$ pulumi import gitlab:index/pipelineScheduleVariable:PipelineScheduleVariable example 123456789:13:mykey

```

func GetPipelineScheduleVariable

func GetPipelineScheduleVariable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PipelineScheduleVariableState, opts ...pulumi.ResourceOption) (*PipelineScheduleVariable, error)

GetPipelineScheduleVariable gets an existing PipelineScheduleVariable resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPipelineScheduleVariable

func NewPipelineScheduleVariable(ctx *pulumi.Context,
	name string, args *PipelineScheduleVariableArgs, opts ...pulumi.ResourceOption) (*PipelineScheduleVariable, error)

NewPipelineScheduleVariable registers a new resource with the given unique name, arguments, and options.

func (*PipelineScheduleVariable) ElementType

func (*PipelineScheduleVariable) ElementType() reflect.Type

func (*PipelineScheduleVariable) ToPipelineScheduleVariableOutput

func (i *PipelineScheduleVariable) ToPipelineScheduleVariableOutput() PipelineScheduleVariableOutput

func (*PipelineScheduleVariable) ToPipelineScheduleVariableOutputWithContext

func (i *PipelineScheduleVariable) ToPipelineScheduleVariableOutputWithContext(ctx context.Context) PipelineScheduleVariableOutput

type PipelineScheduleVariableArgs

type PipelineScheduleVariableArgs struct {
	// Name of the variable.
	Key pulumi.StringInput
	// The id of the pipeline schedule.
	PipelineScheduleId pulumi.IntInput
	// The id of the project to add the schedule to.
	Project pulumi.StringInput
	// Value of the variable.
	Value pulumi.StringInput
}

The set of arguments for constructing a PipelineScheduleVariable resource.

func (PipelineScheduleVariableArgs) ElementType

type PipelineScheduleVariableArray

type PipelineScheduleVariableArray []PipelineScheduleVariableInput

func (PipelineScheduleVariableArray) ElementType

func (PipelineScheduleVariableArray) ToPipelineScheduleVariableArrayOutput

func (i PipelineScheduleVariableArray) ToPipelineScheduleVariableArrayOutput() PipelineScheduleVariableArrayOutput

func (PipelineScheduleVariableArray) ToPipelineScheduleVariableArrayOutputWithContext

func (i PipelineScheduleVariableArray) ToPipelineScheduleVariableArrayOutputWithContext(ctx context.Context) PipelineScheduleVariableArrayOutput

type PipelineScheduleVariableArrayInput

type PipelineScheduleVariableArrayInput interface {
	pulumi.Input

	ToPipelineScheduleVariableArrayOutput() PipelineScheduleVariableArrayOutput
	ToPipelineScheduleVariableArrayOutputWithContext(context.Context) PipelineScheduleVariableArrayOutput
}

PipelineScheduleVariableArrayInput is an input type that accepts PipelineScheduleVariableArray and PipelineScheduleVariableArrayOutput values. You can construct a concrete instance of `PipelineScheduleVariableArrayInput` via:

PipelineScheduleVariableArray{ PipelineScheduleVariableArgs{...} }

type PipelineScheduleVariableArrayOutput

type PipelineScheduleVariableArrayOutput struct{ *pulumi.OutputState }

func (PipelineScheduleVariableArrayOutput) ElementType

func (PipelineScheduleVariableArrayOutput) Index

func (PipelineScheduleVariableArrayOutput) ToPipelineScheduleVariableArrayOutput

func (o PipelineScheduleVariableArrayOutput) ToPipelineScheduleVariableArrayOutput() PipelineScheduleVariableArrayOutput

func (PipelineScheduleVariableArrayOutput) ToPipelineScheduleVariableArrayOutputWithContext

func (o PipelineScheduleVariableArrayOutput) ToPipelineScheduleVariableArrayOutputWithContext(ctx context.Context) PipelineScheduleVariableArrayOutput

type PipelineScheduleVariableInput

type PipelineScheduleVariableInput interface {
	pulumi.Input

	ToPipelineScheduleVariableOutput() PipelineScheduleVariableOutput
	ToPipelineScheduleVariableOutputWithContext(ctx context.Context) PipelineScheduleVariableOutput
}

type PipelineScheduleVariableMap

type PipelineScheduleVariableMap map[string]PipelineScheduleVariableInput

func (PipelineScheduleVariableMap) ElementType

func (PipelineScheduleVariableMap) ToPipelineScheduleVariableMapOutput

func (i PipelineScheduleVariableMap) ToPipelineScheduleVariableMapOutput() PipelineScheduleVariableMapOutput

func (PipelineScheduleVariableMap) ToPipelineScheduleVariableMapOutputWithContext

func (i PipelineScheduleVariableMap) ToPipelineScheduleVariableMapOutputWithContext(ctx context.Context) PipelineScheduleVariableMapOutput

type PipelineScheduleVariableMapInput

type PipelineScheduleVariableMapInput interface {
	pulumi.Input

	ToPipelineScheduleVariableMapOutput() PipelineScheduleVariableMapOutput
	ToPipelineScheduleVariableMapOutputWithContext(context.Context) PipelineScheduleVariableMapOutput
}

PipelineScheduleVariableMapInput is an input type that accepts PipelineScheduleVariableMap and PipelineScheduleVariableMapOutput values. You can construct a concrete instance of `PipelineScheduleVariableMapInput` via:

PipelineScheduleVariableMap{ "key": PipelineScheduleVariableArgs{...} }

type PipelineScheduleVariableMapOutput

type PipelineScheduleVariableMapOutput struct{ *pulumi.OutputState }

func (PipelineScheduleVariableMapOutput) ElementType

func (PipelineScheduleVariableMapOutput) MapIndex

func (PipelineScheduleVariableMapOutput) ToPipelineScheduleVariableMapOutput

func (o PipelineScheduleVariableMapOutput) ToPipelineScheduleVariableMapOutput() PipelineScheduleVariableMapOutput

func (PipelineScheduleVariableMapOutput) ToPipelineScheduleVariableMapOutputWithContext

func (o PipelineScheduleVariableMapOutput) ToPipelineScheduleVariableMapOutputWithContext(ctx context.Context) PipelineScheduleVariableMapOutput

type PipelineScheduleVariableOutput

type PipelineScheduleVariableOutput struct{ *pulumi.OutputState }

func (PipelineScheduleVariableOutput) ElementType

func (PipelineScheduleVariableOutput) Key added in v4.7.1

Name of the variable.

func (PipelineScheduleVariableOutput) PipelineScheduleId added in v4.7.1

func (o PipelineScheduleVariableOutput) PipelineScheduleId() pulumi.IntOutput

The id of the pipeline schedule.

func (PipelineScheduleVariableOutput) Project added in v4.7.1

The id of the project to add the schedule to.

func (PipelineScheduleVariableOutput) ToPipelineScheduleVariableOutput

func (o PipelineScheduleVariableOutput) ToPipelineScheduleVariableOutput() PipelineScheduleVariableOutput

func (PipelineScheduleVariableOutput) ToPipelineScheduleVariableOutputWithContext

func (o PipelineScheduleVariableOutput) ToPipelineScheduleVariableOutputWithContext(ctx context.Context) PipelineScheduleVariableOutput

func (PipelineScheduleVariableOutput) Value added in v4.7.1

Value of the variable.

type PipelineScheduleVariableState

type PipelineScheduleVariableState struct {
	// Name of the variable.
	Key pulumi.StringPtrInput
	// The id of the pipeline schedule.
	PipelineScheduleId pulumi.IntPtrInput
	// The id of the project to add the schedule to.
	Project pulumi.StringPtrInput
	// Value of the variable.
	Value pulumi.StringPtrInput
}

func (PipelineScheduleVariableState) ElementType

type PipelineTrigger

type PipelineTrigger struct {
	pulumi.CustomResourceState

	// The description of the pipeline trigger.
	Description pulumi.StringOutput `pulumi:"description"`
	// The name or id of the project to add the trigger to.
	Project pulumi.StringOutput `pulumi:"project"`
	// The pipeline trigger token.
	Token pulumi.StringOutput `pulumi:"token"`
}

The `PipelineTrigger` resource allows to manage the lifecycle of a pipeline trigger.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/pipeline_triggers.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewPipelineTrigger(ctx, "example", &gitlab.PipelineTriggerArgs{
			Description: pulumi.String("Used to trigger builds"),
			Project:     pulumi.String("12345"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GitLab pipeline triggers can be imported using an id made up of `{project_id}:{pipeline_trigger_id}`, e.g.

```sh

$ pulumi import gitlab:index/pipelineTrigger:PipelineTrigger test 1:3

```

func GetPipelineTrigger

func GetPipelineTrigger(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PipelineTriggerState, opts ...pulumi.ResourceOption) (*PipelineTrigger, error)

GetPipelineTrigger gets an existing PipelineTrigger resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPipelineTrigger

func NewPipelineTrigger(ctx *pulumi.Context,
	name string, args *PipelineTriggerArgs, opts ...pulumi.ResourceOption) (*PipelineTrigger, error)

NewPipelineTrigger registers a new resource with the given unique name, arguments, and options.

func (*PipelineTrigger) ElementType

func (*PipelineTrigger) ElementType() reflect.Type

func (*PipelineTrigger) ToPipelineTriggerOutput

func (i *PipelineTrigger) ToPipelineTriggerOutput() PipelineTriggerOutput

func (*PipelineTrigger) ToPipelineTriggerOutputWithContext

func (i *PipelineTrigger) ToPipelineTriggerOutputWithContext(ctx context.Context) PipelineTriggerOutput

type PipelineTriggerArgs

type PipelineTriggerArgs struct {
	// The description of the pipeline trigger.
	Description pulumi.StringInput
	// The name or id of the project to add the trigger to.
	Project pulumi.StringInput
}

The set of arguments for constructing a PipelineTrigger resource.

func (PipelineTriggerArgs) ElementType

func (PipelineTriggerArgs) ElementType() reflect.Type

type PipelineTriggerArray

type PipelineTriggerArray []PipelineTriggerInput

func (PipelineTriggerArray) ElementType

func (PipelineTriggerArray) ElementType() reflect.Type

func (PipelineTriggerArray) ToPipelineTriggerArrayOutput

func (i PipelineTriggerArray) ToPipelineTriggerArrayOutput() PipelineTriggerArrayOutput

func (PipelineTriggerArray) ToPipelineTriggerArrayOutputWithContext

func (i PipelineTriggerArray) ToPipelineTriggerArrayOutputWithContext(ctx context.Context) PipelineTriggerArrayOutput

type PipelineTriggerArrayInput

type PipelineTriggerArrayInput interface {
	pulumi.Input

	ToPipelineTriggerArrayOutput() PipelineTriggerArrayOutput
	ToPipelineTriggerArrayOutputWithContext(context.Context) PipelineTriggerArrayOutput
}

PipelineTriggerArrayInput is an input type that accepts PipelineTriggerArray and PipelineTriggerArrayOutput values. You can construct a concrete instance of `PipelineTriggerArrayInput` via:

PipelineTriggerArray{ PipelineTriggerArgs{...} }

type PipelineTriggerArrayOutput

type PipelineTriggerArrayOutput struct{ *pulumi.OutputState }

func (PipelineTriggerArrayOutput) ElementType

func (PipelineTriggerArrayOutput) ElementType() reflect.Type

func (PipelineTriggerArrayOutput) Index

func (PipelineTriggerArrayOutput) ToPipelineTriggerArrayOutput

func (o PipelineTriggerArrayOutput) ToPipelineTriggerArrayOutput() PipelineTriggerArrayOutput

func (PipelineTriggerArrayOutput) ToPipelineTriggerArrayOutputWithContext

func (o PipelineTriggerArrayOutput) ToPipelineTriggerArrayOutputWithContext(ctx context.Context) PipelineTriggerArrayOutput

type PipelineTriggerInput

type PipelineTriggerInput interface {
	pulumi.Input

	ToPipelineTriggerOutput() PipelineTriggerOutput
	ToPipelineTriggerOutputWithContext(ctx context.Context) PipelineTriggerOutput
}

type PipelineTriggerMap

type PipelineTriggerMap map[string]PipelineTriggerInput

func (PipelineTriggerMap) ElementType

func (PipelineTriggerMap) ElementType() reflect.Type

func (PipelineTriggerMap) ToPipelineTriggerMapOutput

func (i PipelineTriggerMap) ToPipelineTriggerMapOutput() PipelineTriggerMapOutput

func (PipelineTriggerMap) ToPipelineTriggerMapOutputWithContext

func (i PipelineTriggerMap) ToPipelineTriggerMapOutputWithContext(ctx context.Context) PipelineTriggerMapOutput

type PipelineTriggerMapInput

type PipelineTriggerMapInput interface {
	pulumi.Input

	ToPipelineTriggerMapOutput() PipelineTriggerMapOutput
	ToPipelineTriggerMapOutputWithContext(context.Context) PipelineTriggerMapOutput
}

PipelineTriggerMapInput is an input type that accepts PipelineTriggerMap and PipelineTriggerMapOutput values. You can construct a concrete instance of `PipelineTriggerMapInput` via:

PipelineTriggerMap{ "key": PipelineTriggerArgs{...} }

type PipelineTriggerMapOutput

type PipelineTriggerMapOutput struct{ *pulumi.OutputState }

func (PipelineTriggerMapOutput) ElementType

func (PipelineTriggerMapOutput) ElementType() reflect.Type

func (PipelineTriggerMapOutput) MapIndex

func (PipelineTriggerMapOutput) ToPipelineTriggerMapOutput

func (o PipelineTriggerMapOutput) ToPipelineTriggerMapOutput() PipelineTriggerMapOutput

func (PipelineTriggerMapOutput) ToPipelineTriggerMapOutputWithContext

func (o PipelineTriggerMapOutput) ToPipelineTriggerMapOutputWithContext(ctx context.Context) PipelineTriggerMapOutput

type PipelineTriggerOutput

type PipelineTriggerOutput struct{ *pulumi.OutputState }

func (PipelineTriggerOutput) Description added in v4.7.1

func (o PipelineTriggerOutput) Description() pulumi.StringOutput

The description of the pipeline trigger.

func (PipelineTriggerOutput) ElementType

func (PipelineTriggerOutput) ElementType() reflect.Type

func (PipelineTriggerOutput) Project added in v4.7.1

The name or id of the project to add the trigger to.

func (PipelineTriggerOutput) ToPipelineTriggerOutput

func (o PipelineTriggerOutput) ToPipelineTriggerOutput() PipelineTriggerOutput

func (PipelineTriggerOutput) ToPipelineTriggerOutputWithContext

func (o PipelineTriggerOutput) ToPipelineTriggerOutputWithContext(ctx context.Context) PipelineTriggerOutput

func (PipelineTriggerOutput) Token added in v4.7.1

The pipeline trigger token.

type PipelineTriggerState

type PipelineTriggerState struct {
	// The description of the pipeline trigger.
	Description pulumi.StringPtrInput
	// The name or id of the project to add the trigger to.
	Project pulumi.StringPtrInput
	// The pipeline trigger token.
	Token pulumi.StringPtrInput
}

func (PipelineTriggerState) ElementType

func (PipelineTriggerState) ElementType() reflect.Type

type Project

type Project struct {
	pulumi.CustomResourceState

	// Set to true if you want to treat skipped pipelines as if they finished with success.
	AllowMergeOnSkippedPipeline pulumi.BoolPtrOutput `pulumi:"allowMergeOnSkippedPipeline"`
	// Set the analytics access level. Valid values are `disabled`, `private`, `enabled`.
	AnalyticsAccessLevel pulumi.StringOutput `pulumi:"analyticsAccessLevel"`
	// Number of merge request approvals required for merging. Default is 0.
	// This field **does not** work well in combination with the `ProjectApprovalRule` resource
	// and is most likely gonna be deprecated in a future GitLab version (see [this upstream epic](https://gitlab.com/groups/gitlab-org/-/epics/7572)).
	// In the meantime we recommend against using this attribute and use `ProjectApprovalRule` instead.
	ApprovalsBeforeMerge pulumi.IntPtrOutput `pulumi:"approvalsBeforeMerge"`
	// Set to `true` to archive the project instead of deleting on destroy. If set to `true` it will entire omit the `DELETE` operation.
	ArchiveOnDestroy pulumi.BoolPtrOutput `pulumi:"archiveOnDestroy"`
	// Whether the project is in read-only mode (archived). Repositories can be archived/unarchived by toggling this parameter.
	Archived pulumi.BoolPtrOutput `pulumi:"archived"`
	// Auto-cancel pending pipelines. This isn’t a boolean, but enabled/disabled.
	AutoCancelPendingPipelines pulumi.StringOutput `pulumi:"autoCancelPendingPipelines"`
	// Auto Deploy strategy. Valid values are `continuous`, `manual`, `timedIncremental`.
	AutoDevopsDeployStrategy pulumi.StringOutput `pulumi:"autoDevopsDeployStrategy"`
	// Enable Auto DevOps for this project.
	AutoDevopsEnabled pulumi.BoolOutput `pulumi:"autoDevopsEnabled"`
	// Set whether auto-closing referenced issues on default branch.
	AutocloseReferencedIssues pulumi.BoolOutput `pulumi:"autocloseReferencedIssues"`
	// Test coverage parsing for the project. This is deprecated feature in GitLab 15.0.
	//
	// Deprecated: build_coverage_regex is removed in GitLab 15.0.
	BuildCoverageRegex pulumi.StringPtrOutput `pulumi:"buildCoverageRegex"`
	// The Git strategy. Defaults to fetch.
	BuildGitStrategy pulumi.StringOutput `pulumi:"buildGitStrategy"`
	// The maximum amount of time, in seconds, that a job can run.
	BuildTimeout pulumi.IntOutput `pulumi:"buildTimeout"`
	// Set the builds access level. Valid values are `disabled`, `private`, `enabled`.
	BuildsAccessLevel pulumi.StringOutput `pulumi:"buildsAccessLevel"`
	// Custom Path to CI config file.
	CiConfigPath pulumi.StringPtrOutput `pulumi:"ciConfigPath"`
	// Default number of revisions for shallow cloning.
	CiDefaultGitDepth pulumi.IntOutput `pulumi:"ciDefaultGitDepth"`
	// When a new deployment job starts, skip older deployment jobs that are still pending.
	CiForwardDeploymentEnabled pulumi.BoolPtrOutput `pulumi:"ciForwardDeploymentEnabled"`
	// Set the image cleanup policy for this project. **Note**: this field is sometimes named `containerExpirationPolicyAttributes` in the GitLab Upstream API.
	ContainerExpirationPolicy ProjectContainerExpirationPolicyOutput `pulumi:"containerExpirationPolicy"`
	// Set visibility of container registry, for this project. Valid values are `disabled`, `private`, `enabled`.
	ContainerRegistryAccessLevel pulumi.StringOutput `pulumi:"containerRegistryAccessLevel"`
	// Enable container registry for the project.
	ContainerRegistryEnabled pulumi.BoolPtrOutput `pulumi:"containerRegistryEnabled"`
	// The default branch for the project.
	DefaultBranch pulumi.StringOutput `pulumi:"defaultBranch"`
	// A description of the project.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Disable email notifications.
	EmailsDisabled pulumi.BoolPtrOutput `pulumi:"emailsDisabled"`
	// The classification label for the project.
	ExternalAuthorizationClassificationLabel pulumi.StringPtrOutput `pulumi:"externalAuthorizationClassificationLabel"`
	// Set the forking access level. Valid values are `disabled`, `private`, `enabled`.
	ForkingAccessLevel pulumi.StringOutput `pulumi:"forkingAccessLevel"`
	// For group-level custom templates, specifies ID of group from which all the custom project templates are sourced. Leave empty for instance-level templates. Requires use*custom*template to be true (enterprise edition).
	GroupWithProjectTemplatesId pulumi.IntPtrOutput `pulumi:"groupWithProjectTemplatesId"`
	// URL that can be provided to `git clone` to clone the
	HttpUrlToRepo pulumi.StringOutput `pulumi:"httpUrlToRepo"`
	// Git URL to a repository to be imported.
	ImportUrl pulumi.StringPtrOutput `pulumi:"importUrl"`
	// Create main branch with first commit containing a README.md file.
	InitializeWithReadme pulumi.BoolPtrOutput `pulumi:"initializeWithReadme"`
	// Set the issues access level. Valid values are `disabled`, `private`, `enabled`.
	IssuesAccessLevel pulumi.StringOutput `pulumi:"issuesAccessLevel"`
	// Enable issue tracking for the project.
	IssuesEnabled pulumi.BoolPtrOutput `pulumi:"issuesEnabled"`
	// Sets the template for new issues in the project.
	IssuesTemplate pulumi.StringPtrOutput `pulumi:"issuesTemplate"`
	// Enable LFS for the project.
	LfsEnabled pulumi.BoolPtrOutput `pulumi:"lfsEnabled"`
	// Template used to create merge commit message in merge requests. (Introduced in GitLab 14.5.)
	MergeCommitTemplate pulumi.StringPtrOutput `pulumi:"mergeCommitTemplate"`
	// Set the merge method. Valid values are `merge`, `rebaseMerge`, `ff`.
	MergeMethod pulumi.StringPtrOutput `pulumi:"mergeMethod"`
	// Enable or disable merge pipelines.
	MergePipelinesEnabled pulumi.BoolPtrOutput `pulumi:"mergePipelinesEnabled"`
	// Set the merge requests access level. Valid values are `disabled`, `private`, `enabled`.
	MergeRequestsAccessLevel pulumi.StringOutput `pulumi:"mergeRequestsAccessLevel"`
	// Enable merge requests for the project.
	MergeRequestsEnabled pulumi.BoolPtrOutput `pulumi:"mergeRequestsEnabled"`
	// Sets the template for new merge requests in the project.
	MergeRequestsTemplate pulumi.StringPtrOutput `pulumi:"mergeRequestsTemplate"`
	// Enable or disable merge trains. Requires `mergePipelinesEnabled` to be set to `true` to take effect.
	MergeTrainsEnabled pulumi.BoolPtrOutput `pulumi:"mergeTrainsEnabled"`
	// Enable project pull mirror.
	Mirror pulumi.BoolPtrOutput `pulumi:"mirror"`
	// Enable overwrite diverged branches for a mirrored project.
	MirrorOverwritesDivergedBranches pulumi.BoolPtrOutput `pulumi:"mirrorOverwritesDivergedBranches"`
	// Enable trigger builds on pushes for a mirrored project.
	MirrorTriggerBuilds pulumi.BoolPtrOutput `pulumi:"mirrorTriggerBuilds"`
	// The name of the project.
	Name pulumi.StringOutput `pulumi:"name"`
	// The namespace (group or user) of the project. Defaults to your user.
	NamespaceId pulumi.IntOutput `pulumi:"namespaceId"`
	// Set to true if you want allow merges only if all discussions are resolved.
	OnlyAllowMergeIfAllDiscussionsAreResolved pulumi.BoolPtrOutput `pulumi:"onlyAllowMergeIfAllDiscussionsAreResolved"`
	// Set to true if you want allow merges only if a pipeline succeeds.
	OnlyAllowMergeIfPipelineSucceeds pulumi.BoolPtrOutput `pulumi:"onlyAllowMergeIfPipelineSucceeds"`
	// Enable only mirror protected branches for a mirrored project.
	OnlyMirrorProtectedBranches pulumi.BoolPtrOutput `pulumi:"onlyMirrorProtectedBranches"`
	// Set the operations access level. Valid values are `disabled`, `private`, `enabled`.
	OperationsAccessLevel pulumi.StringOutput `pulumi:"operationsAccessLevel"`
	// Enable packages repository for the project.
	PackagesEnabled pulumi.BoolPtrOutput `pulumi:"packagesEnabled"`
	// Enable pages access control
	PagesAccessLevel pulumi.StringOutput `pulumi:"pagesAccessLevel"`
	// The path of the repository.
	Path pulumi.StringPtrOutput `pulumi:"path"`
	// The path of the repository with namespace.
	PathWithNamespace pulumi.StringOutput `pulumi:"pathWithNamespace"`
	// Enable pipelines for the project. The `pipelinesEnabled` field is being sent as `jobsEnabled` in the GitLab API calls.
	//
	// Deprecated: Deprecated in favor of `builds_access_level`
	PipelinesEnabled pulumi.BoolOutput `pulumi:"pipelinesEnabled"`
	// Show link to create/view merge request when pushing from the command line
	PrintingMergeRequestLinkEnabled pulumi.BoolPtrOutput `pulumi:"printingMergeRequestLinkEnabled"`
	// If true, jobs can be viewed by non-project members.
	PublicBuilds pulumi.BoolOutput `pulumi:"publicBuilds"`
	// Push rules for the project.
	PushRules ProjectPushRulesOutput `pulumi:"pushRules"`
	// Enable `Delete source branch` option by default for all new merge requests.
	RemoveSourceBranchAfterMerge pulumi.BoolPtrOutput `pulumi:"removeSourceBranchAfterMerge"`
	// Set the repository access level. Valid values are `disabled`, `private`, `enabled`.
	RepositoryAccessLevel pulumi.StringOutput `pulumi:"repositoryAccessLevel"`
	// Which storage shard the repository is on. (administrator only)
	RepositoryStorage pulumi.StringOutput `pulumi:"repositoryStorage"`
	// Allow users to request member access.
	RequestAccessEnabled pulumi.BoolPtrOutput `pulumi:"requestAccessEnabled"`
	// Set the requirements access level. Valid values are `disabled`, `private`, `enabled`.
	RequirementsAccessLevel pulumi.StringOutput `pulumi:"requirementsAccessLevel"`
	// Automatically resolve merge request diffs discussions on lines changed with a push.
	ResolveOutdatedDiffDiscussions pulumi.BoolPtrOutput `pulumi:"resolveOutdatedDiffDiscussions"`
	// Registration token to use during runner setup.
	RunnersToken pulumi.StringOutput `pulumi:"runnersToken"`
	// Set the security and compliance access level. Valid values are `disabled`, `private`, `enabled`.
	SecurityAndComplianceAccessLevel pulumi.StringOutput `pulumi:"securityAndComplianceAccessLevel"`
	// Enable shared runners for this project.
	SharedRunnersEnabled pulumi.BoolOutput `pulumi:"sharedRunnersEnabled"`
	// If `true`, the default behavior to wait for the default branch protection to be created is skipped.
	// This is necessary if the current user is not an admin and the default branch protection is disabled on an instance-level.
	// There is currently no known way to determine if the default branch protection is disabled on an instance-level for non-admin users.
	// This attribute is only used during resource creation, thus changes are suppressed and the attribute cannot be imported.
	SkipWaitForDefaultBranchProtection pulumi.BoolPtrOutput `pulumi:"skipWaitForDefaultBranchProtection"`
	// Set the snippets access level. Valid values are `disabled`, `private`, `enabled`.
	SnippetsAccessLevel pulumi.StringOutput `pulumi:"snippetsAccessLevel"`
	// Enable snippets for the project.
	SnippetsEnabled pulumi.BoolPtrOutput `pulumi:"snippetsEnabled"`
	// Template used to create squash commit message in merge requests. (Introduced in GitLab 14.6.)
	SquashCommitTemplate pulumi.StringPtrOutput `pulumi:"squashCommitTemplate"`
	// Squash commits when merge request. Valid values are `never`, `always`, `defaultOn`, or `defaultOff`. The default value is `defaultOff`. [GitLab >= 14.1]
	SquashOption pulumi.StringPtrOutput `pulumi:"squashOption"`
	// URL that can be provided to `git clone` to clone the
	SshUrlToRepo pulumi.StringOutput `pulumi:"sshUrlToRepo"`
	// The commit message used to apply merge request suggestions.
	SuggestionCommitMessage pulumi.StringPtrOutput `pulumi:"suggestionCommitMessage"`
	// The list of tags for a project; put array of tags, that should be finally assigned to a project. Use topics instead.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// When used without use*custom*template, name of a built-in project template. When used with use*custom*template, name of a custom project template. This option is mutually exclusive with `templateProjectId`.
	TemplateName pulumi.StringPtrOutput `pulumi:"templateName"`
	// When used with use*custom*template, project ID of a custom project template. This is preferable to using template*name since template*name may be ambiguous (enterprise edition). This option is mutually exclusive with `templateName`. See `GroupProjectFileTemplate` to set a project as a template project. If a project has not been set as a template, using it here will result in an error.
	TemplateProjectId pulumi.IntPtrOutput `pulumi:"templateProjectId"`
	// The list of topics for the project.
	Topics pulumi.StringArrayOutput `pulumi:"topics"`
	// Use either custom instance or group (with group*with*project*templates*id) project template (enterprise edition).
	UseCustomTemplate pulumi.BoolPtrOutput `pulumi:"useCustomTemplate"`
	// Set to `public` to create a public project.
	VisibilityLevel pulumi.StringPtrOutput `pulumi:"visibilityLevel"`
	// URL that can be used to find the project in a browser.
	WebUrl pulumi.StringOutput `pulumi:"webUrl"`
	// Set the wiki access level. Valid values are `disabled`, `private`, `enabled`.
	WikiAccessLevel pulumi.StringOutput `pulumi:"wikiAccessLevel"`
	// Enable wiki for the project.
	WikiEnabled pulumi.BoolPtrOutput `pulumi:"wikiEnabled"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewProject(ctx, "example", &gitlab.ProjectArgs{
			Description:     pulumi.String("My awesome codebase"),
			VisibilityLevel: pulumi.String("public"),
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewProject(ctx, "example-two", &gitlab.ProjectArgs{
			PushRules: &gitlab.ProjectPushRulesArgs{
				AuthorEmailRegex:     pulumi.String("@example\\.com$"),
				CommitCommitterCheck: pulumi.Bool(true),
				MemberCheck:          pulumi.Bool(true),
				PreventSecrets:       pulumi.Bool(true),
			},
		})
		if err != nil {
			return err
		}
		peterParker, err := gitlab.LookupUser(ctx, &gitlab.LookupUserArgs{
			Username: pulumi.StringRef("peter_parker"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = gitlab.NewProject(ctx, "petersRepo", &gitlab.ProjectArgs{
			Description: pulumi.String("This is a description"),
			NamespaceId: *pulumi.Int(peterParker.NamespaceId),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import gitlab:index/project:Project You can import a project state using `<resource> <id>`. The

```

`id` can be whatever the [get single project api][get_single_project] takes for its `:id` value, so for example

```sh

$ pulumi import gitlab:index/project:Project example richardc/example

```

func GetProject

func GetProject(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectState, opts ...pulumi.ResourceOption) (*Project, error)

GetProject gets an existing Project resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProject

func NewProject(ctx *pulumi.Context,
	name string, args *ProjectArgs, opts ...pulumi.ResourceOption) (*Project, error)

NewProject registers a new resource with the given unique name, arguments, and options.

func (*Project) ElementType

func (*Project) ElementType() reflect.Type

func (*Project) ToProjectOutput

func (i *Project) ToProjectOutput() ProjectOutput

func (*Project) ToProjectOutputWithContext

func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

type ProjectAccessToken added in v4.5.0

type ProjectAccessToken struct {
	pulumi.CustomResourceState

	// The access level for the project access token. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`. Default is `maintainer`.
	AccessLevel pulumi.StringPtrOutput `pulumi:"accessLevel"`
	// True if the token is active.
	Active pulumi.BoolOutput `pulumi:"active"`
	// Time the token has been created, RFC3339 format.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// Time the token will expire it, YYYY-MM-DD format. Will not expire per default.
	ExpiresAt pulumi.StringPtrOutput `pulumi:"expiresAt"`
	// A name to describe the project access token.
	Name pulumi.StringOutput `pulumi:"name"`
	// The id of the project to add the project access token to.
	Project pulumi.StringOutput `pulumi:"project"`
	// True if the token is revoked.
	Revoked pulumi.BoolOutput `pulumi:"revoked"`
	// Valid values: `api`, `readApi`, `readRepository`, `writeRepository`, `readRegistry`, `writeRegistry`.
	Scopes pulumi.StringArrayOutput `pulumi:"scopes"`
	// The secret token. **Note**: the token is not available for imported resources.
	Token pulumi.StringOutput `pulumi:"token"`
	// The userId associated to the token.
	UserId pulumi.IntOutput `pulumi:"userId"`
}

The `ProjectAccessToken` resource allows to manage the lifecycle of a project access token.

**Upstream API**: [GitLab API docs](https://docs.gitlab.com/ee/api/project_access_tokens.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProjectAccessToken, err := gitlab.NewProjectAccessToken(ctx, "exampleProjectAccessToken", &gitlab.ProjectAccessTokenArgs{
			Project:     pulumi.String("25"),
			ExpiresAt:   pulumi.String("2020-03-14"),
			AccessLevel: pulumi.String("reporter"),
			Scopes: pulumi.StringArray{
				pulumi.String("api"),
			},
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewProjectVariable(ctx, "exampleProjectVariable", &gitlab.ProjectVariableArgs{
			Project: pulumi.Any(gitlab_project.Example.Id),
			Key:     pulumi.String("pat"),
			Value:   exampleProjectAccessToken.Token,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

A GitLab Project Access Token can be imported using a key composed of `<project-id>:<token-id>`, e.g.

```sh

$ pulumi import gitlab:index/projectAccessToken:ProjectAccessToken example "12345:1"

```

NOTEthe `token` resource attribute is not available for imported resources as this information cannot be read from the GitLab API.

func GetProjectAccessToken added in v4.5.0

func GetProjectAccessToken(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectAccessTokenState, opts ...pulumi.ResourceOption) (*ProjectAccessToken, error)

GetProjectAccessToken gets an existing ProjectAccessToken resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectAccessToken added in v4.5.0

func NewProjectAccessToken(ctx *pulumi.Context,
	name string, args *ProjectAccessTokenArgs, opts ...pulumi.ResourceOption) (*ProjectAccessToken, error)

NewProjectAccessToken registers a new resource with the given unique name, arguments, and options.

func (*ProjectAccessToken) ElementType added in v4.5.0

func (*ProjectAccessToken) ElementType() reflect.Type

func (*ProjectAccessToken) ToProjectAccessTokenOutput added in v4.5.0

func (i *ProjectAccessToken) ToProjectAccessTokenOutput() ProjectAccessTokenOutput

func (*ProjectAccessToken) ToProjectAccessTokenOutputWithContext added in v4.5.0

func (i *ProjectAccessToken) ToProjectAccessTokenOutputWithContext(ctx context.Context) ProjectAccessTokenOutput

type ProjectAccessTokenArgs added in v4.5.0

type ProjectAccessTokenArgs struct {
	// The access level for the project access token. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`. Default is `maintainer`.
	AccessLevel pulumi.StringPtrInput
	// Time the token will expire it, YYYY-MM-DD format. Will not expire per default.
	ExpiresAt pulumi.StringPtrInput
	// A name to describe the project access token.
	Name pulumi.StringPtrInput
	// The id of the project to add the project access token to.
	Project pulumi.StringInput
	// Valid values: `api`, `readApi`, `readRepository`, `writeRepository`, `readRegistry`, `writeRegistry`.
	Scopes pulumi.StringArrayInput
}

The set of arguments for constructing a ProjectAccessToken resource.

func (ProjectAccessTokenArgs) ElementType added in v4.5.0

func (ProjectAccessTokenArgs) ElementType() reflect.Type

type ProjectAccessTokenArray added in v4.5.0

type ProjectAccessTokenArray []ProjectAccessTokenInput

func (ProjectAccessTokenArray) ElementType added in v4.5.0

func (ProjectAccessTokenArray) ElementType() reflect.Type

func (ProjectAccessTokenArray) ToProjectAccessTokenArrayOutput added in v4.5.0

func (i ProjectAccessTokenArray) ToProjectAccessTokenArrayOutput() ProjectAccessTokenArrayOutput

func (ProjectAccessTokenArray) ToProjectAccessTokenArrayOutputWithContext added in v4.5.0

func (i ProjectAccessTokenArray) ToProjectAccessTokenArrayOutputWithContext(ctx context.Context) ProjectAccessTokenArrayOutput

type ProjectAccessTokenArrayInput added in v4.5.0

type ProjectAccessTokenArrayInput interface {
	pulumi.Input

	ToProjectAccessTokenArrayOutput() ProjectAccessTokenArrayOutput
	ToProjectAccessTokenArrayOutputWithContext(context.Context) ProjectAccessTokenArrayOutput
}

ProjectAccessTokenArrayInput is an input type that accepts ProjectAccessTokenArray and ProjectAccessTokenArrayOutput values. You can construct a concrete instance of `ProjectAccessTokenArrayInput` via:

ProjectAccessTokenArray{ ProjectAccessTokenArgs{...} }

type ProjectAccessTokenArrayOutput added in v4.5.0

type ProjectAccessTokenArrayOutput struct{ *pulumi.OutputState }

func (ProjectAccessTokenArrayOutput) ElementType added in v4.5.0

func (ProjectAccessTokenArrayOutput) Index added in v4.5.0

func (ProjectAccessTokenArrayOutput) ToProjectAccessTokenArrayOutput added in v4.5.0

func (o ProjectAccessTokenArrayOutput) ToProjectAccessTokenArrayOutput() ProjectAccessTokenArrayOutput

func (ProjectAccessTokenArrayOutput) ToProjectAccessTokenArrayOutputWithContext added in v4.5.0

func (o ProjectAccessTokenArrayOutput) ToProjectAccessTokenArrayOutputWithContext(ctx context.Context) ProjectAccessTokenArrayOutput

type ProjectAccessTokenInput added in v4.5.0

type ProjectAccessTokenInput interface {
	pulumi.Input

	ToProjectAccessTokenOutput() ProjectAccessTokenOutput
	ToProjectAccessTokenOutputWithContext(ctx context.Context) ProjectAccessTokenOutput
}

type ProjectAccessTokenMap added in v4.5.0

type ProjectAccessTokenMap map[string]ProjectAccessTokenInput

func (ProjectAccessTokenMap) ElementType added in v4.5.0

func (ProjectAccessTokenMap) ElementType() reflect.Type

func (ProjectAccessTokenMap) ToProjectAccessTokenMapOutput added in v4.5.0

func (i ProjectAccessTokenMap) ToProjectAccessTokenMapOutput() ProjectAccessTokenMapOutput

func (ProjectAccessTokenMap) ToProjectAccessTokenMapOutputWithContext added in v4.5.0

func (i ProjectAccessTokenMap) ToProjectAccessTokenMapOutputWithContext(ctx context.Context) ProjectAccessTokenMapOutput

type ProjectAccessTokenMapInput added in v4.5.0

type ProjectAccessTokenMapInput interface {
	pulumi.Input

	ToProjectAccessTokenMapOutput() ProjectAccessTokenMapOutput
	ToProjectAccessTokenMapOutputWithContext(context.Context) ProjectAccessTokenMapOutput
}

ProjectAccessTokenMapInput is an input type that accepts ProjectAccessTokenMap and ProjectAccessTokenMapOutput values. You can construct a concrete instance of `ProjectAccessTokenMapInput` via:

ProjectAccessTokenMap{ "key": ProjectAccessTokenArgs{...} }

type ProjectAccessTokenMapOutput added in v4.5.0

type ProjectAccessTokenMapOutput struct{ *pulumi.OutputState }

func (ProjectAccessTokenMapOutput) ElementType added in v4.5.0

func (ProjectAccessTokenMapOutput) MapIndex added in v4.5.0

func (ProjectAccessTokenMapOutput) ToProjectAccessTokenMapOutput added in v4.5.0

func (o ProjectAccessTokenMapOutput) ToProjectAccessTokenMapOutput() ProjectAccessTokenMapOutput

func (ProjectAccessTokenMapOutput) ToProjectAccessTokenMapOutputWithContext added in v4.5.0

func (o ProjectAccessTokenMapOutput) ToProjectAccessTokenMapOutputWithContext(ctx context.Context) ProjectAccessTokenMapOutput

type ProjectAccessTokenOutput added in v4.5.0

type ProjectAccessTokenOutput struct{ *pulumi.OutputState }

func (ProjectAccessTokenOutput) AccessLevel added in v4.8.0

The access level for the project access token. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`. Default is `maintainer`.

func (ProjectAccessTokenOutput) Active added in v4.7.1

True if the token is active.

func (ProjectAccessTokenOutput) CreatedAt added in v4.7.1

Time the token has been created, RFC3339 format.

func (ProjectAccessTokenOutput) ElementType added in v4.5.0

func (ProjectAccessTokenOutput) ElementType() reflect.Type

func (ProjectAccessTokenOutput) ExpiresAt added in v4.7.1

Time the token will expire it, YYYY-MM-DD format. Will not expire per default.

func (ProjectAccessTokenOutput) Name added in v4.7.1

A name to describe the project access token.

func (ProjectAccessTokenOutput) Project added in v4.7.1

The id of the project to add the project access token to.

func (ProjectAccessTokenOutput) Revoked added in v4.7.1

True if the token is revoked.

func (ProjectAccessTokenOutput) Scopes added in v4.7.1

Valid values: `api`, `readApi`, `readRepository`, `writeRepository`, `readRegistry`, `writeRegistry`.

func (ProjectAccessTokenOutput) ToProjectAccessTokenOutput added in v4.5.0

func (o ProjectAccessTokenOutput) ToProjectAccessTokenOutput() ProjectAccessTokenOutput

func (ProjectAccessTokenOutput) ToProjectAccessTokenOutputWithContext added in v4.5.0

func (o ProjectAccessTokenOutput) ToProjectAccessTokenOutputWithContext(ctx context.Context) ProjectAccessTokenOutput

func (ProjectAccessTokenOutput) Token added in v4.7.1

The secret token. **Note**: the token is not available for imported resources.

func (ProjectAccessTokenOutput) UserId added in v4.7.1

The userId associated to the token.

type ProjectAccessTokenState added in v4.5.0

type ProjectAccessTokenState struct {
	// The access level for the project access token. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`. Default is `maintainer`.
	AccessLevel pulumi.StringPtrInput
	// True if the token is active.
	Active pulumi.BoolPtrInput
	// Time the token has been created, RFC3339 format.
	CreatedAt pulumi.StringPtrInput
	// Time the token will expire it, YYYY-MM-DD format. Will not expire per default.
	ExpiresAt pulumi.StringPtrInput
	// A name to describe the project access token.
	Name pulumi.StringPtrInput
	// The id of the project to add the project access token to.
	Project pulumi.StringPtrInput
	// True if the token is revoked.
	Revoked pulumi.BoolPtrInput
	// Valid values: `api`, `readApi`, `readRepository`, `writeRepository`, `readRegistry`, `writeRegistry`.
	Scopes pulumi.StringArrayInput
	// The secret token. **Note**: the token is not available for imported resources.
	Token pulumi.StringPtrInput
	// The userId associated to the token.
	UserId pulumi.IntPtrInput
}

func (ProjectAccessTokenState) ElementType added in v4.5.0

func (ProjectAccessTokenState) ElementType() reflect.Type

type ProjectApprovalRule

type ProjectApprovalRule struct {
	pulumi.CustomResourceState

	// The number of approvals required for this rule.
	ApprovalsRequired pulumi.IntOutput `pulumi:"approvalsRequired"`
	// A list of group IDs whose members can approve of the merge request.
	GroupIds pulumi.IntArrayOutput `pulumi:"groupIds"`
	// The name of the approval rule.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name or id of the project to add the approval rules.
	Project pulumi.StringOutput `pulumi:"project"`
	// A list of protected branch IDs (not branch names) for which the rule applies.
	ProtectedBranchIds pulumi.IntArrayOutput `pulumi:"protectedBranchIds"`
	// String, defaults to 'regular'. The type of rule. `anyApprover` is a pre-configured default rule with `approvalsRequired` at `0`. Valid values are `regular`, `anyApprover`.
	RuleType pulumi.StringOutput `pulumi:"ruleType"`
	// A list of specific User IDs to add to the list of approvers.
	UserIds pulumi.IntArrayOutput `pulumi:"userIds"`
}

The `ProjectApprovalRule` resource allows to manage the lifecycle of a project-level approval rule.

> This resource requires a GitLab Enterprise instance.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/merge_request_approvals.html#project-level-mr-approvals)

## Import

GitLab project approval rules can be imported using a key composed of `<project-id>:<rule-id>`, e.g.

```sh

$ pulumi import gitlab:index/projectApprovalRule:ProjectApprovalRule example "12345:6"

```

func GetProjectApprovalRule

func GetProjectApprovalRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectApprovalRuleState, opts ...pulumi.ResourceOption) (*ProjectApprovalRule, error)

GetProjectApprovalRule gets an existing ProjectApprovalRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectApprovalRule

func NewProjectApprovalRule(ctx *pulumi.Context,
	name string, args *ProjectApprovalRuleArgs, opts ...pulumi.ResourceOption) (*ProjectApprovalRule, error)

NewProjectApprovalRule registers a new resource with the given unique name, arguments, and options.

func (*ProjectApprovalRule) ElementType

func (*ProjectApprovalRule) ElementType() reflect.Type

func (*ProjectApprovalRule) ToProjectApprovalRuleOutput

func (i *ProjectApprovalRule) ToProjectApprovalRuleOutput() ProjectApprovalRuleOutput

func (*ProjectApprovalRule) ToProjectApprovalRuleOutputWithContext

func (i *ProjectApprovalRule) ToProjectApprovalRuleOutputWithContext(ctx context.Context) ProjectApprovalRuleOutput

type ProjectApprovalRuleArgs

type ProjectApprovalRuleArgs struct {
	// The number of approvals required for this rule.
	ApprovalsRequired pulumi.IntInput
	// A list of group IDs whose members can approve of the merge request.
	GroupIds pulumi.IntArrayInput
	// The name of the approval rule.
	Name pulumi.StringPtrInput
	// The name or id of the project to add the approval rules.
	Project pulumi.StringInput
	// A list of protected branch IDs (not branch names) for which the rule applies.
	ProtectedBranchIds pulumi.IntArrayInput
	// String, defaults to 'regular'. The type of rule. `anyApprover` is a pre-configured default rule with `approvalsRequired` at `0`. Valid values are `regular`, `anyApprover`.
	RuleType pulumi.StringPtrInput
	// A list of specific User IDs to add to the list of approvers.
	UserIds pulumi.IntArrayInput
}

The set of arguments for constructing a ProjectApprovalRule resource.

func (ProjectApprovalRuleArgs) ElementType

func (ProjectApprovalRuleArgs) ElementType() reflect.Type

type ProjectApprovalRuleArray

type ProjectApprovalRuleArray []ProjectApprovalRuleInput

func (ProjectApprovalRuleArray) ElementType

func (ProjectApprovalRuleArray) ElementType() reflect.Type

func (ProjectApprovalRuleArray) ToProjectApprovalRuleArrayOutput

func (i ProjectApprovalRuleArray) ToProjectApprovalRuleArrayOutput() ProjectApprovalRuleArrayOutput

func (ProjectApprovalRuleArray) ToProjectApprovalRuleArrayOutputWithContext

func (i ProjectApprovalRuleArray) ToProjectApprovalRuleArrayOutputWithContext(ctx context.Context) ProjectApprovalRuleArrayOutput

type ProjectApprovalRuleArrayInput

type ProjectApprovalRuleArrayInput interface {
	pulumi.Input

	ToProjectApprovalRuleArrayOutput() ProjectApprovalRuleArrayOutput
	ToProjectApprovalRuleArrayOutputWithContext(context.Context) ProjectApprovalRuleArrayOutput
}

ProjectApprovalRuleArrayInput is an input type that accepts ProjectApprovalRuleArray and ProjectApprovalRuleArrayOutput values. You can construct a concrete instance of `ProjectApprovalRuleArrayInput` via:

ProjectApprovalRuleArray{ ProjectApprovalRuleArgs{...} }

type ProjectApprovalRuleArrayOutput

type ProjectApprovalRuleArrayOutput struct{ *pulumi.OutputState }

func (ProjectApprovalRuleArrayOutput) ElementType

func (ProjectApprovalRuleArrayOutput) Index

func (ProjectApprovalRuleArrayOutput) ToProjectApprovalRuleArrayOutput

func (o ProjectApprovalRuleArrayOutput) ToProjectApprovalRuleArrayOutput() ProjectApprovalRuleArrayOutput

func (ProjectApprovalRuleArrayOutput) ToProjectApprovalRuleArrayOutputWithContext

func (o ProjectApprovalRuleArrayOutput) ToProjectApprovalRuleArrayOutputWithContext(ctx context.Context) ProjectApprovalRuleArrayOutput

type ProjectApprovalRuleInput

type ProjectApprovalRuleInput interface {
	pulumi.Input

	ToProjectApprovalRuleOutput() ProjectApprovalRuleOutput
	ToProjectApprovalRuleOutputWithContext(ctx context.Context) ProjectApprovalRuleOutput
}

type ProjectApprovalRuleMap

type ProjectApprovalRuleMap map[string]ProjectApprovalRuleInput

func (ProjectApprovalRuleMap) ElementType

func (ProjectApprovalRuleMap) ElementType() reflect.Type

func (ProjectApprovalRuleMap) ToProjectApprovalRuleMapOutput

func (i ProjectApprovalRuleMap) ToProjectApprovalRuleMapOutput() ProjectApprovalRuleMapOutput

func (ProjectApprovalRuleMap) ToProjectApprovalRuleMapOutputWithContext

func (i ProjectApprovalRuleMap) ToProjectApprovalRuleMapOutputWithContext(ctx context.Context) ProjectApprovalRuleMapOutput

type ProjectApprovalRuleMapInput

type ProjectApprovalRuleMapInput interface {
	pulumi.Input

	ToProjectApprovalRuleMapOutput() ProjectApprovalRuleMapOutput
	ToProjectApprovalRuleMapOutputWithContext(context.Context) ProjectApprovalRuleMapOutput
}

ProjectApprovalRuleMapInput is an input type that accepts ProjectApprovalRuleMap and ProjectApprovalRuleMapOutput values. You can construct a concrete instance of `ProjectApprovalRuleMapInput` via:

ProjectApprovalRuleMap{ "key": ProjectApprovalRuleArgs{...} }

type ProjectApprovalRuleMapOutput

type ProjectApprovalRuleMapOutput struct{ *pulumi.OutputState }

func (ProjectApprovalRuleMapOutput) ElementType

func (ProjectApprovalRuleMapOutput) MapIndex

func (ProjectApprovalRuleMapOutput) ToProjectApprovalRuleMapOutput

func (o ProjectApprovalRuleMapOutput) ToProjectApprovalRuleMapOutput() ProjectApprovalRuleMapOutput

func (ProjectApprovalRuleMapOutput) ToProjectApprovalRuleMapOutputWithContext

func (o ProjectApprovalRuleMapOutput) ToProjectApprovalRuleMapOutputWithContext(ctx context.Context) ProjectApprovalRuleMapOutput

type ProjectApprovalRuleOutput

type ProjectApprovalRuleOutput struct{ *pulumi.OutputState }

func (ProjectApprovalRuleOutput) ApprovalsRequired added in v4.7.1

func (o ProjectApprovalRuleOutput) ApprovalsRequired() pulumi.IntOutput

The number of approvals required for this rule.

func (ProjectApprovalRuleOutput) ElementType

func (ProjectApprovalRuleOutput) ElementType() reflect.Type

func (ProjectApprovalRuleOutput) GroupIds added in v4.7.1

A list of group IDs whose members can approve of the merge request.

func (ProjectApprovalRuleOutput) Name added in v4.7.1

The name of the approval rule.

func (ProjectApprovalRuleOutput) Project added in v4.7.1

The name or id of the project to add the approval rules.

func (ProjectApprovalRuleOutput) ProtectedBranchIds added in v4.7.1

func (o ProjectApprovalRuleOutput) ProtectedBranchIds() pulumi.IntArrayOutput

A list of protected branch IDs (not branch names) for which the rule applies.

func (ProjectApprovalRuleOutput) RuleType added in v4.7.1

String, defaults to 'regular'. The type of rule. `anyApprover` is a pre-configured default rule with `approvalsRequired` at `0`. Valid values are `regular`, `anyApprover`.

func (ProjectApprovalRuleOutput) ToProjectApprovalRuleOutput

func (o ProjectApprovalRuleOutput) ToProjectApprovalRuleOutput() ProjectApprovalRuleOutput

func (ProjectApprovalRuleOutput) ToProjectApprovalRuleOutputWithContext

func (o ProjectApprovalRuleOutput) ToProjectApprovalRuleOutputWithContext(ctx context.Context) ProjectApprovalRuleOutput

func (ProjectApprovalRuleOutput) UserIds added in v4.7.1

A list of specific User IDs to add to the list of approvers.

type ProjectApprovalRuleState

type ProjectApprovalRuleState struct {
	// The number of approvals required for this rule.
	ApprovalsRequired pulumi.IntPtrInput
	// A list of group IDs whose members can approve of the merge request.
	GroupIds pulumi.IntArrayInput
	// The name of the approval rule.
	Name pulumi.StringPtrInput
	// The name or id of the project to add the approval rules.
	Project pulumi.StringPtrInput
	// A list of protected branch IDs (not branch names) for which the rule applies.
	ProtectedBranchIds pulumi.IntArrayInput
	// String, defaults to 'regular'. The type of rule. `anyApprover` is a pre-configured default rule with `approvalsRequired` at `0`. Valid values are `regular`, `anyApprover`.
	RuleType pulumi.StringPtrInput
	// A list of specific User IDs to add to the list of approvers.
	UserIds pulumi.IntArrayInput
}

func (ProjectApprovalRuleState) ElementType

func (ProjectApprovalRuleState) ElementType() reflect.Type

type ProjectArgs

type ProjectArgs struct {
	// Set to true if you want to treat skipped pipelines as if they finished with success.
	AllowMergeOnSkippedPipeline pulumi.BoolPtrInput
	// Set the analytics access level. Valid values are `disabled`, `private`, `enabled`.
	AnalyticsAccessLevel pulumi.StringPtrInput
	// Number of merge request approvals required for merging. Default is 0.
	// This field **does not** work well in combination with the `ProjectApprovalRule` resource
	// and is most likely gonna be deprecated in a future GitLab version (see [this upstream epic](https://gitlab.com/groups/gitlab-org/-/epics/7572)).
	// In the meantime we recommend against using this attribute and use `ProjectApprovalRule` instead.
	ApprovalsBeforeMerge pulumi.IntPtrInput
	// Set to `true` to archive the project instead of deleting on destroy. If set to `true` it will entire omit the `DELETE` operation.
	ArchiveOnDestroy pulumi.BoolPtrInput
	// Whether the project is in read-only mode (archived). Repositories can be archived/unarchived by toggling this parameter.
	Archived pulumi.BoolPtrInput
	// Auto-cancel pending pipelines. This isn’t a boolean, but enabled/disabled.
	AutoCancelPendingPipelines pulumi.StringPtrInput
	// Auto Deploy strategy. Valid values are `continuous`, `manual`, `timedIncremental`.
	AutoDevopsDeployStrategy pulumi.StringPtrInput
	// Enable Auto DevOps for this project.
	AutoDevopsEnabled pulumi.BoolPtrInput
	// Set whether auto-closing referenced issues on default branch.
	AutocloseReferencedIssues pulumi.BoolPtrInput
	// Test coverage parsing for the project. This is deprecated feature in GitLab 15.0.
	//
	// Deprecated: build_coverage_regex is removed in GitLab 15.0.
	BuildCoverageRegex pulumi.StringPtrInput
	// The Git strategy. Defaults to fetch.
	BuildGitStrategy pulumi.StringPtrInput
	// The maximum amount of time, in seconds, that a job can run.
	BuildTimeout pulumi.IntPtrInput
	// Set the builds access level. Valid values are `disabled`, `private`, `enabled`.
	BuildsAccessLevel pulumi.StringPtrInput
	// Custom Path to CI config file.
	CiConfigPath pulumi.StringPtrInput
	// Default number of revisions for shallow cloning.
	CiDefaultGitDepth pulumi.IntPtrInput
	// When a new deployment job starts, skip older deployment jobs that are still pending.
	CiForwardDeploymentEnabled pulumi.BoolPtrInput
	// Set the image cleanup policy for this project. **Note**: this field is sometimes named `containerExpirationPolicyAttributes` in the GitLab Upstream API.
	ContainerExpirationPolicy ProjectContainerExpirationPolicyPtrInput
	// Set visibility of container registry, for this project. Valid values are `disabled`, `private`, `enabled`.
	ContainerRegistryAccessLevel pulumi.StringPtrInput
	// Enable container registry for the project.
	ContainerRegistryEnabled pulumi.BoolPtrInput
	// The default branch for the project.
	DefaultBranch pulumi.StringPtrInput
	// A description of the project.
	Description pulumi.StringPtrInput
	// Disable email notifications.
	EmailsDisabled pulumi.BoolPtrInput
	// The classification label for the project.
	ExternalAuthorizationClassificationLabel pulumi.StringPtrInput
	// Set the forking access level. Valid values are `disabled`, `private`, `enabled`.
	ForkingAccessLevel pulumi.StringPtrInput
	// For group-level custom templates, specifies ID of group from which all the custom project templates are sourced. Leave empty for instance-level templates. Requires use*custom*template to be true (enterprise edition).
	GroupWithProjectTemplatesId pulumi.IntPtrInput
	// Git URL to a repository to be imported.
	ImportUrl pulumi.StringPtrInput
	// Create main branch with first commit containing a README.md file.
	InitializeWithReadme pulumi.BoolPtrInput
	// Set the issues access level. Valid values are `disabled`, `private`, `enabled`.
	IssuesAccessLevel pulumi.StringPtrInput
	// Enable issue tracking for the project.
	IssuesEnabled pulumi.BoolPtrInput
	// Sets the template for new issues in the project.
	IssuesTemplate pulumi.StringPtrInput
	// Enable LFS for the project.
	LfsEnabled pulumi.BoolPtrInput
	// Template used to create merge commit message in merge requests. (Introduced in GitLab 14.5.)
	MergeCommitTemplate pulumi.StringPtrInput
	// Set the merge method. Valid values are `merge`, `rebaseMerge`, `ff`.
	MergeMethod pulumi.StringPtrInput
	// Enable or disable merge pipelines.
	MergePipelinesEnabled pulumi.BoolPtrInput
	// Set the merge requests access level. Valid values are `disabled`, `private`, `enabled`.
	MergeRequestsAccessLevel pulumi.StringPtrInput
	// Enable merge requests for the project.
	MergeRequestsEnabled pulumi.BoolPtrInput
	// Sets the template for new merge requests in the project.
	MergeRequestsTemplate pulumi.StringPtrInput
	// Enable or disable merge trains. Requires `mergePipelinesEnabled` to be set to `true` to take effect.
	MergeTrainsEnabled pulumi.BoolPtrInput
	// Enable project pull mirror.
	Mirror pulumi.BoolPtrInput
	// Enable overwrite diverged branches for a mirrored project.
	MirrorOverwritesDivergedBranches pulumi.BoolPtrInput
	// Enable trigger builds on pushes for a mirrored project.
	MirrorTriggerBuilds pulumi.BoolPtrInput
	// The name of the project.
	Name pulumi.StringPtrInput
	// The namespace (group or user) of the project. Defaults to your user.
	NamespaceId pulumi.IntPtrInput
	// Set to true if you want allow merges only if all discussions are resolved.
	OnlyAllowMergeIfAllDiscussionsAreResolved pulumi.BoolPtrInput
	// Set to true if you want allow merges only if a pipeline succeeds.
	OnlyAllowMergeIfPipelineSucceeds pulumi.BoolPtrInput
	// Enable only mirror protected branches for a mirrored project.
	OnlyMirrorProtectedBranches pulumi.BoolPtrInput
	// Set the operations access level. Valid values are `disabled`, `private`, `enabled`.
	OperationsAccessLevel pulumi.StringPtrInput
	// Enable packages repository for the project.
	PackagesEnabled pulumi.BoolPtrInput
	// Enable pages access control
	PagesAccessLevel pulumi.StringPtrInput
	// The path of the repository.
	Path pulumi.StringPtrInput
	// Enable pipelines for the project. The `pipelinesEnabled` field is being sent as `jobsEnabled` in the GitLab API calls.
	//
	// Deprecated: Deprecated in favor of `builds_access_level`
	PipelinesEnabled pulumi.BoolPtrInput
	// Show link to create/view merge request when pushing from the command line
	PrintingMergeRequestLinkEnabled pulumi.BoolPtrInput
	// If true, jobs can be viewed by non-project members.
	PublicBuilds pulumi.BoolPtrInput
	// Push rules for the project.
	PushRules ProjectPushRulesPtrInput
	// Enable `Delete source branch` option by default for all new merge requests.
	RemoveSourceBranchAfterMerge pulumi.BoolPtrInput
	// Set the repository access level. Valid values are `disabled`, `private`, `enabled`.
	RepositoryAccessLevel pulumi.StringPtrInput
	// Which storage shard the repository is on. (administrator only)
	RepositoryStorage pulumi.StringPtrInput
	// Allow users to request member access.
	RequestAccessEnabled pulumi.BoolPtrInput
	// Set the requirements access level. Valid values are `disabled`, `private`, `enabled`.
	RequirementsAccessLevel pulumi.StringPtrInput
	// Automatically resolve merge request diffs discussions on lines changed with a push.
	ResolveOutdatedDiffDiscussions pulumi.BoolPtrInput
	// Set the security and compliance access level. Valid values are `disabled`, `private`, `enabled`.
	SecurityAndComplianceAccessLevel pulumi.StringPtrInput
	// Enable shared runners for this project.
	SharedRunnersEnabled pulumi.BoolPtrInput
	// If `true`, the default behavior to wait for the default branch protection to be created is skipped.
	// This is necessary if the current user is not an admin and the default branch protection is disabled on an instance-level.
	// There is currently no known way to determine if the default branch protection is disabled on an instance-level for non-admin users.
	// This attribute is only used during resource creation, thus changes are suppressed and the attribute cannot be imported.
	SkipWaitForDefaultBranchProtection pulumi.BoolPtrInput
	// Set the snippets access level. Valid values are `disabled`, `private`, `enabled`.
	SnippetsAccessLevel pulumi.StringPtrInput
	// Enable snippets for the project.
	SnippetsEnabled pulumi.BoolPtrInput
	// Template used to create squash commit message in merge requests. (Introduced in GitLab 14.6.)
	SquashCommitTemplate pulumi.StringPtrInput
	// Squash commits when merge request. Valid values are `never`, `always`, `defaultOn`, or `defaultOff`. The default value is `defaultOff`. [GitLab >= 14.1]
	SquashOption pulumi.StringPtrInput
	// The commit message used to apply merge request suggestions.
	SuggestionCommitMessage pulumi.StringPtrInput
	// The list of tags for a project; put array of tags, that should be finally assigned to a project. Use topics instead.
	Tags pulumi.StringArrayInput
	// When used without use*custom*template, name of a built-in project template. When used with use*custom*template, name of a custom project template. This option is mutually exclusive with `templateProjectId`.
	TemplateName pulumi.StringPtrInput
	// When used with use*custom*template, project ID of a custom project template. This is preferable to using template*name since template*name may be ambiguous (enterprise edition). This option is mutually exclusive with `templateName`. See `GroupProjectFileTemplate` to set a project as a template project. If a project has not been set as a template, using it here will result in an error.
	TemplateProjectId pulumi.IntPtrInput
	// The list of topics for the project.
	Topics pulumi.StringArrayInput
	// Use either custom instance or group (with group*with*project*templates*id) project template (enterprise edition).
	UseCustomTemplate pulumi.BoolPtrInput
	// Set to `public` to create a public project.
	VisibilityLevel pulumi.StringPtrInput
	// Set the wiki access level. Valid values are `disabled`, `private`, `enabled`.
	WikiAccessLevel pulumi.StringPtrInput
	// Enable wiki for the project.
	WikiEnabled pulumi.BoolPtrInput
}

The set of arguments for constructing a Project resource.

func (ProjectArgs) ElementType

func (ProjectArgs) ElementType() reflect.Type

type ProjectArray

type ProjectArray []ProjectInput

func (ProjectArray) ElementType

func (ProjectArray) ElementType() reflect.Type

func (ProjectArray) ToProjectArrayOutput

func (i ProjectArray) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArray) ToProjectArrayOutputWithContext

func (i ProjectArray) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectArrayInput

type ProjectArrayInput interface {
	pulumi.Input

	ToProjectArrayOutput() ProjectArrayOutput
	ToProjectArrayOutputWithContext(context.Context) ProjectArrayOutput
}

ProjectArrayInput is an input type that accepts ProjectArray and ProjectArrayOutput values. You can construct a concrete instance of `ProjectArrayInput` via:

ProjectArray{ ProjectArgs{...} }

type ProjectArrayOutput

type ProjectArrayOutput struct{ *pulumi.OutputState }

func (ProjectArrayOutput) ElementType

func (ProjectArrayOutput) ElementType() reflect.Type

func (ProjectArrayOutput) Index

func (ProjectArrayOutput) ToProjectArrayOutput

func (o ProjectArrayOutput) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArrayOutput) ToProjectArrayOutputWithContext

func (o ProjectArrayOutput) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectBadge added in v4.2.0

type ProjectBadge struct {
	pulumi.CustomResourceState

	// The image url which will be presented on project overview.
	ImageUrl pulumi.StringOutput `pulumi:"imageUrl"`
	// The url linked with the badge.
	LinkUrl pulumi.StringOutput `pulumi:"linkUrl"`
	// The name of the badge.
	Name pulumi.StringOutput `pulumi:"name"`
	// The id of the project to add the badge to.
	Project pulumi.StringOutput `pulumi:"project"`
	// The imageUrl argument rendered (in case of use of placeholders).
	RenderedImageUrl pulumi.StringOutput `pulumi:"renderedImageUrl"`
	// The linkUrl argument rendered (in case of use of placeholders).
	RenderedLinkUrl pulumi.StringOutput `pulumi:"renderedLinkUrl"`
}

The `ProjectBadge` resource allows to mange the lifecycle of project badges.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/user/project/badges.html#project-badges)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foo, err := gitlab.NewProject(ctx, "foo", nil)
		if err != nil {
			return err
		}
		_, err = gitlab.NewProjectBadge(ctx, "example", &gitlab.ProjectBadgeArgs{
			Project:  foo.ID(),
			LinkUrl:  pulumi.String("https://example.com/badge-123"),
			ImageUrl: pulumi.String("https://example.com/badge-123.svg"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GitLab project badges can be imported using an id made up of `{project_id}:{badge_id}`, e.g.

```sh

$ pulumi import gitlab:index/projectBadge:ProjectBadge foo 1:3

```

func GetProjectBadge added in v4.2.0

func GetProjectBadge(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectBadgeState, opts ...pulumi.ResourceOption) (*ProjectBadge, error)

GetProjectBadge gets an existing ProjectBadge resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectBadge added in v4.2.0

func NewProjectBadge(ctx *pulumi.Context,
	name string, args *ProjectBadgeArgs, opts ...pulumi.ResourceOption) (*ProjectBadge, error)

NewProjectBadge registers a new resource with the given unique name, arguments, and options.

func (*ProjectBadge) ElementType added in v4.2.0

func (*ProjectBadge) ElementType() reflect.Type

func (*ProjectBadge) ToProjectBadgeOutput added in v4.2.0

func (i *ProjectBadge) ToProjectBadgeOutput() ProjectBadgeOutput

func (*ProjectBadge) ToProjectBadgeOutputWithContext added in v4.2.0

func (i *ProjectBadge) ToProjectBadgeOutputWithContext(ctx context.Context) ProjectBadgeOutput

type ProjectBadgeArgs added in v4.2.0

type ProjectBadgeArgs struct {
	// The image url which will be presented on project overview.
	ImageUrl pulumi.StringInput
	// The url linked with the badge.
	LinkUrl pulumi.StringInput
	// The name of the badge.
	Name pulumi.StringPtrInput
	// The id of the project to add the badge to.
	Project pulumi.StringInput
}

The set of arguments for constructing a ProjectBadge resource.

func (ProjectBadgeArgs) ElementType added in v4.2.0

func (ProjectBadgeArgs) ElementType() reflect.Type

type ProjectBadgeArray added in v4.2.0

type ProjectBadgeArray []ProjectBadgeInput

func (ProjectBadgeArray) ElementType added in v4.2.0

func (ProjectBadgeArray) ElementType() reflect.Type

func (ProjectBadgeArray) ToProjectBadgeArrayOutput added in v4.2.0

func (i ProjectBadgeArray) ToProjectBadgeArrayOutput() ProjectBadgeArrayOutput

func (ProjectBadgeArray) ToProjectBadgeArrayOutputWithContext added in v4.2.0

func (i ProjectBadgeArray) ToProjectBadgeArrayOutputWithContext(ctx context.Context) ProjectBadgeArrayOutput

type ProjectBadgeArrayInput added in v4.2.0

type ProjectBadgeArrayInput interface {
	pulumi.Input

	ToProjectBadgeArrayOutput() ProjectBadgeArrayOutput
	ToProjectBadgeArrayOutputWithContext(context.Context) ProjectBadgeArrayOutput
}

ProjectBadgeArrayInput is an input type that accepts ProjectBadgeArray and ProjectBadgeArrayOutput values. You can construct a concrete instance of `ProjectBadgeArrayInput` via:

ProjectBadgeArray{ ProjectBadgeArgs{...} }

type ProjectBadgeArrayOutput added in v4.2.0

type ProjectBadgeArrayOutput struct{ *pulumi.OutputState }

func (ProjectBadgeArrayOutput) ElementType added in v4.2.0

func (ProjectBadgeArrayOutput) ElementType() reflect.Type

func (ProjectBadgeArrayOutput) Index added in v4.2.0

func (ProjectBadgeArrayOutput) ToProjectBadgeArrayOutput added in v4.2.0

func (o ProjectBadgeArrayOutput) ToProjectBadgeArrayOutput() ProjectBadgeArrayOutput

func (ProjectBadgeArrayOutput) ToProjectBadgeArrayOutputWithContext added in v4.2.0

func (o ProjectBadgeArrayOutput) ToProjectBadgeArrayOutputWithContext(ctx context.Context) ProjectBadgeArrayOutput

type ProjectBadgeInput added in v4.2.0

type ProjectBadgeInput interface {
	pulumi.Input

	ToProjectBadgeOutput() ProjectBadgeOutput
	ToProjectBadgeOutputWithContext(ctx context.Context) ProjectBadgeOutput
}

type ProjectBadgeMap added in v4.2.0

type ProjectBadgeMap map[string]ProjectBadgeInput

func (ProjectBadgeMap) ElementType added in v4.2.0

func (ProjectBadgeMap) ElementType() reflect.Type

func (ProjectBadgeMap) ToProjectBadgeMapOutput added in v4.2.0

func (i ProjectBadgeMap) ToProjectBadgeMapOutput() ProjectBadgeMapOutput

func (ProjectBadgeMap) ToProjectBadgeMapOutputWithContext added in v4.2.0

func (i ProjectBadgeMap) ToProjectBadgeMapOutputWithContext(ctx context.Context) ProjectBadgeMapOutput

type ProjectBadgeMapInput added in v4.2.0

type ProjectBadgeMapInput interface {
	pulumi.Input

	ToProjectBadgeMapOutput() ProjectBadgeMapOutput
	ToProjectBadgeMapOutputWithContext(context.Context) ProjectBadgeMapOutput
}

ProjectBadgeMapInput is an input type that accepts ProjectBadgeMap and ProjectBadgeMapOutput values. You can construct a concrete instance of `ProjectBadgeMapInput` via:

ProjectBadgeMap{ "key": ProjectBadgeArgs{...} }

type ProjectBadgeMapOutput added in v4.2.0

type ProjectBadgeMapOutput struct{ *pulumi.OutputState }

func (ProjectBadgeMapOutput) ElementType added in v4.2.0

func (ProjectBadgeMapOutput) ElementType() reflect.Type

func (ProjectBadgeMapOutput) MapIndex added in v4.2.0

func (ProjectBadgeMapOutput) ToProjectBadgeMapOutput added in v4.2.0

func (o ProjectBadgeMapOutput) ToProjectBadgeMapOutput() ProjectBadgeMapOutput

func (ProjectBadgeMapOutput) ToProjectBadgeMapOutputWithContext added in v4.2.0

func (o ProjectBadgeMapOutput) ToProjectBadgeMapOutputWithContext(ctx context.Context) ProjectBadgeMapOutput

type ProjectBadgeOutput added in v4.2.0

type ProjectBadgeOutput struct{ *pulumi.OutputState }

func (ProjectBadgeOutput) ElementType added in v4.2.0

func (ProjectBadgeOutput) ElementType() reflect.Type

func (ProjectBadgeOutput) ImageUrl added in v4.7.1

func (o ProjectBadgeOutput) ImageUrl() pulumi.StringOutput

The image url which will be presented on project overview.

func (ProjectBadgeOutput) LinkUrl added in v4.7.1

The url linked with the badge.

func (ProjectBadgeOutput) Name added in v4.8.0

The name of the badge.

func (ProjectBadgeOutput) Project added in v4.7.1

The id of the project to add the badge to.

func (ProjectBadgeOutput) RenderedImageUrl added in v4.7.1

func (o ProjectBadgeOutput) RenderedImageUrl() pulumi.StringOutput

The imageUrl argument rendered (in case of use of placeholders).

func (ProjectBadgeOutput) RenderedLinkUrl added in v4.7.1

func (o ProjectBadgeOutput) RenderedLinkUrl() pulumi.StringOutput

The linkUrl argument rendered (in case of use of placeholders).

func (ProjectBadgeOutput) ToProjectBadgeOutput added in v4.2.0

func (o ProjectBadgeOutput) ToProjectBadgeOutput() ProjectBadgeOutput

func (ProjectBadgeOutput) ToProjectBadgeOutputWithContext added in v4.2.0

func (o ProjectBadgeOutput) ToProjectBadgeOutputWithContext(ctx context.Context) ProjectBadgeOutput

type ProjectBadgeState added in v4.2.0

type ProjectBadgeState struct {
	// The image url which will be presented on project overview.
	ImageUrl pulumi.StringPtrInput
	// The url linked with the badge.
	LinkUrl pulumi.StringPtrInput
	// The name of the badge.
	Name pulumi.StringPtrInput
	// The id of the project to add the badge to.
	Project pulumi.StringPtrInput
	// The imageUrl argument rendered (in case of use of placeholders).
	RenderedImageUrl pulumi.StringPtrInput
	// The linkUrl argument rendered (in case of use of placeholders).
	RenderedLinkUrl pulumi.StringPtrInput
}

func (ProjectBadgeState) ElementType added in v4.2.0

func (ProjectBadgeState) ElementType() reflect.Type

type ProjectCluster

type ProjectCluster struct {
	pulumi.CustomResourceState

	// Cluster type.
	ClusterType pulumi.StringOutput `pulumi:"clusterType"`
	// Create time.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The base domain of the cluster.
	Domain pulumi.StringPtrOutput `pulumi:"domain"`
	// Determines if cluster is active or not. Defaults to `true`. This attribute cannot be read.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// The associated environment to the cluster. Defaults to `*`.
	EnvironmentScope pulumi.StringPtrOutput `pulumi:"environmentScope"`
	// The URL to access the Kubernetes API.
	KubernetesApiUrl pulumi.StringOutput `pulumi:"kubernetesApiUrl"`
	// The cluster authorization type. Valid values are `rbac`, `abac`, `unknownAuthorization`. Defaults to `rbac`.
	KubernetesAuthorizationType pulumi.StringPtrOutput `pulumi:"kubernetesAuthorizationType"`
	// TLS certificate (needed if API is using a self-signed TLS certificate).
	KubernetesCaCert pulumi.StringPtrOutput `pulumi:"kubernetesCaCert"`
	// The unique namespace related to the project.
	KubernetesNamespace pulumi.StringPtrOutput `pulumi:"kubernetesNamespace"`
	// The token to authenticate against Kubernetes.
	KubernetesToken pulumi.StringOutput `pulumi:"kubernetesToken"`
	// Determines if cluster is managed by gitlab or not. Defaults to `true`. This attribute cannot be read.
	Managed pulumi.BoolPtrOutput `pulumi:"managed"`
	// The ID of the management project for the cluster.
	ManagementProjectId pulumi.StringPtrOutput `pulumi:"managementProjectId"`
	// The name of cluster.
	Name pulumi.StringOutput `pulumi:"name"`
	// Platform type.
	PlatformType pulumi.StringOutput `pulumi:"platformType"`
	// The id of the project to add the cluster to.
	Project pulumi.StringOutput `pulumi:"project"`
	// Provider type.
	ProviderType pulumi.StringOutput `pulumi:"providerType"`
}

The `ProjectCluster` resource allows to manage the lifecycle of a project cluster.

> This is deprecated GitLab feature since 14.5

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/project_clusters.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foo, err := gitlab.NewProject(ctx, "foo", nil)
		if err != nil {
			return err
		}
		_, err = gitlab.NewProjectCluster(ctx, "bar", &gitlab.ProjectClusterArgs{
			Project:                     foo.ID(),
			Domain:                      pulumi.String("example.com"),
			Enabled:                     pulumi.Bool(true),
			KubernetesApiUrl:            pulumi.String("https://124.124.124"),
			KubernetesToken:             pulumi.String("some-token"),
			KubernetesCaCert:            pulumi.String("some-cert"),
			KubernetesNamespace:         pulumi.String("namespace"),
			KubernetesAuthorizationType: pulumi.String("rbac"),
			EnvironmentScope:            pulumi.String("*"),
			ManagementProjectId:         pulumi.String("123456"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GitLab project clusters can be imported using an id made up of `projectid:clusterid`, e.g.

```sh

$ pulumi import gitlab:index/projectCluster:ProjectCluster bar 123:321

```

func GetProjectCluster

func GetProjectCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectClusterState, opts ...pulumi.ResourceOption) (*ProjectCluster, error)

GetProjectCluster gets an existing ProjectCluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectCluster

func NewProjectCluster(ctx *pulumi.Context,
	name string, args *ProjectClusterArgs, opts ...pulumi.ResourceOption) (*ProjectCluster, error)

NewProjectCluster registers a new resource with the given unique name, arguments, and options.

func (*ProjectCluster) ElementType

func (*ProjectCluster) ElementType() reflect.Type

func (*ProjectCluster) ToProjectClusterOutput

func (i *ProjectCluster) ToProjectClusterOutput() ProjectClusterOutput

func (*ProjectCluster) ToProjectClusterOutputWithContext

func (i *ProjectCluster) ToProjectClusterOutputWithContext(ctx context.Context) ProjectClusterOutput

type ProjectClusterArgs

type ProjectClusterArgs struct {
	// The base domain of the cluster.
	Domain pulumi.StringPtrInput
	// Determines if cluster is active or not. Defaults to `true`. This attribute cannot be read.
	Enabled pulumi.BoolPtrInput
	// The associated environment to the cluster. Defaults to `*`.
	EnvironmentScope pulumi.StringPtrInput
	// The URL to access the Kubernetes API.
	KubernetesApiUrl pulumi.StringInput
	// The cluster authorization type. Valid values are `rbac`, `abac`, `unknownAuthorization`. Defaults to `rbac`.
	KubernetesAuthorizationType pulumi.StringPtrInput
	// TLS certificate (needed if API is using a self-signed TLS certificate).
	KubernetesCaCert pulumi.StringPtrInput
	// The unique namespace related to the project.
	KubernetesNamespace pulumi.StringPtrInput
	// The token to authenticate against Kubernetes.
	KubernetesToken pulumi.StringInput
	// Determines if cluster is managed by gitlab or not. Defaults to `true`. This attribute cannot be read.
	Managed pulumi.BoolPtrInput
	// The ID of the management project for the cluster.
	ManagementProjectId pulumi.StringPtrInput
	// The name of cluster.
	Name pulumi.StringPtrInput
	// The id of the project to add the cluster to.
	Project pulumi.StringInput
}

The set of arguments for constructing a ProjectCluster resource.

func (ProjectClusterArgs) ElementType

func (ProjectClusterArgs) ElementType() reflect.Type

type ProjectClusterArray

type ProjectClusterArray []ProjectClusterInput

func (ProjectClusterArray) ElementType

func (ProjectClusterArray) ElementType() reflect.Type

func (ProjectClusterArray) ToProjectClusterArrayOutput

func (i ProjectClusterArray) ToProjectClusterArrayOutput() ProjectClusterArrayOutput

func (ProjectClusterArray) ToProjectClusterArrayOutputWithContext

func (i ProjectClusterArray) ToProjectClusterArrayOutputWithContext(ctx context.Context) ProjectClusterArrayOutput

type ProjectClusterArrayInput

type ProjectClusterArrayInput interface {
	pulumi.Input

	ToProjectClusterArrayOutput() ProjectClusterArrayOutput
	ToProjectClusterArrayOutputWithContext(context.Context) ProjectClusterArrayOutput
}

ProjectClusterArrayInput is an input type that accepts ProjectClusterArray and ProjectClusterArrayOutput values. You can construct a concrete instance of `ProjectClusterArrayInput` via:

ProjectClusterArray{ ProjectClusterArgs{...} }

type ProjectClusterArrayOutput

type ProjectClusterArrayOutput struct{ *pulumi.OutputState }

func (ProjectClusterArrayOutput) ElementType

func (ProjectClusterArrayOutput) ElementType() reflect.Type

func (ProjectClusterArrayOutput) Index

func (ProjectClusterArrayOutput) ToProjectClusterArrayOutput

func (o ProjectClusterArrayOutput) ToProjectClusterArrayOutput() ProjectClusterArrayOutput

func (ProjectClusterArrayOutput) ToProjectClusterArrayOutputWithContext

func (o ProjectClusterArrayOutput) ToProjectClusterArrayOutputWithContext(ctx context.Context) ProjectClusterArrayOutput

type ProjectClusterInput

type ProjectClusterInput interface {
	pulumi.Input

	ToProjectClusterOutput() ProjectClusterOutput
	ToProjectClusterOutputWithContext(ctx context.Context) ProjectClusterOutput
}

type ProjectClusterMap

type ProjectClusterMap map[string]ProjectClusterInput

func (ProjectClusterMap) ElementType

func (ProjectClusterMap) ElementType() reflect.Type

func (ProjectClusterMap) ToProjectClusterMapOutput

func (i ProjectClusterMap) ToProjectClusterMapOutput() ProjectClusterMapOutput

func (ProjectClusterMap) ToProjectClusterMapOutputWithContext

func (i ProjectClusterMap) ToProjectClusterMapOutputWithContext(ctx context.Context) ProjectClusterMapOutput

type ProjectClusterMapInput

type ProjectClusterMapInput interface {
	pulumi.Input

	ToProjectClusterMapOutput() ProjectClusterMapOutput
	ToProjectClusterMapOutputWithContext(context.Context) ProjectClusterMapOutput
}

ProjectClusterMapInput is an input type that accepts ProjectClusterMap and ProjectClusterMapOutput values. You can construct a concrete instance of `ProjectClusterMapInput` via:

ProjectClusterMap{ "key": ProjectClusterArgs{...} }

type ProjectClusterMapOutput

type ProjectClusterMapOutput struct{ *pulumi.OutputState }

func (ProjectClusterMapOutput) ElementType

func (ProjectClusterMapOutput) ElementType() reflect.Type

func (ProjectClusterMapOutput) MapIndex

func (ProjectClusterMapOutput) ToProjectClusterMapOutput

func (o ProjectClusterMapOutput) ToProjectClusterMapOutput() ProjectClusterMapOutput

func (ProjectClusterMapOutput) ToProjectClusterMapOutputWithContext

func (o ProjectClusterMapOutput) ToProjectClusterMapOutputWithContext(ctx context.Context) ProjectClusterMapOutput

type ProjectClusterOutput

type ProjectClusterOutput struct{ *pulumi.OutputState }

func (ProjectClusterOutput) ClusterType added in v4.7.1

func (o ProjectClusterOutput) ClusterType() pulumi.StringOutput

Cluster type.

func (ProjectClusterOutput) CreatedAt added in v4.7.1

Create time.

func (ProjectClusterOutput) Domain added in v4.7.1

The base domain of the cluster.

func (ProjectClusterOutput) ElementType

func (ProjectClusterOutput) ElementType() reflect.Type

func (ProjectClusterOutput) Enabled added in v4.7.1

Determines if cluster is active or not. Defaults to `true`. This attribute cannot be read.

func (ProjectClusterOutput) EnvironmentScope added in v4.7.1

func (o ProjectClusterOutput) EnvironmentScope() pulumi.StringPtrOutput

The associated environment to the cluster. Defaults to `*`.

func (ProjectClusterOutput) KubernetesApiUrl added in v4.7.1

func (o ProjectClusterOutput) KubernetesApiUrl() pulumi.StringOutput

The URL to access the Kubernetes API.

func (ProjectClusterOutput) KubernetesAuthorizationType added in v4.7.1

func (o ProjectClusterOutput) KubernetesAuthorizationType() pulumi.StringPtrOutput

The cluster authorization type. Valid values are `rbac`, `abac`, `unknownAuthorization`. Defaults to `rbac`.

func (ProjectClusterOutput) KubernetesCaCert added in v4.7.1

func (o ProjectClusterOutput) KubernetesCaCert() pulumi.StringPtrOutput

TLS certificate (needed if API is using a self-signed TLS certificate).

func (ProjectClusterOutput) KubernetesNamespace added in v4.7.1

func (o ProjectClusterOutput) KubernetesNamespace() pulumi.StringPtrOutput

The unique namespace related to the project.

func (ProjectClusterOutput) KubernetesToken added in v4.7.1

func (o ProjectClusterOutput) KubernetesToken() pulumi.StringOutput

The token to authenticate against Kubernetes.

func (ProjectClusterOutput) Managed added in v4.7.1

Determines if cluster is managed by gitlab or not. Defaults to `true`. This attribute cannot be read.

func (ProjectClusterOutput) ManagementProjectId added in v4.7.1

func (o ProjectClusterOutput) ManagementProjectId() pulumi.StringPtrOutput

The ID of the management project for the cluster.

func (ProjectClusterOutput) Name added in v4.7.1

The name of cluster.

func (ProjectClusterOutput) PlatformType added in v4.7.1

func (o ProjectClusterOutput) PlatformType() pulumi.StringOutput

Platform type.

func (ProjectClusterOutput) Project added in v4.7.1

The id of the project to add the cluster to.

func (ProjectClusterOutput) ProviderType added in v4.7.1

func (o ProjectClusterOutput) ProviderType() pulumi.StringOutput

Provider type.

func (ProjectClusterOutput) ToProjectClusterOutput

func (o ProjectClusterOutput) ToProjectClusterOutput() ProjectClusterOutput

func (ProjectClusterOutput) ToProjectClusterOutputWithContext

func (o ProjectClusterOutput) ToProjectClusterOutputWithContext(ctx context.Context) ProjectClusterOutput

type ProjectClusterState

type ProjectClusterState struct {
	// Cluster type.
	ClusterType pulumi.StringPtrInput
	// Create time.
	CreatedAt pulumi.StringPtrInput
	// The base domain of the cluster.
	Domain pulumi.StringPtrInput
	// Determines if cluster is active or not. Defaults to `true`. This attribute cannot be read.
	Enabled pulumi.BoolPtrInput
	// The associated environment to the cluster. Defaults to `*`.
	EnvironmentScope pulumi.StringPtrInput
	// The URL to access the Kubernetes API.
	KubernetesApiUrl pulumi.StringPtrInput
	// The cluster authorization type. Valid values are `rbac`, `abac`, `unknownAuthorization`. Defaults to `rbac`.
	KubernetesAuthorizationType pulumi.StringPtrInput
	// TLS certificate (needed if API is using a self-signed TLS certificate).
	KubernetesCaCert pulumi.StringPtrInput
	// The unique namespace related to the project.
	KubernetesNamespace pulumi.StringPtrInput
	// The token to authenticate against Kubernetes.
	KubernetesToken pulumi.StringPtrInput
	// Determines if cluster is managed by gitlab or not. Defaults to `true`. This attribute cannot be read.
	Managed pulumi.BoolPtrInput
	// The ID of the management project for the cluster.
	ManagementProjectId pulumi.StringPtrInput
	// The name of cluster.
	Name pulumi.StringPtrInput
	// Platform type.
	PlatformType pulumi.StringPtrInput
	// The id of the project to add the cluster to.
	Project pulumi.StringPtrInput
	// Provider type.
	ProviderType pulumi.StringPtrInput
}

func (ProjectClusterState) ElementType

func (ProjectClusterState) ElementType() reflect.Type

type ProjectContainerExpirationPolicy added in v4.7.0

type ProjectContainerExpirationPolicy struct {
	// The cadence of the policy. Valid values are: `1d`, `7d`, `14d`, `1month`, `3month`.
	Cadence *string `pulumi:"cadence"`
	// If true, the policy is enabled.
	Enabled *bool `pulumi:"enabled"`
	// The number of images to keep.
	KeepN *int `pulumi:"keepN"`
	// The regular expression to match image names to delete. **Note**: the upstream API has some inconsistencies with the `nameRegex` field here. It's basically unusable at the moment.
	NameRegexDelete *string `pulumi:"nameRegexDelete"`
	// The regular expression to match image names to keep.
	NameRegexKeep *string `pulumi:"nameRegexKeep"`
	// The next time the policy will run.
	NextRunAt *string `pulumi:"nextRunAt"`
	// The number of days to keep images.
	OlderThan *string `pulumi:"olderThan"`
}

type ProjectContainerExpirationPolicyArgs added in v4.7.0

type ProjectContainerExpirationPolicyArgs struct {
	// The cadence of the policy. Valid values are: `1d`, `7d`, `14d`, `1month`, `3month`.
	Cadence pulumi.StringPtrInput `pulumi:"cadence"`
	// If true, the policy is enabled.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// The number of images to keep.
	KeepN pulumi.IntPtrInput `pulumi:"keepN"`
	// The regular expression to match image names to delete. **Note**: the upstream API has some inconsistencies with the `nameRegex` field here. It's basically unusable at the moment.
	NameRegexDelete pulumi.StringPtrInput `pulumi:"nameRegexDelete"`
	// The regular expression to match image names to keep.
	NameRegexKeep pulumi.StringPtrInput `pulumi:"nameRegexKeep"`
	// The next time the policy will run.
	NextRunAt pulumi.StringPtrInput `pulumi:"nextRunAt"`
	// The number of days to keep images.
	OlderThan pulumi.StringPtrInput `pulumi:"olderThan"`
}

func (ProjectContainerExpirationPolicyArgs) ElementType added in v4.7.0

func (ProjectContainerExpirationPolicyArgs) ToProjectContainerExpirationPolicyOutput added in v4.7.0

func (i ProjectContainerExpirationPolicyArgs) ToProjectContainerExpirationPolicyOutput() ProjectContainerExpirationPolicyOutput

func (ProjectContainerExpirationPolicyArgs) ToProjectContainerExpirationPolicyOutputWithContext added in v4.7.0

func (i ProjectContainerExpirationPolicyArgs) ToProjectContainerExpirationPolicyOutputWithContext(ctx context.Context) ProjectContainerExpirationPolicyOutput

func (ProjectContainerExpirationPolicyArgs) ToProjectContainerExpirationPolicyPtrOutput added in v4.7.0

func (i ProjectContainerExpirationPolicyArgs) ToProjectContainerExpirationPolicyPtrOutput() ProjectContainerExpirationPolicyPtrOutput

func (ProjectContainerExpirationPolicyArgs) ToProjectContainerExpirationPolicyPtrOutputWithContext added in v4.7.0

func (i ProjectContainerExpirationPolicyArgs) ToProjectContainerExpirationPolicyPtrOutputWithContext(ctx context.Context) ProjectContainerExpirationPolicyPtrOutput

type ProjectContainerExpirationPolicyInput added in v4.7.0

type ProjectContainerExpirationPolicyInput interface {
	pulumi.Input

	ToProjectContainerExpirationPolicyOutput() ProjectContainerExpirationPolicyOutput
	ToProjectContainerExpirationPolicyOutputWithContext(context.Context) ProjectContainerExpirationPolicyOutput
}

ProjectContainerExpirationPolicyInput is an input type that accepts ProjectContainerExpirationPolicyArgs and ProjectContainerExpirationPolicyOutput values. You can construct a concrete instance of `ProjectContainerExpirationPolicyInput` via:

ProjectContainerExpirationPolicyArgs{...}

type ProjectContainerExpirationPolicyOutput added in v4.7.0

type ProjectContainerExpirationPolicyOutput struct{ *pulumi.OutputState }

func (ProjectContainerExpirationPolicyOutput) Cadence added in v4.7.0

The cadence of the policy. Valid values are: `1d`, `7d`, `14d`, `1month`, `3month`.

func (ProjectContainerExpirationPolicyOutput) ElementType added in v4.7.0

func (ProjectContainerExpirationPolicyOutput) Enabled added in v4.7.0

If true, the policy is enabled.

func (ProjectContainerExpirationPolicyOutput) KeepN added in v4.7.0

The number of images to keep.

func (ProjectContainerExpirationPolicyOutput) NameRegexDelete added in v4.7.0

The regular expression to match image names to delete. **Note**: the upstream API has some inconsistencies with the `nameRegex` field here. It's basically unusable at the moment.

func (ProjectContainerExpirationPolicyOutput) NameRegexKeep added in v4.7.0

The regular expression to match image names to keep.

func (ProjectContainerExpirationPolicyOutput) NextRunAt added in v4.7.0

The next time the policy will run.

func (ProjectContainerExpirationPolicyOutput) OlderThan added in v4.7.0

The number of days to keep images.

func (ProjectContainerExpirationPolicyOutput) ToProjectContainerExpirationPolicyOutput added in v4.7.0

func (o ProjectContainerExpirationPolicyOutput) ToProjectContainerExpirationPolicyOutput() ProjectContainerExpirationPolicyOutput

func (ProjectContainerExpirationPolicyOutput) ToProjectContainerExpirationPolicyOutputWithContext added in v4.7.0

func (o ProjectContainerExpirationPolicyOutput) ToProjectContainerExpirationPolicyOutputWithContext(ctx context.Context) ProjectContainerExpirationPolicyOutput

func (ProjectContainerExpirationPolicyOutput) ToProjectContainerExpirationPolicyPtrOutput added in v4.7.0

func (o ProjectContainerExpirationPolicyOutput) ToProjectContainerExpirationPolicyPtrOutput() ProjectContainerExpirationPolicyPtrOutput

func (ProjectContainerExpirationPolicyOutput) ToProjectContainerExpirationPolicyPtrOutputWithContext added in v4.7.0

func (o ProjectContainerExpirationPolicyOutput) ToProjectContainerExpirationPolicyPtrOutputWithContext(ctx context.Context) ProjectContainerExpirationPolicyPtrOutput

type ProjectContainerExpirationPolicyPtrInput added in v4.7.0

type ProjectContainerExpirationPolicyPtrInput interface {
	pulumi.Input

	ToProjectContainerExpirationPolicyPtrOutput() ProjectContainerExpirationPolicyPtrOutput
	ToProjectContainerExpirationPolicyPtrOutputWithContext(context.Context) ProjectContainerExpirationPolicyPtrOutput
}

ProjectContainerExpirationPolicyPtrInput is an input type that accepts ProjectContainerExpirationPolicyArgs, ProjectContainerExpirationPolicyPtr and ProjectContainerExpirationPolicyPtrOutput values. You can construct a concrete instance of `ProjectContainerExpirationPolicyPtrInput` via:

        ProjectContainerExpirationPolicyArgs{...}

or:

        nil

type ProjectContainerExpirationPolicyPtrOutput added in v4.7.0

type ProjectContainerExpirationPolicyPtrOutput struct{ *pulumi.OutputState }

func (ProjectContainerExpirationPolicyPtrOutput) Cadence added in v4.7.0

The cadence of the policy. Valid values are: `1d`, `7d`, `14d`, `1month`, `3month`.

func (ProjectContainerExpirationPolicyPtrOutput) Elem added in v4.7.0

func (ProjectContainerExpirationPolicyPtrOutput) ElementType added in v4.7.0

func (ProjectContainerExpirationPolicyPtrOutput) Enabled added in v4.7.0

If true, the policy is enabled.

func (ProjectContainerExpirationPolicyPtrOutput) KeepN added in v4.7.0

The number of images to keep.

func (ProjectContainerExpirationPolicyPtrOutput) NameRegexDelete added in v4.7.0

The regular expression to match image names to delete. **Note**: the upstream API has some inconsistencies with the `nameRegex` field here. It's basically unusable at the moment.

func (ProjectContainerExpirationPolicyPtrOutput) NameRegexKeep added in v4.7.0

The regular expression to match image names to keep.

func (ProjectContainerExpirationPolicyPtrOutput) NextRunAt added in v4.7.0

The next time the policy will run.

func (ProjectContainerExpirationPolicyPtrOutput) OlderThan added in v4.7.0

The number of days to keep images.

func (ProjectContainerExpirationPolicyPtrOutput) ToProjectContainerExpirationPolicyPtrOutput added in v4.7.0

func (o ProjectContainerExpirationPolicyPtrOutput) ToProjectContainerExpirationPolicyPtrOutput() ProjectContainerExpirationPolicyPtrOutput

func (ProjectContainerExpirationPolicyPtrOutput) ToProjectContainerExpirationPolicyPtrOutputWithContext added in v4.7.0

func (o ProjectContainerExpirationPolicyPtrOutput) ToProjectContainerExpirationPolicyPtrOutputWithContext(ctx context.Context) ProjectContainerExpirationPolicyPtrOutput

type ProjectCustomAttribute added in v4.5.0

type ProjectCustomAttribute struct {
	pulumi.CustomResourceState

	// Key for the Custom Attribute.
	Key pulumi.StringOutput `pulumi:"key"`
	// The id of the project.
	Project pulumi.IntOutput `pulumi:"project"`
	// Value for the Custom Attribute.
	Value pulumi.StringOutput `pulumi:"value"`
}

The `ProjectCustomAttribute` resource allows to manage custom attributes for a project.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/custom_attributes.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewProjectCustomAttribute(ctx, "attr", &gitlab.ProjectCustomAttributeArgs{
			Key:     pulumi.String("location"),
			Project: pulumi.Int(42),
			Value:   pulumi.String("Greenland"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

You can import a project custom attribute using an id made up of `{project-id}:{key}`, e.g.

```sh

$ pulumi import gitlab:index/projectCustomAttribute:ProjectCustomAttribute attr 42:location

```

func GetProjectCustomAttribute added in v4.5.0

func GetProjectCustomAttribute(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectCustomAttributeState, opts ...pulumi.ResourceOption) (*ProjectCustomAttribute, error)

GetProjectCustomAttribute gets an existing ProjectCustomAttribute resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectCustomAttribute added in v4.5.0

func NewProjectCustomAttribute(ctx *pulumi.Context,
	name string, args *ProjectCustomAttributeArgs, opts ...pulumi.ResourceOption) (*ProjectCustomAttribute, error)

NewProjectCustomAttribute registers a new resource with the given unique name, arguments, and options.

func (*ProjectCustomAttribute) ElementType added in v4.5.0

func (*ProjectCustomAttribute) ElementType() reflect.Type

func (*ProjectCustomAttribute) ToProjectCustomAttributeOutput added in v4.5.0

func (i *ProjectCustomAttribute) ToProjectCustomAttributeOutput() ProjectCustomAttributeOutput

func (*ProjectCustomAttribute) ToProjectCustomAttributeOutputWithContext added in v4.5.0

func (i *ProjectCustomAttribute) ToProjectCustomAttributeOutputWithContext(ctx context.Context) ProjectCustomAttributeOutput

type ProjectCustomAttributeArgs added in v4.5.0

type ProjectCustomAttributeArgs struct {
	// Key for the Custom Attribute.
	Key pulumi.StringInput
	// The id of the project.
	Project pulumi.IntInput
	// Value for the Custom Attribute.
	Value pulumi.StringInput
}

The set of arguments for constructing a ProjectCustomAttribute resource.

func (ProjectCustomAttributeArgs) ElementType added in v4.5.0

func (ProjectCustomAttributeArgs) ElementType() reflect.Type

type ProjectCustomAttributeArray added in v4.5.0

type ProjectCustomAttributeArray []ProjectCustomAttributeInput

func (ProjectCustomAttributeArray) ElementType added in v4.5.0

func (ProjectCustomAttributeArray) ToProjectCustomAttributeArrayOutput added in v4.5.0

func (i ProjectCustomAttributeArray) ToProjectCustomAttributeArrayOutput() ProjectCustomAttributeArrayOutput

func (ProjectCustomAttributeArray) ToProjectCustomAttributeArrayOutputWithContext added in v4.5.0

func (i ProjectCustomAttributeArray) ToProjectCustomAttributeArrayOutputWithContext(ctx context.Context) ProjectCustomAttributeArrayOutput

type ProjectCustomAttributeArrayInput added in v4.5.0

type ProjectCustomAttributeArrayInput interface {
	pulumi.Input

	ToProjectCustomAttributeArrayOutput() ProjectCustomAttributeArrayOutput
	ToProjectCustomAttributeArrayOutputWithContext(context.Context) ProjectCustomAttributeArrayOutput
}

ProjectCustomAttributeArrayInput is an input type that accepts ProjectCustomAttributeArray and ProjectCustomAttributeArrayOutput values. You can construct a concrete instance of `ProjectCustomAttributeArrayInput` via:

ProjectCustomAttributeArray{ ProjectCustomAttributeArgs{...} }

type ProjectCustomAttributeArrayOutput added in v4.5.0

type ProjectCustomAttributeArrayOutput struct{ *pulumi.OutputState }

func (ProjectCustomAttributeArrayOutput) ElementType added in v4.5.0

func (ProjectCustomAttributeArrayOutput) Index added in v4.5.0

func (ProjectCustomAttributeArrayOutput) ToProjectCustomAttributeArrayOutput added in v4.5.0

func (o ProjectCustomAttributeArrayOutput) ToProjectCustomAttributeArrayOutput() ProjectCustomAttributeArrayOutput

func (ProjectCustomAttributeArrayOutput) ToProjectCustomAttributeArrayOutputWithContext added in v4.5.0

func (o ProjectCustomAttributeArrayOutput) ToProjectCustomAttributeArrayOutputWithContext(ctx context.Context) ProjectCustomAttributeArrayOutput

type ProjectCustomAttributeInput added in v4.5.0

type ProjectCustomAttributeInput interface {
	pulumi.Input

	ToProjectCustomAttributeOutput() ProjectCustomAttributeOutput
	ToProjectCustomAttributeOutputWithContext(ctx context.Context) ProjectCustomAttributeOutput
}

type ProjectCustomAttributeMap added in v4.5.0

type ProjectCustomAttributeMap map[string]ProjectCustomAttributeInput

func (ProjectCustomAttributeMap) ElementType added in v4.5.0

func (ProjectCustomAttributeMap) ElementType() reflect.Type

func (ProjectCustomAttributeMap) ToProjectCustomAttributeMapOutput added in v4.5.0

func (i ProjectCustomAttributeMap) ToProjectCustomAttributeMapOutput() ProjectCustomAttributeMapOutput

func (ProjectCustomAttributeMap) ToProjectCustomAttributeMapOutputWithContext added in v4.5.0

func (i ProjectCustomAttributeMap) ToProjectCustomAttributeMapOutputWithContext(ctx context.Context) ProjectCustomAttributeMapOutput

type ProjectCustomAttributeMapInput added in v4.5.0

type ProjectCustomAttributeMapInput interface {
	pulumi.Input

	ToProjectCustomAttributeMapOutput() ProjectCustomAttributeMapOutput
	ToProjectCustomAttributeMapOutputWithContext(context.Context) ProjectCustomAttributeMapOutput
}

ProjectCustomAttributeMapInput is an input type that accepts ProjectCustomAttributeMap and ProjectCustomAttributeMapOutput values. You can construct a concrete instance of `ProjectCustomAttributeMapInput` via:

ProjectCustomAttributeMap{ "key": ProjectCustomAttributeArgs{...} }

type ProjectCustomAttributeMapOutput added in v4.5.0

type ProjectCustomAttributeMapOutput struct{ *pulumi.OutputState }

func (ProjectCustomAttributeMapOutput) ElementType added in v4.5.0

func (ProjectCustomAttributeMapOutput) MapIndex added in v4.5.0

func (ProjectCustomAttributeMapOutput) ToProjectCustomAttributeMapOutput added in v4.5.0

func (o ProjectCustomAttributeMapOutput) ToProjectCustomAttributeMapOutput() ProjectCustomAttributeMapOutput

func (ProjectCustomAttributeMapOutput) ToProjectCustomAttributeMapOutputWithContext added in v4.5.0

func (o ProjectCustomAttributeMapOutput) ToProjectCustomAttributeMapOutputWithContext(ctx context.Context) ProjectCustomAttributeMapOutput

type ProjectCustomAttributeOutput added in v4.5.0

type ProjectCustomAttributeOutput struct{ *pulumi.OutputState }

func (ProjectCustomAttributeOutput) ElementType added in v4.5.0

func (ProjectCustomAttributeOutput) Key added in v4.7.1

Key for the Custom Attribute.

func (ProjectCustomAttributeOutput) Project added in v4.7.1

The id of the project.

func (ProjectCustomAttributeOutput) ToProjectCustomAttributeOutput added in v4.5.0

func (o ProjectCustomAttributeOutput) ToProjectCustomAttributeOutput() ProjectCustomAttributeOutput

func (ProjectCustomAttributeOutput) ToProjectCustomAttributeOutputWithContext added in v4.5.0

func (o ProjectCustomAttributeOutput) ToProjectCustomAttributeOutputWithContext(ctx context.Context) ProjectCustomAttributeOutput

func (ProjectCustomAttributeOutput) Value added in v4.7.1

Value for the Custom Attribute.

type ProjectCustomAttributeState added in v4.5.0

type ProjectCustomAttributeState struct {
	// Key for the Custom Attribute.
	Key pulumi.StringPtrInput
	// The id of the project.
	Project pulumi.IntPtrInput
	// Value for the Custom Attribute.
	Value pulumi.StringPtrInput
}

func (ProjectCustomAttributeState) ElementType added in v4.5.0

type ProjectEnvironment added in v4.7.0

type ProjectEnvironment struct {
	pulumi.CustomResourceState

	// The ISO8601 date/time that this environment was created at in UTC.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// Place to link to for this environment.
	ExternalUrl pulumi.StringPtrOutput `pulumi:"externalUrl"`
	// The name of the environment.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID or full path of the project to environment is created for.
	Project pulumi.StringOutput `pulumi:"project"`
	// The name of the environment in lowercase, shortened to 63 bytes, and with everything except 0-9 and a-z replaced with -. No leading / trailing -. Use in URLs, host names and domain names.
	Slug pulumi.StringOutput `pulumi:"slug"`
	// State the environment is in. Valid values are `available`, `stopped`.
	State pulumi.StringOutput `pulumi:"state"`
	// Determines whether the environment is attempted to be stopped before the environment is deleted.
	StopBeforeDestroy pulumi.BoolPtrOutput `pulumi:"stopBeforeDestroy"`
	// The ISO8601 date/time that this environment was last updated at in UTC.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		thisGroup, err := gitlab.NewGroup(ctx, "thisGroup", &gitlab.GroupArgs{
			Path:        pulumi.String("example"),
			Description: pulumi.String("An example group"),
		})
		if err != nil {
			return err
		}
		thisProject, err := gitlab.NewProject(ctx, "thisProject", &gitlab.ProjectArgs{
			NamespaceId:          thisGroup.ID(),
			InitializeWithReadme: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewProjectEnvironment(ctx, "thisProjectEnvironment", &gitlab.ProjectEnvironmentArgs{
			Project:     thisProject.ID(),
			ExternalUrl: pulumi.String("www.example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GitLab project environments can be imported using an id made up of `projectId:environmenId`, e.g.

```sh

$ pulumi import gitlab:index/projectEnvironment:ProjectEnvironment bar 123:321

```

func GetProjectEnvironment added in v4.7.0

func GetProjectEnvironment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectEnvironmentState, opts ...pulumi.ResourceOption) (*ProjectEnvironment, error)

GetProjectEnvironment gets an existing ProjectEnvironment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectEnvironment added in v4.7.0

func NewProjectEnvironment(ctx *pulumi.Context,
	name string, args *ProjectEnvironmentArgs, opts ...pulumi.ResourceOption) (*ProjectEnvironment, error)

NewProjectEnvironment registers a new resource with the given unique name, arguments, and options.

func (*ProjectEnvironment) ElementType added in v4.7.0

func (*ProjectEnvironment) ElementType() reflect.Type

func (*ProjectEnvironment) ToProjectEnvironmentOutput added in v4.7.0

func (i *ProjectEnvironment) ToProjectEnvironmentOutput() ProjectEnvironmentOutput

func (*ProjectEnvironment) ToProjectEnvironmentOutputWithContext added in v4.7.0

func (i *ProjectEnvironment) ToProjectEnvironmentOutputWithContext(ctx context.Context) ProjectEnvironmentOutput

type ProjectEnvironmentArgs added in v4.7.0

type ProjectEnvironmentArgs struct {
	// Place to link to for this environment.
	ExternalUrl pulumi.StringPtrInput
	// The name of the environment.
	Name pulumi.StringPtrInput
	// The ID or full path of the project to environment is created for.
	Project pulumi.StringInput
	// Determines whether the environment is attempted to be stopped before the environment is deleted.
	StopBeforeDestroy pulumi.BoolPtrInput
}

The set of arguments for constructing a ProjectEnvironment resource.

func (ProjectEnvironmentArgs) ElementType added in v4.7.0

func (ProjectEnvironmentArgs) ElementType() reflect.Type

type ProjectEnvironmentArray added in v4.7.0

type ProjectEnvironmentArray []ProjectEnvironmentInput

func (ProjectEnvironmentArray) ElementType added in v4.7.0

func (ProjectEnvironmentArray) ElementType() reflect.Type

func (ProjectEnvironmentArray) ToProjectEnvironmentArrayOutput added in v4.7.0

func (i ProjectEnvironmentArray) ToProjectEnvironmentArrayOutput() ProjectEnvironmentArrayOutput

func (ProjectEnvironmentArray) ToProjectEnvironmentArrayOutputWithContext added in v4.7.0

func (i ProjectEnvironmentArray) ToProjectEnvironmentArrayOutputWithContext(ctx context.Context) ProjectEnvironmentArrayOutput

type ProjectEnvironmentArrayInput added in v4.7.0

type ProjectEnvironmentArrayInput interface {
	pulumi.Input

	ToProjectEnvironmentArrayOutput() ProjectEnvironmentArrayOutput
	ToProjectEnvironmentArrayOutputWithContext(context.Context) ProjectEnvironmentArrayOutput
}

ProjectEnvironmentArrayInput is an input type that accepts ProjectEnvironmentArray and ProjectEnvironmentArrayOutput values. You can construct a concrete instance of `ProjectEnvironmentArrayInput` via:

ProjectEnvironmentArray{ ProjectEnvironmentArgs{...} }

type ProjectEnvironmentArrayOutput added in v4.7.0

type ProjectEnvironmentArrayOutput struct{ *pulumi.OutputState }

func (ProjectEnvironmentArrayOutput) ElementType added in v4.7.0

func (ProjectEnvironmentArrayOutput) Index added in v4.7.0

func (ProjectEnvironmentArrayOutput) ToProjectEnvironmentArrayOutput added in v4.7.0

func (o ProjectEnvironmentArrayOutput) ToProjectEnvironmentArrayOutput() ProjectEnvironmentArrayOutput

func (ProjectEnvironmentArrayOutput) ToProjectEnvironmentArrayOutputWithContext added in v4.7.0

func (o ProjectEnvironmentArrayOutput) ToProjectEnvironmentArrayOutputWithContext(ctx context.Context) ProjectEnvironmentArrayOutput

type ProjectEnvironmentInput added in v4.7.0

type ProjectEnvironmentInput interface {
	pulumi.Input

	ToProjectEnvironmentOutput() ProjectEnvironmentOutput
	ToProjectEnvironmentOutputWithContext(ctx context.Context) ProjectEnvironmentOutput
}

type ProjectEnvironmentMap added in v4.7.0

type ProjectEnvironmentMap map[string]ProjectEnvironmentInput

func (ProjectEnvironmentMap) ElementType added in v4.7.0

func (ProjectEnvironmentMap) ElementType() reflect.Type

func (ProjectEnvironmentMap) ToProjectEnvironmentMapOutput added in v4.7.0

func (i ProjectEnvironmentMap) ToProjectEnvironmentMapOutput() ProjectEnvironmentMapOutput

func (ProjectEnvironmentMap) ToProjectEnvironmentMapOutputWithContext added in v4.7.0

func (i ProjectEnvironmentMap) ToProjectEnvironmentMapOutputWithContext(ctx context.Context) ProjectEnvironmentMapOutput

type ProjectEnvironmentMapInput added in v4.7.0

type ProjectEnvironmentMapInput interface {
	pulumi.Input

	ToProjectEnvironmentMapOutput() ProjectEnvironmentMapOutput
	ToProjectEnvironmentMapOutputWithContext(context.Context) ProjectEnvironmentMapOutput
}

ProjectEnvironmentMapInput is an input type that accepts ProjectEnvironmentMap and ProjectEnvironmentMapOutput values. You can construct a concrete instance of `ProjectEnvironmentMapInput` via:

ProjectEnvironmentMap{ "key": ProjectEnvironmentArgs{...} }

type ProjectEnvironmentMapOutput added in v4.7.0

type ProjectEnvironmentMapOutput struct{ *pulumi.OutputState }

func (ProjectEnvironmentMapOutput) ElementType added in v4.7.0

func (ProjectEnvironmentMapOutput) MapIndex added in v4.7.0

func (ProjectEnvironmentMapOutput) ToProjectEnvironmentMapOutput added in v4.7.0

func (o ProjectEnvironmentMapOutput) ToProjectEnvironmentMapOutput() ProjectEnvironmentMapOutput

func (ProjectEnvironmentMapOutput) ToProjectEnvironmentMapOutputWithContext added in v4.7.0

func (o ProjectEnvironmentMapOutput) ToProjectEnvironmentMapOutputWithContext(ctx context.Context) ProjectEnvironmentMapOutput

type ProjectEnvironmentOutput added in v4.7.0

type ProjectEnvironmentOutput struct{ *pulumi.OutputState }

func (ProjectEnvironmentOutput) CreatedAt added in v4.7.1

The ISO8601 date/time that this environment was created at in UTC.

func (ProjectEnvironmentOutput) ElementType added in v4.7.0

func (ProjectEnvironmentOutput) ElementType() reflect.Type

func (ProjectEnvironmentOutput) ExternalUrl added in v4.7.1

Place to link to for this environment.

func (ProjectEnvironmentOutput) Name added in v4.7.1

The name of the environment.

func (ProjectEnvironmentOutput) Project added in v4.7.1

The ID or full path of the project to environment is created for.

func (ProjectEnvironmentOutput) Slug added in v4.7.1

The name of the environment in lowercase, shortened to 63 bytes, and with everything except 0-9 and a-z replaced with -. No leading / trailing -. Use in URLs, host names and domain names.

func (ProjectEnvironmentOutput) State added in v4.7.1

State the environment is in. Valid values are `available`, `stopped`.

func (ProjectEnvironmentOutput) StopBeforeDestroy added in v4.7.1

func (o ProjectEnvironmentOutput) StopBeforeDestroy() pulumi.BoolPtrOutput

Determines whether the environment is attempted to be stopped before the environment is deleted.

func (ProjectEnvironmentOutput) ToProjectEnvironmentOutput added in v4.7.0

func (o ProjectEnvironmentOutput) ToProjectEnvironmentOutput() ProjectEnvironmentOutput

func (ProjectEnvironmentOutput) ToProjectEnvironmentOutputWithContext added in v4.7.0

func (o ProjectEnvironmentOutput) ToProjectEnvironmentOutputWithContext(ctx context.Context) ProjectEnvironmentOutput

func (ProjectEnvironmentOutput) UpdatedAt added in v4.7.1

The ISO8601 date/time that this environment was last updated at in UTC.

type ProjectEnvironmentState added in v4.7.0

type ProjectEnvironmentState struct {
	// The ISO8601 date/time that this environment was created at in UTC.
	CreatedAt pulumi.StringPtrInput
	// Place to link to for this environment.
	ExternalUrl pulumi.StringPtrInput
	// The name of the environment.
	Name pulumi.StringPtrInput
	// The ID or full path of the project to environment is created for.
	Project pulumi.StringPtrInput
	// The name of the environment in lowercase, shortened to 63 bytes, and with everything except 0-9 and a-z replaced with -. No leading / trailing -. Use in URLs, host names and domain names.
	Slug pulumi.StringPtrInput
	// State the environment is in. Valid values are `available`, `stopped`.
	State pulumi.StringPtrInput
	// Determines whether the environment is attempted to be stopped before the environment is deleted.
	StopBeforeDestroy pulumi.BoolPtrInput
	// The ISO8601 date/time that this environment was last updated at in UTC.
	UpdatedAt pulumi.StringPtrInput
}

func (ProjectEnvironmentState) ElementType added in v4.7.0

func (ProjectEnvironmentState) ElementType() reflect.Type

type ProjectFreezePeriod

type ProjectFreezePeriod struct {
	pulumi.CustomResourceState

	// The timezone.
	CronTimezone pulumi.StringPtrOutput `pulumi:"cronTimezone"`
	// End of the Freeze Period in cron format (e.g. `0 2 * * *`).
	FreezeEnd pulumi.StringOutput `pulumi:"freezeEnd"`
	// Start of the Freeze Period in cron format (e.g. `0 1 * * *`).
	FreezeStart pulumi.StringOutput `pulumi:"freezeStart"`
	// The id of the project to add the schedule to.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
}

The `ProjectFreezePeriod` resource allows to manage the lifecycle of a freeze period for a project.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/freeze_periods.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewProjectFreezePeriod(ctx, "schedule", &gitlab.ProjectFreezePeriodArgs{
			ProjectId:    pulumi.Any(gitlab_project.Foo.Id),
			FreezeStart:  pulumi.String("0 23 * * 5"),
			FreezeEnd:    pulumi.String("0 7 * * 1"),
			CronTimezone: pulumi.String("UTC"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GitLab project freeze periods can be imported using an id made up of `project_id:freeze_period_id`, e.g.

```sh

$ pulumi import gitlab:index/projectFreezePeriod:ProjectFreezePeriod schedule "12345:1337"

```

func GetProjectFreezePeriod

func GetProjectFreezePeriod(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectFreezePeriodState, opts ...pulumi.ResourceOption) (*ProjectFreezePeriod, error)

GetProjectFreezePeriod gets an existing ProjectFreezePeriod resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectFreezePeriod

func NewProjectFreezePeriod(ctx *pulumi.Context,
	name string, args *ProjectFreezePeriodArgs, opts ...pulumi.ResourceOption) (*ProjectFreezePeriod, error)

NewProjectFreezePeriod registers a new resource with the given unique name, arguments, and options.

func (*ProjectFreezePeriod) ElementType

func (*ProjectFreezePeriod) ElementType() reflect.Type

func (*ProjectFreezePeriod) ToProjectFreezePeriodOutput

func (i *ProjectFreezePeriod) ToProjectFreezePeriodOutput() ProjectFreezePeriodOutput

func (*ProjectFreezePeriod) ToProjectFreezePeriodOutputWithContext

func (i *ProjectFreezePeriod) ToProjectFreezePeriodOutputWithContext(ctx context.Context) ProjectFreezePeriodOutput

type ProjectFreezePeriodArgs

type ProjectFreezePeriodArgs struct {
	// The timezone.
	CronTimezone pulumi.StringPtrInput
	// End of the Freeze Period in cron format (e.g. `0 2 * * *`).
	FreezeEnd pulumi.StringInput
	// Start of the Freeze Period in cron format (e.g. `0 1 * * *`).
	FreezeStart pulumi.StringInput
	// The id of the project to add the schedule to.
	ProjectId pulumi.StringInput
}

The set of arguments for constructing a ProjectFreezePeriod resource.

func (ProjectFreezePeriodArgs) ElementType

func (ProjectFreezePeriodArgs) ElementType() reflect.Type

type ProjectFreezePeriodArray

type ProjectFreezePeriodArray []ProjectFreezePeriodInput

func (ProjectFreezePeriodArray) ElementType

func (ProjectFreezePeriodArray) ElementType() reflect.Type

func (ProjectFreezePeriodArray) ToProjectFreezePeriodArrayOutput

func (i ProjectFreezePeriodArray) ToProjectFreezePeriodArrayOutput() ProjectFreezePeriodArrayOutput

func (ProjectFreezePeriodArray) ToProjectFreezePeriodArrayOutputWithContext

func (i ProjectFreezePeriodArray) ToProjectFreezePeriodArrayOutputWithContext(ctx context.Context) ProjectFreezePeriodArrayOutput

type ProjectFreezePeriodArrayInput

type ProjectFreezePeriodArrayInput interface {
	pulumi.Input

	ToProjectFreezePeriodArrayOutput() ProjectFreezePeriodArrayOutput
	ToProjectFreezePeriodArrayOutputWithContext(context.Context) ProjectFreezePeriodArrayOutput
}

ProjectFreezePeriodArrayInput is an input type that accepts ProjectFreezePeriodArray and ProjectFreezePeriodArrayOutput values. You can construct a concrete instance of `ProjectFreezePeriodArrayInput` via:

ProjectFreezePeriodArray{ ProjectFreezePeriodArgs{...} }

type ProjectFreezePeriodArrayOutput

type ProjectFreezePeriodArrayOutput struct{ *pulumi.OutputState }

func (ProjectFreezePeriodArrayOutput) ElementType

func (ProjectFreezePeriodArrayOutput) Index

func (ProjectFreezePeriodArrayOutput) ToProjectFreezePeriodArrayOutput

func (o ProjectFreezePeriodArrayOutput) ToProjectFreezePeriodArrayOutput() ProjectFreezePeriodArrayOutput

func (ProjectFreezePeriodArrayOutput) ToProjectFreezePeriodArrayOutputWithContext

func (o ProjectFreezePeriodArrayOutput) ToProjectFreezePeriodArrayOutputWithContext(ctx context.Context) ProjectFreezePeriodArrayOutput

type ProjectFreezePeriodInput

type ProjectFreezePeriodInput interface {
	pulumi.Input

	ToProjectFreezePeriodOutput() ProjectFreezePeriodOutput
	ToProjectFreezePeriodOutputWithContext(ctx context.Context) ProjectFreezePeriodOutput
}

type ProjectFreezePeriodMap

type ProjectFreezePeriodMap map[string]ProjectFreezePeriodInput

func (ProjectFreezePeriodMap) ElementType

func (ProjectFreezePeriodMap) ElementType() reflect.Type

func (ProjectFreezePeriodMap) ToProjectFreezePeriodMapOutput

func (i ProjectFreezePeriodMap) ToProjectFreezePeriodMapOutput() ProjectFreezePeriodMapOutput

func (ProjectFreezePeriodMap) ToProjectFreezePeriodMapOutputWithContext

func (i ProjectFreezePeriodMap) ToProjectFreezePeriodMapOutputWithContext(ctx context.Context) ProjectFreezePeriodMapOutput

type ProjectFreezePeriodMapInput

type ProjectFreezePeriodMapInput interface {
	pulumi.Input

	ToProjectFreezePeriodMapOutput() ProjectFreezePeriodMapOutput
	ToProjectFreezePeriodMapOutputWithContext(context.Context) ProjectFreezePeriodMapOutput
}

ProjectFreezePeriodMapInput is an input type that accepts ProjectFreezePeriodMap and ProjectFreezePeriodMapOutput values. You can construct a concrete instance of `ProjectFreezePeriodMapInput` via:

ProjectFreezePeriodMap{ "key": ProjectFreezePeriodArgs{...} }

type ProjectFreezePeriodMapOutput

type ProjectFreezePeriodMapOutput struct{ *pulumi.OutputState }

func (ProjectFreezePeriodMapOutput) ElementType

func (ProjectFreezePeriodMapOutput) MapIndex

func (ProjectFreezePeriodMapOutput) ToProjectFreezePeriodMapOutput

func (o ProjectFreezePeriodMapOutput) ToProjectFreezePeriodMapOutput() ProjectFreezePeriodMapOutput

func (ProjectFreezePeriodMapOutput) ToProjectFreezePeriodMapOutputWithContext

func (o ProjectFreezePeriodMapOutput) ToProjectFreezePeriodMapOutputWithContext(ctx context.Context) ProjectFreezePeriodMapOutput

type ProjectFreezePeriodOutput

type ProjectFreezePeriodOutput struct{ *pulumi.OutputState }

func (ProjectFreezePeriodOutput) CronTimezone added in v4.7.1

The timezone.

func (ProjectFreezePeriodOutput) ElementType

func (ProjectFreezePeriodOutput) ElementType() reflect.Type

func (ProjectFreezePeriodOutput) FreezeEnd added in v4.7.1

End of the Freeze Period in cron format (e.g. `0 2 * * *`).

func (ProjectFreezePeriodOutput) FreezeStart added in v4.7.1

Start of the Freeze Period in cron format (e.g. `0 1 * * *`).

func (ProjectFreezePeriodOutput) ProjectId added in v4.7.1

The id of the project to add the schedule to.

func (ProjectFreezePeriodOutput) ToProjectFreezePeriodOutput

func (o ProjectFreezePeriodOutput) ToProjectFreezePeriodOutput() ProjectFreezePeriodOutput

func (ProjectFreezePeriodOutput) ToProjectFreezePeriodOutputWithContext

func (o ProjectFreezePeriodOutput) ToProjectFreezePeriodOutputWithContext(ctx context.Context) ProjectFreezePeriodOutput

type ProjectFreezePeriodState

type ProjectFreezePeriodState struct {
	// The timezone.
	CronTimezone pulumi.StringPtrInput
	// End of the Freeze Period in cron format (e.g. `0 2 * * *`).
	FreezeEnd pulumi.StringPtrInput
	// Start of the Freeze Period in cron format (e.g. `0 1 * * *`).
	FreezeStart pulumi.StringPtrInput
	// The id of the project to add the schedule to.
	ProjectId pulumi.StringPtrInput
}

func (ProjectFreezePeriodState) ElementType

func (ProjectFreezePeriodState) ElementType() reflect.Type

type ProjectHook

type ProjectHook struct {
	pulumi.CustomResourceState

	// Invoke the hook for confidential issues events.
	ConfidentialIssuesEvents pulumi.BoolPtrOutput `pulumi:"confidentialIssuesEvents"`
	// Invoke the hook for confidential notes events.
	ConfidentialNoteEvents pulumi.BoolPtrOutput `pulumi:"confidentialNoteEvents"`
	// Invoke the hook for deployment events.
	DeploymentEvents pulumi.BoolPtrOutput `pulumi:"deploymentEvents"`
	// Enable ssl verification when invoking the hook.
	EnableSslVerification pulumi.BoolPtrOutput `pulumi:"enableSslVerification"`
	// The id of the project hook.
	HookId pulumi.IntOutput `pulumi:"hookId"`
	// Invoke the hook for issues events.
	IssuesEvents pulumi.BoolPtrOutput `pulumi:"issuesEvents"`
	// Invoke the hook for job events.
	JobEvents pulumi.BoolPtrOutput `pulumi:"jobEvents"`
	// Invoke the hook for merge requests.
	MergeRequestsEvents pulumi.BoolPtrOutput `pulumi:"mergeRequestsEvents"`
	// Invoke the hook for notes events.
	NoteEvents pulumi.BoolPtrOutput `pulumi:"noteEvents"`
	// Invoke the hook for pipeline events.
	PipelineEvents pulumi.BoolPtrOutput `pulumi:"pipelineEvents"`
	// The name or id of the project to add the hook to.
	Project pulumi.StringOutput `pulumi:"project"`
	// The id of the project for the hook.
	ProjectId pulumi.IntOutput `pulumi:"projectId"`
	// Invoke the hook for push events.
	PushEvents pulumi.BoolPtrOutput `pulumi:"pushEvents"`
	// Invoke the hook for push events on matching branches only.
	PushEventsBranchFilter pulumi.StringPtrOutput `pulumi:"pushEventsBranchFilter"`
	// Invoke the hook for releases events.
	ReleasesEvents pulumi.BoolPtrOutput `pulumi:"releasesEvents"`
	// Invoke the hook for tag push events.
	TagPushEvents pulumi.BoolPtrOutput `pulumi:"tagPushEvents"`
	// A token to present when invoking the hook. The token is not available for imported resources.
	Token pulumi.StringPtrOutput `pulumi:"token"`
	// The url of the hook to invoke.
	Url pulumi.StringOutput `pulumi:"url"`
	// Invoke the hook for wiki page events.
	WikiPageEvents pulumi.BoolPtrOutput `pulumi:"wikiPageEvents"`
}

The `ProjectHook` resource allows to manage the lifecycle of a project hook.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/projects.html#hooks)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewProjectHook(ctx, "example", &gitlab.ProjectHookArgs{
			MergeRequestsEvents: pulumi.Bool(true),
			Project:             pulumi.String("example/hooked"),
			Url:                 pulumi.String("https://example.com/hook/example"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

A GitLab Project Hook can be imported using a key composed of `<project-id>:<hook-id>`, e.g.

```sh

$ pulumi import gitlab:index/projectHook:ProjectHook example "12345:1"

```

NOTEthe `token` resource attribute is not available for imported resources as this information cannot be read from the GitLab API.

func GetProjectHook

func GetProjectHook(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectHookState, opts ...pulumi.ResourceOption) (*ProjectHook, error)

GetProjectHook gets an existing ProjectHook resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectHook

func NewProjectHook(ctx *pulumi.Context,
	name string, args *ProjectHookArgs, opts ...pulumi.ResourceOption) (*ProjectHook, error)

NewProjectHook registers a new resource with the given unique name, arguments, and options.

func (*ProjectHook) ElementType

func (*ProjectHook) ElementType() reflect.Type

func (*ProjectHook) ToProjectHookOutput

func (i *ProjectHook) ToProjectHookOutput() ProjectHookOutput

func (*ProjectHook) ToProjectHookOutputWithContext

func (i *ProjectHook) ToProjectHookOutputWithContext(ctx context.Context) ProjectHookOutput

type ProjectHookArgs

type ProjectHookArgs struct {
	// Invoke the hook for confidential issues events.
	ConfidentialIssuesEvents pulumi.BoolPtrInput
	// Invoke the hook for confidential notes events.
	ConfidentialNoteEvents pulumi.BoolPtrInput
	// Invoke the hook for deployment events.
	DeploymentEvents pulumi.BoolPtrInput
	// Enable ssl verification when invoking the hook.
	EnableSslVerification pulumi.BoolPtrInput
	// Invoke the hook for issues events.
	IssuesEvents pulumi.BoolPtrInput
	// Invoke the hook for job events.
	JobEvents pulumi.BoolPtrInput
	// Invoke the hook for merge requests.
	MergeRequestsEvents pulumi.BoolPtrInput
	// Invoke the hook for notes events.
	NoteEvents pulumi.BoolPtrInput
	// Invoke the hook for pipeline events.
	PipelineEvents pulumi.BoolPtrInput
	// The name or id of the project to add the hook to.
	Project pulumi.StringInput
	// Invoke the hook for push events.
	PushEvents pulumi.BoolPtrInput
	// Invoke the hook for push events on matching branches only.
	PushEventsBranchFilter pulumi.StringPtrInput
	// Invoke the hook for releases events.
	ReleasesEvents pulumi.BoolPtrInput
	// Invoke the hook for tag push events.
	TagPushEvents pulumi.BoolPtrInput
	// A token to present when invoking the hook. The token is not available for imported resources.
	Token pulumi.StringPtrInput
	// The url of the hook to invoke.
	Url pulumi.StringInput
	// Invoke the hook for wiki page events.
	WikiPageEvents pulumi.BoolPtrInput
}

The set of arguments for constructing a ProjectHook resource.

func (ProjectHookArgs) ElementType

func (ProjectHookArgs) ElementType() reflect.Type

type ProjectHookArray

type ProjectHookArray []ProjectHookInput

func (ProjectHookArray) ElementType

func (ProjectHookArray) ElementType() reflect.Type

func (ProjectHookArray) ToProjectHookArrayOutput

func (i ProjectHookArray) ToProjectHookArrayOutput() ProjectHookArrayOutput

func (ProjectHookArray) ToProjectHookArrayOutputWithContext

func (i ProjectHookArray) ToProjectHookArrayOutputWithContext(ctx context.Context) ProjectHookArrayOutput

type ProjectHookArrayInput

type ProjectHookArrayInput interface {
	pulumi.Input

	ToProjectHookArrayOutput() ProjectHookArrayOutput
	ToProjectHookArrayOutputWithContext(context.Context) ProjectHookArrayOutput
}

ProjectHookArrayInput is an input type that accepts ProjectHookArray and ProjectHookArrayOutput values. You can construct a concrete instance of `ProjectHookArrayInput` via:

ProjectHookArray{ ProjectHookArgs{...} }

type ProjectHookArrayOutput

type ProjectHookArrayOutput struct{ *pulumi.OutputState }

func (ProjectHookArrayOutput) ElementType

func (ProjectHookArrayOutput) ElementType() reflect.Type

func (ProjectHookArrayOutput) Index

func (ProjectHookArrayOutput) ToProjectHookArrayOutput

func (o ProjectHookArrayOutput) ToProjectHookArrayOutput() ProjectHookArrayOutput

func (ProjectHookArrayOutput) ToProjectHookArrayOutputWithContext

func (o ProjectHookArrayOutput) ToProjectHookArrayOutputWithContext(ctx context.Context) ProjectHookArrayOutput

type ProjectHookInput

type ProjectHookInput interface {
	pulumi.Input

	ToProjectHookOutput() ProjectHookOutput
	ToProjectHookOutputWithContext(ctx context.Context) ProjectHookOutput
}

type ProjectHookMap

type ProjectHookMap map[string]ProjectHookInput

func (ProjectHookMap) ElementType

func (ProjectHookMap) ElementType() reflect.Type

func (ProjectHookMap) ToProjectHookMapOutput

func (i ProjectHookMap) ToProjectHookMapOutput() ProjectHookMapOutput

func (ProjectHookMap) ToProjectHookMapOutputWithContext

func (i ProjectHookMap) ToProjectHookMapOutputWithContext(ctx context.Context) ProjectHookMapOutput

type ProjectHookMapInput

type ProjectHookMapInput interface {
	pulumi.Input

	ToProjectHookMapOutput() ProjectHookMapOutput
	ToProjectHookMapOutputWithContext(context.Context) ProjectHookMapOutput
}

ProjectHookMapInput is an input type that accepts ProjectHookMap and ProjectHookMapOutput values. You can construct a concrete instance of `ProjectHookMapInput` via:

ProjectHookMap{ "key": ProjectHookArgs{...} }

type ProjectHookMapOutput

type ProjectHookMapOutput struct{ *pulumi.OutputState }

func (ProjectHookMapOutput) ElementType

func (ProjectHookMapOutput) ElementType() reflect.Type

func (ProjectHookMapOutput) MapIndex

func (ProjectHookMapOutput) ToProjectHookMapOutput

func (o ProjectHookMapOutput) ToProjectHookMapOutput() ProjectHookMapOutput

func (ProjectHookMapOutput) ToProjectHookMapOutputWithContext

func (o ProjectHookMapOutput) ToProjectHookMapOutputWithContext(ctx context.Context) ProjectHookMapOutput

type ProjectHookOutput

type ProjectHookOutput struct{ *pulumi.OutputState }

func (ProjectHookOutput) ConfidentialIssuesEvents added in v4.7.1

func (o ProjectHookOutput) ConfidentialIssuesEvents() pulumi.BoolPtrOutput

Invoke the hook for confidential issues events.

func (ProjectHookOutput) ConfidentialNoteEvents added in v4.7.1

func (o ProjectHookOutput) ConfidentialNoteEvents() pulumi.BoolPtrOutput

Invoke the hook for confidential notes events.

func (ProjectHookOutput) DeploymentEvents added in v4.7.1

func (o ProjectHookOutput) DeploymentEvents() pulumi.BoolPtrOutput

Invoke the hook for deployment events.

func (ProjectHookOutput) ElementType

func (ProjectHookOutput) ElementType() reflect.Type

func (ProjectHookOutput) EnableSslVerification added in v4.7.1

func (o ProjectHookOutput) EnableSslVerification() pulumi.BoolPtrOutput

Enable ssl verification when invoking the hook.

func (ProjectHookOutput) HookId added in v4.9.0

func (o ProjectHookOutput) HookId() pulumi.IntOutput

The id of the project hook.

func (ProjectHookOutput) IssuesEvents added in v4.7.1

func (o ProjectHookOutput) IssuesEvents() pulumi.BoolPtrOutput

Invoke the hook for issues events.

func (ProjectHookOutput) JobEvents added in v4.7.1

func (o ProjectHookOutput) JobEvents() pulumi.BoolPtrOutput

Invoke the hook for job events.

func (ProjectHookOutput) MergeRequestsEvents added in v4.7.1

func (o ProjectHookOutput) MergeRequestsEvents() pulumi.BoolPtrOutput

Invoke the hook for merge requests.

func (ProjectHookOutput) NoteEvents added in v4.7.1

func (o ProjectHookOutput) NoteEvents() pulumi.BoolPtrOutput

Invoke the hook for notes events.

func (ProjectHookOutput) PipelineEvents added in v4.7.1

func (o ProjectHookOutput) PipelineEvents() pulumi.BoolPtrOutput

Invoke the hook for pipeline events.

func (ProjectHookOutput) Project added in v4.7.1

The name or id of the project to add the hook to.

func (ProjectHookOutput) ProjectId added in v4.9.0

func (o ProjectHookOutput) ProjectId() pulumi.IntOutput

The id of the project for the hook.

func (ProjectHookOutput) PushEvents added in v4.7.1

func (o ProjectHookOutput) PushEvents() pulumi.BoolPtrOutput

Invoke the hook for push events.

func (ProjectHookOutput) PushEventsBranchFilter added in v4.7.1

func (o ProjectHookOutput) PushEventsBranchFilter() pulumi.StringPtrOutput

Invoke the hook for push events on matching branches only.

func (ProjectHookOutput) ReleasesEvents added in v4.7.1

func (o ProjectHookOutput) ReleasesEvents() pulumi.BoolPtrOutput

Invoke the hook for releases events.

func (ProjectHookOutput) TagPushEvents added in v4.7.1

func (o ProjectHookOutput) TagPushEvents() pulumi.BoolPtrOutput

Invoke the hook for tag push events.

func (ProjectHookOutput) ToProjectHookOutput

func (o ProjectHookOutput) ToProjectHookOutput() ProjectHookOutput

func (ProjectHookOutput) ToProjectHookOutputWithContext

func (o ProjectHookOutput) ToProjectHookOutputWithContext(ctx context.Context) ProjectHookOutput

func (ProjectHookOutput) Token added in v4.7.1

A token to present when invoking the hook. The token is not available for imported resources.

func (ProjectHookOutput) Url added in v4.7.1

The url of the hook to invoke.

func (ProjectHookOutput) WikiPageEvents added in v4.7.1

func (o ProjectHookOutput) WikiPageEvents() pulumi.BoolPtrOutput

Invoke the hook for wiki page events.

type ProjectHookState

type ProjectHookState struct {
	// Invoke the hook for confidential issues events.
	ConfidentialIssuesEvents pulumi.BoolPtrInput
	// Invoke the hook for confidential notes events.
	ConfidentialNoteEvents pulumi.BoolPtrInput
	// Invoke the hook for deployment events.
	DeploymentEvents pulumi.BoolPtrInput
	// Enable ssl verification when invoking the hook.
	EnableSslVerification pulumi.BoolPtrInput
	// The id of the project hook.
	HookId pulumi.IntPtrInput
	// Invoke the hook for issues events.
	IssuesEvents pulumi.BoolPtrInput
	// Invoke the hook for job events.
	JobEvents pulumi.BoolPtrInput
	// Invoke the hook for merge requests.
	MergeRequestsEvents pulumi.BoolPtrInput
	// Invoke the hook for notes events.
	NoteEvents pulumi.BoolPtrInput
	// Invoke the hook for pipeline events.
	PipelineEvents pulumi.BoolPtrInput
	// The name or id of the project to add the hook to.
	Project pulumi.StringPtrInput
	// The id of the project for the hook.
	ProjectId pulumi.IntPtrInput
	// Invoke the hook for push events.
	PushEvents pulumi.BoolPtrInput
	// Invoke the hook for push events on matching branches only.
	PushEventsBranchFilter pulumi.StringPtrInput
	// Invoke the hook for releases events.
	ReleasesEvents pulumi.BoolPtrInput
	// Invoke the hook for tag push events.
	TagPushEvents pulumi.BoolPtrInput
	// A token to present when invoking the hook. The token is not available for imported resources.
	Token pulumi.StringPtrInput
	// The url of the hook to invoke.
	Url pulumi.StringPtrInput
	// Invoke the hook for wiki page events.
	WikiPageEvents pulumi.BoolPtrInput
}

func (ProjectHookState) ElementType

func (ProjectHookState) ElementType() reflect.Type

type ProjectInput

type ProjectInput interface {
	pulumi.Input

	ToProjectOutput() ProjectOutput
	ToProjectOutputWithContext(ctx context.Context) ProjectOutput
}

type ProjectIssue added in v4.7.0

type ProjectIssue struct {
	pulumi.CustomResourceState

	// The IDs of the users to assign the issue to.
	AssigneeIds pulumi.IntArrayOutput `pulumi:"assigneeIds"`
	// The ID of the author of the issue. Use `User` data source to get more information about the user.
	AuthorId pulumi.IntOutput `pulumi:"authorId"`
	// When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
	ClosedAt pulumi.StringOutput `pulumi:"closedAt"`
	// The ID of the user that closed the issue. Use `User` data source to get more information about the user.
	ClosedByUserId pulumi.IntOutput `pulumi:"closedByUserId"`
	// Set an issue to be confidential.
	Confidential pulumi.BoolPtrOutput `pulumi:"confidential"`
	// When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// Whether the issue is deleted instead of closed during destroy.
	DeleteOnDestroy pulumi.BoolPtrOutput `pulumi:"deleteOnDestroy"`
	// The description of an issue. Limited to 1,048,576 characters.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Whether the issue is locked for discussions or not.
	DiscussionLocked pulumi.BoolPtrOutput `pulumi:"discussionLocked"`
	// The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as resolved. Use in combination with merge*request*to*resolve*discussions_of.
	DiscussionToResolve pulumi.StringPtrOutput `pulumi:"discussionToResolve"`
	// The number of downvotes the issue has received.
	Downvotes pulumi.IntOutput `pulumi:"downvotes"`
	// The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
	// **Note:** removing a due date is currently not supported, see https://github.com/xanzy/go-gitlab/issues/1384 for details.
	DueDate pulumi.StringPtrOutput `pulumi:"dueDate"`
	// ID of the epic to add the issue to. Valid values are greater than or equal to 0.
	EpicId pulumi.IntOutput `pulumi:"epicId"`
	// The ID of the epic issue.
	EpicIssueId pulumi.IntOutput `pulumi:"epicIssueId"`
	// The external ID of the issue.
	ExternalId pulumi.StringOutput `pulumi:"externalId"`
	// The human-readable time estimate of the issue.
	HumanTimeEstimate pulumi.StringOutput `pulumi:"humanTimeEstimate"`
	// The human-readable total time spent of the issue.
	HumanTotalTimeSpent pulumi.StringOutput `pulumi:"humanTotalTimeSpent"`
	// The internal ID of the project's issue.
	Iid pulumi.IntOutput `pulumi:"iid"`
	// The instance-wide ID of the issue.
	IssueId pulumi.IntOutput `pulumi:"issueId"`
	// The ID of the issue link.
	IssueLinkId pulumi.IntOutput `pulumi:"issueLinkId"`
	// The type of issue. Valid values are: `issue`, `incident`, `testCase`.
	IssueType pulumi.StringPtrOutput `pulumi:"issueType"`
	// The labels of an issue.
	Labels pulumi.StringArrayOutput `pulumi:"labels"`
	// The links of the issue.
	Links pulumi.StringMapOutput `pulumi:"links"`
	// The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.
	MergeRequestToResolveDiscussionsOf pulumi.IntPtrOutput `pulumi:"mergeRequestToResolveDiscussionsOf"`
	// The number of merge requests associated with the issue.
	MergeRequestsCount pulumi.IntOutput `pulumi:"mergeRequestsCount"`
	// The global ID of a milestone to assign issue. To find the milestoneId associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.
	MilestoneId pulumi.IntPtrOutput `pulumi:"milestoneId"`
	// The ID of the issue that was moved to.
	MovedToId pulumi.IntOutput `pulumi:"movedToId"`
	// The name or ID of the project.
	Project pulumi.StringOutput `pulumi:"project"`
	// The references of the issue.
	References pulumi.StringMapOutput `pulumi:"references"`
	// The state of the issue. Valid values are: `opened`, `closed`.
	State pulumi.StringPtrOutput `pulumi:"state"`
	// Whether the authenticated user is subscribed to the issue or not.
	Subscribed pulumi.BoolOutput `pulumi:"subscribed"`
	// The task completion status. It's always a one element list.
	TaskCompletionStatuses ProjectIssueTaskCompletionStatusArrayOutput `pulumi:"taskCompletionStatuses"`
	// The time estimate of the issue.
	TimeEstimate pulumi.IntOutput `pulumi:"timeEstimate"`
	// The title of the issue.
	Title pulumi.StringOutput `pulumi:"title"`
	// The total time spent of the issue.
	TotalTimeSpent pulumi.IntOutput `pulumi:"totalTimeSpent"`
	// When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
	// The number of upvotes the issue has received.
	Upvotes pulumi.IntOutput `pulumi:"upvotes"`
	// The number of user notes on the issue.
	UserNotesCount pulumi.IntOutput `pulumi:"userNotesCount"`
	// The web URL of the issue.
	WebUrl pulumi.StringOutput `pulumi:"webUrl"`
	// The weight of the issue. Valid values are greater than or equal to 0.
	Weight pulumi.IntOutput `pulumi:"weight"`
}

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foo, err := gitlab.NewProject(ctx, "foo", &gitlab.ProjectArgs{
			Description:     pulumi.String("Lorem Ipsum"),
			VisibilityLevel: pulumi.String("public"),
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewProjectIssue(ctx, "welcomeIssue", &gitlab.ProjectIssueArgs{
			Project: foo.ID(),
			Title:   pulumi.String("Welcome!"),
			Description: foo.Name.ApplyT(func(name string) (string, error) {
				return fmt.Sprintf("  Welcome to the %v project!\n\n", name), nil
			}).(pulumi.StringOutput),
			DiscussionLocked: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		ctx.Export("welcomeIssueWebUrl", data.Gitlab_project_issue.Web_url)
		return nil
	})
}

```

## Import

You can import this resource with an id made up of `{project-id}:{issue-id}`, e.g.

```sh

$ pulumi import gitlab:index/projectIssue:ProjectIssue welcome_issue 42:1

```

func GetProjectIssue added in v4.7.0

func GetProjectIssue(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectIssueState, opts ...pulumi.ResourceOption) (*ProjectIssue, error)

GetProjectIssue gets an existing ProjectIssue resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectIssue added in v4.7.0

func NewProjectIssue(ctx *pulumi.Context,
	name string, args *ProjectIssueArgs, opts ...pulumi.ResourceOption) (*ProjectIssue, error)

NewProjectIssue registers a new resource with the given unique name, arguments, and options.

func (*ProjectIssue) ElementType added in v4.7.0

func (*ProjectIssue) ElementType() reflect.Type

func (*ProjectIssue) ToProjectIssueOutput added in v4.7.0

func (i *ProjectIssue) ToProjectIssueOutput() ProjectIssueOutput

func (*ProjectIssue) ToProjectIssueOutputWithContext added in v4.7.0

func (i *ProjectIssue) ToProjectIssueOutputWithContext(ctx context.Context) ProjectIssueOutput

type ProjectIssueArgs added in v4.7.0

type ProjectIssueArgs struct {
	// The IDs of the users to assign the issue to.
	AssigneeIds pulumi.IntArrayInput
	// Set an issue to be confidential.
	Confidential pulumi.BoolPtrInput
	// When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.
	CreatedAt pulumi.StringPtrInput
	// Whether the issue is deleted instead of closed during destroy.
	DeleteOnDestroy pulumi.BoolPtrInput
	// The description of an issue. Limited to 1,048,576 characters.
	Description pulumi.StringPtrInput
	// Whether the issue is locked for discussions or not.
	DiscussionLocked pulumi.BoolPtrInput
	// The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as resolved. Use in combination with merge*request*to*resolve*discussions_of.
	DiscussionToResolve pulumi.StringPtrInput
	// The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
	// **Note:** removing a due date is currently not supported, see https://github.com/xanzy/go-gitlab/issues/1384 for details.
	DueDate pulumi.StringPtrInput
	// The ID of the epic issue.
	EpicIssueId pulumi.IntPtrInput
	// The internal ID of the project's issue.
	Iid pulumi.IntPtrInput
	// The type of issue. Valid values are: `issue`, `incident`, `testCase`.
	IssueType pulumi.StringPtrInput
	// The labels of an issue.
	Labels pulumi.StringArrayInput
	// The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.
	MergeRequestToResolveDiscussionsOf pulumi.IntPtrInput
	// The global ID of a milestone to assign issue. To find the milestoneId associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.
	MilestoneId pulumi.IntPtrInput
	// The name or ID of the project.
	Project pulumi.StringInput
	// The state of the issue. Valid values are: `opened`, `closed`.
	State pulumi.StringPtrInput
	// The title of the issue.
	Title pulumi.StringInput
	// When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
	UpdatedAt pulumi.StringPtrInput
	// The weight of the issue. Valid values are greater than or equal to 0.
	Weight pulumi.IntPtrInput
}

The set of arguments for constructing a ProjectIssue resource.

func (ProjectIssueArgs) ElementType added in v4.7.0

func (ProjectIssueArgs) ElementType() reflect.Type

type ProjectIssueArray added in v4.7.0

type ProjectIssueArray []ProjectIssueInput

func (ProjectIssueArray) ElementType added in v4.7.0

func (ProjectIssueArray) ElementType() reflect.Type

func (ProjectIssueArray) ToProjectIssueArrayOutput added in v4.7.0

func (i ProjectIssueArray) ToProjectIssueArrayOutput() ProjectIssueArrayOutput

func (ProjectIssueArray) ToProjectIssueArrayOutputWithContext added in v4.7.0

func (i ProjectIssueArray) ToProjectIssueArrayOutputWithContext(ctx context.Context) ProjectIssueArrayOutput

type ProjectIssueArrayInput added in v4.7.0

type ProjectIssueArrayInput interface {
	pulumi.Input

	ToProjectIssueArrayOutput() ProjectIssueArrayOutput
	ToProjectIssueArrayOutputWithContext(context.Context) ProjectIssueArrayOutput
}

ProjectIssueArrayInput is an input type that accepts ProjectIssueArray and ProjectIssueArrayOutput values. You can construct a concrete instance of `ProjectIssueArrayInput` via:

ProjectIssueArray{ ProjectIssueArgs{...} }

type ProjectIssueArrayOutput added in v4.7.0

type ProjectIssueArrayOutput struct{ *pulumi.OutputState }

func (ProjectIssueArrayOutput) ElementType added in v4.7.0

func (ProjectIssueArrayOutput) ElementType() reflect.Type

func (ProjectIssueArrayOutput) Index added in v4.7.0

func (ProjectIssueArrayOutput) ToProjectIssueArrayOutput added in v4.7.0

func (o ProjectIssueArrayOutput) ToProjectIssueArrayOutput() ProjectIssueArrayOutput

func (ProjectIssueArrayOutput) ToProjectIssueArrayOutputWithContext added in v4.7.0

func (o ProjectIssueArrayOutput) ToProjectIssueArrayOutputWithContext(ctx context.Context) ProjectIssueArrayOutput

type ProjectIssueBoard added in v4.9.0

type ProjectIssueBoard struct {
	pulumi.CustomResourceState

	// The assignee the board should be scoped to. Requires a GitLab EE license.
	AssigneeId pulumi.IntPtrOutput `pulumi:"assigneeId"`
	// The list of label names which the board should be scoped to. Requires a GitLab EE license.
	Labels pulumi.StringArrayOutput `pulumi:"labels"`
	// The list of issue board lists
	Lists ProjectIssueBoardListArrayOutput `pulumi:"lists"`
	// The milestone the board should be scoped to. Requires a GitLab EE license.
	MilestoneId pulumi.IntPtrOutput `pulumi:"milestoneId"`
	// The name of the board.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID or full path of the project maintained by the authenticated user.
	Project pulumi.StringOutput `pulumi:"project"`
	// The weight range from 0 to 9, to which the board should be scoped to. Requires a GitLab EE license.
	Weight pulumi.IntPtrOutput `pulumi:"weight"`
}

The `ProjectIssueBoard` resource allows to manage the lifecycle of a Project Issue Board.

> **NOTE:** If the board lists are changed all lists will be recreated.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/boards.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := gitlab.NewProject(ctx, "exampleProject", &gitlab.ProjectArgs{
			Description:     pulumi.String("Lorem Ipsum"),
			VisibilityLevel: pulumi.String("public"),
		})
		if err != nil {
			return err
		}
		exampleUser, err := gitlab.NewUser(ctx, "exampleUser", &gitlab.UserArgs{
			Username: pulumi.String("example"),
			Email:    pulumi.String("example@example.com"),
			Password: pulumi.String("example1$$$"),
		})
		if err != nil {
			return err
		}
		exampleProjectMembership, err := gitlab.NewProjectMembership(ctx, "exampleProjectMembership", &gitlab.ProjectMembershipArgs{
			ProjectId:   exampleProject.ID(),
			UserId:      exampleUser.ID(),
			AccessLevel: pulumi.String("developer"),
		})
		if err != nil {
			return err
		}
		exampleProjectMilestone, err := gitlab.NewProjectMilestone(ctx, "exampleProjectMilestone", &gitlab.ProjectMilestoneArgs{
			Project: exampleProject.ID(),
			Title:   pulumi.String("m1"),
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewProjectIssueBoard(ctx, "this", &gitlab.ProjectIssueBoardArgs{
			Project: exampleProject.ID(),
			Lists: gitlab.ProjectIssueBoardListArray{
				&gitlab.ProjectIssueBoardListArgs{
					AssigneeId: exampleUser.ID(),
				},
				&gitlab.ProjectIssueBoardListArgs{
					MilestoneId: exampleProjectMilestone.MilestoneId,
				},
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			exampleProjectMembership,
		}))
		if err != nil {
			return err
		}
		_, err = gitlab.NewProjectIssueBoard(ctx, "listSyntax", &gitlab.ProjectIssueBoardArgs{
			Project: exampleProject.ID(),
			Lists: gitlab.ProjectIssueBoardListArray{
				&gitlab.ProjectIssueBoardListArgs{
					AssigneeId: exampleUser.ID(),
				},
				&gitlab.ProjectIssueBoardListArgs{
					MilestoneId: exampleProjectMilestone.MilestoneId,
				},
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			exampleProjectMembership,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

You can import this resource with an id made up of `{project-id}:{issue-board-id}`, e.g.

```sh

$ pulumi import gitlab:index/projectIssueBoard:ProjectIssueBoard kanban 42:1

```

func GetProjectIssueBoard added in v4.9.0

func GetProjectIssueBoard(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectIssueBoardState, opts ...pulumi.ResourceOption) (*ProjectIssueBoard, error)

GetProjectIssueBoard gets an existing ProjectIssueBoard resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectIssueBoard added in v4.9.0

func NewProjectIssueBoard(ctx *pulumi.Context,
	name string, args *ProjectIssueBoardArgs, opts ...pulumi.ResourceOption) (*ProjectIssueBoard, error)

NewProjectIssueBoard registers a new resource with the given unique name, arguments, and options.

func (*ProjectIssueBoard) ElementType added in v4.9.0

func (*ProjectIssueBoard) ElementType() reflect.Type

func (*ProjectIssueBoard) ToProjectIssueBoardOutput added in v4.9.0

func (i *ProjectIssueBoard) ToProjectIssueBoardOutput() ProjectIssueBoardOutput

func (*ProjectIssueBoard) ToProjectIssueBoardOutputWithContext added in v4.9.0

func (i *ProjectIssueBoard) ToProjectIssueBoardOutputWithContext(ctx context.Context) ProjectIssueBoardOutput

type ProjectIssueBoardArgs added in v4.9.0

type ProjectIssueBoardArgs struct {
	// The assignee the board should be scoped to. Requires a GitLab EE license.
	AssigneeId pulumi.IntPtrInput
	// The list of label names which the board should be scoped to. Requires a GitLab EE license.
	Labels pulumi.StringArrayInput
	// The list of issue board lists
	Lists ProjectIssueBoardListArrayInput
	// The milestone the board should be scoped to. Requires a GitLab EE license.
	MilestoneId pulumi.IntPtrInput
	// The name of the board.
	Name pulumi.StringPtrInput
	// The ID or full path of the project maintained by the authenticated user.
	Project pulumi.StringInput
	// The weight range from 0 to 9, to which the board should be scoped to. Requires a GitLab EE license.
	Weight pulumi.IntPtrInput
}

The set of arguments for constructing a ProjectIssueBoard resource.

func (ProjectIssueBoardArgs) ElementType added in v4.9.0

func (ProjectIssueBoardArgs) ElementType() reflect.Type

type ProjectIssueBoardArray added in v4.9.0

type ProjectIssueBoardArray []ProjectIssueBoardInput

func (ProjectIssueBoardArray) ElementType added in v4.9.0

func (ProjectIssueBoardArray) ElementType() reflect.Type

func (ProjectIssueBoardArray) ToProjectIssueBoardArrayOutput added in v4.9.0

func (i ProjectIssueBoardArray) ToProjectIssueBoardArrayOutput() ProjectIssueBoardArrayOutput

func (ProjectIssueBoardArray) ToProjectIssueBoardArrayOutputWithContext added in v4.9.0

func (i ProjectIssueBoardArray) ToProjectIssueBoardArrayOutputWithContext(ctx context.Context) ProjectIssueBoardArrayOutput

type ProjectIssueBoardArrayInput added in v4.9.0

type ProjectIssueBoardArrayInput interface {
	pulumi.Input

	ToProjectIssueBoardArrayOutput() ProjectIssueBoardArrayOutput
	ToProjectIssueBoardArrayOutputWithContext(context.Context) ProjectIssueBoardArrayOutput
}

ProjectIssueBoardArrayInput is an input type that accepts ProjectIssueBoardArray and ProjectIssueBoardArrayOutput values. You can construct a concrete instance of `ProjectIssueBoardArrayInput` via:

ProjectIssueBoardArray{ ProjectIssueBoardArgs{...} }

type ProjectIssueBoardArrayOutput added in v4.9.0

type ProjectIssueBoardArrayOutput struct{ *pulumi.OutputState }

func (ProjectIssueBoardArrayOutput) ElementType added in v4.9.0

func (ProjectIssueBoardArrayOutput) Index added in v4.9.0

func (ProjectIssueBoardArrayOutput) ToProjectIssueBoardArrayOutput added in v4.9.0

func (o ProjectIssueBoardArrayOutput) ToProjectIssueBoardArrayOutput() ProjectIssueBoardArrayOutput

func (ProjectIssueBoardArrayOutput) ToProjectIssueBoardArrayOutputWithContext added in v4.9.0

func (o ProjectIssueBoardArrayOutput) ToProjectIssueBoardArrayOutputWithContext(ctx context.Context) ProjectIssueBoardArrayOutput

type ProjectIssueBoardInput added in v4.9.0

type ProjectIssueBoardInput interface {
	pulumi.Input

	ToProjectIssueBoardOutput() ProjectIssueBoardOutput
	ToProjectIssueBoardOutputWithContext(ctx context.Context) ProjectIssueBoardOutput
}

type ProjectIssueBoardList added in v4.9.0

type ProjectIssueBoardList struct {
	// The ID of the assignee the list should be scoped to. Requires a GitLab EE license.
	AssigneeId *int `pulumi:"assigneeId"`
	// The ID of the list
	Id *int `pulumi:"id"`
	// The ID of the iteration the list should be scoped to. Requires a GitLab EE license.
	IterationId *int `pulumi:"iterationId"`
	// The ID of the label the list should be scoped to. Requires a GitLab EE license.
	LabelId *int `pulumi:"labelId"`
	// The ID of the milestone the list should be scoped to. Requires a GitLab EE license.
	MilestoneId *int `pulumi:"milestoneId"`
	// The position of the list within the board. The position for the list is based on the its position in the `lists` array.
	Position *int `pulumi:"position"`
}

type ProjectIssueBoardListArgs added in v4.9.0

type ProjectIssueBoardListArgs struct {
	// The ID of the assignee the list should be scoped to. Requires a GitLab EE license.
	AssigneeId pulumi.IntPtrInput `pulumi:"assigneeId"`
	// The ID of the list
	Id pulumi.IntPtrInput `pulumi:"id"`
	// The ID of the iteration the list should be scoped to. Requires a GitLab EE license.
	IterationId pulumi.IntPtrInput `pulumi:"iterationId"`
	// The ID of the label the list should be scoped to. Requires a GitLab EE license.
	LabelId pulumi.IntPtrInput `pulumi:"labelId"`
	// The ID of the milestone the list should be scoped to. Requires a GitLab EE license.
	MilestoneId pulumi.IntPtrInput `pulumi:"milestoneId"`
	// The position of the list within the board. The position for the list is based on the its position in the `lists` array.
	Position pulumi.IntPtrInput `pulumi:"position"`
}

func (ProjectIssueBoardListArgs) ElementType added in v4.9.0

func (ProjectIssueBoardListArgs) ElementType() reflect.Type

func (ProjectIssueBoardListArgs) ToProjectIssueBoardListOutput added in v4.9.0

func (i ProjectIssueBoardListArgs) ToProjectIssueBoardListOutput() ProjectIssueBoardListOutput

func (ProjectIssueBoardListArgs) ToProjectIssueBoardListOutputWithContext added in v4.9.0

func (i ProjectIssueBoardListArgs) ToProjectIssueBoardListOutputWithContext(ctx context.Context) ProjectIssueBoardListOutput

type ProjectIssueBoardListArray added in v4.9.0

type ProjectIssueBoardListArray []ProjectIssueBoardListInput

func (ProjectIssueBoardListArray) ElementType added in v4.9.0

func (ProjectIssueBoardListArray) ElementType() reflect.Type

func (ProjectIssueBoardListArray) ToProjectIssueBoardListArrayOutput added in v4.9.0

func (i ProjectIssueBoardListArray) ToProjectIssueBoardListArrayOutput() ProjectIssueBoardListArrayOutput

func (ProjectIssueBoardListArray) ToProjectIssueBoardListArrayOutputWithContext added in v4.9.0

func (i ProjectIssueBoardListArray) ToProjectIssueBoardListArrayOutputWithContext(ctx context.Context) ProjectIssueBoardListArrayOutput

type ProjectIssueBoardListArrayInput added in v4.9.0

type ProjectIssueBoardListArrayInput interface {
	pulumi.Input

	ToProjectIssueBoardListArrayOutput() ProjectIssueBoardListArrayOutput
	ToProjectIssueBoardListArrayOutputWithContext(context.Context) ProjectIssueBoardListArrayOutput
}

ProjectIssueBoardListArrayInput is an input type that accepts ProjectIssueBoardListArray and ProjectIssueBoardListArrayOutput values. You can construct a concrete instance of `ProjectIssueBoardListArrayInput` via:

ProjectIssueBoardListArray{ ProjectIssueBoardListArgs{...} }

type ProjectIssueBoardListArrayOutput added in v4.9.0

type ProjectIssueBoardListArrayOutput struct{ *pulumi.OutputState }

func (ProjectIssueBoardListArrayOutput) ElementType added in v4.9.0

func (ProjectIssueBoardListArrayOutput) Index added in v4.9.0

func (ProjectIssueBoardListArrayOutput) ToProjectIssueBoardListArrayOutput added in v4.9.0

func (o ProjectIssueBoardListArrayOutput) ToProjectIssueBoardListArrayOutput() ProjectIssueBoardListArrayOutput

func (ProjectIssueBoardListArrayOutput) ToProjectIssueBoardListArrayOutputWithContext added in v4.9.0

func (o ProjectIssueBoardListArrayOutput) ToProjectIssueBoardListArrayOutputWithContext(ctx context.Context) ProjectIssueBoardListArrayOutput

type ProjectIssueBoardListInput added in v4.9.0

type ProjectIssueBoardListInput interface {
	pulumi.Input

	ToProjectIssueBoardListOutput() ProjectIssueBoardListOutput
	ToProjectIssueBoardListOutputWithContext(context.Context) ProjectIssueBoardListOutput
}

ProjectIssueBoardListInput is an input type that accepts ProjectIssueBoardListArgs and ProjectIssueBoardListOutput values. You can construct a concrete instance of `ProjectIssueBoardListInput` via:

ProjectIssueBoardListArgs{...}

type ProjectIssueBoardListOutput added in v4.9.0

type ProjectIssueBoardListOutput struct{ *pulumi.OutputState }

func (ProjectIssueBoardListOutput) AssigneeId added in v4.9.0

The ID of the assignee the list should be scoped to. Requires a GitLab EE license.

func (ProjectIssueBoardListOutput) ElementType added in v4.9.0

func (ProjectIssueBoardListOutput) Id added in v4.9.0

The ID of the list

func (ProjectIssueBoardListOutput) IterationId added in v4.9.0

The ID of the iteration the list should be scoped to. Requires a GitLab EE license.

func (ProjectIssueBoardListOutput) LabelId added in v4.9.0

The ID of the label the list should be scoped to. Requires a GitLab EE license.

func (ProjectIssueBoardListOutput) MilestoneId added in v4.9.0

The ID of the milestone the list should be scoped to. Requires a GitLab EE license.

func (ProjectIssueBoardListOutput) Position added in v4.9.0

The position of the list within the board. The position for the list is based on the its position in the `lists` array.

func (ProjectIssueBoardListOutput) ToProjectIssueBoardListOutput added in v4.9.0

func (o ProjectIssueBoardListOutput) ToProjectIssueBoardListOutput() ProjectIssueBoardListOutput

func (ProjectIssueBoardListOutput) ToProjectIssueBoardListOutputWithContext added in v4.9.0

func (o ProjectIssueBoardListOutput) ToProjectIssueBoardListOutputWithContext(ctx context.Context) ProjectIssueBoardListOutput

type ProjectIssueBoardMap added in v4.9.0

type ProjectIssueBoardMap map[string]ProjectIssueBoardInput

func (ProjectIssueBoardMap) ElementType added in v4.9.0

func (ProjectIssueBoardMap) ElementType() reflect.Type

func (ProjectIssueBoardMap) ToProjectIssueBoardMapOutput added in v4.9.0

func (i ProjectIssueBoardMap) ToProjectIssueBoardMapOutput() ProjectIssueBoardMapOutput

func (ProjectIssueBoardMap) ToProjectIssueBoardMapOutputWithContext added in v4.9.0

func (i ProjectIssueBoardMap) ToProjectIssueBoardMapOutputWithContext(ctx context.Context) ProjectIssueBoardMapOutput

type ProjectIssueBoardMapInput added in v4.9.0

type ProjectIssueBoardMapInput interface {
	pulumi.Input

	ToProjectIssueBoardMapOutput() ProjectIssueBoardMapOutput
	ToProjectIssueBoardMapOutputWithContext(context.Context) ProjectIssueBoardMapOutput
}

ProjectIssueBoardMapInput is an input type that accepts ProjectIssueBoardMap and ProjectIssueBoardMapOutput values. You can construct a concrete instance of `ProjectIssueBoardMapInput` via:

ProjectIssueBoardMap{ "key": ProjectIssueBoardArgs{...} }

type ProjectIssueBoardMapOutput added in v4.9.0

type ProjectIssueBoardMapOutput struct{ *pulumi.OutputState }

func (ProjectIssueBoardMapOutput) ElementType added in v4.9.0

func (ProjectIssueBoardMapOutput) ElementType() reflect.Type

func (ProjectIssueBoardMapOutput) MapIndex added in v4.9.0

func (ProjectIssueBoardMapOutput) ToProjectIssueBoardMapOutput added in v4.9.0

func (o ProjectIssueBoardMapOutput) ToProjectIssueBoardMapOutput() ProjectIssueBoardMapOutput

func (ProjectIssueBoardMapOutput) ToProjectIssueBoardMapOutputWithContext added in v4.9.0

func (o ProjectIssueBoardMapOutput) ToProjectIssueBoardMapOutputWithContext(ctx context.Context) ProjectIssueBoardMapOutput

type ProjectIssueBoardOutput added in v4.9.0

type ProjectIssueBoardOutput struct{ *pulumi.OutputState }

func (ProjectIssueBoardOutput) AssigneeId added in v4.9.0

The assignee the board should be scoped to. Requires a GitLab EE license.

func (ProjectIssueBoardOutput) ElementType added in v4.9.0

func (ProjectIssueBoardOutput) ElementType() reflect.Type

func (ProjectIssueBoardOutput) Labels added in v4.9.0

The list of label names which the board should be scoped to. Requires a GitLab EE license.

func (ProjectIssueBoardOutput) Lists added in v4.9.0

The list of issue board lists

func (ProjectIssueBoardOutput) MilestoneId added in v4.9.0

The milestone the board should be scoped to. Requires a GitLab EE license.

func (ProjectIssueBoardOutput) Name added in v4.9.0

The name of the board.

func (ProjectIssueBoardOutput) Project added in v4.9.0

The ID or full path of the project maintained by the authenticated user.

func (ProjectIssueBoardOutput) ToProjectIssueBoardOutput added in v4.9.0

func (o ProjectIssueBoardOutput) ToProjectIssueBoardOutput() ProjectIssueBoardOutput

func (ProjectIssueBoardOutput) ToProjectIssueBoardOutputWithContext added in v4.9.0

func (o ProjectIssueBoardOutput) ToProjectIssueBoardOutputWithContext(ctx context.Context) ProjectIssueBoardOutput

func (ProjectIssueBoardOutput) Weight added in v4.9.0

The weight range from 0 to 9, to which the board should be scoped to. Requires a GitLab EE license.

type ProjectIssueBoardState added in v4.9.0

type ProjectIssueBoardState struct {
	// The assignee the board should be scoped to. Requires a GitLab EE license.
	AssigneeId pulumi.IntPtrInput
	// The list of label names which the board should be scoped to. Requires a GitLab EE license.
	Labels pulumi.StringArrayInput
	// The list of issue board lists
	Lists ProjectIssueBoardListArrayInput
	// The milestone the board should be scoped to. Requires a GitLab EE license.
	MilestoneId pulumi.IntPtrInput
	// The name of the board.
	Name pulumi.StringPtrInput
	// The ID or full path of the project maintained by the authenticated user.
	Project pulumi.StringPtrInput
	// The weight range from 0 to 9, to which the board should be scoped to. Requires a GitLab EE license.
	Weight pulumi.IntPtrInput
}

func (ProjectIssueBoardState) ElementType added in v4.9.0

func (ProjectIssueBoardState) ElementType() reflect.Type

type ProjectIssueInput added in v4.7.0

type ProjectIssueInput interface {
	pulumi.Input

	ToProjectIssueOutput() ProjectIssueOutput
	ToProjectIssueOutputWithContext(ctx context.Context) ProjectIssueOutput
}

type ProjectIssueMap added in v4.7.0

type ProjectIssueMap map[string]ProjectIssueInput

func (ProjectIssueMap) ElementType added in v4.7.0

func (ProjectIssueMap) ElementType() reflect.Type

func (ProjectIssueMap) ToProjectIssueMapOutput added in v4.7.0

func (i ProjectIssueMap) ToProjectIssueMapOutput() ProjectIssueMapOutput

func (ProjectIssueMap) ToProjectIssueMapOutputWithContext added in v4.7.0

func (i ProjectIssueMap) ToProjectIssueMapOutputWithContext(ctx context.Context) ProjectIssueMapOutput

type ProjectIssueMapInput added in v4.7.0

type ProjectIssueMapInput interface {
	pulumi.Input

	ToProjectIssueMapOutput() ProjectIssueMapOutput
	ToProjectIssueMapOutputWithContext(context.Context) ProjectIssueMapOutput
}

ProjectIssueMapInput is an input type that accepts ProjectIssueMap and ProjectIssueMapOutput values. You can construct a concrete instance of `ProjectIssueMapInput` via:

ProjectIssueMap{ "key": ProjectIssueArgs{...} }

type ProjectIssueMapOutput added in v4.7.0

type ProjectIssueMapOutput struct{ *pulumi.OutputState }

func (ProjectIssueMapOutput) ElementType added in v4.7.0

func (ProjectIssueMapOutput) ElementType() reflect.Type

func (ProjectIssueMapOutput) MapIndex added in v4.7.0

func (ProjectIssueMapOutput) ToProjectIssueMapOutput added in v4.7.0

func (o ProjectIssueMapOutput) ToProjectIssueMapOutput() ProjectIssueMapOutput

func (ProjectIssueMapOutput) ToProjectIssueMapOutputWithContext added in v4.7.0

func (o ProjectIssueMapOutput) ToProjectIssueMapOutputWithContext(ctx context.Context) ProjectIssueMapOutput

type ProjectIssueOutput added in v4.7.0

type ProjectIssueOutput struct{ *pulumi.OutputState }

func (ProjectIssueOutput) AssigneeIds added in v4.7.1

func (o ProjectIssueOutput) AssigneeIds() pulumi.IntArrayOutput

The IDs of the users to assign the issue to.

func (ProjectIssueOutput) AuthorId added in v4.7.1

func (o ProjectIssueOutput) AuthorId() pulumi.IntOutput

The ID of the author of the issue. Use `User` data source to get more information about the user.

func (ProjectIssueOutput) ClosedAt added in v4.7.1

func (o ProjectIssueOutput) ClosedAt() pulumi.StringOutput

When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.

func (ProjectIssueOutput) ClosedByUserId added in v4.7.1

func (o ProjectIssueOutput) ClosedByUserId() pulumi.IntOutput

The ID of the user that closed the issue. Use `User` data source to get more information about the user.

func (ProjectIssueOutput) Confidential added in v4.7.1

func (o ProjectIssueOutput) Confidential() pulumi.BoolPtrOutput

Set an issue to be confidential.

func (ProjectIssueOutput) CreatedAt added in v4.7.1

func (o ProjectIssueOutput) CreatedAt() pulumi.StringOutput

When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.

func (ProjectIssueOutput) DeleteOnDestroy added in v4.7.1

func (o ProjectIssueOutput) DeleteOnDestroy() pulumi.BoolPtrOutput

Whether the issue is deleted instead of closed during destroy.

func (ProjectIssueOutput) Description added in v4.7.1

func (o ProjectIssueOutput) Description() pulumi.StringPtrOutput

The description of an issue. Limited to 1,048,576 characters.

func (ProjectIssueOutput) DiscussionLocked added in v4.7.1

func (o ProjectIssueOutput) DiscussionLocked() pulumi.BoolPtrOutput

Whether the issue is locked for discussions or not.

func (ProjectIssueOutput) DiscussionToResolve added in v4.7.1

func (o ProjectIssueOutput) DiscussionToResolve() pulumi.StringPtrOutput

The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as resolved. Use in combination with merge*request*to*resolve*discussions_of.

func (ProjectIssueOutput) Downvotes added in v4.7.1

func (o ProjectIssueOutput) Downvotes() pulumi.IntOutput

The number of downvotes the issue has received.

func (ProjectIssueOutput) DueDate added in v4.7.1

The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11. **Note:** removing a due date is currently not supported, see https://github.com/xanzy/go-gitlab/issues/1384 for details.

func (ProjectIssueOutput) ElementType added in v4.7.0

func (ProjectIssueOutput) ElementType() reflect.Type

func (ProjectIssueOutput) EpicId added in v4.7.1

func (o ProjectIssueOutput) EpicId() pulumi.IntOutput

ID of the epic to add the issue to. Valid values are greater than or equal to 0.

func (ProjectIssueOutput) EpicIssueId added in v4.7.1

func (o ProjectIssueOutput) EpicIssueId() pulumi.IntOutput

The ID of the epic issue.

func (ProjectIssueOutput) ExternalId added in v4.7.1

func (o ProjectIssueOutput) ExternalId() pulumi.StringOutput

The external ID of the issue.

func (ProjectIssueOutput) HumanTimeEstimate added in v4.7.1

func (o ProjectIssueOutput) HumanTimeEstimate() pulumi.StringOutput

The human-readable time estimate of the issue.

func (ProjectIssueOutput) HumanTotalTimeSpent added in v4.7.1

func (o ProjectIssueOutput) HumanTotalTimeSpent() pulumi.StringOutput

The human-readable total time spent of the issue.

func (ProjectIssueOutput) Iid added in v4.7.1

The internal ID of the project's issue.

func (ProjectIssueOutput) IssueId added in v4.7.1

func (o ProjectIssueOutput) IssueId() pulumi.IntOutput

The instance-wide ID of the issue.

func (ProjectIssueOutput) IssueLinkId added in v4.7.1

func (o ProjectIssueOutput) IssueLinkId() pulumi.IntOutput

The ID of the issue link.

func (ProjectIssueOutput) IssueType added in v4.7.1

The type of issue. Valid values are: `issue`, `incident`, `testCase`.

func (ProjectIssueOutput) Labels added in v4.7.1

The labels of an issue.

The links of the issue.

func (ProjectIssueOutput) MergeRequestToResolveDiscussionsOf added in v4.7.1

func (o ProjectIssueOutput) MergeRequestToResolveDiscussionsOf() pulumi.IntPtrOutput

The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.

func (ProjectIssueOutput) MergeRequestsCount added in v4.7.1

func (o ProjectIssueOutput) MergeRequestsCount() pulumi.IntOutput

The number of merge requests associated with the issue.

func (ProjectIssueOutput) MilestoneId added in v4.7.1

func (o ProjectIssueOutput) MilestoneId() pulumi.IntPtrOutput

The global ID of a milestone to assign issue. To find the milestoneId associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.

func (ProjectIssueOutput) MovedToId added in v4.7.1

func (o ProjectIssueOutput) MovedToId() pulumi.IntOutput

The ID of the issue that was moved to.

func (ProjectIssueOutput) Project added in v4.7.1

The name or ID of the project.

func (ProjectIssueOutput) References added in v4.7.1

func (o ProjectIssueOutput) References() pulumi.StringMapOutput

The references of the issue.

func (ProjectIssueOutput) State added in v4.7.1

The state of the issue. Valid values are: `opened`, `closed`.

func (ProjectIssueOutput) Subscribed added in v4.7.1

func (o ProjectIssueOutput) Subscribed() pulumi.BoolOutput

Whether the authenticated user is subscribed to the issue or not.

func (ProjectIssueOutput) TaskCompletionStatuses added in v4.8.0

The task completion status. It's always a one element list.

func (ProjectIssueOutput) TimeEstimate added in v4.7.1

func (o ProjectIssueOutput) TimeEstimate() pulumi.IntOutput

The time estimate of the issue.

func (ProjectIssueOutput) Title added in v4.7.1

The title of the issue.

func (ProjectIssueOutput) ToProjectIssueOutput added in v4.7.0

func (o ProjectIssueOutput) ToProjectIssueOutput() ProjectIssueOutput

func (ProjectIssueOutput) ToProjectIssueOutputWithContext added in v4.7.0

func (o ProjectIssueOutput) ToProjectIssueOutputWithContext(ctx context.Context) ProjectIssueOutput

func (ProjectIssueOutput) TotalTimeSpent added in v4.7.1

func (o ProjectIssueOutput) TotalTimeSpent() pulumi.IntOutput

The total time spent of the issue.

func (ProjectIssueOutput) UpdatedAt added in v4.7.1

func (o ProjectIssueOutput) UpdatedAt() pulumi.StringOutput

When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.

func (ProjectIssueOutput) Upvotes added in v4.7.1

func (o ProjectIssueOutput) Upvotes() pulumi.IntOutput

The number of upvotes the issue has received.

func (ProjectIssueOutput) UserNotesCount added in v4.7.1

func (o ProjectIssueOutput) UserNotesCount() pulumi.IntOutput

The number of user notes on the issue.

func (ProjectIssueOutput) WebUrl added in v4.7.1

The web URL of the issue.

func (ProjectIssueOutput) Weight added in v4.7.1

func (o ProjectIssueOutput) Weight() pulumi.IntOutput

The weight of the issue. Valid values are greater than or equal to 0.

type ProjectIssueState added in v4.7.0

type ProjectIssueState struct {
	// The IDs of the users to assign the issue to.
	AssigneeIds pulumi.IntArrayInput
	// The ID of the author of the issue. Use `User` data source to get more information about the user.
	AuthorId pulumi.IntPtrInput
	// When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
	ClosedAt pulumi.StringPtrInput
	// The ID of the user that closed the issue. Use `User` data source to get more information about the user.
	ClosedByUserId pulumi.IntPtrInput
	// Set an issue to be confidential.
	Confidential pulumi.BoolPtrInput
	// When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.
	CreatedAt pulumi.StringPtrInput
	// Whether the issue is deleted instead of closed during destroy.
	DeleteOnDestroy pulumi.BoolPtrInput
	// The description of an issue. Limited to 1,048,576 characters.
	Description pulumi.StringPtrInput
	// Whether the issue is locked for discussions or not.
	DiscussionLocked pulumi.BoolPtrInput
	// The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as resolved. Use in combination with merge*request*to*resolve*discussions_of.
	DiscussionToResolve pulumi.StringPtrInput
	// The number of downvotes the issue has received.
	Downvotes pulumi.IntPtrInput
	// The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
	// **Note:** removing a due date is currently not supported, see https://github.com/xanzy/go-gitlab/issues/1384 for details.
	DueDate pulumi.StringPtrInput
	// ID of the epic to add the issue to. Valid values are greater than or equal to 0.
	EpicId pulumi.IntPtrInput
	// The ID of the epic issue.
	EpicIssueId pulumi.IntPtrInput
	// The external ID of the issue.
	ExternalId pulumi.StringPtrInput
	// The human-readable time estimate of the issue.
	HumanTimeEstimate pulumi.StringPtrInput
	// The human-readable total time spent of the issue.
	HumanTotalTimeSpent pulumi.StringPtrInput
	// The internal ID of the project's issue.
	Iid pulumi.IntPtrInput
	// The instance-wide ID of the issue.
	IssueId pulumi.IntPtrInput
	// The ID of the issue link.
	IssueLinkId pulumi.IntPtrInput
	// The type of issue. Valid values are: `issue`, `incident`, `testCase`.
	IssueType pulumi.StringPtrInput
	// The labels of an issue.
	Labels pulumi.StringArrayInput
	// The links of the issue.
	Links pulumi.StringMapInput
	// The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.
	MergeRequestToResolveDiscussionsOf pulumi.IntPtrInput
	// The number of merge requests associated with the issue.
	MergeRequestsCount pulumi.IntPtrInput
	// The global ID of a milestone to assign issue. To find the milestoneId associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.
	MilestoneId pulumi.IntPtrInput
	// The ID of the issue that was moved to.
	MovedToId pulumi.IntPtrInput
	// The name or ID of the project.
	Project pulumi.StringPtrInput
	// The references of the issue.
	References pulumi.StringMapInput
	// The state of the issue. Valid values are: `opened`, `closed`.
	State pulumi.StringPtrInput
	// Whether the authenticated user is subscribed to the issue or not.
	Subscribed pulumi.BoolPtrInput
	// The task completion status. It's always a one element list.
	TaskCompletionStatuses ProjectIssueTaskCompletionStatusArrayInput
	// The time estimate of the issue.
	TimeEstimate pulumi.IntPtrInput
	// The title of the issue.
	Title pulumi.StringPtrInput
	// The total time spent of the issue.
	TotalTimeSpent pulumi.IntPtrInput
	// When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
	UpdatedAt pulumi.StringPtrInput
	// The number of upvotes the issue has received.
	Upvotes pulumi.IntPtrInput
	// The number of user notes on the issue.
	UserNotesCount pulumi.IntPtrInput
	// The web URL of the issue.
	WebUrl pulumi.StringPtrInput
	// The weight of the issue. Valid values are greater than or equal to 0.
	Weight pulumi.IntPtrInput
}

func (ProjectIssueState) ElementType added in v4.7.0

func (ProjectIssueState) ElementType() reflect.Type

type ProjectIssueTaskCompletionStatus added in v4.7.0

type ProjectIssueTaskCompletionStatus struct {
	CompletedCount *int `pulumi:"completedCount"`
	Count          *int `pulumi:"count"`
}

type ProjectIssueTaskCompletionStatusArgs added in v4.7.0

type ProjectIssueTaskCompletionStatusArgs struct {
	CompletedCount pulumi.IntPtrInput `pulumi:"completedCount"`
	Count          pulumi.IntPtrInput `pulumi:"count"`
}

func (ProjectIssueTaskCompletionStatusArgs) ElementType added in v4.7.0

func (ProjectIssueTaskCompletionStatusArgs) ToProjectIssueTaskCompletionStatusOutput added in v4.7.0

func (i ProjectIssueTaskCompletionStatusArgs) ToProjectIssueTaskCompletionStatusOutput() ProjectIssueTaskCompletionStatusOutput

func (ProjectIssueTaskCompletionStatusArgs) ToProjectIssueTaskCompletionStatusOutputWithContext added in v4.7.0

func (i ProjectIssueTaskCompletionStatusArgs) ToProjectIssueTaskCompletionStatusOutputWithContext(ctx context.Context) ProjectIssueTaskCompletionStatusOutput

type ProjectIssueTaskCompletionStatusArray added in v4.8.0

type ProjectIssueTaskCompletionStatusArray []ProjectIssueTaskCompletionStatusInput

func (ProjectIssueTaskCompletionStatusArray) ElementType added in v4.8.0

func (ProjectIssueTaskCompletionStatusArray) ToProjectIssueTaskCompletionStatusArrayOutput added in v4.8.0

func (i ProjectIssueTaskCompletionStatusArray) ToProjectIssueTaskCompletionStatusArrayOutput() ProjectIssueTaskCompletionStatusArrayOutput

func (ProjectIssueTaskCompletionStatusArray) ToProjectIssueTaskCompletionStatusArrayOutputWithContext added in v4.8.0

func (i ProjectIssueTaskCompletionStatusArray) ToProjectIssueTaskCompletionStatusArrayOutputWithContext(ctx context.Context) ProjectIssueTaskCompletionStatusArrayOutput

type ProjectIssueTaskCompletionStatusArrayInput added in v4.8.0

type ProjectIssueTaskCompletionStatusArrayInput interface {
	pulumi.Input

	ToProjectIssueTaskCompletionStatusArrayOutput() ProjectIssueTaskCompletionStatusArrayOutput
	ToProjectIssueTaskCompletionStatusArrayOutputWithContext(context.Context) ProjectIssueTaskCompletionStatusArrayOutput
}

ProjectIssueTaskCompletionStatusArrayInput is an input type that accepts ProjectIssueTaskCompletionStatusArray and ProjectIssueTaskCompletionStatusArrayOutput values. You can construct a concrete instance of `ProjectIssueTaskCompletionStatusArrayInput` via:

ProjectIssueTaskCompletionStatusArray{ ProjectIssueTaskCompletionStatusArgs{...} }

type ProjectIssueTaskCompletionStatusArrayOutput added in v4.8.0

type ProjectIssueTaskCompletionStatusArrayOutput struct{ *pulumi.OutputState }

func (ProjectIssueTaskCompletionStatusArrayOutput) ElementType added in v4.8.0

func (ProjectIssueTaskCompletionStatusArrayOutput) Index added in v4.8.0

func (ProjectIssueTaskCompletionStatusArrayOutput) ToProjectIssueTaskCompletionStatusArrayOutput added in v4.8.0

func (o ProjectIssueTaskCompletionStatusArrayOutput) ToProjectIssueTaskCompletionStatusArrayOutput() ProjectIssueTaskCompletionStatusArrayOutput

func (ProjectIssueTaskCompletionStatusArrayOutput) ToProjectIssueTaskCompletionStatusArrayOutputWithContext added in v4.8.0

func (o ProjectIssueTaskCompletionStatusArrayOutput) ToProjectIssueTaskCompletionStatusArrayOutputWithContext(ctx context.Context) ProjectIssueTaskCompletionStatusArrayOutput

type ProjectIssueTaskCompletionStatusInput added in v4.7.0

type ProjectIssueTaskCompletionStatusInput interface {
	pulumi.Input

	ToProjectIssueTaskCompletionStatusOutput() ProjectIssueTaskCompletionStatusOutput
	ToProjectIssueTaskCompletionStatusOutputWithContext(context.Context) ProjectIssueTaskCompletionStatusOutput
}

ProjectIssueTaskCompletionStatusInput is an input type that accepts ProjectIssueTaskCompletionStatusArgs and ProjectIssueTaskCompletionStatusOutput values. You can construct a concrete instance of `ProjectIssueTaskCompletionStatusInput` via:

ProjectIssueTaskCompletionStatusArgs{...}

type ProjectIssueTaskCompletionStatusOutput added in v4.7.0

type ProjectIssueTaskCompletionStatusOutput struct{ *pulumi.OutputState }

func (ProjectIssueTaskCompletionStatusOutput) CompletedCount added in v4.7.0

func (ProjectIssueTaskCompletionStatusOutput) Count added in v4.7.0

func (ProjectIssueTaskCompletionStatusOutput) ElementType added in v4.7.0

func (ProjectIssueTaskCompletionStatusOutput) ToProjectIssueTaskCompletionStatusOutput added in v4.7.0

func (o ProjectIssueTaskCompletionStatusOutput) ToProjectIssueTaskCompletionStatusOutput() ProjectIssueTaskCompletionStatusOutput

func (ProjectIssueTaskCompletionStatusOutput) ToProjectIssueTaskCompletionStatusOutputWithContext added in v4.7.0

func (o ProjectIssueTaskCompletionStatusOutput) ToProjectIssueTaskCompletionStatusOutputWithContext(ctx context.Context) ProjectIssueTaskCompletionStatusOutput

type ProjectLevelMrApprovals

type ProjectLevelMrApprovals struct {
	pulumi.CustomResourceState

	// By default, users are able to edit the approval rules in merge requests. If set to true,
	DisableOverridingApproversPerMergeRequest pulumi.BoolPtrOutput `pulumi:"disableOverridingApproversPerMergeRequest"`
	// Set to `true` if you want to allow merge request authors to self-approve merge requests. Authors
	MergeRequestsAuthorApproval pulumi.BoolPtrOutput `pulumi:"mergeRequestsAuthorApproval"`
	// Set to `true` if you want to prevent approval of merge requests by merge request committers.
	MergeRequestsDisableCommittersApproval pulumi.BoolPtrOutput `pulumi:"mergeRequestsDisableCommittersApproval"`
	// The ID of the project to change MR approval configuration.
	ProjectId pulumi.IntOutput `pulumi:"projectId"`
	// Set to `true` if you want to require authentication when approving a merge request.
	RequirePasswordToApprove pulumi.BoolPtrOutput `pulumi:"requirePasswordToApprove"`
	// Set to `true` if you want to remove all approvals in a merge request when new commits are pushed to its source branch. Default is `true`.
	ResetApprovalsOnPush pulumi.BoolPtrOutput `pulumi:"resetApprovalsOnPush"`
}

The `gitlabProjectLevelMrApprovalRule` resource allows to manage the lifecycle of a Merge Request-level approval rule.

> This resource requires a GitLab Enterprise instance.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/merge_request_approvals.html#merge-request-level-mr-approvals)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooProject, err := gitlab.NewProject(ctx, "fooProject", &gitlab.ProjectArgs{
			Description: pulumi.String("My example project"),
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewProjectLevelMrApprovals(ctx, "fooProjectLevelMrApprovals", &gitlab.ProjectLevelMrApprovalsArgs{
			ProjectId:            fooProject.ID(),
			ResetApprovalsOnPush: pulumi.Bool(true),
			DisableOverridingApproversPerMergeRequest: pulumi.Bool(false),
			MergeRequestsAuthorApproval:               pulumi.Bool(false),
			MergeRequestsDisableCommittersApproval:    pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import gitlab:index/projectLevelMrApprovals:ProjectLevelMrApprovals You can import an approval configuration state using `<resource> <project_id>`.

```

For example

```sh

$ pulumi import gitlab:index/projectLevelMrApprovals:ProjectLevelMrApprovals foo 1234

```

func GetProjectLevelMrApprovals

func GetProjectLevelMrApprovals(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectLevelMrApprovalsState, opts ...pulumi.ResourceOption) (*ProjectLevelMrApprovals, error)

GetProjectLevelMrApprovals gets an existing ProjectLevelMrApprovals resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectLevelMrApprovals

func NewProjectLevelMrApprovals(ctx *pulumi.Context,
	name string, args *ProjectLevelMrApprovalsArgs, opts ...pulumi.ResourceOption) (*ProjectLevelMrApprovals, error)

NewProjectLevelMrApprovals registers a new resource with the given unique name, arguments, and options.

func (*ProjectLevelMrApprovals) ElementType

func (*ProjectLevelMrApprovals) ElementType() reflect.Type

func (*ProjectLevelMrApprovals) ToProjectLevelMrApprovalsOutput

func (i *ProjectLevelMrApprovals) ToProjectLevelMrApprovalsOutput() ProjectLevelMrApprovalsOutput

func (*ProjectLevelMrApprovals) ToProjectLevelMrApprovalsOutputWithContext

func (i *ProjectLevelMrApprovals) ToProjectLevelMrApprovalsOutputWithContext(ctx context.Context) ProjectLevelMrApprovalsOutput

type ProjectLevelMrApprovalsArgs

type ProjectLevelMrApprovalsArgs struct {
	// By default, users are able to edit the approval rules in merge requests. If set to true,
	DisableOverridingApproversPerMergeRequest pulumi.BoolPtrInput
	// Set to `true` if you want to allow merge request authors to self-approve merge requests. Authors
	MergeRequestsAuthorApproval pulumi.BoolPtrInput
	// Set to `true` if you want to prevent approval of merge requests by merge request committers.
	MergeRequestsDisableCommittersApproval pulumi.BoolPtrInput
	// The ID of the project to change MR approval configuration.
	ProjectId pulumi.IntInput
	// Set to `true` if you want to require authentication when approving a merge request.
	RequirePasswordToApprove pulumi.BoolPtrInput
	// Set to `true` if you want to remove all approvals in a merge request when new commits are pushed to its source branch. Default is `true`.
	ResetApprovalsOnPush pulumi.BoolPtrInput
}

The set of arguments for constructing a ProjectLevelMrApprovals resource.

func (ProjectLevelMrApprovalsArgs) ElementType

type ProjectLevelMrApprovalsArray

type ProjectLevelMrApprovalsArray []ProjectLevelMrApprovalsInput

func (ProjectLevelMrApprovalsArray) ElementType

func (ProjectLevelMrApprovalsArray) ToProjectLevelMrApprovalsArrayOutput

func (i ProjectLevelMrApprovalsArray) ToProjectLevelMrApprovalsArrayOutput() ProjectLevelMrApprovalsArrayOutput

func (ProjectLevelMrApprovalsArray) ToProjectLevelMrApprovalsArrayOutputWithContext

func (i ProjectLevelMrApprovalsArray) ToProjectLevelMrApprovalsArrayOutputWithContext(ctx context.Context) ProjectLevelMrApprovalsArrayOutput

type ProjectLevelMrApprovalsArrayInput

type ProjectLevelMrApprovalsArrayInput interface {
	pulumi.Input

	ToProjectLevelMrApprovalsArrayOutput() ProjectLevelMrApprovalsArrayOutput
	ToProjectLevelMrApprovalsArrayOutputWithContext(context.Context) ProjectLevelMrApprovalsArrayOutput
}

ProjectLevelMrApprovalsArrayInput is an input type that accepts ProjectLevelMrApprovalsArray and ProjectLevelMrApprovalsArrayOutput values. You can construct a concrete instance of `ProjectLevelMrApprovalsArrayInput` via:

ProjectLevelMrApprovalsArray{ ProjectLevelMrApprovalsArgs{...} }

type ProjectLevelMrApprovalsArrayOutput

type ProjectLevelMrApprovalsArrayOutput struct{ *pulumi.OutputState }

func (ProjectLevelMrApprovalsArrayOutput) ElementType

func (ProjectLevelMrApprovalsArrayOutput) Index

func (ProjectLevelMrApprovalsArrayOutput) ToProjectLevelMrApprovalsArrayOutput

func (o ProjectLevelMrApprovalsArrayOutput) ToProjectLevelMrApprovalsArrayOutput() ProjectLevelMrApprovalsArrayOutput

func (ProjectLevelMrApprovalsArrayOutput) ToProjectLevelMrApprovalsArrayOutputWithContext

func (o ProjectLevelMrApprovalsArrayOutput) ToProjectLevelMrApprovalsArrayOutputWithContext(ctx context.Context) ProjectLevelMrApprovalsArrayOutput

type ProjectLevelMrApprovalsInput

type ProjectLevelMrApprovalsInput interface {
	pulumi.Input

	ToProjectLevelMrApprovalsOutput() ProjectLevelMrApprovalsOutput
	ToProjectLevelMrApprovalsOutputWithContext(ctx context.Context) ProjectLevelMrApprovalsOutput
}

type ProjectLevelMrApprovalsMap

type ProjectLevelMrApprovalsMap map[string]ProjectLevelMrApprovalsInput

func (ProjectLevelMrApprovalsMap) ElementType

func (ProjectLevelMrApprovalsMap) ElementType() reflect.Type

func (ProjectLevelMrApprovalsMap) ToProjectLevelMrApprovalsMapOutput

func (i ProjectLevelMrApprovalsMap) ToProjectLevelMrApprovalsMapOutput() ProjectLevelMrApprovalsMapOutput

func (ProjectLevelMrApprovalsMap) ToProjectLevelMrApprovalsMapOutputWithContext

func (i ProjectLevelMrApprovalsMap) ToProjectLevelMrApprovalsMapOutputWithContext(ctx context.Context) ProjectLevelMrApprovalsMapOutput

type ProjectLevelMrApprovalsMapInput

type ProjectLevelMrApprovalsMapInput interface {
	pulumi.Input

	ToProjectLevelMrApprovalsMapOutput() ProjectLevelMrApprovalsMapOutput
	ToProjectLevelMrApprovalsMapOutputWithContext(context.Context) ProjectLevelMrApprovalsMapOutput
}

ProjectLevelMrApprovalsMapInput is an input type that accepts ProjectLevelMrApprovalsMap and ProjectLevelMrApprovalsMapOutput values. You can construct a concrete instance of `ProjectLevelMrApprovalsMapInput` via:

ProjectLevelMrApprovalsMap{ "key": ProjectLevelMrApprovalsArgs{...} }

type ProjectLevelMrApprovalsMapOutput

type ProjectLevelMrApprovalsMapOutput struct{ *pulumi.OutputState }

func (ProjectLevelMrApprovalsMapOutput) ElementType

func (ProjectLevelMrApprovalsMapOutput) MapIndex

func (ProjectLevelMrApprovalsMapOutput) ToProjectLevelMrApprovalsMapOutput

func (o ProjectLevelMrApprovalsMapOutput) ToProjectLevelMrApprovalsMapOutput() ProjectLevelMrApprovalsMapOutput

func (ProjectLevelMrApprovalsMapOutput) ToProjectLevelMrApprovalsMapOutputWithContext

func (o ProjectLevelMrApprovalsMapOutput) ToProjectLevelMrApprovalsMapOutputWithContext(ctx context.Context) ProjectLevelMrApprovalsMapOutput

type ProjectLevelMrApprovalsOutput

type ProjectLevelMrApprovalsOutput struct{ *pulumi.OutputState }

func (ProjectLevelMrApprovalsOutput) DisableOverridingApproversPerMergeRequest added in v4.7.1

func (o ProjectLevelMrApprovalsOutput) DisableOverridingApproversPerMergeRequest() pulumi.BoolPtrOutput

By default, users are able to edit the approval rules in merge requests. If set to true,

func (ProjectLevelMrApprovalsOutput) ElementType

func (ProjectLevelMrApprovalsOutput) MergeRequestsAuthorApproval added in v4.7.1

func (o ProjectLevelMrApprovalsOutput) MergeRequestsAuthorApproval() pulumi.BoolPtrOutput

Set to `true` if you want to allow merge request authors to self-approve merge requests. Authors

func (ProjectLevelMrApprovalsOutput) MergeRequestsDisableCommittersApproval added in v4.7.1

func (o ProjectLevelMrApprovalsOutput) MergeRequestsDisableCommittersApproval() pulumi.BoolPtrOutput

Set to `true` if you want to prevent approval of merge requests by merge request committers.

func (ProjectLevelMrApprovalsOutput) ProjectId added in v4.7.1

The ID of the project to change MR approval configuration.

func (ProjectLevelMrApprovalsOutput) RequirePasswordToApprove added in v4.7.1

func (o ProjectLevelMrApprovalsOutput) RequirePasswordToApprove() pulumi.BoolPtrOutput

Set to `true` if you want to require authentication when approving a merge request.

func (ProjectLevelMrApprovalsOutput) ResetApprovalsOnPush added in v4.7.1

func (o ProjectLevelMrApprovalsOutput) ResetApprovalsOnPush() pulumi.BoolPtrOutput

Set to `true` if you want to remove all approvals in a merge request when new commits are pushed to its source branch. Default is `true`.

func (ProjectLevelMrApprovalsOutput) ToProjectLevelMrApprovalsOutput

func (o ProjectLevelMrApprovalsOutput) ToProjectLevelMrApprovalsOutput() ProjectLevelMrApprovalsOutput

func (ProjectLevelMrApprovalsOutput) ToProjectLevelMrApprovalsOutputWithContext

func (o ProjectLevelMrApprovalsOutput) ToProjectLevelMrApprovalsOutputWithContext(ctx context.Context) ProjectLevelMrApprovalsOutput

type ProjectLevelMrApprovalsState

type ProjectLevelMrApprovalsState struct {
	// By default, users are able to edit the approval rules in merge requests. If set to true,
	DisableOverridingApproversPerMergeRequest pulumi.BoolPtrInput
	// Set to `true` if you want to allow merge request authors to self-approve merge requests. Authors
	MergeRequestsAuthorApproval pulumi.BoolPtrInput
	// Set to `true` if you want to prevent approval of merge requests by merge request committers.
	MergeRequestsDisableCommittersApproval pulumi.BoolPtrInput
	// The ID of the project to change MR approval configuration.
	ProjectId pulumi.IntPtrInput
	// Set to `true` if you want to require authentication when approving a merge request.
	RequirePasswordToApprove pulumi.BoolPtrInput
	// Set to `true` if you want to remove all approvals in a merge request when new commits are pushed to its source branch. Default is `true`.
	ResetApprovalsOnPush pulumi.BoolPtrInput
}

func (ProjectLevelMrApprovalsState) ElementType

type ProjectMap

type ProjectMap map[string]ProjectInput

func (ProjectMap) ElementType

func (ProjectMap) ElementType() reflect.Type

func (ProjectMap) ToProjectMapOutput

func (i ProjectMap) ToProjectMapOutput() ProjectMapOutput

func (ProjectMap) ToProjectMapOutputWithContext

func (i ProjectMap) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectMapInput

type ProjectMapInput interface {
	pulumi.Input

	ToProjectMapOutput() ProjectMapOutput
	ToProjectMapOutputWithContext(context.Context) ProjectMapOutput
}

ProjectMapInput is an input type that accepts ProjectMap and ProjectMapOutput values. You can construct a concrete instance of `ProjectMapInput` via:

ProjectMap{ "key": ProjectArgs{...} }

type ProjectMapOutput

type ProjectMapOutput struct{ *pulumi.OutputState }

func (ProjectMapOutput) ElementType

func (ProjectMapOutput) ElementType() reflect.Type

func (ProjectMapOutput) MapIndex

func (ProjectMapOutput) ToProjectMapOutput

func (o ProjectMapOutput) ToProjectMapOutput() ProjectMapOutput

func (ProjectMapOutput) ToProjectMapOutputWithContext

func (o ProjectMapOutput) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectMembership

type ProjectMembership struct {
	pulumi.CustomResourceState

	// The access level for the member. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`
	AccessLevel pulumi.StringOutput `pulumi:"accessLevel"`
	// Expiration date for the project membership. Format: `YYYY-MM-DD`
	ExpiresAt pulumi.StringPtrOutput `pulumi:"expiresAt"`
	// The id of the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The id of the user.
	UserId pulumi.IntOutput `pulumi:"userId"`
}

The `ProjectMembership` resource allows to manage the lifecycle of a users project membersip.

> If a project should grant membership to an entire group use the `ProjectShareGroup` resource instead.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/members.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewProjectMembership(ctx, "test", &gitlab.ProjectMembershipArgs{
			AccessLevel: pulumi.String("guest"),
			ProjectId:   pulumi.String("12345"),
			UserId:      pulumi.Int(1337),
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewProjectMembership(ctx, "example", &gitlab.ProjectMembershipArgs{
			AccessLevel: pulumi.String("guest"),
			ExpiresAt:   pulumi.String("2022-12-31"),
			ProjectId:   pulumi.String("67890"),
			UserId:      pulumi.Int(1234),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GitLab project membership can be imported using an id made up of `project_id:user_id`, e.g.

```sh

$ pulumi import gitlab:index/projectMembership:ProjectMembership test "12345:1337"

```

func GetProjectMembership

func GetProjectMembership(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectMembershipState, opts ...pulumi.ResourceOption) (*ProjectMembership, error)

GetProjectMembership gets an existing ProjectMembership resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectMembership

func NewProjectMembership(ctx *pulumi.Context,
	name string, args *ProjectMembershipArgs, opts ...pulumi.ResourceOption) (*ProjectMembership, error)

NewProjectMembership registers a new resource with the given unique name, arguments, and options.

func (*ProjectMembership) ElementType

func (*ProjectMembership) ElementType() reflect.Type

func (*ProjectMembership) ToProjectMembershipOutput

func (i *ProjectMembership) ToProjectMembershipOutput() ProjectMembershipOutput

func (*ProjectMembership) ToProjectMembershipOutputWithContext

func (i *ProjectMembership) ToProjectMembershipOutputWithContext(ctx context.Context) ProjectMembershipOutput

type ProjectMembershipArgs

type ProjectMembershipArgs struct {
	// The access level for the member. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`
	AccessLevel pulumi.StringInput
	// Expiration date for the project membership. Format: `YYYY-MM-DD`
	ExpiresAt pulumi.StringPtrInput
	// The id of the project.
	ProjectId pulumi.StringInput
	// The id of the user.
	UserId pulumi.IntInput
}

The set of arguments for constructing a ProjectMembership resource.

func (ProjectMembershipArgs) ElementType

func (ProjectMembershipArgs) ElementType() reflect.Type

type ProjectMembershipArray

type ProjectMembershipArray []ProjectMembershipInput

func (ProjectMembershipArray) ElementType

func (ProjectMembershipArray) ElementType() reflect.Type

func (ProjectMembershipArray) ToProjectMembershipArrayOutput

func (i ProjectMembershipArray) ToProjectMembershipArrayOutput() ProjectMembershipArrayOutput

func (ProjectMembershipArray) ToProjectMembershipArrayOutputWithContext

func (i ProjectMembershipArray) ToProjectMembershipArrayOutputWithContext(ctx context.Context) ProjectMembershipArrayOutput

type ProjectMembershipArrayInput

type ProjectMembershipArrayInput interface {
	pulumi.Input

	ToProjectMembershipArrayOutput() ProjectMembershipArrayOutput
	ToProjectMembershipArrayOutputWithContext(context.Context) ProjectMembershipArrayOutput
}

ProjectMembershipArrayInput is an input type that accepts ProjectMembershipArray and ProjectMembershipArrayOutput values. You can construct a concrete instance of `ProjectMembershipArrayInput` via:

ProjectMembershipArray{ ProjectMembershipArgs{...} }

type ProjectMembershipArrayOutput

type ProjectMembershipArrayOutput struct{ *pulumi.OutputState }

func (ProjectMembershipArrayOutput) ElementType

func (ProjectMembershipArrayOutput) Index

func (ProjectMembershipArrayOutput) ToProjectMembershipArrayOutput

func (o ProjectMembershipArrayOutput) ToProjectMembershipArrayOutput() ProjectMembershipArrayOutput

func (ProjectMembershipArrayOutput) ToProjectMembershipArrayOutputWithContext

func (o ProjectMembershipArrayOutput) ToProjectMembershipArrayOutputWithContext(ctx context.Context) ProjectMembershipArrayOutput

type ProjectMembershipInput

type ProjectMembershipInput interface {
	pulumi.Input

	ToProjectMembershipOutput() ProjectMembershipOutput
	ToProjectMembershipOutputWithContext(ctx context.Context) ProjectMembershipOutput
}

type ProjectMembershipMap

type ProjectMembershipMap map[string]ProjectMembershipInput

func (ProjectMembershipMap) ElementType

func (ProjectMembershipMap) ElementType() reflect.Type

func (ProjectMembershipMap) ToProjectMembershipMapOutput

func (i ProjectMembershipMap) ToProjectMembershipMapOutput() ProjectMembershipMapOutput

func (ProjectMembershipMap) ToProjectMembershipMapOutputWithContext

func (i ProjectMembershipMap) ToProjectMembershipMapOutputWithContext(ctx context.Context) ProjectMembershipMapOutput

type ProjectMembershipMapInput

type ProjectMembershipMapInput interface {
	pulumi.Input

	ToProjectMembershipMapOutput() ProjectMembershipMapOutput
	ToProjectMembershipMapOutputWithContext(context.Context) ProjectMembershipMapOutput
}

ProjectMembershipMapInput is an input type that accepts ProjectMembershipMap and ProjectMembershipMapOutput values. You can construct a concrete instance of `ProjectMembershipMapInput` via:

ProjectMembershipMap{ "key": ProjectMembershipArgs{...} }

type ProjectMembershipMapOutput

type ProjectMembershipMapOutput struct{ *pulumi.OutputState }

func (ProjectMembershipMapOutput) ElementType

func (ProjectMembershipMapOutput) ElementType() reflect.Type

func (ProjectMembershipMapOutput) MapIndex

func (ProjectMembershipMapOutput) ToProjectMembershipMapOutput

func (o ProjectMembershipMapOutput) ToProjectMembershipMapOutput() ProjectMembershipMapOutput

func (ProjectMembershipMapOutput) ToProjectMembershipMapOutputWithContext

func (o ProjectMembershipMapOutput) ToProjectMembershipMapOutputWithContext(ctx context.Context) ProjectMembershipMapOutput

type ProjectMembershipOutput

type ProjectMembershipOutput struct{ *pulumi.OutputState }

func (ProjectMembershipOutput) AccessLevel added in v4.7.1

The access level for the member. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`

func (ProjectMembershipOutput) ElementType

func (ProjectMembershipOutput) ElementType() reflect.Type

func (ProjectMembershipOutput) ExpiresAt added in v4.8.0

Expiration date for the project membership. Format: `YYYY-MM-DD`

func (ProjectMembershipOutput) ProjectId added in v4.7.1

The id of the project.

func (ProjectMembershipOutput) ToProjectMembershipOutput

func (o ProjectMembershipOutput) ToProjectMembershipOutput() ProjectMembershipOutput

func (ProjectMembershipOutput) ToProjectMembershipOutputWithContext

func (o ProjectMembershipOutput) ToProjectMembershipOutputWithContext(ctx context.Context) ProjectMembershipOutput

func (ProjectMembershipOutput) UserId added in v4.7.1

The id of the user.

type ProjectMembershipState

type ProjectMembershipState struct {
	// The access level for the member. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`
	AccessLevel pulumi.StringPtrInput
	// Expiration date for the project membership. Format: `YYYY-MM-DD`
	ExpiresAt pulumi.StringPtrInput
	// The id of the project.
	ProjectId pulumi.StringPtrInput
	// The id of the user.
	UserId pulumi.IntPtrInput
}

func (ProjectMembershipState) ElementType

func (ProjectMembershipState) ElementType() reflect.Type

type ProjectMilestone added in v4.8.0

type ProjectMilestone struct {
	pulumi.CustomResourceState

	// The time of creation of the milestone. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The description of the milestone.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The due date of the milestone. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
	DueDate pulumi.StringPtrOutput `pulumi:"dueDate"`
	// Bool, true if milestore expired.
	Expired pulumi.BoolOutput `pulumi:"expired"`
	// The ID of the project's milestone.
	Iid pulumi.IntOutput `pulumi:"iid"`
	// The instance-wide ID of the project’s milestone.
	MilestoneId pulumi.IntOutput `pulumi:"milestoneId"`
	// The ID or URL-encoded path of the project owned by the authenticated user.
	Project pulumi.StringOutput `pulumi:"project"`
	// The project ID of milestone.
	ProjectId pulumi.IntOutput `pulumi:"projectId"`
	// The start date of the milestone. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
	StartDate pulumi.StringPtrOutput `pulumi:"startDate"`
	// The state of the milestone. Valid values are: `active`, `closed`.
	State pulumi.StringPtrOutput `pulumi:"state"`
	// The title of a milestone.
	Title pulumi.StringOutput `pulumi:"title"`
	// The last update time of the milestone. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
	// The web URL of the milestone.
	WebUrl pulumi.StringOutput `pulumi:"webUrl"`
}

The `ProjectMilestone` resource allows to manage the lifecycle of a project milestone.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/milestones.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := gitlab.NewProject(ctx, "exampleProject", &gitlab.ProjectArgs{
			Description: pulumi.String("An example project"),
			NamespaceId: pulumi.Any(gitlab_group.Example.Id),
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewProjectMilestone(ctx, "exampleProjectMilestone", &gitlab.ProjectMilestoneArgs{
			Project: exampleProject.ID(),
			Title:   pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Gitlab project milestone can be imported with a key composed of `<project>:<milestone_id>`, e.g.

```sh

$ pulumi import gitlab:index/projectMilestone:ProjectMilestone example "12345:11"

```

func GetProjectMilestone added in v4.8.0

func GetProjectMilestone(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectMilestoneState, opts ...pulumi.ResourceOption) (*ProjectMilestone, error)

GetProjectMilestone gets an existing ProjectMilestone resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectMilestone added in v4.8.0

func NewProjectMilestone(ctx *pulumi.Context,
	name string, args *ProjectMilestoneArgs, opts ...pulumi.ResourceOption) (*ProjectMilestone, error)

NewProjectMilestone registers a new resource with the given unique name, arguments, and options.

func (*ProjectMilestone) ElementType added in v4.8.0

func (*ProjectMilestone) ElementType() reflect.Type

func (*ProjectMilestone) ToProjectMilestoneOutput added in v4.8.0

func (i *ProjectMilestone) ToProjectMilestoneOutput() ProjectMilestoneOutput

func (*ProjectMilestone) ToProjectMilestoneOutputWithContext added in v4.8.0

func (i *ProjectMilestone) ToProjectMilestoneOutputWithContext(ctx context.Context) ProjectMilestoneOutput

type ProjectMilestoneArgs added in v4.8.0

type ProjectMilestoneArgs struct {
	// The description of the milestone.
	Description pulumi.StringPtrInput
	// The due date of the milestone. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
	DueDate pulumi.StringPtrInput
	// The ID or URL-encoded path of the project owned by the authenticated user.
	Project pulumi.StringInput
	// The start date of the milestone. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
	StartDate pulumi.StringPtrInput
	// The state of the milestone. Valid values are: `active`, `closed`.
	State pulumi.StringPtrInput
	// The title of a milestone.
	Title pulumi.StringInput
}

The set of arguments for constructing a ProjectMilestone resource.

func (ProjectMilestoneArgs) ElementType added in v4.8.0

func (ProjectMilestoneArgs) ElementType() reflect.Type

type ProjectMilestoneArray added in v4.8.0

type ProjectMilestoneArray []ProjectMilestoneInput

func (ProjectMilestoneArray) ElementType added in v4.8.0

func (ProjectMilestoneArray) ElementType() reflect.Type

func (ProjectMilestoneArray) ToProjectMilestoneArrayOutput added in v4.8.0

func (i ProjectMilestoneArray) ToProjectMilestoneArrayOutput() ProjectMilestoneArrayOutput

func (ProjectMilestoneArray) ToProjectMilestoneArrayOutputWithContext added in v4.8.0

func (i ProjectMilestoneArray) ToProjectMilestoneArrayOutputWithContext(ctx context.Context) ProjectMilestoneArrayOutput

type ProjectMilestoneArrayInput added in v4.8.0

type ProjectMilestoneArrayInput interface {
	pulumi.Input

	ToProjectMilestoneArrayOutput() ProjectMilestoneArrayOutput
	ToProjectMilestoneArrayOutputWithContext(context.Context) ProjectMilestoneArrayOutput
}

ProjectMilestoneArrayInput is an input type that accepts ProjectMilestoneArray and ProjectMilestoneArrayOutput values. You can construct a concrete instance of `ProjectMilestoneArrayInput` via:

ProjectMilestoneArray{ ProjectMilestoneArgs{...} }

type ProjectMilestoneArrayOutput added in v4.8.0

type ProjectMilestoneArrayOutput struct{ *pulumi.OutputState }

func (ProjectMilestoneArrayOutput) ElementType added in v4.8.0

func (ProjectMilestoneArrayOutput) Index added in v4.8.0

func (ProjectMilestoneArrayOutput) ToProjectMilestoneArrayOutput added in v4.8.0

func (o ProjectMilestoneArrayOutput) ToProjectMilestoneArrayOutput() ProjectMilestoneArrayOutput

func (ProjectMilestoneArrayOutput) ToProjectMilestoneArrayOutputWithContext added in v4.8.0

func (o ProjectMilestoneArrayOutput) ToProjectMilestoneArrayOutputWithContext(ctx context.Context) ProjectMilestoneArrayOutput

type ProjectMilestoneInput added in v4.8.0

type ProjectMilestoneInput interface {
	pulumi.Input

	ToProjectMilestoneOutput() ProjectMilestoneOutput
	ToProjectMilestoneOutputWithContext(ctx context.Context) ProjectMilestoneOutput
}

type ProjectMilestoneMap added in v4.8.0

type ProjectMilestoneMap map[string]ProjectMilestoneInput

func (ProjectMilestoneMap) ElementType added in v4.8.0

func (ProjectMilestoneMap) ElementType() reflect.Type

func (ProjectMilestoneMap) ToProjectMilestoneMapOutput added in v4.8.0

func (i ProjectMilestoneMap) ToProjectMilestoneMapOutput() ProjectMilestoneMapOutput

func (ProjectMilestoneMap) ToProjectMilestoneMapOutputWithContext added in v4.8.0

func (i ProjectMilestoneMap) ToProjectMilestoneMapOutputWithContext(ctx context.Context) ProjectMilestoneMapOutput

type ProjectMilestoneMapInput added in v4.8.0

type ProjectMilestoneMapInput interface {
	pulumi.Input

	ToProjectMilestoneMapOutput() ProjectMilestoneMapOutput
	ToProjectMilestoneMapOutputWithContext(context.Context) ProjectMilestoneMapOutput
}

ProjectMilestoneMapInput is an input type that accepts ProjectMilestoneMap and ProjectMilestoneMapOutput values. You can construct a concrete instance of `ProjectMilestoneMapInput` via:

ProjectMilestoneMap{ "key": ProjectMilestoneArgs{...} }

type ProjectMilestoneMapOutput added in v4.8.0

type ProjectMilestoneMapOutput struct{ *pulumi.OutputState }

func (ProjectMilestoneMapOutput) ElementType added in v4.8.0

func (ProjectMilestoneMapOutput) ElementType() reflect.Type

func (ProjectMilestoneMapOutput) MapIndex added in v4.8.0

func (ProjectMilestoneMapOutput) ToProjectMilestoneMapOutput added in v4.8.0

func (o ProjectMilestoneMapOutput) ToProjectMilestoneMapOutput() ProjectMilestoneMapOutput

func (ProjectMilestoneMapOutput) ToProjectMilestoneMapOutputWithContext added in v4.8.0

func (o ProjectMilestoneMapOutput) ToProjectMilestoneMapOutputWithContext(ctx context.Context) ProjectMilestoneMapOutput

type ProjectMilestoneOutput added in v4.8.0

type ProjectMilestoneOutput struct{ *pulumi.OutputState }

func (ProjectMilestoneOutput) CreatedAt added in v4.8.0

The time of creation of the milestone. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.

func (ProjectMilestoneOutput) Description added in v4.8.0

The description of the milestone.

func (ProjectMilestoneOutput) DueDate added in v4.8.0

The due date of the milestone. Date time string in the format YYYY-MM-DD, for example 2016-03-11.

func (ProjectMilestoneOutput) ElementType added in v4.8.0

func (ProjectMilestoneOutput) ElementType() reflect.Type

func (ProjectMilestoneOutput) Expired added in v4.8.0

Bool, true if milestore expired.

func (ProjectMilestoneOutput) Iid added in v4.8.0

The ID of the project's milestone.

func (ProjectMilestoneOutput) MilestoneId added in v4.8.0

func (o ProjectMilestoneOutput) MilestoneId() pulumi.IntOutput

The instance-wide ID of the project’s milestone.

func (ProjectMilestoneOutput) Project added in v4.8.0

The ID or URL-encoded path of the project owned by the authenticated user.

func (ProjectMilestoneOutput) ProjectId added in v4.8.0

func (o ProjectMilestoneOutput) ProjectId() pulumi.IntOutput

The project ID of milestone.

func (ProjectMilestoneOutput) StartDate added in v4.8.0

The start date of the milestone. Date time string in the format YYYY-MM-DD, for example 2016-03-11.

func (ProjectMilestoneOutput) State added in v4.8.0

The state of the milestone. Valid values are: `active`, `closed`.

func (ProjectMilestoneOutput) Title added in v4.8.0

The title of a milestone.

func (ProjectMilestoneOutput) ToProjectMilestoneOutput added in v4.8.0

func (o ProjectMilestoneOutput) ToProjectMilestoneOutput() ProjectMilestoneOutput

func (ProjectMilestoneOutput) ToProjectMilestoneOutputWithContext added in v4.8.0

func (o ProjectMilestoneOutput) ToProjectMilestoneOutputWithContext(ctx context.Context) ProjectMilestoneOutput

func (ProjectMilestoneOutput) UpdatedAt added in v4.8.0

The last update time of the milestone. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.

func (ProjectMilestoneOutput) WebUrl added in v4.8.0

The web URL of the milestone.

type ProjectMilestoneState added in v4.8.0

type ProjectMilestoneState struct {
	// The time of creation of the milestone. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
	CreatedAt pulumi.StringPtrInput
	// The description of the milestone.
	Description pulumi.StringPtrInput
	// The due date of the milestone. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
	DueDate pulumi.StringPtrInput
	// Bool, true if milestore expired.
	Expired pulumi.BoolPtrInput
	// The ID of the project's milestone.
	Iid pulumi.IntPtrInput
	// The instance-wide ID of the project’s milestone.
	MilestoneId pulumi.IntPtrInput
	// The ID or URL-encoded path of the project owned by the authenticated user.
	Project pulumi.StringPtrInput
	// The project ID of milestone.
	ProjectId pulumi.IntPtrInput
	// The start date of the milestone. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
	StartDate pulumi.StringPtrInput
	// The state of the milestone. Valid values are: `active`, `closed`.
	State pulumi.StringPtrInput
	// The title of a milestone.
	Title pulumi.StringPtrInput
	// The last update time of the milestone. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
	UpdatedAt pulumi.StringPtrInput
	// The web URL of the milestone.
	WebUrl pulumi.StringPtrInput
}

func (ProjectMilestoneState) ElementType added in v4.8.0

func (ProjectMilestoneState) ElementType() reflect.Type

type ProjectMirror

type ProjectMirror struct {
	pulumi.CustomResourceState

	// Determines if the mirror is enabled.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// Determines if divergent refs are skipped.
	KeepDivergentRefs pulumi.BoolPtrOutput `pulumi:"keepDivergentRefs"`
	// Mirror ID.
	MirrorId pulumi.IntOutput `pulumi:"mirrorId"`
	// Determines if only protected branches are mirrored.
	OnlyProtectedBranches pulumi.BoolPtrOutput `pulumi:"onlyProtectedBranches"`
	// The id of the project.
	Project pulumi.StringOutput `pulumi:"project"`
	// The URL of the remote repository to be mirrored.
	Url pulumi.StringOutput `pulumi:"url"`
}

The `ProjectMirror` resource allows to manage the lifecycle of a project mirror.

This is for *pushing* changes to a remote repository. *Pull Mirroring* can be configured using a combination of the import_url, mirror, and mirrorTriggerBuilds properties on the Project resource.

> **Destroy Behavior** GitLab 14.10 introduced an API endpoint to delete a project mirror.

Therefore, for GitLab 14.10 and newer the project mirror will be destroyed when the resource is destroyed.
For older versions, the mirror will be disabled and the resource will be destroyed.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/remote_mirrors.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewProjectMirror(ctx, "foo", &gitlab.ProjectMirrorArgs{
			Project: pulumi.String("1"),
			Url:     pulumi.String("https://username:password@github.com/org/repository.git"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GitLab project mirror can be imported using an id made up of `project_id:mirror_id`, e.g.

```sh

$ pulumi import gitlab:index/projectMirror:ProjectMirror foo "12345:1337"

```

func GetProjectMirror

func GetProjectMirror(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectMirrorState, opts ...pulumi.ResourceOption) (*ProjectMirror, error)

GetProjectMirror gets an existing ProjectMirror resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectMirror

func NewProjectMirror(ctx *pulumi.Context,
	name string, args *ProjectMirrorArgs, opts ...pulumi.ResourceOption) (*ProjectMirror, error)

NewProjectMirror registers a new resource with the given unique name, arguments, and options.

func (*ProjectMirror) ElementType

func (*ProjectMirror) ElementType() reflect.Type

func (*ProjectMirror) ToProjectMirrorOutput

func (i *ProjectMirror) ToProjectMirrorOutput() ProjectMirrorOutput

func (*ProjectMirror) ToProjectMirrorOutputWithContext

func (i *ProjectMirror) ToProjectMirrorOutputWithContext(ctx context.Context) ProjectMirrorOutput

type ProjectMirrorArgs

type ProjectMirrorArgs struct {
	// Determines if the mirror is enabled.
	Enabled pulumi.BoolPtrInput
	// Determines if divergent refs are skipped.
	KeepDivergentRefs pulumi.BoolPtrInput
	// Determines if only protected branches are mirrored.
	OnlyProtectedBranches pulumi.BoolPtrInput
	// The id of the project.
	Project pulumi.StringInput
	// The URL of the remote repository to be mirrored.
	Url pulumi.StringInput
}

The set of arguments for constructing a ProjectMirror resource.

func (ProjectMirrorArgs) ElementType

func (ProjectMirrorArgs) ElementType() reflect.Type

type ProjectMirrorArray

type ProjectMirrorArray []ProjectMirrorInput

func (ProjectMirrorArray) ElementType

func (ProjectMirrorArray) ElementType() reflect.Type

func (ProjectMirrorArray) ToProjectMirrorArrayOutput

func (i ProjectMirrorArray) ToProjectMirrorArrayOutput() ProjectMirrorArrayOutput

func (ProjectMirrorArray) ToProjectMirrorArrayOutputWithContext

func (i ProjectMirrorArray) ToProjectMirrorArrayOutputWithContext(ctx context.Context) ProjectMirrorArrayOutput

type ProjectMirrorArrayInput

type ProjectMirrorArrayInput interface {
	pulumi.Input

	ToProjectMirrorArrayOutput() ProjectMirrorArrayOutput
	ToProjectMirrorArrayOutputWithContext(context.Context) ProjectMirrorArrayOutput
}

ProjectMirrorArrayInput is an input type that accepts ProjectMirrorArray and ProjectMirrorArrayOutput values. You can construct a concrete instance of `ProjectMirrorArrayInput` via:

ProjectMirrorArray{ ProjectMirrorArgs{...} }

type ProjectMirrorArrayOutput

type ProjectMirrorArrayOutput struct{ *pulumi.OutputState }

func (ProjectMirrorArrayOutput) ElementType

func (ProjectMirrorArrayOutput) ElementType() reflect.Type

func (ProjectMirrorArrayOutput) Index

func (ProjectMirrorArrayOutput) ToProjectMirrorArrayOutput

func (o ProjectMirrorArrayOutput) ToProjectMirrorArrayOutput() ProjectMirrorArrayOutput

func (ProjectMirrorArrayOutput) ToProjectMirrorArrayOutputWithContext

func (o ProjectMirrorArrayOutput) ToProjectMirrorArrayOutputWithContext(ctx context.Context) ProjectMirrorArrayOutput

type ProjectMirrorInput

type ProjectMirrorInput interface {
	pulumi.Input

	ToProjectMirrorOutput() ProjectMirrorOutput
	ToProjectMirrorOutputWithContext(ctx context.Context) ProjectMirrorOutput
}

type ProjectMirrorMap

type ProjectMirrorMap map[string]ProjectMirrorInput

func (ProjectMirrorMap) ElementType

func (ProjectMirrorMap) ElementType() reflect.Type

func (ProjectMirrorMap) ToProjectMirrorMapOutput

func (i ProjectMirrorMap) ToProjectMirrorMapOutput() ProjectMirrorMapOutput

func (ProjectMirrorMap) ToProjectMirrorMapOutputWithContext

func (i ProjectMirrorMap) ToProjectMirrorMapOutputWithContext(ctx context.Context) ProjectMirrorMapOutput

type ProjectMirrorMapInput

type ProjectMirrorMapInput interface {
	pulumi.Input

	ToProjectMirrorMapOutput() ProjectMirrorMapOutput
	ToProjectMirrorMapOutputWithContext(context.Context) ProjectMirrorMapOutput
}

ProjectMirrorMapInput is an input type that accepts ProjectMirrorMap and ProjectMirrorMapOutput values. You can construct a concrete instance of `ProjectMirrorMapInput` via:

ProjectMirrorMap{ "key": ProjectMirrorArgs{...} }

type ProjectMirrorMapOutput

type ProjectMirrorMapOutput struct{ *pulumi.OutputState }

func (ProjectMirrorMapOutput) ElementType

func (ProjectMirrorMapOutput) ElementType() reflect.Type

func (ProjectMirrorMapOutput) MapIndex

func (ProjectMirrorMapOutput) ToProjectMirrorMapOutput

func (o ProjectMirrorMapOutput) ToProjectMirrorMapOutput() ProjectMirrorMapOutput

func (ProjectMirrorMapOutput) ToProjectMirrorMapOutputWithContext

func (o ProjectMirrorMapOutput) ToProjectMirrorMapOutputWithContext(ctx context.Context) ProjectMirrorMapOutput

type ProjectMirrorOutput

type ProjectMirrorOutput struct{ *pulumi.OutputState }

func (ProjectMirrorOutput) ElementType

func (ProjectMirrorOutput) ElementType() reflect.Type

func (ProjectMirrorOutput) Enabled added in v4.7.1

Determines if the mirror is enabled.

func (ProjectMirrorOutput) KeepDivergentRefs added in v4.7.1

func (o ProjectMirrorOutput) KeepDivergentRefs() pulumi.BoolPtrOutput

Determines if divergent refs are skipped.

func (ProjectMirrorOutput) MirrorId added in v4.7.1

func (o ProjectMirrorOutput) MirrorId() pulumi.IntOutput

Mirror ID.

func (ProjectMirrorOutput) OnlyProtectedBranches added in v4.7.1

func (o ProjectMirrorOutput) OnlyProtectedBranches() pulumi.BoolPtrOutput

Determines if only protected branches are mirrored.

func (ProjectMirrorOutput) Project added in v4.7.1

The id of the project.

func (ProjectMirrorOutput) ToProjectMirrorOutput

func (o ProjectMirrorOutput) ToProjectMirrorOutput() ProjectMirrorOutput

func (ProjectMirrorOutput) ToProjectMirrorOutputWithContext

func (o ProjectMirrorOutput) ToProjectMirrorOutputWithContext(ctx context.Context) ProjectMirrorOutput

func (ProjectMirrorOutput) Url added in v4.7.1

The URL of the remote repository to be mirrored.

type ProjectMirrorState

type ProjectMirrorState struct {
	// Determines if the mirror is enabled.
	Enabled pulumi.BoolPtrInput
	// Determines if divergent refs are skipped.
	KeepDivergentRefs pulumi.BoolPtrInput
	// Mirror ID.
	MirrorId pulumi.IntPtrInput
	// Determines if only protected branches are mirrored.
	OnlyProtectedBranches pulumi.BoolPtrInput
	// The id of the project.
	Project pulumi.StringPtrInput
	// The URL of the remote repository to be mirrored.
	Url pulumi.StringPtrInput
}

func (ProjectMirrorState) ElementType

func (ProjectMirrorState) ElementType() reflect.Type

type ProjectOutput

type ProjectOutput struct{ *pulumi.OutputState }

func (ProjectOutput) AllowMergeOnSkippedPipeline added in v4.7.1

func (o ProjectOutput) AllowMergeOnSkippedPipeline() pulumi.BoolPtrOutput

Set to true if you want to treat skipped pipelines as if they finished with success.

func (ProjectOutput) AnalyticsAccessLevel added in v4.7.1

func (o ProjectOutput) AnalyticsAccessLevel() pulumi.StringOutput

Set the analytics access level. Valid values are `disabled`, `private`, `enabled`.

func (ProjectOutput) ApprovalsBeforeMerge added in v4.7.1

func (o ProjectOutput) ApprovalsBeforeMerge() pulumi.IntPtrOutput

Number of merge request approvals required for merging. Default is 0. This field **does not** work well in combination with the `ProjectApprovalRule` resource and is most likely gonna be deprecated in a future GitLab version (see [this upstream epic](https://gitlab.com/groups/gitlab-org/-/epics/7572)). In the meantime we recommend against using this attribute and use `ProjectApprovalRule` instead.

func (ProjectOutput) ArchiveOnDestroy added in v4.7.1

func (o ProjectOutput) ArchiveOnDestroy() pulumi.BoolPtrOutput

Set to `true` to archive the project instead of deleting on destroy. If set to `true` it will entire omit the `DELETE` operation.

func (ProjectOutput) Archived added in v4.7.1

func (o ProjectOutput) Archived() pulumi.BoolPtrOutput

Whether the project is in read-only mode (archived). Repositories can be archived/unarchived by toggling this parameter.

func (ProjectOutput) AutoCancelPendingPipelines added in v4.7.1

func (o ProjectOutput) AutoCancelPendingPipelines() pulumi.StringOutput

Auto-cancel pending pipelines. This isn’t a boolean, but enabled/disabled.

func (ProjectOutput) AutoDevopsDeployStrategy added in v4.7.1

func (o ProjectOutput) AutoDevopsDeployStrategy() pulumi.StringOutput

Auto Deploy strategy. Valid values are `continuous`, `manual`, `timedIncremental`.

func (ProjectOutput) AutoDevopsEnabled added in v4.7.1

func (o ProjectOutput) AutoDevopsEnabled() pulumi.BoolOutput

Enable Auto DevOps for this project.

func (ProjectOutput) AutocloseReferencedIssues added in v4.7.1

func (o ProjectOutput) AutocloseReferencedIssues() pulumi.BoolOutput

Set whether auto-closing referenced issues on default branch.

func (ProjectOutput) BuildCoverageRegex deprecated added in v4.7.1

func (o ProjectOutput) BuildCoverageRegex() pulumi.StringPtrOutput

Test coverage parsing for the project. This is deprecated feature in GitLab 15.0.

Deprecated: build_coverage_regex is removed in GitLab 15.0.

func (ProjectOutput) BuildGitStrategy added in v4.7.1

func (o ProjectOutput) BuildGitStrategy() pulumi.StringOutput

The Git strategy. Defaults to fetch.

func (ProjectOutput) BuildTimeout added in v4.7.1

func (o ProjectOutput) BuildTimeout() pulumi.IntOutput

The maximum amount of time, in seconds, that a job can run.

func (ProjectOutput) BuildsAccessLevel added in v4.7.1

func (o ProjectOutput) BuildsAccessLevel() pulumi.StringOutput

Set the builds access level. Valid values are `disabled`, `private`, `enabled`.

func (ProjectOutput) CiConfigPath added in v4.7.1

func (o ProjectOutput) CiConfigPath() pulumi.StringPtrOutput

Custom Path to CI config file.

func (ProjectOutput) CiDefaultGitDepth added in v4.8.0

func (o ProjectOutput) CiDefaultGitDepth() pulumi.IntOutput

Default number of revisions for shallow cloning.

func (ProjectOutput) CiForwardDeploymentEnabled added in v4.7.1

func (o ProjectOutput) CiForwardDeploymentEnabled() pulumi.BoolPtrOutput

When a new deployment job starts, skip older deployment jobs that are still pending.

func (ProjectOutput) ContainerExpirationPolicy added in v4.7.1

func (o ProjectOutput) ContainerExpirationPolicy() ProjectContainerExpirationPolicyOutput

Set the image cleanup policy for this project. **Note**: this field is sometimes named `containerExpirationPolicyAttributes` in the GitLab Upstream API.

func (ProjectOutput) ContainerRegistryAccessLevel added in v4.7.1

func (o ProjectOutput) ContainerRegistryAccessLevel() pulumi.StringOutput

Set visibility of container registry, for this project. Valid values are `disabled`, `private`, `enabled`.

func (ProjectOutput) ContainerRegistryEnabled added in v4.7.1

func (o ProjectOutput) ContainerRegistryEnabled() pulumi.BoolPtrOutput

Enable container registry for the project.

func (ProjectOutput) DefaultBranch added in v4.7.1

func (o ProjectOutput) DefaultBranch() pulumi.StringOutput

The default branch for the project.

func (ProjectOutput) Description added in v4.7.1

func (o ProjectOutput) Description() pulumi.StringPtrOutput

A description of the project.

func (ProjectOutput) ElementType

func (ProjectOutput) ElementType() reflect.Type

func (ProjectOutput) EmailsDisabled added in v4.7.1

func (o ProjectOutput) EmailsDisabled() pulumi.BoolPtrOutput

Disable email notifications.

func (ProjectOutput) ExternalAuthorizationClassificationLabel added in v4.7.1

func (o ProjectOutput) ExternalAuthorizationClassificationLabel() pulumi.StringPtrOutput

The classification label for the project.

func (ProjectOutput) ForkingAccessLevel added in v4.7.1

func (o ProjectOutput) ForkingAccessLevel() pulumi.StringOutput

Set the forking access level. Valid values are `disabled`, `private`, `enabled`.

func (ProjectOutput) GroupWithProjectTemplatesId added in v4.7.1

func (o ProjectOutput) GroupWithProjectTemplatesId() pulumi.IntPtrOutput

For group-level custom templates, specifies ID of group from which all the custom project templates are sourced. Leave empty for instance-level templates. Requires use*custom*template to be true (enterprise edition).

func (ProjectOutput) HttpUrlToRepo added in v4.7.1

func (o ProjectOutput) HttpUrlToRepo() pulumi.StringOutput

URL that can be provided to `git clone` to clone the

func (ProjectOutput) ImportUrl added in v4.7.1

func (o ProjectOutput) ImportUrl() pulumi.StringPtrOutput

Git URL to a repository to be imported.

func (ProjectOutput) InitializeWithReadme added in v4.7.1

func (o ProjectOutput) InitializeWithReadme() pulumi.BoolPtrOutput

Create main branch with first commit containing a README.md file.

func (ProjectOutput) IssuesAccessLevel added in v4.7.1

func (o ProjectOutput) IssuesAccessLevel() pulumi.StringOutput

Set the issues access level. Valid values are `disabled`, `private`, `enabled`.

func (ProjectOutput) IssuesEnabled added in v4.7.1

func (o ProjectOutput) IssuesEnabled() pulumi.BoolPtrOutput

Enable issue tracking for the project.

func (ProjectOutput) IssuesTemplate added in v4.7.1

func (o ProjectOutput) IssuesTemplate() pulumi.StringPtrOutput

Sets the template for new issues in the project.

func (ProjectOutput) LfsEnabled added in v4.7.1

func (o ProjectOutput) LfsEnabled() pulumi.BoolPtrOutput

Enable LFS for the project.

func (ProjectOutput) MergeCommitTemplate added in v4.7.1

func (o ProjectOutput) MergeCommitTemplate() pulumi.StringPtrOutput

Template used to create merge commit message in merge requests. (Introduced in GitLab 14.5.)

func (ProjectOutput) MergeMethod added in v4.7.1

func (o ProjectOutput) MergeMethod() pulumi.StringPtrOutput

Set the merge method. Valid values are `merge`, `rebaseMerge`, `ff`.

func (ProjectOutput) MergePipelinesEnabled added in v4.7.1

func (o ProjectOutput) MergePipelinesEnabled() pulumi.BoolPtrOutput

Enable or disable merge pipelines.

func (ProjectOutput) MergeRequestsAccessLevel added in v4.7.1

func (o ProjectOutput) MergeRequestsAccessLevel() pulumi.StringOutput

Set the merge requests access level. Valid values are `disabled`, `private`, `enabled`.

func (ProjectOutput) MergeRequestsEnabled added in v4.7.1

func (o ProjectOutput) MergeRequestsEnabled() pulumi.BoolPtrOutput

Enable merge requests for the project.

func (ProjectOutput) MergeRequestsTemplate added in v4.7.1

func (o ProjectOutput) MergeRequestsTemplate() pulumi.StringPtrOutput

Sets the template for new merge requests in the project.

func (ProjectOutput) MergeTrainsEnabled added in v4.7.1

func (o ProjectOutput) MergeTrainsEnabled() pulumi.BoolPtrOutput

Enable or disable merge trains. Requires `mergePipelinesEnabled` to be set to `true` to take effect.

func (ProjectOutput) Mirror added in v4.7.1

func (o ProjectOutput) Mirror() pulumi.BoolPtrOutput

Enable project pull mirror.

func (ProjectOutput) MirrorOverwritesDivergedBranches added in v4.7.1

func (o ProjectOutput) MirrorOverwritesDivergedBranches() pulumi.BoolPtrOutput

Enable overwrite diverged branches for a mirrored project.

func (ProjectOutput) MirrorTriggerBuilds added in v4.7.1

func (o ProjectOutput) MirrorTriggerBuilds() pulumi.BoolPtrOutput

Enable trigger builds on pushes for a mirrored project.

func (ProjectOutput) Name added in v4.7.1

The name of the project.

func (ProjectOutput) NamespaceId added in v4.7.1

func (o ProjectOutput) NamespaceId() pulumi.IntOutput

The namespace (group or user) of the project. Defaults to your user.

func (ProjectOutput) OnlyAllowMergeIfAllDiscussionsAreResolved added in v4.7.1

func (o ProjectOutput) OnlyAllowMergeIfAllDiscussionsAreResolved() pulumi.BoolPtrOutput

Set to true if you want allow merges only if all discussions are resolved.

func (ProjectOutput) OnlyAllowMergeIfPipelineSucceeds added in v4.7.1

func (o ProjectOutput) OnlyAllowMergeIfPipelineSucceeds() pulumi.BoolPtrOutput

Set to true if you want allow merges only if a pipeline succeeds.

func (ProjectOutput) OnlyMirrorProtectedBranches added in v4.7.1

func (o ProjectOutput) OnlyMirrorProtectedBranches() pulumi.BoolPtrOutput

Enable only mirror protected branches for a mirrored project.

func (ProjectOutput) OperationsAccessLevel added in v4.7.1

func (o ProjectOutput) OperationsAccessLevel() pulumi.StringOutput

Set the operations access level. Valid values are `disabled`, `private`, `enabled`.

func (ProjectOutput) PackagesEnabled added in v4.7.1

func (o ProjectOutput) PackagesEnabled() pulumi.BoolPtrOutput

Enable packages repository for the project.

func (ProjectOutput) PagesAccessLevel added in v4.7.1

func (o ProjectOutput) PagesAccessLevel() pulumi.StringOutput

Enable pages access control

func (ProjectOutput) Path added in v4.7.1

The path of the repository.

func (ProjectOutput) PathWithNamespace added in v4.7.1

func (o ProjectOutput) PathWithNamespace() pulumi.StringOutput

The path of the repository with namespace.

func (ProjectOutput) PipelinesEnabled deprecated added in v4.7.1

func (o ProjectOutput) PipelinesEnabled() pulumi.BoolOutput

Enable pipelines for the project. The `pipelinesEnabled` field is being sent as `jobsEnabled` in the GitLab API calls.

Deprecated: Deprecated in favor of `builds_access_level`

func (ProjectOutput) PrintingMergeRequestLinkEnabled added in v4.7.1

func (o ProjectOutput) PrintingMergeRequestLinkEnabled() pulumi.BoolPtrOutput

Show link to create/view merge request when pushing from the command line

func (ProjectOutput) PublicBuilds added in v4.7.1

func (o ProjectOutput) PublicBuilds() pulumi.BoolOutput

If true, jobs can be viewed by non-project members.

func (ProjectOutput) PushRules added in v4.7.1

func (o ProjectOutput) PushRules() ProjectPushRulesOutput

Push rules for the project.

func (ProjectOutput) RemoveSourceBranchAfterMerge added in v4.7.1

func (o ProjectOutput) RemoveSourceBranchAfterMerge() pulumi.BoolPtrOutput

Enable `Delete source branch` option by default for all new merge requests.

func (ProjectOutput) RepositoryAccessLevel added in v4.7.1

func (o ProjectOutput) RepositoryAccessLevel() pulumi.StringOutput

Set the repository access level. Valid values are `disabled`, `private`, `enabled`.

func (ProjectOutput) RepositoryStorage added in v4.7.1

func (o ProjectOutput) RepositoryStorage() pulumi.StringOutput

Which storage shard the repository is on. (administrator only)

func (ProjectOutput) RequestAccessEnabled added in v4.7.1

func (o ProjectOutput) RequestAccessEnabled() pulumi.BoolPtrOutput

Allow users to request member access.

func (ProjectOutput) RequirementsAccessLevel added in v4.7.1

func (o ProjectOutput) RequirementsAccessLevel() pulumi.StringOutput

Set the requirements access level. Valid values are `disabled`, `private`, `enabled`.

func (ProjectOutput) ResolveOutdatedDiffDiscussions added in v4.7.1

func (o ProjectOutput) ResolveOutdatedDiffDiscussions() pulumi.BoolPtrOutput

Automatically resolve merge request diffs discussions on lines changed with a push.

func (ProjectOutput) RunnersToken added in v4.7.1

func (o ProjectOutput) RunnersToken() pulumi.StringOutput

Registration token to use during runner setup.

func (ProjectOutput) SecurityAndComplianceAccessLevel added in v4.7.1

func (o ProjectOutput) SecurityAndComplianceAccessLevel() pulumi.StringOutput

Set the security and compliance access level. Valid values are `disabled`, `private`, `enabled`.

func (ProjectOutput) SharedRunnersEnabled added in v4.7.1

func (o ProjectOutput) SharedRunnersEnabled() pulumi.BoolOutput

Enable shared runners for this project.

func (ProjectOutput) SkipWaitForDefaultBranchProtection added in v4.8.0

func (o ProjectOutput) SkipWaitForDefaultBranchProtection() pulumi.BoolPtrOutput

If `true`, the default behavior to wait for the default branch protection to be created is skipped. This is necessary if the current user is not an admin and the default branch protection is disabled on an instance-level. There is currently no known way to determine if the default branch protection is disabled on an instance-level for non-admin users. This attribute is only used during resource creation, thus changes are suppressed and the attribute cannot be imported.

func (ProjectOutput) SnippetsAccessLevel added in v4.7.1

func (o ProjectOutput) SnippetsAccessLevel() pulumi.StringOutput

Set the snippets access level. Valid values are `disabled`, `private`, `enabled`.

func (ProjectOutput) SnippetsEnabled added in v4.7.1

func (o ProjectOutput) SnippetsEnabled() pulumi.BoolPtrOutput

Enable snippets for the project.

func (ProjectOutput) SquashCommitTemplate added in v4.7.1

func (o ProjectOutput) SquashCommitTemplate() pulumi.StringPtrOutput

Template used to create squash commit message in merge requests. (Introduced in GitLab 14.6.)

func (ProjectOutput) SquashOption added in v4.7.1

func (o ProjectOutput) SquashOption() pulumi.StringPtrOutput

Squash commits when merge request. Valid values are `never`, `always`, `defaultOn`, or `defaultOff`. The default value is `defaultOff`. [GitLab >= 14.1]

func (ProjectOutput) SshUrlToRepo added in v4.7.1

func (o ProjectOutput) SshUrlToRepo() pulumi.StringOutput

URL that can be provided to `git clone` to clone the

func (ProjectOutput) SuggestionCommitMessage added in v4.10.0

func (o ProjectOutput) SuggestionCommitMessage() pulumi.StringPtrOutput

The commit message used to apply merge request suggestions.

func (ProjectOutput) Tags added in v4.7.1

The list of tags for a project; put array of tags, that should be finally assigned to a project. Use topics instead.

func (ProjectOutput) TemplateName added in v4.7.1

func (o ProjectOutput) TemplateName() pulumi.StringPtrOutput

When used without use*custom*template, name of a built-in project template. When used with use*custom*template, name of a custom project template. This option is mutually exclusive with `templateProjectId`.

func (ProjectOutput) TemplateProjectId added in v4.7.1

func (o ProjectOutput) TemplateProjectId() pulumi.IntPtrOutput

When used with use*custom*template, project ID of a custom project template. This is preferable to using template*name since template*name may be ambiguous (enterprise edition). This option is mutually exclusive with `templateName`. See `GroupProjectFileTemplate` to set a project as a template project. If a project has not been set as a template, using it here will result in an error.

func (ProjectOutput) ToProjectOutput

func (o ProjectOutput) ToProjectOutput() ProjectOutput

func (ProjectOutput) ToProjectOutputWithContext

func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

func (ProjectOutput) Topics added in v4.7.1

The list of topics for the project.

func (ProjectOutput) UseCustomTemplate added in v4.7.1

func (o ProjectOutput) UseCustomTemplate() pulumi.BoolPtrOutput

Use either custom instance or group (with group*with*project*templates*id) project template (enterprise edition).

func (ProjectOutput) VisibilityLevel added in v4.7.1

func (o ProjectOutput) VisibilityLevel() pulumi.StringPtrOutput

Set to `public` to create a public project.

func (ProjectOutput) WebUrl added in v4.7.1

func (o ProjectOutput) WebUrl() pulumi.StringOutput

URL that can be used to find the project in a browser.

func (ProjectOutput) WikiAccessLevel added in v4.7.1

func (o ProjectOutput) WikiAccessLevel() pulumi.StringOutput

Set the wiki access level. Valid values are `disabled`, `private`, `enabled`.

func (ProjectOutput) WikiEnabled added in v4.7.1

func (o ProjectOutput) WikiEnabled() pulumi.BoolPtrOutput

Enable wiki for the project.

type ProjectProtectedEnvironment added in v4.7.0

type ProjectProtectedEnvironment struct {
	pulumi.CustomResourceState

	// Array of access levels allowed to deploy, with each described by a hash.
	DeployAccessLevels ProjectProtectedEnvironmentDeployAccessLevelArrayOutput `pulumi:"deployAccessLevels"`
	// The name of the environment.
	Environment pulumi.StringOutput `pulumi:"environment"`
	// The ID or full path of the project which the protected environment is created against.
	Project pulumi.StringOutput `pulumi:"project"`
	// The number of approvals required to deploy to this environment.
	RequiredApprovalCount pulumi.IntPtrOutput `pulumi:"requiredApprovalCount"`
}

The `ProjectProtectedEnvironment` resource allows to manage the lifecycle of a protected environment in a project.

> In order to use a user or group in the `deployAccessLevels` configuration,

you need to make sure that users have access to the project and groups must have this project shared.
You may use the `ProjectMembership` and `gitlabProjectSharedGroup` resources to achieve this.
Unfortunately, the GitLab API does not complain about users and groups without access to the project and just ignores those.
In case this happens you will get perpetual state diffs.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/protected_environments.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		this, err := gitlab.NewProjectEnvironment(ctx, "this", &gitlab.ProjectEnvironmentArgs{
			Project:     pulumi.String("123"),
			ExternalUrl: pulumi.String("www.example.com"),
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewProjectProtectedEnvironment(ctx, "exampleWithAccessLevel", &gitlab.ProjectProtectedEnvironmentArgs{
			Project:               this.Project,
			RequiredApprovalCount: pulumi.Int(1),
			Environment:           this.Name,
			DeployAccessLevels: gitlab.ProjectProtectedEnvironmentDeployAccessLevelArray{
				&gitlab.ProjectProtectedEnvironmentDeployAccessLevelArgs{
					AccessLevel: pulumi.String("developer"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewProjectProtectedEnvironment(ctx, "exampleWithGroup", &gitlab.ProjectProtectedEnvironmentArgs{
			Project:     this.Project,
			Environment: this.Name,
			DeployAccessLevels: gitlab.ProjectProtectedEnvironmentDeployAccessLevelArray{
				&gitlab.ProjectProtectedEnvironmentDeployAccessLevelArgs{
					GroupId: pulumi.Int(456),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewProjectProtectedEnvironment(ctx, "exampleWithUser", &gitlab.ProjectProtectedEnvironmentArgs{
			Project:     this.Project,
			Environment: this.Name,
			DeployAccessLevels: gitlab.ProjectProtectedEnvironmentDeployAccessLevelArray{
				&gitlab.ProjectProtectedEnvironmentDeployAccessLevelArgs{
					UserId: pulumi.Int(789),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewProjectProtectedEnvironment(ctx, "exampleWithMultiple", &gitlab.ProjectProtectedEnvironmentArgs{
			Project:               this.Project,
			RequiredApprovalCount: pulumi.Int(2),
			Environment:           this.Name,
			DeployAccessLevels: gitlab.ProjectProtectedEnvironmentDeployAccessLevelArray{
				&gitlab.ProjectProtectedEnvironmentDeployAccessLevelArgs{
					AccessLevel: pulumi.String("developer"),
				},
				&gitlab.ProjectProtectedEnvironmentDeployAccessLevelArgs{
					GroupId: pulumi.Int(456),
				},
				&gitlab.ProjectProtectedEnvironmentDeployAccessLevelArgs{
					UserId: pulumi.Int(789),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GitLab protected environments can be imported using an id made up of `projectId:environmentName`, e.g.

```sh

$ pulumi import gitlab:index/projectProtectedEnvironment:ProjectProtectedEnvironment bar 123:production

```

func GetProjectProtectedEnvironment added in v4.7.0

func GetProjectProtectedEnvironment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectProtectedEnvironmentState, opts ...pulumi.ResourceOption) (*ProjectProtectedEnvironment, error)

GetProjectProtectedEnvironment gets an existing ProjectProtectedEnvironment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectProtectedEnvironment added in v4.7.0

func NewProjectProtectedEnvironment(ctx *pulumi.Context,
	name string, args *ProjectProtectedEnvironmentArgs, opts ...pulumi.ResourceOption) (*ProjectProtectedEnvironment, error)

NewProjectProtectedEnvironment registers a new resource with the given unique name, arguments, and options.

func (*ProjectProtectedEnvironment) ElementType added in v4.7.0

func (*ProjectProtectedEnvironment) ElementType() reflect.Type

func (*ProjectProtectedEnvironment) ToProjectProtectedEnvironmentOutput added in v4.7.0

func (i *ProjectProtectedEnvironment) ToProjectProtectedEnvironmentOutput() ProjectProtectedEnvironmentOutput

func (*ProjectProtectedEnvironment) ToProjectProtectedEnvironmentOutputWithContext added in v4.7.0

func (i *ProjectProtectedEnvironment) ToProjectProtectedEnvironmentOutputWithContext(ctx context.Context) ProjectProtectedEnvironmentOutput

type ProjectProtectedEnvironmentArgs added in v4.7.0

type ProjectProtectedEnvironmentArgs struct {
	// Array of access levels allowed to deploy, with each described by a hash.
	DeployAccessLevels ProjectProtectedEnvironmentDeployAccessLevelArrayInput
	// The name of the environment.
	Environment pulumi.StringInput
	// The ID or full path of the project which the protected environment is created against.
	Project pulumi.StringInput
	// The number of approvals required to deploy to this environment.
	RequiredApprovalCount pulumi.IntPtrInput
}

The set of arguments for constructing a ProjectProtectedEnvironment resource.

func (ProjectProtectedEnvironmentArgs) ElementType added in v4.7.0

type ProjectProtectedEnvironmentArray added in v4.7.0

type ProjectProtectedEnvironmentArray []ProjectProtectedEnvironmentInput

func (ProjectProtectedEnvironmentArray) ElementType added in v4.7.0

func (ProjectProtectedEnvironmentArray) ToProjectProtectedEnvironmentArrayOutput added in v4.7.0

func (i ProjectProtectedEnvironmentArray) ToProjectProtectedEnvironmentArrayOutput() ProjectProtectedEnvironmentArrayOutput

func (ProjectProtectedEnvironmentArray) ToProjectProtectedEnvironmentArrayOutputWithContext added in v4.7.0

func (i ProjectProtectedEnvironmentArray) ToProjectProtectedEnvironmentArrayOutputWithContext(ctx context.Context) ProjectProtectedEnvironmentArrayOutput

type ProjectProtectedEnvironmentArrayInput added in v4.7.0

type ProjectProtectedEnvironmentArrayInput interface {
	pulumi.Input

	ToProjectProtectedEnvironmentArrayOutput() ProjectProtectedEnvironmentArrayOutput
	ToProjectProtectedEnvironmentArrayOutputWithContext(context.Context) ProjectProtectedEnvironmentArrayOutput
}

ProjectProtectedEnvironmentArrayInput is an input type that accepts ProjectProtectedEnvironmentArray and ProjectProtectedEnvironmentArrayOutput values. You can construct a concrete instance of `ProjectProtectedEnvironmentArrayInput` via:

ProjectProtectedEnvironmentArray{ ProjectProtectedEnvironmentArgs{...} }

type ProjectProtectedEnvironmentArrayOutput added in v4.7.0

type ProjectProtectedEnvironmentArrayOutput struct{ *pulumi.OutputState }

func (ProjectProtectedEnvironmentArrayOutput) ElementType added in v4.7.0

func (ProjectProtectedEnvironmentArrayOutput) Index added in v4.7.0

func (ProjectProtectedEnvironmentArrayOutput) ToProjectProtectedEnvironmentArrayOutput added in v4.7.0

func (o ProjectProtectedEnvironmentArrayOutput) ToProjectProtectedEnvironmentArrayOutput() ProjectProtectedEnvironmentArrayOutput

func (ProjectProtectedEnvironmentArrayOutput) ToProjectProtectedEnvironmentArrayOutputWithContext added in v4.7.0

func (o ProjectProtectedEnvironmentArrayOutput) ToProjectProtectedEnvironmentArrayOutputWithContext(ctx context.Context) ProjectProtectedEnvironmentArrayOutput

type ProjectProtectedEnvironmentDeployAccessLevel added in v4.8.0

type ProjectProtectedEnvironmentDeployAccessLevel struct {
	// Levels of access required to deploy to this protected environment. Valid values are `developer`, `maintainer`.
	AccessLevel *string `pulumi:"accessLevel"`
	// Readable description of level of access.
	AccessLevelDescription *string `pulumi:"accessLevelDescription"`
	// The ID of the group allowed to deploy to this protected environment. The project must be shared with the group.
	GroupId *int `pulumi:"groupId"`
	// The ID of the user allowed to deploy to this protected environment. The user must be a member of the project.
	UserId *int `pulumi:"userId"`
}

type ProjectProtectedEnvironmentDeployAccessLevelArgs added in v4.8.0

type ProjectProtectedEnvironmentDeployAccessLevelArgs struct {
	// Levels of access required to deploy to this protected environment. Valid values are `developer`, `maintainer`.
	AccessLevel pulumi.StringPtrInput `pulumi:"accessLevel"`
	// Readable description of level of access.
	AccessLevelDescription pulumi.StringPtrInput `pulumi:"accessLevelDescription"`
	// The ID of the group allowed to deploy to this protected environment. The project must be shared with the group.
	GroupId pulumi.IntPtrInput `pulumi:"groupId"`
	// The ID of the user allowed to deploy to this protected environment. The user must be a member of the project.
	UserId pulumi.IntPtrInput `pulumi:"userId"`
}

func (ProjectProtectedEnvironmentDeployAccessLevelArgs) ElementType added in v4.8.0

func (ProjectProtectedEnvironmentDeployAccessLevelArgs) ToProjectProtectedEnvironmentDeployAccessLevelOutput added in v4.8.0

func (i ProjectProtectedEnvironmentDeployAccessLevelArgs) ToProjectProtectedEnvironmentDeployAccessLevelOutput() ProjectProtectedEnvironmentDeployAccessLevelOutput

func (ProjectProtectedEnvironmentDeployAccessLevelArgs) ToProjectProtectedEnvironmentDeployAccessLevelOutputWithContext added in v4.8.0

func (i ProjectProtectedEnvironmentDeployAccessLevelArgs) ToProjectProtectedEnvironmentDeployAccessLevelOutputWithContext(ctx context.Context) ProjectProtectedEnvironmentDeployAccessLevelOutput

type ProjectProtectedEnvironmentDeployAccessLevelArray added in v4.8.0

type ProjectProtectedEnvironmentDeployAccessLevelArray []ProjectProtectedEnvironmentDeployAccessLevelInput

func (ProjectProtectedEnvironmentDeployAccessLevelArray) ElementType added in v4.8.0

func (ProjectProtectedEnvironmentDeployAccessLevelArray) ToProjectProtectedEnvironmentDeployAccessLevelArrayOutput added in v4.8.0

func (i ProjectProtectedEnvironmentDeployAccessLevelArray) ToProjectProtectedEnvironmentDeployAccessLevelArrayOutput() ProjectProtectedEnvironmentDeployAccessLevelArrayOutput

func (ProjectProtectedEnvironmentDeployAccessLevelArray) ToProjectProtectedEnvironmentDeployAccessLevelArrayOutputWithContext added in v4.8.0

func (i ProjectProtectedEnvironmentDeployAccessLevelArray) ToProjectProtectedEnvironmentDeployAccessLevelArrayOutputWithContext(ctx context.Context) ProjectProtectedEnvironmentDeployAccessLevelArrayOutput

type ProjectProtectedEnvironmentDeployAccessLevelArrayInput added in v4.8.0

type ProjectProtectedEnvironmentDeployAccessLevelArrayInput interface {
	pulumi.Input

	ToProjectProtectedEnvironmentDeployAccessLevelArrayOutput() ProjectProtectedEnvironmentDeployAccessLevelArrayOutput
	ToProjectProtectedEnvironmentDeployAccessLevelArrayOutputWithContext(context.Context) ProjectProtectedEnvironmentDeployAccessLevelArrayOutput
}

ProjectProtectedEnvironmentDeployAccessLevelArrayInput is an input type that accepts ProjectProtectedEnvironmentDeployAccessLevelArray and ProjectProtectedEnvironmentDeployAccessLevelArrayOutput values. You can construct a concrete instance of `ProjectProtectedEnvironmentDeployAccessLevelArrayInput` via:

ProjectProtectedEnvironmentDeployAccessLevelArray{ ProjectProtectedEnvironmentDeployAccessLevelArgs{...} }

type ProjectProtectedEnvironmentDeployAccessLevelArrayOutput added in v4.8.0

type ProjectProtectedEnvironmentDeployAccessLevelArrayOutput struct{ *pulumi.OutputState }

func (ProjectProtectedEnvironmentDeployAccessLevelArrayOutput) ElementType added in v4.8.0

func (ProjectProtectedEnvironmentDeployAccessLevelArrayOutput) Index added in v4.8.0

func (ProjectProtectedEnvironmentDeployAccessLevelArrayOutput) ToProjectProtectedEnvironmentDeployAccessLevelArrayOutput added in v4.8.0

func (ProjectProtectedEnvironmentDeployAccessLevelArrayOutput) ToProjectProtectedEnvironmentDeployAccessLevelArrayOutputWithContext added in v4.8.0

func (o ProjectProtectedEnvironmentDeployAccessLevelArrayOutput) ToProjectProtectedEnvironmentDeployAccessLevelArrayOutputWithContext(ctx context.Context) ProjectProtectedEnvironmentDeployAccessLevelArrayOutput

type ProjectProtectedEnvironmentDeployAccessLevelInput added in v4.8.0

type ProjectProtectedEnvironmentDeployAccessLevelInput interface {
	pulumi.Input

	ToProjectProtectedEnvironmentDeployAccessLevelOutput() ProjectProtectedEnvironmentDeployAccessLevelOutput
	ToProjectProtectedEnvironmentDeployAccessLevelOutputWithContext(context.Context) ProjectProtectedEnvironmentDeployAccessLevelOutput
}

ProjectProtectedEnvironmentDeployAccessLevelInput is an input type that accepts ProjectProtectedEnvironmentDeployAccessLevelArgs and ProjectProtectedEnvironmentDeployAccessLevelOutput values. You can construct a concrete instance of `ProjectProtectedEnvironmentDeployAccessLevelInput` via:

ProjectProtectedEnvironmentDeployAccessLevelArgs{...}

type ProjectProtectedEnvironmentDeployAccessLevelOutput added in v4.8.0

type ProjectProtectedEnvironmentDeployAccessLevelOutput struct{ *pulumi.OutputState }

func (ProjectProtectedEnvironmentDeployAccessLevelOutput) AccessLevel added in v4.8.0

Levels of access required to deploy to this protected environment. Valid values are `developer`, `maintainer`.

func (ProjectProtectedEnvironmentDeployAccessLevelOutput) AccessLevelDescription added in v4.8.0

Readable description of level of access.

func (ProjectProtectedEnvironmentDeployAccessLevelOutput) ElementType added in v4.8.0

func (ProjectProtectedEnvironmentDeployAccessLevelOutput) GroupId added in v4.8.0

The ID of the group allowed to deploy to this protected environment. The project must be shared with the group.

func (ProjectProtectedEnvironmentDeployAccessLevelOutput) ToProjectProtectedEnvironmentDeployAccessLevelOutput added in v4.8.0

func (o ProjectProtectedEnvironmentDeployAccessLevelOutput) ToProjectProtectedEnvironmentDeployAccessLevelOutput() ProjectProtectedEnvironmentDeployAccessLevelOutput

func (ProjectProtectedEnvironmentDeployAccessLevelOutput) ToProjectProtectedEnvironmentDeployAccessLevelOutputWithContext added in v4.8.0

func (o ProjectProtectedEnvironmentDeployAccessLevelOutput) ToProjectProtectedEnvironmentDeployAccessLevelOutputWithContext(ctx context.Context) ProjectProtectedEnvironmentDeployAccessLevelOutput

func (ProjectProtectedEnvironmentDeployAccessLevelOutput) UserId added in v4.8.0

The ID of the user allowed to deploy to this protected environment. The user must be a member of the project.

type ProjectProtectedEnvironmentInput added in v4.7.0

type ProjectProtectedEnvironmentInput interface {
	pulumi.Input

	ToProjectProtectedEnvironmentOutput() ProjectProtectedEnvironmentOutput
	ToProjectProtectedEnvironmentOutputWithContext(ctx context.Context) ProjectProtectedEnvironmentOutput
}

type ProjectProtectedEnvironmentMap added in v4.7.0

type ProjectProtectedEnvironmentMap map[string]ProjectProtectedEnvironmentInput

func (ProjectProtectedEnvironmentMap) ElementType added in v4.7.0

func (ProjectProtectedEnvironmentMap) ToProjectProtectedEnvironmentMapOutput added in v4.7.0

func (i ProjectProtectedEnvironmentMap) ToProjectProtectedEnvironmentMapOutput() ProjectProtectedEnvironmentMapOutput

func (ProjectProtectedEnvironmentMap) ToProjectProtectedEnvironmentMapOutputWithContext added in v4.7.0

func (i ProjectProtectedEnvironmentMap) ToProjectProtectedEnvironmentMapOutputWithContext(ctx context.Context) ProjectProtectedEnvironmentMapOutput

type ProjectProtectedEnvironmentMapInput added in v4.7.0

type ProjectProtectedEnvironmentMapInput interface {
	pulumi.Input

	ToProjectProtectedEnvironmentMapOutput() ProjectProtectedEnvironmentMapOutput
	ToProjectProtectedEnvironmentMapOutputWithContext(context.Context) ProjectProtectedEnvironmentMapOutput
}

ProjectProtectedEnvironmentMapInput is an input type that accepts ProjectProtectedEnvironmentMap and ProjectProtectedEnvironmentMapOutput values. You can construct a concrete instance of `ProjectProtectedEnvironmentMapInput` via:

ProjectProtectedEnvironmentMap{ "key": ProjectProtectedEnvironmentArgs{...} }

type ProjectProtectedEnvironmentMapOutput added in v4.7.0

type ProjectProtectedEnvironmentMapOutput struct{ *pulumi.OutputState }

func (ProjectProtectedEnvironmentMapOutput) ElementType added in v4.7.0

func (ProjectProtectedEnvironmentMapOutput) MapIndex added in v4.7.0

func (ProjectProtectedEnvironmentMapOutput) ToProjectProtectedEnvironmentMapOutput added in v4.7.0

func (o ProjectProtectedEnvironmentMapOutput) ToProjectProtectedEnvironmentMapOutput() ProjectProtectedEnvironmentMapOutput

func (ProjectProtectedEnvironmentMapOutput) ToProjectProtectedEnvironmentMapOutputWithContext added in v4.7.0

func (o ProjectProtectedEnvironmentMapOutput) ToProjectProtectedEnvironmentMapOutputWithContext(ctx context.Context) ProjectProtectedEnvironmentMapOutput

type ProjectProtectedEnvironmentOutput added in v4.7.0

type ProjectProtectedEnvironmentOutput struct{ *pulumi.OutputState }

func (ProjectProtectedEnvironmentOutput) DeployAccessLevels added in v4.7.1

Array of access levels allowed to deploy, with each described by a hash.

func (ProjectProtectedEnvironmentOutput) ElementType added in v4.7.0

func (ProjectProtectedEnvironmentOutput) Environment added in v4.7.1

The name of the environment.

func (ProjectProtectedEnvironmentOutput) Project added in v4.7.1

The ID or full path of the project which the protected environment is created against.

func (ProjectProtectedEnvironmentOutput) RequiredApprovalCount added in v4.8.0

func (o ProjectProtectedEnvironmentOutput) RequiredApprovalCount() pulumi.IntPtrOutput

The number of approvals required to deploy to this environment.

func (ProjectProtectedEnvironmentOutput) ToProjectProtectedEnvironmentOutput added in v4.7.0

func (o ProjectProtectedEnvironmentOutput) ToProjectProtectedEnvironmentOutput() ProjectProtectedEnvironmentOutput

func (ProjectProtectedEnvironmentOutput) ToProjectProtectedEnvironmentOutputWithContext added in v4.7.0

func (o ProjectProtectedEnvironmentOutput) ToProjectProtectedEnvironmentOutputWithContext(ctx context.Context) ProjectProtectedEnvironmentOutput

type ProjectProtectedEnvironmentState added in v4.7.0

type ProjectProtectedEnvironmentState struct {
	// Array of access levels allowed to deploy, with each described by a hash.
	DeployAccessLevels ProjectProtectedEnvironmentDeployAccessLevelArrayInput
	// The name of the environment.
	Environment pulumi.StringPtrInput
	// The ID or full path of the project which the protected environment is created against.
	Project pulumi.StringPtrInput
	// The number of approvals required to deploy to this environment.
	RequiredApprovalCount pulumi.IntPtrInput
}

func (ProjectProtectedEnvironmentState) ElementType added in v4.7.0

type ProjectPushRules

type ProjectPushRules struct {
	// All commit author emails must match this regex, e.g. `@my-company.com$`.
	AuthorEmailRegex *string `pulumi:"authorEmailRegex"`
	// All branch names must match this regex, e.g. `(feature|hotfix)\/*`.
	BranchNameRegex *string `pulumi:"branchNameRegex"`
	// Users can only push commits to this repository that were committed with one of their own verified emails.
	CommitCommitterCheck *bool `pulumi:"commitCommitterCheck"`
	// No commit message is allowed to match this regex, for example `ssh\:\/\/`.
	CommitMessageNegativeRegex *string `pulumi:"commitMessageNegativeRegex"`
	// All commit messages must match this regex, e.g. `Fixed \d+\..*`.
	CommitMessageRegex *string `pulumi:"commitMessageRegex"`
	// Deny deleting a tag.
	DenyDeleteTag *bool `pulumi:"denyDeleteTag"`
	// All commited filenames must not match this regex, e.g. `(jar|exe)$`.
	FileNameRegex *string `pulumi:"fileNameRegex"`
	// Maximum file size (MB).
	MaxFileSize *int `pulumi:"maxFileSize"`
	// Restrict commits by author (email) to existing GitLab users.
	MemberCheck *bool `pulumi:"memberCheck"`
	// GitLab will reject any files that are likely to contain secrets.
	PreventSecrets *bool `pulumi:"preventSecrets"`
	// Reject commit when it’s not signed through GPG.
	RejectUnsignedCommits *bool `pulumi:"rejectUnsignedCommits"`
}

type ProjectPushRulesArgs

type ProjectPushRulesArgs struct {
	// All commit author emails must match this regex, e.g. `@my-company.com$`.
	AuthorEmailRegex pulumi.StringPtrInput `pulumi:"authorEmailRegex"`
	// All branch names must match this regex, e.g. `(feature|hotfix)\/*`.
	BranchNameRegex pulumi.StringPtrInput `pulumi:"branchNameRegex"`
	// Users can only push commits to this repository that were committed with one of their own verified emails.
	CommitCommitterCheck pulumi.BoolPtrInput `pulumi:"commitCommitterCheck"`
	// No commit message is allowed to match this regex, for example `ssh\:\/\/`.
	CommitMessageNegativeRegex pulumi.StringPtrInput `pulumi:"commitMessageNegativeRegex"`
	// All commit messages must match this regex, e.g. `Fixed \d+\..*`.
	CommitMessageRegex pulumi.StringPtrInput `pulumi:"commitMessageRegex"`
	// Deny deleting a tag.
	DenyDeleteTag pulumi.BoolPtrInput `pulumi:"denyDeleteTag"`
	// All commited filenames must not match this regex, e.g. `(jar|exe)$`.
	FileNameRegex pulumi.StringPtrInput `pulumi:"fileNameRegex"`
	// Maximum file size (MB).
	MaxFileSize pulumi.IntPtrInput `pulumi:"maxFileSize"`
	// Restrict commits by author (email) to existing GitLab users.
	MemberCheck pulumi.BoolPtrInput `pulumi:"memberCheck"`
	// GitLab will reject any files that are likely to contain secrets.
	PreventSecrets pulumi.BoolPtrInput `pulumi:"preventSecrets"`
	// Reject commit when it’s not signed through GPG.
	RejectUnsignedCommits pulumi.BoolPtrInput `pulumi:"rejectUnsignedCommits"`
}

func (ProjectPushRulesArgs) ElementType

func (ProjectPushRulesArgs) ElementType() reflect.Type

func (ProjectPushRulesArgs) ToProjectPushRulesOutput

func (i ProjectPushRulesArgs) ToProjectPushRulesOutput() ProjectPushRulesOutput

func (ProjectPushRulesArgs) ToProjectPushRulesOutputWithContext

func (i ProjectPushRulesArgs) ToProjectPushRulesOutputWithContext(ctx context.Context) ProjectPushRulesOutput

func (ProjectPushRulesArgs) ToProjectPushRulesPtrOutput

func (i ProjectPushRulesArgs) ToProjectPushRulesPtrOutput() ProjectPushRulesPtrOutput

func (ProjectPushRulesArgs) ToProjectPushRulesPtrOutputWithContext

func (i ProjectPushRulesArgs) ToProjectPushRulesPtrOutputWithContext(ctx context.Context) ProjectPushRulesPtrOutput

type ProjectPushRulesInput

type ProjectPushRulesInput interface {
	pulumi.Input

	ToProjectPushRulesOutput() ProjectPushRulesOutput
	ToProjectPushRulesOutputWithContext(context.Context) ProjectPushRulesOutput
}

ProjectPushRulesInput is an input type that accepts ProjectPushRulesArgs and ProjectPushRulesOutput values. You can construct a concrete instance of `ProjectPushRulesInput` via:

ProjectPushRulesArgs{...}

type ProjectPushRulesOutput

type ProjectPushRulesOutput struct{ *pulumi.OutputState }

func (ProjectPushRulesOutput) AuthorEmailRegex

func (o ProjectPushRulesOutput) AuthorEmailRegex() pulumi.StringPtrOutput

All commit author emails must match this regex, e.g. `@my-company.com$`.

func (ProjectPushRulesOutput) BranchNameRegex

func (o ProjectPushRulesOutput) BranchNameRegex() pulumi.StringPtrOutput

All branch names must match this regex, e.g. `(feature|hotfix)\/*`.

func (ProjectPushRulesOutput) CommitCommitterCheck

func (o ProjectPushRulesOutput) CommitCommitterCheck() pulumi.BoolPtrOutput

Users can only push commits to this repository that were committed with one of their own verified emails.

func (ProjectPushRulesOutput) CommitMessageNegativeRegex

func (o ProjectPushRulesOutput) CommitMessageNegativeRegex() pulumi.StringPtrOutput

No commit message is allowed to match this regex, for example `ssh\:\/\/`.

func (ProjectPushRulesOutput) CommitMessageRegex

func (o ProjectPushRulesOutput) CommitMessageRegex() pulumi.StringPtrOutput

All commit messages must match this regex, e.g. `Fixed \d+\..*`.

func (ProjectPushRulesOutput) DenyDeleteTag

func (o ProjectPushRulesOutput) DenyDeleteTag() pulumi.BoolPtrOutput

Deny deleting a tag.

func (ProjectPushRulesOutput) ElementType

func (ProjectPushRulesOutput) ElementType() reflect.Type

func (ProjectPushRulesOutput) FileNameRegex

func (o ProjectPushRulesOutput) FileNameRegex() pulumi.StringPtrOutput

All commited filenames must not match this regex, e.g. `(jar|exe)$`.

func (ProjectPushRulesOutput) MaxFileSize

func (o ProjectPushRulesOutput) MaxFileSize() pulumi.IntPtrOutput

Maximum file size (MB).

func (ProjectPushRulesOutput) MemberCheck

Restrict commits by author (email) to existing GitLab users.

func (ProjectPushRulesOutput) PreventSecrets

func (o ProjectPushRulesOutput) PreventSecrets() pulumi.BoolPtrOutput

GitLab will reject any files that are likely to contain secrets.

func (ProjectPushRulesOutput) RejectUnsignedCommits

func (o ProjectPushRulesOutput) RejectUnsignedCommits() pulumi.BoolPtrOutput

Reject commit when it’s not signed through GPG.

func (ProjectPushRulesOutput) ToProjectPushRulesOutput

func (o ProjectPushRulesOutput) ToProjectPushRulesOutput() ProjectPushRulesOutput

func (ProjectPushRulesOutput) ToProjectPushRulesOutputWithContext

func (o ProjectPushRulesOutput) ToProjectPushRulesOutputWithContext(ctx context.Context) ProjectPushRulesOutput

func (ProjectPushRulesOutput) ToProjectPushRulesPtrOutput

func (o ProjectPushRulesOutput) ToProjectPushRulesPtrOutput() ProjectPushRulesPtrOutput

func (ProjectPushRulesOutput) ToProjectPushRulesPtrOutputWithContext

func (o ProjectPushRulesOutput) ToProjectPushRulesPtrOutputWithContext(ctx context.Context) ProjectPushRulesPtrOutput

type ProjectPushRulesPtrInput

type ProjectPushRulesPtrInput interface {
	pulumi.Input

	ToProjectPushRulesPtrOutput() ProjectPushRulesPtrOutput
	ToProjectPushRulesPtrOutputWithContext(context.Context) ProjectPushRulesPtrOutput
}

ProjectPushRulesPtrInput is an input type that accepts ProjectPushRulesArgs, ProjectPushRulesPtr and ProjectPushRulesPtrOutput values. You can construct a concrete instance of `ProjectPushRulesPtrInput` via:

        ProjectPushRulesArgs{...}

or:

        nil

type ProjectPushRulesPtrOutput

type ProjectPushRulesPtrOutput struct{ *pulumi.OutputState }

func (ProjectPushRulesPtrOutput) AuthorEmailRegex

func (o ProjectPushRulesPtrOutput) AuthorEmailRegex() pulumi.StringPtrOutput

All commit author emails must match this regex, e.g. `@my-company.com$`.

func (ProjectPushRulesPtrOutput) BranchNameRegex

func (o ProjectPushRulesPtrOutput) BranchNameRegex() pulumi.StringPtrOutput

All branch names must match this regex, e.g. `(feature|hotfix)\/*`.

func (ProjectPushRulesPtrOutput) CommitCommitterCheck

func (o ProjectPushRulesPtrOutput) CommitCommitterCheck() pulumi.BoolPtrOutput

Users can only push commits to this repository that were committed with one of their own verified emails.

func (ProjectPushRulesPtrOutput) CommitMessageNegativeRegex

func (o ProjectPushRulesPtrOutput) CommitMessageNegativeRegex() pulumi.StringPtrOutput

No commit message is allowed to match this regex, for example `ssh\:\/\/`.

func (ProjectPushRulesPtrOutput) CommitMessageRegex

func (o ProjectPushRulesPtrOutput) CommitMessageRegex() pulumi.StringPtrOutput

All commit messages must match this regex, e.g. `Fixed \d+\..*`.

func (ProjectPushRulesPtrOutput) DenyDeleteTag

Deny deleting a tag.

func (ProjectPushRulesPtrOutput) Elem

func (ProjectPushRulesPtrOutput) ElementType

func (ProjectPushRulesPtrOutput) ElementType() reflect.Type

func (ProjectPushRulesPtrOutput) FileNameRegex

All commited filenames must not match this regex, e.g. `(jar|exe)$`.

func (ProjectPushRulesPtrOutput) MaxFileSize

Maximum file size (MB).

func (ProjectPushRulesPtrOutput) MemberCheck

Restrict commits by author (email) to existing GitLab users.

func (ProjectPushRulesPtrOutput) PreventSecrets

func (o ProjectPushRulesPtrOutput) PreventSecrets() pulumi.BoolPtrOutput

GitLab will reject any files that are likely to contain secrets.

func (ProjectPushRulesPtrOutput) RejectUnsignedCommits

func (o ProjectPushRulesPtrOutput) RejectUnsignedCommits() pulumi.BoolPtrOutput

Reject commit when it’s not signed through GPG.

func (ProjectPushRulesPtrOutput) ToProjectPushRulesPtrOutput

func (o ProjectPushRulesPtrOutput) ToProjectPushRulesPtrOutput() ProjectPushRulesPtrOutput

func (ProjectPushRulesPtrOutput) ToProjectPushRulesPtrOutputWithContext

func (o ProjectPushRulesPtrOutput) ToProjectPushRulesPtrOutputWithContext(ctx context.Context) ProjectPushRulesPtrOutput

type ProjectRunnerEnablement added in v4.8.0

type ProjectRunnerEnablement struct {
	pulumi.CustomResourceState

	// The ID or URL-encoded path of the project owned by the authenticated user.
	Project pulumi.StringOutput `pulumi:"project"`
	// The ID of a runner to enable for the project.
	RunnerId pulumi.IntOutput `pulumi:"runnerId"`
}

The `ProjectRunnerEnablement` resource allows to enable a runner in a project.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/runners.html#enable-a-runner-in-project)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewProjectRunnerEnablement(ctx, "foo", &gitlab.ProjectRunnerEnablementArgs{
			Project:  pulumi.String("5"),
			RunnerId: pulumi.Int(7),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GitLab project runners can be imported using an id made up of `project:runner_id`, e.g.

```sh

$ pulumi import gitlab:index/projectRunnerEnablement:ProjectRunnerEnablement foo 5:7

```

func GetProjectRunnerEnablement added in v4.8.0

func GetProjectRunnerEnablement(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectRunnerEnablementState, opts ...pulumi.ResourceOption) (*ProjectRunnerEnablement, error)

GetProjectRunnerEnablement gets an existing ProjectRunnerEnablement resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectRunnerEnablement added in v4.8.0

func NewProjectRunnerEnablement(ctx *pulumi.Context,
	name string, args *ProjectRunnerEnablementArgs, opts ...pulumi.ResourceOption) (*ProjectRunnerEnablement, error)

NewProjectRunnerEnablement registers a new resource with the given unique name, arguments, and options.

func (*ProjectRunnerEnablement) ElementType added in v4.8.0

func (*ProjectRunnerEnablement) ElementType() reflect.Type

func (*ProjectRunnerEnablement) ToProjectRunnerEnablementOutput added in v4.8.0

func (i *ProjectRunnerEnablement) ToProjectRunnerEnablementOutput() ProjectRunnerEnablementOutput

func (*ProjectRunnerEnablement) ToProjectRunnerEnablementOutputWithContext added in v4.8.0

func (i *ProjectRunnerEnablement) ToProjectRunnerEnablementOutputWithContext(ctx context.Context) ProjectRunnerEnablementOutput

type ProjectRunnerEnablementArgs added in v4.8.0

type ProjectRunnerEnablementArgs struct {
	// The ID or URL-encoded path of the project owned by the authenticated user.
	Project pulumi.StringInput
	// The ID of a runner to enable for the project.
	RunnerId pulumi.IntInput
}

The set of arguments for constructing a ProjectRunnerEnablement resource.

func (ProjectRunnerEnablementArgs) ElementType added in v4.8.0

type ProjectRunnerEnablementArray added in v4.8.0

type ProjectRunnerEnablementArray []ProjectRunnerEnablementInput

func (ProjectRunnerEnablementArray) ElementType added in v4.8.0

func (ProjectRunnerEnablementArray) ToProjectRunnerEnablementArrayOutput added in v4.8.0

func (i ProjectRunnerEnablementArray) ToProjectRunnerEnablementArrayOutput() ProjectRunnerEnablementArrayOutput

func (ProjectRunnerEnablementArray) ToProjectRunnerEnablementArrayOutputWithContext added in v4.8.0

func (i ProjectRunnerEnablementArray) ToProjectRunnerEnablementArrayOutputWithContext(ctx context.Context) ProjectRunnerEnablementArrayOutput

type ProjectRunnerEnablementArrayInput added in v4.8.0

type ProjectRunnerEnablementArrayInput interface {
	pulumi.Input

	ToProjectRunnerEnablementArrayOutput() ProjectRunnerEnablementArrayOutput
	ToProjectRunnerEnablementArrayOutputWithContext(context.Context) ProjectRunnerEnablementArrayOutput
}

ProjectRunnerEnablementArrayInput is an input type that accepts ProjectRunnerEnablementArray and ProjectRunnerEnablementArrayOutput values. You can construct a concrete instance of `ProjectRunnerEnablementArrayInput` via:

ProjectRunnerEnablementArray{ ProjectRunnerEnablementArgs{...} }

type ProjectRunnerEnablementArrayOutput added in v4.8.0

type ProjectRunnerEnablementArrayOutput struct{ *pulumi.OutputState }

func (ProjectRunnerEnablementArrayOutput) ElementType added in v4.8.0

func (ProjectRunnerEnablementArrayOutput) Index added in v4.8.0

func (ProjectRunnerEnablementArrayOutput) ToProjectRunnerEnablementArrayOutput added in v4.8.0

func (o ProjectRunnerEnablementArrayOutput) ToProjectRunnerEnablementArrayOutput() ProjectRunnerEnablementArrayOutput

func (ProjectRunnerEnablementArrayOutput) ToProjectRunnerEnablementArrayOutputWithContext added in v4.8.0

func (o ProjectRunnerEnablementArrayOutput) ToProjectRunnerEnablementArrayOutputWithContext(ctx context.Context) ProjectRunnerEnablementArrayOutput

type ProjectRunnerEnablementInput added in v4.8.0

type ProjectRunnerEnablementInput interface {
	pulumi.Input

	ToProjectRunnerEnablementOutput() ProjectRunnerEnablementOutput
	ToProjectRunnerEnablementOutputWithContext(ctx context.Context) ProjectRunnerEnablementOutput
}

type ProjectRunnerEnablementMap added in v4.8.0

type ProjectRunnerEnablementMap map[string]ProjectRunnerEnablementInput

func (ProjectRunnerEnablementMap) ElementType added in v4.8.0

func (ProjectRunnerEnablementMap) ElementType() reflect.Type

func (ProjectRunnerEnablementMap) ToProjectRunnerEnablementMapOutput added in v4.8.0

func (i ProjectRunnerEnablementMap) ToProjectRunnerEnablementMapOutput() ProjectRunnerEnablementMapOutput

func (ProjectRunnerEnablementMap) ToProjectRunnerEnablementMapOutputWithContext added in v4.8.0

func (i ProjectRunnerEnablementMap) ToProjectRunnerEnablementMapOutputWithContext(ctx context.Context) ProjectRunnerEnablementMapOutput

type ProjectRunnerEnablementMapInput added in v4.8.0

type ProjectRunnerEnablementMapInput interface {
	pulumi.Input

	ToProjectRunnerEnablementMapOutput() ProjectRunnerEnablementMapOutput
	ToProjectRunnerEnablementMapOutputWithContext(context.Context) ProjectRunnerEnablementMapOutput
}

ProjectRunnerEnablementMapInput is an input type that accepts ProjectRunnerEnablementMap and ProjectRunnerEnablementMapOutput values. You can construct a concrete instance of `ProjectRunnerEnablementMapInput` via:

ProjectRunnerEnablementMap{ "key": ProjectRunnerEnablementArgs{...} }

type ProjectRunnerEnablementMapOutput added in v4.8.0

type ProjectRunnerEnablementMapOutput struct{ *pulumi.OutputState }

func (ProjectRunnerEnablementMapOutput) ElementType added in v4.8.0

func (ProjectRunnerEnablementMapOutput) MapIndex added in v4.8.0

func (ProjectRunnerEnablementMapOutput) ToProjectRunnerEnablementMapOutput added in v4.8.0

func (o ProjectRunnerEnablementMapOutput) ToProjectRunnerEnablementMapOutput() ProjectRunnerEnablementMapOutput

func (ProjectRunnerEnablementMapOutput) ToProjectRunnerEnablementMapOutputWithContext added in v4.8.0

func (o ProjectRunnerEnablementMapOutput) ToProjectRunnerEnablementMapOutputWithContext(ctx context.Context) ProjectRunnerEnablementMapOutput

type ProjectRunnerEnablementOutput added in v4.8.0

type ProjectRunnerEnablementOutput struct{ *pulumi.OutputState }

func (ProjectRunnerEnablementOutput) ElementType added in v4.8.0

func (ProjectRunnerEnablementOutput) Project added in v4.8.0

The ID or URL-encoded path of the project owned by the authenticated user.

func (ProjectRunnerEnablementOutput) RunnerId added in v4.8.0

The ID of a runner to enable for the project.

func (ProjectRunnerEnablementOutput) ToProjectRunnerEnablementOutput added in v4.8.0

func (o ProjectRunnerEnablementOutput) ToProjectRunnerEnablementOutput() ProjectRunnerEnablementOutput

func (ProjectRunnerEnablementOutput) ToProjectRunnerEnablementOutputWithContext added in v4.8.0

func (o ProjectRunnerEnablementOutput) ToProjectRunnerEnablementOutputWithContext(ctx context.Context) ProjectRunnerEnablementOutput

type ProjectRunnerEnablementState added in v4.8.0

type ProjectRunnerEnablementState struct {
	// The ID or URL-encoded path of the project owned by the authenticated user.
	Project pulumi.StringPtrInput
	// The ID of a runner to enable for the project.
	RunnerId pulumi.IntPtrInput
}

func (ProjectRunnerEnablementState) ElementType added in v4.8.0

type ProjectShareGroup

type ProjectShareGroup struct {
	pulumi.CustomResourceState

	// The access level to grant the group for the project. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`
	//
	// Deprecated: Use `group_access` instead of the `access_level` attribute.
	AccessLevel pulumi.StringPtrOutput `pulumi:"accessLevel"`
	// The access level to grant the group for the project. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`
	GroupAccess pulumi.StringPtrOutput `pulumi:"groupAccess"`
	// The id of the group.
	GroupId pulumi.IntOutput `pulumi:"groupId"`
	// The id of the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
}

The `ProjectShareGroup` resource allows to manage the lifecycle of project shared with a group.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/projects.html#share-project-with-group)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewProjectShareGroup(ctx, "test", &gitlab.ProjectShareGroupArgs{
			GroupAccess: pulumi.String("guest"),
			GroupId:     pulumi.Int(1337),
			ProjectId:   pulumi.String("12345"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GitLab project group shares can be imported using an id made up of `projectid:groupid`, e.g.

```sh

$ pulumi import gitlab:index/projectShareGroup:ProjectShareGroup test 12345:1337

```

func GetProjectShareGroup

func GetProjectShareGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectShareGroupState, opts ...pulumi.ResourceOption) (*ProjectShareGroup, error)

GetProjectShareGroup gets an existing ProjectShareGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectShareGroup

func NewProjectShareGroup(ctx *pulumi.Context,
	name string, args *ProjectShareGroupArgs, opts ...pulumi.ResourceOption) (*ProjectShareGroup, error)

NewProjectShareGroup registers a new resource with the given unique name, arguments, and options.

func (*ProjectShareGroup) ElementType

func (*ProjectShareGroup) ElementType() reflect.Type

func (*ProjectShareGroup) ToProjectShareGroupOutput

func (i *ProjectShareGroup) ToProjectShareGroupOutput() ProjectShareGroupOutput

func (*ProjectShareGroup) ToProjectShareGroupOutputWithContext

func (i *ProjectShareGroup) ToProjectShareGroupOutputWithContext(ctx context.Context) ProjectShareGroupOutput

type ProjectShareGroupArgs

type ProjectShareGroupArgs struct {
	// The access level to grant the group for the project. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`
	//
	// Deprecated: Use `group_access` instead of the `access_level` attribute.
	AccessLevel pulumi.StringPtrInput
	// The access level to grant the group for the project. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`
	GroupAccess pulumi.StringPtrInput
	// The id of the group.
	GroupId pulumi.IntInput
	// The id of the project.
	ProjectId pulumi.StringInput
}

The set of arguments for constructing a ProjectShareGroup resource.

func (ProjectShareGroupArgs) ElementType

func (ProjectShareGroupArgs) ElementType() reflect.Type

type ProjectShareGroupArray

type ProjectShareGroupArray []ProjectShareGroupInput

func (ProjectShareGroupArray) ElementType

func (ProjectShareGroupArray) ElementType() reflect.Type

func (ProjectShareGroupArray) ToProjectShareGroupArrayOutput

func (i ProjectShareGroupArray) ToProjectShareGroupArrayOutput() ProjectShareGroupArrayOutput

func (ProjectShareGroupArray) ToProjectShareGroupArrayOutputWithContext

func (i ProjectShareGroupArray) ToProjectShareGroupArrayOutputWithContext(ctx context.Context) ProjectShareGroupArrayOutput

type ProjectShareGroupArrayInput

type ProjectShareGroupArrayInput interface {
	pulumi.Input

	ToProjectShareGroupArrayOutput() ProjectShareGroupArrayOutput
	ToProjectShareGroupArrayOutputWithContext(context.Context) ProjectShareGroupArrayOutput
}

ProjectShareGroupArrayInput is an input type that accepts ProjectShareGroupArray and ProjectShareGroupArrayOutput values. You can construct a concrete instance of `ProjectShareGroupArrayInput` via:

ProjectShareGroupArray{ ProjectShareGroupArgs{...} }

type ProjectShareGroupArrayOutput

type ProjectShareGroupArrayOutput struct{ *pulumi.OutputState }

func (ProjectShareGroupArrayOutput) ElementType

func (ProjectShareGroupArrayOutput) Index

func (ProjectShareGroupArrayOutput) ToProjectShareGroupArrayOutput

func (o ProjectShareGroupArrayOutput) ToProjectShareGroupArrayOutput() ProjectShareGroupArrayOutput

func (ProjectShareGroupArrayOutput) ToProjectShareGroupArrayOutputWithContext

func (o ProjectShareGroupArrayOutput) ToProjectShareGroupArrayOutputWithContext(ctx context.Context) ProjectShareGroupArrayOutput

type ProjectShareGroupInput

type ProjectShareGroupInput interface {
	pulumi.Input

	ToProjectShareGroupOutput() ProjectShareGroupOutput
	ToProjectShareGroupOutputWithContext(ctx context.Context) ProjectShareGroupOutput
}

type ProjectShareGroupMap

type ProjectShareGroupMap map[string]ProjectShareGroupInput

func (ProjectShareGroupMap) ElementType

func (ProjectShareGroupMap) ElementType() reflect.Type

func (ProjectShareGroupMap) ToProjectShareGroupMapOutput

func (i ProjectShareGroupMap) ToProjectShareGroupMapOutput() ProjectShareGroupMapOutput

func (ProjectShareGroupMap) ToProjectShareGroupMapOutputWithContext

func (i ProjectShareGroupMap) ToProjectShareGroupMapOutputWithContext(ctx context.Context) ProjectShareGroupMapOutput

type ProjectShareGroupMapInput

type ProjectShareGroupMapInput interface {
	pulumi.Input

	ToProjectShareGroupMapOutput() ProjectShareGroupMapOutput
	ToProjectShareGroupMapOutputWithContext(context.Context) ProjectShareGroupMapOutput
}

ProjectShareGroupMapInput is an input type that accepts ProjectShareGroupMap and ProjectShareGroupMapOutput values. You can construct a concrete instance of `ProjectShareGroupMapInput` via:

ProjectShareGroupMap{ "key": ProjectShareGroupArgs{...} }

type ProjectShareGroupMapOutput

type ProjectShareGroupMapOutput struct{ *pulumi.OutputState }

func (ProjectShareGroupMapOutput) ElementType

func (ProjectShareGroupMapOutput) ElementType() reflect.Type

func (ProjectShareGroupMapOutput) MapIndex

func (ProjectShareGroupMapOutput) ToProjectShareGroupMapOutput

func (o ProjectShareGroupMapOutput) ToProjectShareGroupMapOutput() ProjectShareGroupMapOutput

func (ProjectShareGroupMapOutput) ToProjectShareGroupMapOutputWithContext

func (o ProjectShareGroupMapOutput) ToProjectShareGroupMapOutputWithContext(ctx context.Context) ProjectShareGroupMapOutput

type ProjectShareGroupOutput

type ProjectShareGroupOutput struct{ *pulumi.OutputState }

func (ProjectShareGroupOutput) AccessLevel deprecated added in v4.7.1

The access level to grant the group for the project. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`

Deprecated: Use `group_access` instead of the `access_level` attribute.

func (ProjectShareGroupOutput) ElementType

func (ProjectShareGroupOutput) ElementType() reflect.Type

func (ProjectShareGroupOutput) GroupAccess added in v4.7.1

The access level to grant the group for the project. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`

func (ProjectShareGroupOutput) GroupId added in v4.7.1

The id of the group.

func (ProjectShareGroupOutput) ProjectId added in v4.7.1

The id of the project.

func (ProjectShareGroupOutput) ToProjectShareGroupOutput

func (o ProjectShareGroupOutput) ToProjectShareGroupOutput() ProjectShareGroupOutput

func (ProjectShareGroupOutput) ToProjectShareGroupOutputWithContext

func (o ProjectShareGroupOutput) ToProjectShareGroupOutputWithContext(ctx context.Context) ProjectShareGroupOutput

type ProjectShareGroupState

type ProjectShareGroupState struct {
	// The access level to grant the group for the project. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`
	//
	// Deprecated: Use `group_access` instead of the `access_level` attribute.
	AccessLevel pulumi.StringPtrInput
	// The access level to grant the group for the project. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`
	GroupAccess pulumi.StringPtrInput
	// The id of the group.
	GroupId pulumi.IntPtrInput
	// The id of the project.
	ProjectId pulumi.StringPtrInput
}

func (ProjectShareGroupState) ElementType

func (ProjectShareGroupState) ElementType() reflect.Type

type ProjectState

type ProjectState struct {
	// Set to true if you want to treat skipped pipelines as if they finished with success.
	AllowMergeOnSkippedPipeline pulumi.BoolPtrInput
	// Set the analytics access level. Valid values are `disabled`, `private`, `enabled`.
	AnalyticsAccessLevel pulumi.StringPtrInput
	// Number of merge request approvals required for merging. Default is 0.
	// This field **does not** work well in combination with the `ProjectApprovalRule` resource
	// and is most likely gonna be deprecated in a future GitLab version (see [this upstream epic](https://gitlab.com/groups/gitlab-org/-/epics/7572)).
	// In the meantime we recommend against using this attribute and use `ProjectApprovalRule` instead.
	ApprovalsBeforeMerge pulumi.IntPtrInput
	// Set to `true` to archive the project instead of deleting on destroy. If set to `true` it will entire omit the `DELETE` operation.
	ArchiveOnDestroy pulumi.BoolPtrInput
	// Whether the project is in read-only mode (archived). Repositories can be archived/unarchived by toggling this parameter.
	Archived pulumi.BoolPtrInput
	// Auto-cancel pending pipelines. This isn’t a boolean, but enabled/disabled.
	AutoCancelPendingPipelines pulumi.StringPtrInput
	// Auto Deploy strategy. Valid values are `continuous`, `manual`, `timedIncremental`.
	AutoDevopsDeployStrategy pulumi.StringPtrInput
	// Enable Auto DevOps for this project.
	AutoDevopsEnabled pulumi.BoolPtrInput
	// Set whether auto-closing referenced issues on default branch.
	AutocloseReferencedIssues pulumi.BoolPtrInput
	// Test coverage parsing for the project. This is deprecated feature in GitLab 15.0.
	//
	// Deprecated: build_coverage_regex is removed in GitLab 15.0.
	BuildCoverageRegex pulumi.StringPtrInput
	// The Git strategy. Defaults to fetch.
	BuildGitStrategy pulumi.StringPtrInput
	// The maximum amount of time, in seconds, that a job can run.
	BuildTimeout pulumi.IntPtrInput
	// Set the builds access level. Valid values are `disabled`, `private`, `enabled`.
	BuildsAccessLevel pulumi.StringPtrInput
	// Custom Path to CI config file.
	CiConfigPath pulumi.StringPtrInput
	// Default number of revisions for shallow cloning.
	CiDefaultGitDepth pulumi.IntPtrInput
	// When a new deployment job starts, skip older deployment jobs that are still pending.
	CiForwardDeploymentEnabled pulumi.BoolPtrInput
	// Set the image cleanup policy for this project. **Note**: this field is sometimes named `containerExpirationPolicyAttributes` in the GitLab Upstream API.
	ContainerExpirationPolicy ProjectContainerExpirationPolicyPtrInput
	// Set visibility of container registry, for this project. Valid values are `disabled`, `private`, `enabled`.
	ContainerRegistryAccessLevel pulumi.StringPtrInput
	// Enable container registry for the project.
	ContainerRegistryEnabled pulumi.BoolPtrInput
	// The default branch for the project.
	DefaultBranch pulumi.StringPtrInput
	// A description of the project.
	Description pulumi.StringPtrInput
	// Disable email notifications.
	EmailsDisabled pulumi.BoolPtrInput
	// The classification label for the project.
	ExternalAuthorizationClassificationLabel pulumi.StringPtrInput
	// Set the forking access level. Valid values are `disabled`, `private`, `enabled`.
	ForkingAccessLevel pulumi.StringPtrInput
	// For group-level custom templates, specifies ID of group from which all the custom project templates are sourced. Leave empty for instance-level templates. Requires use*custom*template to be true (enterprise edition).
	GroupWithProjectTemplatesId pulumi.IntPtrInput
	// URL that can be provided to `git clone` to clone the
	HttpUrlToRepo pulumi.StringPtrInput
	// Git URL to a repository to be imported.
	ImportUrl pulumi.StringPtrInput
	// Create main branch with first commit containing a README.md file.
	InitializeWithReadme pulumi.BoolPtrInput
	// Set the issues access level. Valid values are `disabled`, `private`, `enabled`.
	IssuesAccessLevel pulumi.StringPtrInput
	// Enable issue tracking for the project.
	IssuesEnabled pulumi.BoolPtrInput
	// Sets the template for new issues in the project.
	IssuesTemplate pulumi.StringPtrInput
	// Enable LFS for the project.
	LfsEnabled pulumi.BoolPtrInput
	// Template used to create merge commit message in merge requests. (Introduced in GitLab 14.5.)
	MergeCommitTemplate pulumi.StringPtrInput
	// Set the merge method. Valid values are `merge`, `rebaseMerge`, `ff`.
	MergeMethod pulumi.StringPtrInput
	// Enable or disable merge pipelines.
	MergePipelinesEnabled pulumi.BoolPtrInput
	// Set the merge requests access level. Valid values are `disabled`, `private`, `enabled`.
	MergeRequestsAccessLevel pulumi.StringPtrInput
	// Enable merge requests for the project.
	MergeRequestsEnabled pulumi.BoolPtrInput
	// Sets the template for new merge requests in the project.
	MergeRequestsTemplate pulumi.StringPtrInput
	// Enable or disable merge trains. Requires `mergePipelinesEnabled` to be set to `true` to take effect.
	MergeTrainsEnabled pulumi.BoolPtrInput
	// Enable project pull mirror.
	Mirror pulumi.BoolPtrInput
	// Enable overwrite diverged branches for a mirrored project.
	MirrorOverwritesDivergedBranches pulumi.BoolPtrInput
	// Enable trigger builds on pushes for a mirrored project.
	MirrorTriggerBuilds pulumi.BoolPtrInput
	// The name of the project.
	Name pulumi.StringPtrInput
	// The namespace (group or user) of the project. Defaults to your user.
	NamespaceId pulumi.IntPtrInput
	// Set to true if you want allow merges only if all discussions are resolved.
	OnlyAllowMergeIfAllDiscussionsAreResolved pulumi.BoolPtrInput
	// Set to true if you want allow merges only if a pipeline succeeds.
	OnlyAllowMergeIfPipelineSucceeds pulumi.BoolPtrInput
	// Enable only mirror protected branches for a mirrored project.
	OnlyMirrorProtectedBranches pulumi.BoolPtrInput
	// Set the operations access level. Valid values are `disabled`, `private`, `enabled`.
	OperationsAccessLevel pulumi.StringPtrInput
	// Enable packages repository for the project.
	PackagesEnabled pulumi.BoolPtrInput
	// Enable pages access control
	PagesAccessLevel pulumi.StringPtrInput
	// The path of the repository.
	Path pulumi.StringPtrInput
	// The path of the repository with namespace.
	PathWithNamespace pulumi.StringPtrInput
	// Enable pipelines for the project. The `pipelinesEnabled` field is being sent as `jobsEnabled` in the GitLab API calls.
	//
	// Deprecated: Deprecated in favor of `builds_access_level`
	PipelinesEnabled pulumi.BoolPtrInput
	// Show link to create/view merge request when pushing from the command line
	PrintingMergeRequestLinkEnabled pulumi.BoolPtrInput
	// If true, jobs can be viewed by non-project members.
	PublicBuilds pulumi.BoolPtrInput
	// Push rules for the project.
	PushRules ProjectPushRulesPtrInput
	// Enable `Delete source branch` option by default for all new merge requests.
	RemoveSourceBranchAfterMerge pulumi.BoolPtrInput
	// Set the repository access level. Valid values are `disabled`, `private`, `enabled`.
	RepositoryAccessLevel pulumi.StringPtrInput
	// Which storage shard the repository is on. (administrator only)
	RepositoryStorage pulumi.StringPtrInput
	// Allow users to request member access.
	RequestAccessEnabled pulumi.BoolPtrInput
	// Set the requirements access level. Valid values are `disabled`, `private`, `enabled`.
	RequirementsAccessLevel pulumi.StringPtrInput
	// Automatically resolve merge request diffs discussions on lines changed with a push.
	ResolveOutdatedDiffDiscussions pulumi.BoolPtrInput
	// Registration token to use during runner setup.
	RunnersToken pulumi.StringPtrInput
	// Set the security and compliance access level. Valid values are `disabled`, `private`, `enabled`.
	SecurityAndComplianceAccessLevel pulumi.StringPtrInput
	// Enable shared runners for this project.
	SharedRunnersEnabled pulumi.BoolPtrInput
	// If `true`, the default behavior to wait for the default branch protection to be created is skipped.
	// This is necessary if the current user is not an admin and the default branch protection is disabled on an instance-level.
	// There is currently no known way to determine if the default branch protection is disabled on an instance-level for non-admin users.
	// This attribute is only used during resource creation, thus changes are suppressed and the attribute cannot be imported.
	SkipWaitForDefaultBranchProtection pulumi.BoolPtrInput
	// Set the snippets access level. Valid values are `disabled`, `private`, `enabled`.
	SnippetsAccessLevel pulumi.StringPtrInput
	// Enable snippets for the project.
	SnippetsEnabled pulumi.BoolPtrInput
	// Template used to create squash commit message in merge requests. (Introduced in GitLab 14.6.)
	SquashCommitTemplate pulumi.StringPtrInput
	// Squash commits when merge request. Valid values are `never`, `always`, `defaultOn`, or `defaultOff`. The default value is `defaultOff`. [GitLab >= 14.1]
	SquashOption pulumi.StringPtrInput
	// URL that can be provided to `git clone` to clone the
	SshUrlToRepo pulumi.StringPtrInput
	// The commit message used to apply merge request suggestions.
	SuggestionCommitMessage pulumi.StringPtrInput
	// The list of tags for a project; put array of tags, that should be finally assigned to a project. Use topics instead.
	Tags pulumi.StringArrayInput
	// When used without use*custom*template, name of a built-in project template. When used with use*custom*template, name of a custom project template. This option is mutually exclusive with `templateProjectId`.
	TemplateName pulumi.StringPtrInput
	// When used with use*custom*template, project ID of a custom project template. This is preferable to using template*name since template*name may be ambiguous (enterprise edition). This option is mutually exclusive with `templateName`. See `GroupProjectFileTemplate` to set a project as a template project. If a project has not been set as a template, using it here will result in an error.
	TemplateProjectId pulumi.IntPtrInput
	// The list of topics for the project.
	Topics pulumi.StringArrayInput
	// Use either custom instance or group (with group*with*project*templates*id) project template (enterprise edition).
	UseCustomTemplate pulumi.BoolPtrInput
	// Set to `public` to create a public project.
	VisibilityLevel pulumi.StringPtrInput
	// URL that can be used to find the project in a browser.
	WebUrl pulumi.StringPtrInput
	// Set the wiki access level. Valid values are `disabled`, `private`, `enabled`.
	WikiAccessLevel pulumi.StringPtrInput
	// Enable wiki for the project.
	WikiEnabled pulumi.BoolPtrInput
}

func (ProjectState) ElementType

func (ProjectState) ElementType() reflect.Type

type ProjectTag added in v4.7.0

type ProjectTag struct {
	pulumi.CustomResourceState

	// The commit associated with the tag.
	Commits ProjectTagCommitArrayOutput `pulumi:"commits"`
	// The message of the annotated tag.
	Message pulumi.StringPtrOutput `pulumi:"message"`
	// The name of a tag.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID or URL-encoded path of the project owned by the authenticated user.
	Project pulumi.StringOutput `pulumi:"project"`
	// Bool, true if tag has tag protection.
	Protected pulumi.BoolOutput `pulumi:"protected"`
	// Create tag using commit SHA, another tag name, or branch name. This attribute is not available for imported resources.
	Ref pulumi.StringOutput `pulumi:"ref"`
	// The release associated with the tag.
	Releases ProjectTagReleaseArrayOutput `pulumi:"releases"`
	// The unique id assigned to the commit by Gitlab.
	Target pulumi.StringOutput `pulumi:"target"`
}

The `ProjectTag` resource allows to manage the lifecycle of a tag in a project.

**Upstream API**: [GitLab API docs](https://docs.gitlab.com/ee/api/tags.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := gitlab.NewProject(ctx, "exampleProject", &gitlab.ProjectArgs{
			Description: pulumi.String("An example project"),
			NamespaceId: pulumi.Any(gitlab_group.Example.Id),
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewProjectTag(ctx, "exampleProjectTag", &gitlab.ProjectTagArgs{
			Ref:     pulumi.String("main"),
			Project: exampleProject.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Gitlab project tags can be imported with a key composed of `<project_id>:<tag_name>`, e.g.

```sh

$ pulumi import gitlab:index/projectTag:ProjectTag example "12345:develop"

```

NOTEthe `ref` attribute won't be available for imported `gitlab_project_tag` resources.

func GetProjectTag added in v4.7.0

func GetProjectTag(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectTagState, opts ...pulumi.ResourceOption) (*ProjectTag, error)

GetProjectTag gets an existing ProjectTag resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectTag added in v4.7.0

func NewProjectTag(ctx *pulumi.Context,
	name string, args *ProjectTagArgs, opts ...pulumi.ResourceOption) (*ProjectTag, error)

NewProjectTag registers a new resource with the given unique name, arguments, and options.

func (*ProjectTag) ElementType added in v4.7.0

func (*ProjectTag) ElementType() reflect.Type

func (*ProjectTag) ToProjectTagOutput added in v4.7.0

func (i *ProjectTag) ToProjectTagOutput() ProjectTagOutput

func (*ProjectTag) ToProjectTagOutputWithContext added in v4.7.0

func (i *ProjectTag) ToProjectTagOutputWithContext(ctx context.Context) ProjectTagOutput

type ProjectTagArgs added in v4.7.0

type ProjectTagArgs struct {
	// The message of the annotated tag.
	Message pulumi.StringPtrInput
	// The name of a tag.
	Name pulumi.StringPtrInput
	// The ID or URL-encoded path of the project owned by the authenticated user.
	Project pulumi.StringInput
	// Create tag using commit SHA, another tag name, or branch name. This attribute is not available for imported resources.
	Ref pulumi.StringInput
}

The set of arguments for constructing a ProjectTag resource.

func (ProjectTagArgs) ElementType added in v4.7.0

func (ProjectTagArgs) ElementType() reflect.Type

type ProjectTagArray added in v4.7.0

type ProjectTagArray []ProjectTagInput

func (ProjectTagArray) ElementType added in v4.7.0

func (ProjectTagArray) ElementType() reflect.Type

func (ProjectTagArray) ToProjectTagArrayOutput added in v4.7.0

func (i ProjectTagArray) ToProjectTagArrayOutput() ProjectTagArrayOutput

func (ProjectTagArray) ToProjectTagArrayOutputWithContext added in v4.7.0

func (i ProjectTagArray) ToProjectTagArrayOutputWithContext(ctx context.Context) ProjectTagArrayOutput

type ProjectTagArrayInput added in v4.7.0

type ProjectTagArrayInput interface {
	pulumi.Input

	ToProjectTagArrayOutput() ProjectTagArrayOutput
	ToProjectTagArrayOutputWithContext(context.Context) ProjectTagArrayOutput
}

ProjectTagArrayInput is an input type that accepts ProjectTagArray and ProjectTagArrayOutput values. You can construct a concrete instance of `ProjectTagArrayInput` via:

ProjectTagArray{ ProjectTagArgs{...} }

type ProjectTagArrayOutput added in v4.7.0

type ProjectTagArrayOutput struct{ *pulumi.OutputState }

func (ProjectTagArrayOutput) ElementType added in v4.7.0

func (ProjectTagArrayOutput) ElementType() reflect.Type

func (ProjectTagArrayOutput) Index added in v4.7.0

func (ProjectTagArrayOutput) ToProjectTagArrayOutput added in v4.7.0

func (o ProjectTagArrayOutput) ToProjectTagArrayOutput() ProjectTagArrayOutput

func (ProjectTagArrayOutput) ToProjectTagArrayOutputWithContext added in v4.7.0

func (o ProjectTagArrayOutput) ToProjectTagArrayOutputWithContext(ctx context.Context) ProjectTagArrayOutput

type ProjectTagCommit added in v4.7.0

type ProjectTagCommit struct {
	AuthorEmail    *string `pulumi:"authorEmail"`
	AuthorName     *string `pulumi:"authorName"`
	AuthoredDate   *string `pulumi:"authoredDate"`
	CommittedDate  *string `pulumi:"committedDate"`
	CommitterEmail *string `pulumi:"committerEmail"`
	CommitterName  *string `pulumi:"committerName"`
	// The ID of this resource.
	Id *string `pulumi:"id"`
	// The message of the annotated tag.
	Message   *string  `pulumi:"message"`
	ParentIds []string `pulumi:"parentIds"`
	ShortId   *string  `pulumi:"shortId"`
	Title     *string  `pulumi:"title"`
}

type ProjectTagCommitArgs added in v4.7.0

type ProjectTagCommitArgs struct {
	AuthorEmail    pulumi.StringPtrInput `pulumi:"authorEmail"`
	AuthorName     pulumi.StringPtrInput `pulumi:"authorName"`
	AuthoredDate   pulumi.StringPtrInput `pulumi:"authoredDate"`
	CommittedDate  pulumi.StringPtrInput `pulumi:"committedDate"`
	CommitterEmail pulumi.StringPtrInput `pulumi:"committerEmail"`
	CommitterName  pulumi.StringPtrInput `pulumi:"committerName"`
	// The ID of this resource.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The message of the annotated tag.
	Message   pulumi.StringPtrInput   `pulumi:"message"`
	ParentIds pulumi.StringArrayInput `pulumi:"parentIds"`
	ShortId   pulumi.StringPtrInput   `pulumi:"shortId"`
	Title     pulumi.StringPtrInput   `pulumi:"title"`
}

func (ProjectTagCommitArgs) ElementType added in v4.7.0

func (ProjectTagCommitArgs) ElementType() reflect.Type

func (ProjectTagCommitArgs) ToProjectTagCommitOutput added in v4.7.0

func (i ProjectTagCommitArgs) ToProjectTagCommitOutput() ProjectTagCommitOutput

func (ProjectTagCommitArgs) ToProjectTagCommitOutputWithContext added in v4.7.0

func (i ProjectTagCommitArgs) ToProjectTagCommitOutputWithContext(ctx context.Context) ProjectTagCommitOutput

type ProjectTagCommitArray added in v4.7.0

type ProjectTagCommitArray []ProjectTagCommitInput

func (ProjectTagCommitArray) ElementType added in v4.7.0

func (ProjectTagCommitArray) ElementType() reflect.Type

func (ProjectTagCommitArray) ToProjectTagCommitArrayOutput added in v4.7.0

func (i ProjectTagCommitArray) ToProjectTagCommitArrayOutput() ProjectTagCommitArrayOutput

func (ProjectTagCommitArray) ToProjectTagCommitArrayOutputWithContext added in v4.7.0

func (i ProjectTagCommitArray) ToProjectTagCommitArrayOutputWithContext(ctx context.Context) ProjectTagCommitArrayOutput

type ProjectTagCommitArrayInput added in v4.7.0

type ProjectTagCommitArrayInput interface {
	pulumi.Input

	ToProjectTagCommitArrayOutput() ProjectTagCommitArrayOutput
	ToProjectTagCommitArrayOutputWithContext(context.Context) ProjectTagCommitArrayOutput
}

ProjectTagCommitArrayInput is an input type that accepts ProjectTagCommitArray and ProjectTagCommitArrayOutput values. You can construct a concrete instance of `ProjectTagCommitArrayInput` via:

ProjectTagCommitArray{ ProjectTagCommitArgs{...} }

type ProjectTagCommitArrayOutput added in v4.7.0

type ProjectTagCommitArrayOutput struct{ *pulumi.OutputState }

func (ProjectTagCommitArrayOutput) ElementType added in v4.7.0

func (ProjectTagCommitArrayOutput) Index added in v4.7.0

func (ProjectTagCommitArrayOutput) ToProjectTagCommitArrayOutput added in v4.7.0

func (o ProjectTagCommitArrayOutput) ToProjectTagCommitArrayOutput() ProjectTagCommitArrayOutput

func (ProjectTagCommitArrayOutput) ToProjectTagCommitArrayOutputWithContext added in v4.7.0

func (o ProjectTagCommitArrayOutput) ToProjectTagCommitArrayOutputWithContext(ctx context.Context) ProjectTagCommitArrayOutput

type ProjectTagCommitInput added in v4.7.0

type ProjectTagCommitInput interface {
	pulumi.Input

	ToProjectTagCommitOutput() ProjectTagCommitOutput
	ToProjectTagCommitOutputWithContext(context.Context) ProjectTagCommitOutput
}

ProjectTagCommitInput is an input type that accepts ProjectTagCommitArgs and ProjectTagCommitOutput values. You can construct a concrete instance of `ProjectTagCommitInput` via:

ProjectTagCommitArgs{...}

type ProjectTagCommitOutput added in v4.7.0

type ProjectTagCommitOutput struct{ *pulumi.OutputState }

func (ProjectTagCommitOutput) AuthorEmail added in v4.7.0

func (ProjectTagCommitOutput) AuthorName added in v4.7.0

func (ProjectTagCommitOutput) AuthoredDate added in v4.7.0

func (ProjectTagCommitOutput) CommittedDate added in v4.7.0

func (o ProjectTagCommitOutput) CommittedDate() pulumi.StringPtrOutput

func (ProjectTagCommitOutput) CommitterEmail added in v4.7.0

func (o ProjectTagCommitOutput) CommitterEmail() pulumi.StringPtrOutput

func (ProjectTagCommitOutput) CommitterName added in v4.7.0

func (o ProjectTagCommitOutput) CommitterName() pulumi.StringPtrOutput

func (ProjectTagCommitOutput) ElementType added in v4.7.0

func (ProjectTagCommitOutput) ElementType() reflect.Type

func (ProjectTagCommitOutput) Id added in v4.7.0

The ID of this resource.

func (ProjectTagCommitOutput) Message added in v4.7.0

The message of the annotated tag.

func (ProjectTagCommitOutput) ParentIds added in v4.7.0

func (ProjectTagCommitOutput) ShortId added in v4.7.0

func (ProjectTagCommitOutput) Title added in v4.7.0

func (ProjectTagCommitOutput) ToProjectTagCommitOutput added in v4.7.0

func (o ProjectTagCommitOutput) ToProjectTagCommitOutput() ProjectTagCommitOutput

func (ProjectTagCommitOutput) ToProjectTagCommitOutputWithContext added in v4.7.0

func (o ProjectTagCommitOutput) ToProjectTagCommitOutputWithContext(ctx context.Context) ProjectTagCommitOutput

type ProjectTagInput added in v4.7.0

type ProjectTagInput interface {
	pulumi.Input

	ToProjectTagOutput() ProjectTagOutput
	ToProjectTagOutputWithContext(ctx context.Context) ProjectTagOutput
}

type ProjectTagMap added in v4.7.0

type ProjectTagMap map[string]ProjectTagInput

func (ProjectTagMap) ElementType added in v4.7.0

func (ProjectTagMap) ElementType() reflect.Type

func (ProjectTagMap) ToProjectTagMapOutput added in v4.7.0

func (i ProjectTagMap) ToProjectTagMapOutput() ProjectTagMapOutput

func (ProjectTagMap) ToProjectTagMapOutputWithContext added in v4.7.0

func (i ProjectTagMap) ToProjectTagMapOutputWithContext(ctx context.Context) ProjectTagMapOutput

type ProjectTagMapInput added in v4.7.0

type ProjectTagMapInput interface {
	pulumi.Input

	ToProjectTagMapOutput() ProjectTagMapOutput
	ToProjectTagMapOutputWithContext(context.Context) ProjectTagMapOutput
}

ProjectTagMapInput is an input type that accepts ProjectTagMap and ProjectTagMapOutput values. You can construct a concrete instance of `ProjectTagMapInput` via:

ProjectTagMap{ "key": ProjectTagArgs{...} }

type ProjectTagMapOutput added in v4.7.0

type ProjectTagMapOutput struct{ *pulumi.OutputState }

func (ProjectTagMapOutput) ElementType added in v4.7.0

func (ProjectTagMapOutput) ElementType() reflect.Type

func (ProjectTagMapOutput) MapIndex added in v4.7.0

func (ProjectTagMapOutput) ToProjectTagMapOutput added in v4.7.0

func (o ProjectTagMapOutput) ToProjectTagMapOutput() ProjectTagMapOutput

func (ProjectTagMapOutput) ToProjectTagMapOutputWithContext added in v4.7.0

func (o ProjectTagMapOutput) ToProjectTagMapOutputWithContext(ctx context.Context) ProjectTagMapOutput

type ProjectTagOutput added in v4.7.0

type ProjectTagOutput struct{ *pulumi.OutputState }

func (ProjectTagOutput) Commits added in v4.7.1

The commit associated with the tag.

func (ProjectTagOutput) ElementType added in v4.7.0

func (ProjectTagOutput) ElementType() reflect.Type

func (ProjectTagOutput) Message added in v4.7.1

The message of the annotated tag.

func (ProjectTagOutput) Name added in v4.7.1

The name of a tag.

func (ProjectTagOutput) Project added in v4.7.1

func (o ProjectTagOutput) Project() pulumi.StringOutput

The ID or URL-encoded path of the project owned by the authenticated user.

func (ProjectTagOutput) Protected added in v4.7.1

func (o ProjectTagOutput) Protected() pulumi.BoolOutput

Bool, true if tag has tag protection.

func (ProjectTagOutput) Ref added in v4.7.1

Create tag using commit SHA, another tag name, or branch name. This attribute is not available for imported resources.

func (ProjectTagOutput) Releases added in v4.7.1

The release associated with the tag.

func (ProjectTagOutput) Target added in v4.7.1

The unique id assigned to the commit by Gitlab.

func (ProjectTagOutput) ToProjectTagOutput added in v4.7.0

func (o ProjectTagOutput) ToProjectTagOutput() ProjectTagOutput

func (ProjectTagOutput) ToProjectTagOutputWithContext added in v4.7.0

func (o ProjectTagOutput) ToProjectTagOutputWithContext(ctx context.Context) ProjectTagOutput

type ProjectTagRelease added in v4.7.0

type ProjectTagRelease struct {
	Description *string `pulumi:"description"`
	TagName     *string `pulumi:"tagName"`
}

type ProjectTagReleaseArgs added in v4.7.0

type ProjectTagReleaseArgs struct {
	Description pulumi.StringPtrInput `pulumi:"description"`
	TagName     pulumi.StringPtrInput `pulumi:"tagName"`
}

func (ProjectTagReleaseArgs) ElementType added in v4.7.0

func (ProjectTagReleaseArgs) ElementType() reflect.Type

func (ProjectTagReleaseArgs) ToProjectTagReleaseOutput added in v4.7.0

func (i ProjectTagReleaseArgs) ToProjectTagReleaseOutput() ProjectTagReleaseOutput

func (ProjectTagReleaseArgs) ToProjectTagReleaseOutputWithContext added in v4.7.0

func (i ProjectTagReleaseArgs) ToProjectTagReleaseOutputWithContext(ctx context.Context) ProjectTagReleaseOutput

type ProjectTagReleaseArray added in v4.7.0

type ProjectTagReleaseArray []ProjectTagReleaseInput

func (ProjectTagReleaseArray) ElementType added in v4.7.0

func (ProjectTagReleaseArray) ElementType() reflect.Type

func (ProjectTagReleaseArray) ToProjectTagReleaseArrayOutput added in v4.7.0

func (i ProjectTagReleaseArray) ToProjectTagReleaseArrayOutput() ProjectTagReleaseArrayOutput

func (ProjectTagReleaseArray) ToProjectTagReleaseArrayOutputWithContext added in v4.7.0

func (i ProjectTagReleaseArray) ToProjectTagReleaseArrayOutputWithContext(ctx context.Context) ProjectTagReleaseArrayOutput

type ProjectTagReleaseArrayInput added in v4.7.0

type ProjectTagReleaseArrayInput interface {
	pulumi.Input

	ToProjectTagReleaseArrayOutput() ProjectTagReleaseArrayOutput
	ToProjectTagReleaseArrayOutputWithContext(context.Context) ProjectTagReleaseArrayOutput
}

ProjectTagReleaseArrayInput is an input type that accepts ProjectTagReleaseArray and ProjectTagReleaseArrayOutput values. You can construct a concrete instance of `ProjectTagReleaseArrayInput` via:

ProjectTagReleaseArray{ ProjectTagReleaseArgs{...} }

type ProjectTagReleaseArrayOutput added in v4.7.0

type ProjectTagReleaseArrayOutput struct{ *pulumi.OutputState }

func (ProjectTagReleaseArrayOutput) ElementType added in v4.7.0

func (ProjectTagReleaseArrayOutput) Index added in v4.7.0

func (ProjectTagReleaseArrayOutput) ToProjectTagReleaseArrayOutput added in v4.7.0

func (o ProjectTagReleaseArrayOutput) ToProjectTagReleaseArrayOutput() ProjectTagReleaseArrayOutput

func (ProjectTagReleaseArrayOutput) ToProjectTagReleaseArrayOutputWithContext added in v4.7.0

func (o ProjectTagReleaseArrayOutput) ToProjectTagReleaseArrayOutputWithContext(ctx context.Context) ProjectTagReleaseArrayOutput

type ProjectTagReleaseInput added in v4.7.0

type ProjectTagReleaseInput interface {
	pulumi.Input

	ToProjectTagReleaseOutput() ProjectTagReleaseOutput
	ToProjectTagReleaseOutputWithContext(context.Context) ProjectTagReleaseOutput
}

ProjectTagReleaseInput is an input type that accepts ProjectTagReleaseArgs and ProjectTagReleaseOutput values. You can construct a concrete instance of `ProjectTagReleaseInput` via:

ProjectTagReleaseArgs{...}

type ProjectTagReleaseOutput added in v4.7.0

type ProjectTagReleaseOutput struct{ *pulumi.OutputState }

func (ProjectTagReleaseOutput) Description added in v4.7.0

func (ProjectTagReleaseOutput) ElementType added in v4.7.0

func (ProjectTagReleaseOutput) ElementType() reflect.Type

func (ProjectTagReleaseOutput) TagName added in v4.7.0

func (ProjectTagReleaseOutput) ToProjectTagReleaseOutput added in v4.7.0

func (o ProjectTagReleaseOutput) ToProjectTagReleaseOutput() ProjectTagReleaseOutput

func (ProjectTagReleaseOutput) ToProjectTagReleaseOutputWithContext added in v4.7.0

func (o ProjectTagReleaseOutput) ToProjectTagReleaseOutputWithContext(ctx context.Context) ProjectTagReleaseOutput

type ProjectTagState added in v4.7.0

type ProjectTagState struct {
	// The commit associated with the tag.
	Commits ProjectTagCommitArrayInput
	// The message of the annotated tag.
	Message pulumi.StringPtrInput
	// The name of a tag.
	Name pulumi.StringPtrInput
	// The ID or URL-encoded path of the project owned by the authenticated user.
	Project pulumi.StringPtrInput
	// Bool, true if tag has tag protection.
	Protected pulumi.BoolPtrInput
	// Create tag using commit SHA, another tag name, or branch name. This attribute is not available for imported resources.
	Ref pulumi.StringPtrInput
	// The release associated with the tag.
	Releases ProjectTagReleaseArrayInput
	// The unique id assigned to the commit by Gitlab.
	Target pulumi.StringPtrInput
}

func (ProjectTagState) ElementType added in v4.7.0

func (ProjectTagState) ElementType() reflect.Type

type ProjectVariable

type ProjectVariable struct {
	pulumi.CustomResourceState

	// The environment scope of the variable. Defaults to all environment (`*`). Note that in Community Editions of Gitlab, values other than `*` will cause inconsistent plans.
	EnvironmentScope pulumi.StringPtrOutput `pulumi:"environmentScope"`
	// The name of the variable.
	Key pulumi.StringOutput `pulumi:"key"`
	// If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ee/ci/variables/#masked-variables). Defaults to `false`.
	Masked pulumi.BoolPtrOutput `pulumi:"masked"`
	// The name or id of the project.
	Project pulumi.StringOutput `pulumi:"project"`
	// If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.
	Protected pulumi.BoolPtrOutput `pulumi:"protected"`
	// The value of the variable.
	Value pulumi.StringOutput `pulumi:"value"`
	// The type of a variable. Valid values are: `envVar`, `file`. Default is `envVar`.
	VariableType pulumi.StringPtrOutput `pulumi:"variableType"`
}

The `ProjectVariable` resource allows to manage the lifecycle of a CI/CD variable for a project.

> **Important:** If your GitLab version is older than 13.4, you may see nondeterministic behavior when updating or deleting ProjectVariable resources with non-unique keys, for example if there is another variable with the same key and different environment scope. See [this GitLab issue](https://gitlab.com/gitlab-org/gitlab/-/issues/9912).

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/project_level_variables.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewProjectVariable(ctx, "example", &gitlab.ProjectVariableArgs{
			Key:       pulumi.String("project_variable_key"),
			Project:   pulumi.String("12345"),
			Protected: pulumi.Bool(false),
			Value:     pulumi.String("project_variable_value"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GitLab project variables can be imported using an id made up of `project:key:environment_scope`, e.g.

```sh

$ pulumi import gitlab:index/projectVariable:ProjectVariable example '12345:project_variable_key:*'

```

func GetProjectVariable

func GetProjectVariable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectVariableState, opts ...pulumi.ResourceOption) (*ProjectVariable, error)

GetProjectVariable gets an existing ProjectVariable resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectVariable

func NewProjectVariable(ctx *pulumi.Context,
	name string, args *ProjectVariableArgs, opts ...pulumi.ResourceOption) (*ProjectVariable, error)

NewProjectVariable registers a new resource with the given unique name, arguments, and options.

func (*ProjectVariable) ElementType

func (*ProjectVariable) ElementType() reflect.Type

func (*ProjectVariable) ToProjectVariableOutput

func (i *ProjectVariable) ToProjectVariableOutput() ProjectVariableOutput

func (*ProjectVariable) ToProjectVariableOutputWithContext

func (i *ProjectVariable) ToProjectVariableOutputWithContext(ctx context.Context) ProjectVariableOutput

type ProjectVariableArgs

type ProjectVariableArgs struct {
	// The environment scope of the variable. Defaults to all environment (`*`). Note that in Community Editions of Gitlab, values other than `*` will cause inconsistent plans.
	EnvironmentScope pulumi.StringPtrInput
	// The name of the variable.
	Key pulumi.StringInput
	// If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ee/ci/variables/#masked-variables). Defaults to `false`.
	Masked pulumi.BoolPtrInput
	// The name or id of the project.
	Project pulumi.StringInput
	// If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.
	Protected pulumi.BoolPtrInput
	// The value of the variable.
	Value pulumi.StringInput
	// The type of a variable. Valid values are: `envVar`, `file`. Default is `envVar`.
	VariableType pulumi.StringPtrInput
}

The set of arguments for constructing a ProjectVariable resource.

func (ProjectVariableArgs) ElementType

func (ProjectVariableArgs) ElementType() reflect.Type

type ProjectVariableArray

type ProjectVariableArray []ProjectVariableInput

func (ProjectVariableArray) ElementType

func (ProjectVariableArray) ElementType() reflect.Type

func (ProjectVariableArray) ToProjectVariableArrayOutput

func (i ProjectVariableArray) ToProjectVariableArrayOutput() ProjectVariableArrayOutput

func (ProjectVariableArray) ToProjectVariableArrayOutputWithContext

func (i ProjectVariableArray) ToProjectVariableArrayOutputWithContext(ctx context.Context) ProjectVariableArrayOutput

type ProjectVariableArrayInput

type ProjectVariableArrayInput interface {
	pulumi.Input

	ToProjectVariableArrayOutput() ProjectVariableArrayOutput
	ToProjectVariableArrayOutputWithContext(context.Context) ProjectVariableArrayOutput
}

ProjectVariableArrayInput is an input type that accepts ProjectVariableArray and ProjectVariableArrayOutput values. You can construct a concrete instance of `ProjectVariableArrayInput` via:

ProjectVariableArray{ ProjectVariableArgs{...} }

type ProjectVariableArrayOutput

type ProjectVariableArrayOutput struct{ *pulumi.OutputState }

func (ProjectVariableArrayOutput) ElementType

func (ProjectVariableArrayOutput) ElementType() reflect.Type

func (ProjectVariableArrayOutput) Index

func (ProjectVariableArrayOutput) ToProjectVariableArrayOutput

func (o ProjectVariableArrayOutput) ToProjectVariableArrayOutput() ProjectVariableArrayOutput

func (ProjectVariableArrayOutput) ToProjectVariableArrayOutputWithContext

func (o ProjectVariableArrayOutput) ToProjectVariableArrayOutputWithContext(ctx context.Context) ProjectVariableArrayOutput

type ProjectVariableInput

type ProjectVariableInput interface {
	pulumi.Input

	ToProjectVariableOutput() ProjectVariableOutput
	ToProjectVariableOutputWithContext(ctx context.Context) ProjectVariableOutput
}

type ProjectVariableMap

type ProjectVariableMap map[string]ProjectVariableInput

func (ProjectVariableMap) ElementType

func (ProjectVariableMap) ElementType() reflect.Type

func (ProjectVariableMap) ToProjectVariableMapOutput

func (i ProjectVariableMap) ToProjectVariableMapOutput() ProjectVariableMapOutput

func (ProjectVariableMap) ToProjectVariableMapOutputWithContext

func (i ProjectVariableMap) ToProjectVariableMapOutputWithContext(ctx context.Context) ProjectVariableMapOutput

type ProjectVariableMapInput

type ProjectVariableMapInput interface {
	pulumi.Input

	ToProjectVariableMapOutput() ProjectVariableMapOutput
	ToProjectVariableMapOutputWithContext(context.Context) ProjectVariableMapOutput
}

ProjectVariableMapInput is an input type that accepts ProjectVariableMap and ProjectVariableMapOutput values. You can construct a concrete instance of `ProjectVariableMapInput` via:

ProjectVariableMap{ "key": ProjectVariableArgs{...} }

type ProjectVariableMapOutput

type ProjectVariableMapOutput struct{ *pulumi.OutputState }

func (ProjectVariableMapOutput) ElementType

func (ProjectVariableMapOutput) ElementType() reflect.Type

func (ProjectVariableMapOutput) MapIndex

func (ProjectVariableMapOutput) ToProjectVariableMapOutput

func (o ProjectVariableMapOutput) ToProjectVariableMapOutput() ProjectVariableMapOutput

func (ProjectVariableMapOutput) ToProjectVariableMapOutputWithContext

func (o ProjectVariableMapOutput) ToProjectVariableMapOutputWithContext(ctx context.Context) ProjectVariableMapOutput

type ProjectVariableOutput

type ProjectVariableOutput struct{ *pulumi.OutputState }

func (ProjectVariableOutput) ElementType

func (ProjectVariableOutput) ElementType() reflect.Type

func (ProjectVariableOutput) EnvironmentScope added in v4.7.1

func (o ProjectVariableOutput) EnvironmentScope() pulumi.StringPtrOutput

The environment scope of the variable. Defaults to all environment (`*`). Note that in Community Editions of Gitlab, values other than `*` will cause inconsistent plans.

func (ProjectVariableOutput) Key added in v4.7.1

The name of the variable.

func (ProjectVariableOutput) Masked added in v4.7.1

If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ee/ci/variables/#masked-variables). Defaults to `false`.

func (ProjectVariableOutput) Project added in v4.7.1

The name or id of the project.

func (ProjectVariableOutput) Protected added in v4.7.1

If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.

func (ProjectVariableOutput) ToProjectVariableOutput

func (o ProjectVariableOutput) ToProjectVariableOutput() ProjectVariableOutput

func (ProjectVariableOutput) ToProjectVariableOutputWithContext

func (o ProjectVariableOutput) ToProjectVariableOutputWithContext(ctx context.Context) ProjectVariableOutput

func (ProjectVariableOutput) Value added in v4.7.1

The value of the variable.

func (ProjectVariableOutput) VariableType added in v4.7.1

func (o ProjectVariableOutput) VariableType() pulumi.StringPtrOutput

The type of a variable. Valid values are: `envVar`, `file`. Default is `envVar`.

type ProjectVariableState

type ProjectVariableState struct {
	// The environment scope of the variable. Defaults to all environment (`*`). Note that in Community Editions of Gitlab, values other than `*` will cause inconsistent plans.
	EnvironmentScope pulumi.StringPtrInput
	// The name of the variable.
	Key pulumi.StringPtrInput
	// If set to `true`, the value of the variable will be hidden in job logs. The value must meet the [masking requirements](https://docs.gitlab.com/ee/ci/variables/#masked-variables). Defaults to `false`.
	Masked pulumi.BoolPtrInput
	// The name or id of the project.
	Project pulumi.StringPtrInput
	// If set to `true`, the variable will be passed only to pipelines running on protected branches and tags. Defaults to `false`.
	Protected pulumi.BoolPtrInput
	// The value of the variable.
	Value pulumi.StringPtrInput
	// The type of a variable. Valid values are: `envVar`, `file`. Default is `envVar`.
	VariableType pulumi.StringPtrInput
}

func (ProjectVariableState) ElementType

func (ProjectVariableState) ElementType() reflect.Type

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	// This is the target GitLab base API endpoint. Providing a value is a requirement when working with GitLab CE or GitLab
	// Enterprise e.g. `https://my.gitlab.server/api/v4/`. It is optional to provide this value and it can also be sourced from
	// the `GITLAB_BASE_URL` environment variable. The value must end with a slash.
	BaseUrl pulumi.StringPtrOutput `pulumi:"baseUrl"`
	// This is a file containing the ca cert to verify the gitlab instance. This is available for use when working with GitLab
	// CE or Gitlab Enterprise with a locally-issued or self-signed certificate chain.
	CacertFile pulumi.StringPtrOutput `pulumi:"cacertFile"`
	// File path to client certificate when GitLab instance is behind company proxy. File must contain PEM encoded data.
	ClientCert pulumi.StringPtrOutput `pulumi:"clientCert"`
	// File path to client key when GitLab instance is behind company proxy. File must contain PEM encoded data. Required when
	// `client_cert` is set.
	ClientKey pulumi.StringPtrOutput `pulumi:"clientKey"`
	// The OAuth2 Token, Project, Group, Personal Access Token or CI Job Token used to connect to GitLab. The OAuth method is
	// used in this provider for authentication (using Bearer authorization token). See
	// https://docs.gitlab.com/ee/api/#authentication for details. It may be sourced from the `GITLAB_TOKEN` environment
	// variable.
	Token pulumi.StringOutput `pulumi:"token"`
}

The provider type for the gitlab package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

NewProvider registers a new resource with the given unique name, arguments, and options.

func (*Provider) ElementType

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ProviderArgs

type ProviderArgs struct {
	// This is the target GitLab base API endpoint. Providing a value is a requirement when working with GitLab CE or GitLab
	// Enterprise e.g. `https://my.gitlab.server/api/v4/`. It is optional to provide this value and it can also be sourced from
	// the `GITLAB_BASE_URL` environment variable. The value must end with a slash.
	BaseUrl pulumi.StringPtrInput
	// This is a file containing the ca cert to verify the gitlab instance. This is available for use when working with GitLab
	// CE or Gitlab Enterprise with a locally-issued or self-signed certificate chain.
	CacertFile pulumi.StringPtrInput
	// File path to client certificate when GitLab instance is behind company proxy. File must contain PEM encoded data.
	ClientCert pulumi.StringPtrInput
	// File path to client key when GitLab instance is behind company proxy. File must contain PEM encoded data. Required when
	// `client_cert` is set.
	ClientKey pulumi.StringPtrInput
	// (Experimental) By default the provider does a dummy request to get the current user in order to verify that the provider
	// configuration is correct and the GitLab API is reachable. Turn it off, to skip this check. This may be useful if the
	// GitLab instance does not yet exist and is created within the same terraform module. This is an experimental feature and
	// may change in the future. Please make sure to always keep backups of your state.
	EarlyAuthCheck pulumi.BoolPtrInput
	// When set to true this disables SSL verification of the connection to the GitLab instance.
	Insecure pulumi.BoolPtrInput
	// The OAuth2 Token, Project, Group, Personal Access Token or CI Job Token used to connect to GitLab. The OAuth method is
	// used in this provider for authentication (using Bearer authorization token). See
	// https://docs.gitlab.com/ee/api/#authentication for details. It may be sourced from the `GITLAB_TOKEN` environment
	// variable.
	Token pulumi.StringInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) BaseUrl added in v4.7.1

This is the target GitLab base API endpoint. Providing a value is a requirement when working with GitLab CE or GitLab Enterprise e.g. `https://my.gitlab.server/api/v4/`. It is optional to provide this value and it can also be sourced from the `GITLAB_BASE_URL` environment variable. The value must end with a slash.

func (ProviderOutput) CacertFile added in v4.7.1

func (o ProviderOutput) CacertFile() pulumi.StringPtrOutput

This is a file containing the ca cert to verify the gitlab instance. This is available for use when working with GitLab CE or Gitlab Enterprise with a locally-issued or self-signed certificate chain.

func (ProviderOutput) ClientCert added in v4.7.1

func (o ProviderOutput) ClientCert() pulumi.StringPtrOutput

File path to client certificate when GitLab instance is behind company proxy. File must contain PEM encoded data.

func (ProviderOutput) ClientKey added in v4.7.1

func (o ProviderOutput) ClientKey() pulumi.StringPtrOutput

File path to client key when GitLab instance is behind company proxy. File must contain PEM encoded data. Required when `client_cert` is set.

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

func (ProviderOutput) Token added in v4.7.1

The OAuth2 Token, Project, Group, Personal Access Token or CI Job Token used to connect to GitLab. The OAuth method is used in this provider for authentication (using Bearer authorization token). See https://docs.gitlab.com/ee/api/#authentication for details. It may be sourced from the `GITLAB_TOKEN` environment variable.

type ReleaseLink struct {
	pulumi.CustomResourceState

	// Full path for a [Direct Asset link](https://docs.gitlab.com/ee/user/project/releases/index.html#permanent-links-to-release-assets).
	DirectAssetUrl pulumi.StringOutput `pulumi:"directAssetUrl"`
	// External or internal link.
	External pulumi.BoolOutput `pulumi:"external"`
	// Relative path for a [Direct Asset link](https://docs.gitlab.com/ee/user/project/releases/index.html#permanent-links-to-release-assets).
	Filepath pulumi.StringPtrOutput `pulumi:"filepath"`
	// The ID of the link.
	LinkId pulumi.IntOutput `pulumi:"linkId"`
	// The type of the link. Valid values are `other`, `runbook`, `image`, `package`. Defaults to other.
	LinkType pulumi.StringPtrOutput `pulumi:"linkType"`
	// The name of the link. Link names must be unique within the release.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID or [URL-encoded path of the project](https://docs.gitlab.com/ee/api/index.html#namespaced-path-encoding).
	Project pulumi.StringOutput `pulumi:"project"`
	// The tag associated with the Release.
	TagName pulumi.StringOutput `pulumi:"tagName"`
	// The URL of the link. Link URLs must be unique within the release.
	Url pulumi.StringOutput `pulumi:"url"`
}

The `ReleaseLink` resource allows to manage the lifecycle of a release link.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/releases/links.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := gitlab.NewProject(ctx, "exampleProject", &gitlab.ProjectArgs{
			Description: pulumi.String("An example project"),
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewReleaseLink(ctx, "exampleReleaseLink", &gitlab.ReleaseLinkArgs{
			Project: exampleProject.ID(),
			TagName: pulumi.String("tag_name_associated_with_release"),
			Url:     pulumi.String("https://test/"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Gitlab release link can be imported with a key composed of `<project>:<tag_name>:<link_id>`, e.g.

```sh

$ pulumi import gitlab:index/releaseLink:ReleaseLink example "12345:test:2"

```

func GetReleaseLink(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ReleaseLinkState, opts ...pulumi.ResourceOption) (*ReleaseLink, error)

GetReleaseLink gets an existing ReleaseLink resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewReleaseLink(ctx *pulumi.Context,
	name string, args *ReleaseLinkArgs, opts ...pulumi.ResourceOption) (*ReleaseLink, error)

NewReleaseLink registers a new resource with the given unique name, arguments, and options.

func (*ReleaseLink) ElementType added in v4.8.0

func (*ReleaseLink) ElementType() reflect.Type

func (*ReleaseLink) ToReleaseLinkOutput added in v4.8.0

func (i *ReleaseLink) ToReleaseLinkOutput() ReleaseLinkOutput

func (*ReleaseLink) ToReleaseLinkOutputWithContext added in v4.8.0

func (i *ReleaseLink) ToReleaseLinkOutputWithContext(ctx context.Context) ReleaseLinkOutput

type ReleaseLinkArgs added in v4.8.0

type ReleaseLinkArgs struct {
	// Relative path for a [Direct Asset link](https://docs.gitlab.com/ee/user/project/releases/index.html#permanent-links-to-release-assets).
	Filepath pulumi.StringPtrInput
	// The type of the link. Valid values are `other`, `runbook`, `image`, `package`. Defaults to other.
	LinkType pulumi.StringPtrInput
	// The name of the link. Link names must be unique within the release.
	Name pulumi.StringPtrInput
	// The ID or [URL-encoded path of the project](https://docs.gitlab.com/ee/api/index.html#namespaced-path-encoding).
	Project pulumi.StringInput
	// The tag associated with the Release.
	TagName pulumi.StringInput
	// The URL of the link. Link URLs must be unique within the release.
	Url pulumi.StringInput
}

The set of arguments for constructing a ReleaseLink resource.

func (ReleaseLinkArgs) ElementType added in v4.8.0

func (ReleaseLinkArgs) ElementType() reflect.Type

type ReleaseLinkArray added in v4.8.0

type ReleaseLinkArray []ReleaseLinkInput

func (ReleaseLinkArray) ElementType added in v4.8.0

func (ReleaseLinkArray) ElementType() reflect.Type

func (ReleaseLinkArray) ToReleaseLinkArrayOutput added in v4.8.0

func (i ReleaseLinkArray) ToReleaseLinkArrayOutput() ReleaseLinkArrayOutput

func (ReleaseLinkArray) ToReleaseLinkArrayOutputWithContext added in v4.8.0

func (i ReleaseLinkArray) ToReleaseLinkArrayOutputWithContext(ctx context.Context) ReleaseLinkArrayOutput

type ReleaseLinkArrayInput added in v4.8.0

type ReleaseLinkArrayInput interface {
	pulumi.Input

	ToReleaseLinkArrayOutput() ReleaseLinkArrayOutput
	ToReleaseLinkArrayOutputWithContext(context.Context) ReleaseLinkArrayOutput
}

ReleaseLinkArrayInput is an input type that accepts ReleaseLinkArray and ReleaseLinkArrayOutput values. You can construct a concrete instance of `ReleaseLinkArrayInput` via:

ReleaseLinkArray{ ReleaseLinkArgs{...} }

type ReleaseLinkArrayOutput added in v4.8.0

type ReleaseLinkArrayOutput struct{ *pulumi.OutputState }

func (ReleaseLinkArrayOutput) ElementType added in v4.8.0

func (ReleaseLinkArrayOutput) ElementType() reflect.Type

func (ReleaseLinkArrayOutput) Index added in v4.8.0

func (ReleaseLinkArrayOutput) ToReleaseLinkArrayOutput added in v4.8.0

func (o ReleaseLinkArrayOutput) ToReleaseLinkArrayOutput() ReleaseLinkArrayOutput

func (ReleaseLinkArrayOutput) ToReleaseLinkArrayOutputWithContext added in v4.8.0

func (o ReleaseLinkArrayOutput) ToReleaseLinkArrayOutputWithContext(ctx context.Context) ReleaseLinkArrayOutput

type ReleaseLinkInput added in v4.8.0

type ReleaseLinkInput interface {
	pulumi.Input

	ToReleaseLinkOutput() ReleaseLinkOutput
	ToReleaseLinkOutputWithContext(ctx context.Context) ReleaseLinkOutput
}

type ReleaseLinkMap added in v4.8.0

type ReleaseLinkMap map[string]ReleaseLinkInput

func (ReleaseLinkMap) ElementType added in v4.8.0

func (ReleaseLinkMap) ElementType() reflect.Type

func (ReleaseLinkMap) ToReleaseLinkMapOutput added in v4.8.0

func (i ReleaseLinkMap) ToReleaseLinkMapOutput() ReleaseLinkMapOutput

func (ReleaseLinkMap) ToReleaseLinkMapOutputWithContext added in v4.8.0

func (i ReleaseLinkMap) ToReleaseLinkMapOutputWithContext(ctx context.Context) ReleaseLinkMapOutput

type ReleaseLinkMapInput added in v4.8.0

type ReleaseLinkMapInput interface {
	pulumi.Input

	ToReleaseLinkMapOutput() ReleaseLinkMapOutput
	ToReleaseLinkMapOutputWithContext(context.Context) ReleaseLinkMapOutput
}

ReleaseLinkMapInput is an input type that accepts ReleaseLinkMap and ReleaseLinkMapOutput values. You can construct a concrete instance of `ReleaseLinkMapInput` via:

ReleaseLinkMap{ "key": ReleaseLinkArgs{...} }

type ReleaseLinkMapOutput added in v4.8.0

type ReleaseLinkMapOutput struct{ *pulumi.OutputState }

func (ReleaseLinkMapOutput) ElementType added in v4.8.0

func (ReleaseLinkMapOutput) ElementType() reflect.Type

func (ReleaseLinkMapOutput) MapIndex added in v4.8.0

func (ReleaseLinkMapOutput) ToReleaseLinkMapOutput added in v4.8.0

func (o ReleaseLinkMapOutput) ToReleaseLinkMapOutput() ReleaseLinkMapOutput

func (ReleaseLinkMapOutput) ToReleaseLinkMapOutputWithContext added in v4.8.0

func (o ReleaseLinkMapOutput) ToReleaseLinkMapOutputWithContext(ctx context.Context) ReleaseLinkMapOutput

type ReleaseLinkOutput added in v4.8.0

type ReleaseLinkOutput struct{ *pulumi.OutputState }

func (ReleaseLinkOutput) DirectAssetUrl added in v4.8.0

func (o ReleaseLinkOutput) DirectAssetUrl() pulumi.StringOutput

Full path for a [Direct Asset link](https://docs.gitlab.com/ee/user/project/releases/index.html#permanent-links-to-release-assets).

func (ReleaseLinkOutput) ElementType added in v4.8.0

func (ReleaseLinkOutput) ElementType() reflect.Type

func (ReleaseLinkOutput) External added in v4.8.0

func (o ReleaseLinkOutput) External() pulumi.BoolOutput

External or internal link.

func (ReleaseLinkOutput) Filepath added in v4.8.0

Relative path for a [Direct Asset link](https://docs.gitlab.com/ee/user/project/releases/index.html#permanent-links-to-release-assets).

func (ReleaseLinkOutput) LinkId added in v4.8.0

func (o ReleaseLinkOutput) LinkId() pulumi.IntOutput

The ID of the link.

func (ReleaseLinkOutput) LinkType added in v4.8.0

The type of the link. Valid values are `other`, `runbook`, `image`, `package`. Defaults to other.

func (ReleaseLinkOutput) Name added in v4.8.0

The name of the link. Link names must be unique within the release.

func (ReleaseLinkOutput) Project added in v4.8.0

The ID or [URL-encoded path of the project](https://docs.gitlab.com/ee/api/index.html#namespaced-path-encoding).

func (ReleaseLinkOutput) TagName added in v4.8.0

The tag associated with the Release.

func (ReleaseLinkOutput) ToReleaseLinkOutput added in v4.8.0

func (o ReleaseLinkOutput) ToReleaseLinkOutput() ReleaseLinkOutput

func (ReleaseLinkOutput) ToReleaseLinkOutputWithContext added in v4.8.0

func (o ReleaseLinkOutput) ToReleaseLinkOutputWithContext(ctx context.Context) ReleaseLinkOutput

func (ReleaseLinkOutput) Url added in v4.8.0

The URL of the link. Link URLs must be unique within the release.

type ReleaseLinkState added in v4.8.0

type ReleaseLinkState struct {
	// Full path for a [Direct Asset link](https://docs.gitlab.com/ee/user/project/releases/index.html#permanent-links-to-release-assets).
	DirectAssetUrl pulumi.StringPtrInput
	// External or internal link.
	External pulumi.BoolPtrInput
	// Relative path for a [Direct Asset link](https://docs.gitlab.com/ee/user/project/releases/index.html#permanent-links-to-release-assets).
	Filepath pulumi.StringPtrInput
	// The ID of the link.
	LinkId pulumi.IntPtrInput
	// The type of the link. Valid values are `other`, `runbook`, `image`, `package`. Defaults to other.
	LinkType pulumi.StringPtrInput
	// The name of the link. Link names must be unique within the release.
	Name pulumi.StringPtrInput
	// The ID or [URL-encoded path of the project](https://docs.gitlab.com/ee/api/index.html#namespaced-path-encoding).
	Project pulumi.StringPtrInput
	// The tag associated with the Release.
	TagName pulumi.StringPtrInput
	// The URL of the link. Link URLs must be unique within the release.
	Url pulumi.StringPtrInput
}

func (ReleaseLinkState) ElementType added in v4.8.0

func (ReleaseLinkState) ElementType() reflect.Type

type RepositoryFile added in v4.5.0

type RepositoryFile struct {
	pulumi.CustomResourceState

	// Email of the commit author.
	AuthorEmail pulumi.StringPtrOutput `pulumi:"authorEmail"`
	// Name of the commit author.
	AuthorName pulumi.StringPtrOutput `pulumi:"authorName"`
	// The blob id.
	BlobId pulumi.StringOutput `pulumi:"blobId"`
	// Name of the branch to which to commit to.
	Branch pulumi.StringOutput `pulumi:"branch"`
	// The commit id.
	CommitId pulumi.StringOutput `pulumi:"commitId"`
	// Commit message.
	CommitMessage pulumi.StringOutput `pulumi:"commitMessage"`
	// File content. If the content is not yet base64 encoded, it will be encoded automatically. No other encoding is currently supported, because of a [GitLab API bug](https://gitlab.com/gitlab-org/gitlab/-/issues/342430).
	Content pulumi.StringOutput `pulumi:"content"`
	// File content sha256 digest.
	ContentSha256 pulumi.StringOutput `pulumi:"contentSha256"`
	// The file content encoding.
	Encoding pulumi.StringOutput `pulumi:"encoding"`
	// Enables or disables the execute flag on the file. **Note**: requires GitLab 14.10 or newer.
	ExecuteFilemode pulumi.BoolPtrOutput `pulumi:"executeFilemode"`
	// The filename.
	FileName pulumi.StringOutput `pulumi:"fileName"`
	// The full path of the file. It must be relative to the root of the project without a leading slash `/`.
	FilePath pulumi.StringOutput `pulumi:"filePath"`
	// The last known commit id.
	LastCommitId pulumi.StringOutput `pulumi:"lastCommitId"`
	// The name or ID of the project.
	Project pulumi.StringOutput `pulumi:"project"`
	// The name of branch, tag or commit.
	Ref pulumi.StringOutput `pulumi:"ref"`
	// The file size.
	Size pulumi.IntOutput `pulumi:"size"`
	// Name of the branch to start the new commit from.
	StartBranch pulumi.StringPtrOutput `pulumi:"startBranch"`
}

## Import

A Repository File can be imported using an id made up of `<project-id>:<branch-name>:<file-path>`, e.g.

```sh

$ pulumi import gitlab:index/repositoryFile:RepositoryFile this 1:main:foo/bar.txt

```

func GetRepositoryFile added in v4.5.0

func GetRepositoryFile(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RepositoryFileState, opts ...pulumi.ResourceOption) (*RepositoryFile, error)

GetRepositoryFile gets an existing RepositoryFile resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRepositoryFile added in v4.5.0

func NewRepositoryFile(ctx *pulumi.Context,
	name string, args *RepositoryFileArgs, opts ...pulumi.ResourceOption) (*RepositoryFile, error)

NewRepositoryFile registers a new resource with the given unique name, arguments, and options.

func (*RepositoryFile) ElementType added in v4.5.0

func (*RepositoryFile) ElementType() reflect.Type

func (*RepositoryFile) ToRepositoryFileOutput added in v4.5.0

func (i *RepositoryFile) ToRepositoryFileOutput() RepositoryFileOutput

func (*RepositoryFile) ToRepositoryFileOutputWithContext added in v4.5.0

func (i *RepositoryFile) ToRepositoryFileOutputWithContext(ctx context.Context) RepositoryFileOutput

type RepositoryFileArgs added in v4.5.0

type RepositoryFileArgs struct {
	// Email of the commit author.
	AuthorEmail pulumi.StringPtrInput
	// Name of the commit author.
	AuthorName pulumi.StringPtrInput
	// Name of the branch to which to commit to.
	Branch pulumi.StringInput
	// Commit message.
	CommitMessage pulumi.StringInput
	// File content. If the content is not yet base64 encoded, it will be encoded automatically. No other encoding is currently supported, because of a [GitLab API bug](https://gitlab.com/gitlab-org/gitlab/-/issues/342430).
	Content pulumi.StringInput
	// Enables or disables the execute flag on the file. **Note**: requires GitLab 14.10 or newer.
	ExecuteFilemode pulumi.BoolPtrInput
	// The full path of the file. It must be relative to the root of the project without a leading slash `/`.
	FilePath pulumi.StringInput
	// The name or ID of the project.
	Project pulumi.StringInput
	// Name of the branch to start the new commit from.
	StartBranch pulumi.StringPtrInput
}

The set of arguments for constructing a RepositoryFile resource.

func (RepositoryFileArgs) ElementType added in v4.5.0

func (RepositoryFileArgs) ElementType() reflect.Type

type RepositoryFileArray added in v4.5.0

type RepositoryFileArray []RepositoryFileInput

func (RepositoryFileArray) ElementType added in v4.5.0

func (RepositoryFileArray) ElementType() reflect.Type

func (RepositoryFileArray) ToRepositoryFileArrayOutput added in v4.5.0

func (i RepositoryFileArray) ToRepositoryFileArrayOutput() RepositoryFileArrayOutput

func (RepositoryFileArray) ToRepositoryFileArrayOutputWithContext added in v4.5.0

func (i RepositoryFileArray) ToRepositoryFileArrayOutputWithContext(ctx context.Context) RepositoryFileArrayOutput

type RepositoryFileArrayInput added in v4.5.0

type RepositoryFileArrayInput interface {
	pulumi.Input

	ToRepositoryFileArrayOutput() RepositoryFileArrayOutput
	ToRepositoryFileArrayOutputWithContext(context.Context) RepositoryFileArrayOutput
}

RepositoryFileArrayInput is an input type that accepts RepositoryFileArray and RepositoryFileArrayOutput values. You can construct a concrete instance of `RepositoryFileArrayInput` via:

RepositoryFileArray{ RepositoryFileArgs{...} }

type RepositoryFileArrayOutput added in v4.5.0

type RepositoryFileArrayOutput struct{ *pulumi.OutputState }

func (RepositoryFileArrayOutput) ElementType added in v4.5.0

func (RepositoryFileArrayOutput) ElementType() reflect.Type

func (RepositoryFileArrayOutput) Index added in v4.5.0

func (RepositoryFileArrayOutput) ToRepositoryFileArrayOutput added in v4.5.0

func (o RepositoryFileArrayOutput) ToRepositoryFileArrayOutput() RepositoryFileArrayOutput

func (RepositoryFileArrayOutput) ToRepositoryFileArrayOutputWithContext added in v4.5.0

func (o RepositoryFileArrayOutput) ToRepositoryFileArrayOutputWithContext(ctx context.Context) RepositoryFileArrayOutput

type RepositoryFileInput added in v4.5.0

type RepositoryFileInput interface {
	pulumi.Input

	ToRepositoryFileOutput() RepositoryFileOutput
	ToRepositoryFileOutputWithContext(ctx context.Context) RepositoryFileOutput
}

type RepositoryFileMap added in v4.5.0

type RepositoryFileMap map[string]RepositoryFileInput

func (RepositoryFileMap) ElementType added in v4.5.0

func (RepositoryFileMap) ElementType() reflect.Type

func (RepositoryFileMap) ToRepositoryFileMapOutput added in v4.5.0

func (i RepositoryFileMap) ToRepositoryFileMapOutput() RepositoryFileMapOutput

func (RepositoryFileMap) ToRepositoryFileMapOutputWithContext added in v4.5.0

func (i RepositoryFileMap) ToRepositoryFileMapOutputWithContext(ctx context.Context) RepositoryFileMapOutput

type RepositoryFileMapInput added in v4.5.0

type RepositoryFileMapInput interface {
	pulumi.Input

	ToRepositoryFileMapOutput() RepositoryFileMapOutput
	ToRepositoryFileMapOutputWithContext(context.Context) RepositoryFileMapOutput
}

RepositoryFileMapInput is an input type that accepts RepositoryFileMap and RepositoryFileMapOutput values. You can construct a concrete instance of `RepositoryFileMapInput` via:

RepositoryFileMap{ "key": RepositoryFileArgs{...} }

type RepositoryFileMapOutput added in v4.5.0

type RepositoryFileMapOutput struct{ *pulumi.OutputState }

func (RepositoryFileMapOutput) ElementType added in v4.5.0

func (RepositoryFileMapOutput) ElementType() reflect.Type

func (RepositoryFileMapOutput) MapIndex added in v4.5.0

func (RepositoryFileMapOutput) ToRepositoryFileMapOutput added in v4.5.0

func (o RepositoryFileMapOutput) ToRepositoryFileMapOutput() RepositoryFileMapOutput

func (RepositoryFileMapOutput) ToRepositoryFileMapOutputWithContext added in v4.5.0

func (o RepositoryFileMapOutput) ToRepositoryFileMapOutputWithContext(ctx context.Context) RepositoryFileMapOutput

type RepositoryFileOutput added in v4.5.0

type RepositoryFileOutput struct{ *pulumi.OutputState }

func (RepositoryFileOutput) AuthorEmail added in v4.7.1

Email of the commit author.

func (RepositoryFileOutput) AuthorName added in v4.7.1

Name of the commit author.

func (RepositoryFileOutput) BlobId added in v4.7.1

The blob id.

func (RepositoryFileOutput) Branch added in v4.7.1

Name of the branch to which to commit to.

func (RepositoryFileOutput) CommitId added in v4.7.1

The commit id.

func (RepositoryFileOutput) CommitMessage added in v4.7.1

func (o RepositoryFileOutput) CommitMessage() pulumi.StringOutput

Commit message.

func (RepositoryFileOutput) Content added in v4.7.1

File content. If the content is not yet base64 encoded, it will be encoded automatically. No other encoding is currently supported, because of a [GitLab API bug](https://gitlab.com/gitlab-org/gitlab/-/issues/342430).

func (RepositoryFileOutput) ContentSha256 added in v4.7.1

func (o RepositoryFileOutput) ContentSha256() pulumi.StringOutput

File content sha256 digest.

func (RepositoryFileOutput) ElementType added in v4.5.0

func (RepositoryFileOutput) ElementType() reflect.Type

func (RepositoryFileOutput) Encoding added in v4.7.1

The file content encoding.

func (RepositoryFileOutput) ExecuteFilemode added in v4.8.0

func (o RepositoryFileOutput) ExecuteFilemode() pulumi.BoolPtrOutput

Enables or disables the execute flag on the file. **Note**: requires GitLab 14.10 or newer.

func (RepositoryFileOutput) FileName added in v4.7.1

The filename.

func (RepositoryFileOutput) FilePath added in v4.7.1

The full path of the file. It must be relative to the root of the project without a leading slash `/`.

func (RepositoryFileOutput) LastCommitId added in v4.7.1

func (o RepositoryFileOutput) LastCommitId() pulumi.StringOutput

The last known commit id.

func (RepositoryFileOutput) Project added in v4.7.1

The name or ID of the project.

func (RepositoryFileOutput) Ref added in v4.7.1

The name of branch, tag or commit.

func (RepositoryFileOutput) Size added in v4.7.1

The file size.

func (RepositoryFileOutput) StartBranch added in v4.7.1

Name of the branch to start the new commit from.

func (RepositoryFileOutput) ToRepositoryFileOutput added in v4.5.0

func (o RepositoryFileOutput) ToRepositoryFileOutput() RepositoryFileOutput

func (RepositoryFileOutput) ToRepositoryFileOutputWithContext added in v4.5.0

func (o RepositoryFileOutput) ToRepositoryFileOutputWithContext(ctx context.Context) RepositoryFileOutput

type RepositoryFileState added in v4.5.0

type RepositoryFileState struct {
	// Email of the commit author.
	AuthorEmail pulumi.StringPtrInput
	// Name of the commit author.
	AuthorName pulumi.StringPtrInput
	// The blob id.
	BlobId pulumi.StringPtrInput
	// Name of the branch to which to commit to.
	Branch pulumi.StringPtrInput
	// The commit id.
	CommitId pulumi.StringPtrInput
	// Commit message.
	CommitMessage pulumi.StringPtrInput
	// File content. If the content is not yet base64 encoded, it will be encoded automatically. No other encoding is currently supported, because of a [GitLab API bug](https://gitlab.com/gitlab-org/gitlab/-/issues/342430).
	Content pulumi.StringPtrInput
	// File content sha256 digest.
	ContentSha256 pulumi.StringPtrInput
	// The file content encoding.
	Encoding pulumi.StringPtrInput
	// Enables or disables the execute flag on the file. **Note**: requires GitLab 14.10 or newer.
	ExecuteFilemode pulumi.BoolPtrInput
	// The filename.
	FileName pulumi.StringPtrInput
	// The full path of the file. It must be relative to the root of the project without a leading slash `/`.
	FilePath pulumi.StringPtrInput
	// The last known commit id.
	LastCommitId pulumi.StringPtrInput
	// The name or ID of the project.
	Project pulumi.StringPtrInput
	// The name of branch, tag or commit.
	Ref pulumi.StringPtrInput
	// The file size.
	Size pulumi.IntPtrInput
	// Name of the branch to start the new commit from.
	StartBranch pulumi.StringPtrInput
}

func (RepositoryFileState) ElementType added in v4.5.0

func (RepositoryFileState) ElementType() reflect.Type

type Runner added in v4.8.0

type Runner struct {
	pulumi.CustomResourceState

	// The accessLevel of the runner. Valid values are: `notProtected`, `refProtected`.
	AccessLevel pulumi.StringOutput `pulumi:"accessLevel"`
	// The authentication token used for building a config.toml file. This value is not present when imported.
	AuthenticationToken pulumi.StringOutput `pulumi:"authenticationToken"`
	// The runner's description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Whether the runner should be locked for current project.
	Locked pulumi.BoolOutput `pulumi:"locked"`
	// Maximum timeout set when this runner handles the job.
	MaximumTimeout pulumi.IntPtrOutput `pulumi:"maximumTimeout"`
	// Whether the runner should ignore new jobs.
	Paused pulumi.BoolOutput `pulumi:"paused"`
	// The registration token used to register the runner.
	RegistrationToken pulumi.StringOutput `pulumi:"registrationToken"`
	// Whether the runner should handle untagged jobs.
	RunUntagged pulumi.BoolOutput `pulumi:"runUntagged"`
	// The status of runners to show, one of: online and offline. active and paused are also possible values
	// 			              which were deprecated in GitLab 14.8 and will be removed in GitLab 16.0.
	Status pulumi.StringOutput `pulumi:"status"`
	// List of runner’s tags.
	TagLists pulumi.StringArrayOutput `pulumi:"tagLists"`
}

The `Runner` resource allows to manage the lifecycle of a runner.

A runner can either be registered at an instance level or group level. The runner will be registered at a group level if the token used is from a group, or at an instance level if the token used is for the instance.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/runners.html#register-a-new-runner)

## Import

A GitLab Runner can be imported using the runner's ID, eg

```sh

$ pulumi import gitlab:index/runner:Runner this 1

```

func GetRunner added in v4.8.0

func GetRunner(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RunnerState, opts ...pulumi.ResourceOption) (*Runner, error)

GetRunner gets an existing Runner resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRunner added in v4.8.0

func NewRunner(ctx *pulumi.Context,
	name string, args *RunnerArgs, opts ...pulumi.ResourceOption) (*Runner, error)

NewRunner registers a new resource with the given unique name, arguments, and options.

func (*Runner) ElementType added in v4.8.0

func (*Runner) ElementType() reflect.Type

func (*Runner) ToRunnerOutput added in v4.8.0

func (i *Runner) ToRunnerOutput() RunnerOutput

func (*Runner) ToRunnerOutputWithContext added in v4.8.0

func (i *Runner) ToRunnerOutputWithContext(ctx context.Context) RunnerOutput

type RunnerArgs added in v4.8.0

type RunnerArgs struct {
	// The accessLevel of the runner. Valid values are: `notProtected`, `refProtected`.
	AccessLevel pulumi.StringPtrInput
	// The runner's description.
	Description pulumi.StringPtrInput
	// Whether the runner should be locked for current project.
	Locked pulumi.BoolPtrInput
	// Maximum timeout set when this runner handles the job.
	MaximumTimeout pulumi.IntPtrInput
	// Whether the runner should ignore new jobs.
	Paused pulumi.BoolPtrInput
	// The registration token used to register the runner.
	RegistrationToken pulumi.StringInput
	// Whether the runner should handle untagged jobs.
	RunUntagged pulumi.BoolPtrInput
	// List of runner’s tags.
	TagLists pulumi.StringArrayInput
}

The set of arguments for constructing a Runner resource.

func (RunnerArgs) ElementType added in v4.8.0

func (RunnerArgs) ElementType() reflect.Type

type RunnerArray added in v4.8.0

type RunnerArray []RunnerInput

func (RunnerArray) ElementType added in v4.8.0

func (RunnerArray) ElementType() reflect.Type

func (RunnerArray) ToRunnerArrayOutput added in v4.8.0

func (i RunnerArray) ToRunnerArrayOutput() RunnerArrayOutput

func (RunnerArray) ToRunnerArrayOutputWithContext added in v4.8.0

func (i RunnerArray) ToRunnerArrayOutputWithContext(ctx context.Context) RunnerArrayOutput

type RunnerArrayInput added in v4.8.0

type RunnerArrayInput interface {
	pulumi.Input

	ToRunnerArrayOutput() RunnerArrayOutput
	ToRunnerArrayOutputWithContext(context.Context) RunnerArrayOutput
}

RunnerArrayInput is an input type that accepts RunnerArray and RunnerArrayOutput values. You can construct a concrete instance of `RunnerArrayInput` via:

RunnerArray{ RunnerArgs{...} }

type RunnerArrayOutput added in v4.8.0

type RunnerArrayOutput struct{ *pulumi.OutputState }

func (RunnerArrayOutput) ElementType added in v4.8.0

func (RunnerArrayOutput) ElementType() reflect.Type

func (RunnerArrayOutput) Index added in v4.8.0

func (RunnerArrayOutput) ToRunnerArrayOutput added in v4.8.0

func (o RunnerArrayOutput) ToRunnerArrayOutput() RunnerArrayOutput

func (RunnerArrayOutput) ToRunnerArrayOutputWithContext added in v4.8.0

func (o RunnerArrayOutput) ToRunnerArrayOutputWithContext(ctx context.Context) RunnerArrayOutput

type RunnerInput added in v4.8.0

type RunnerInput interface {
	pulumi.Input

	ToRunnerOutput() RunnerOutput
	ToRunnerOutputWithContext(ctx context.Context) RunnerOutput
}

type RunnerMap added in v4.8.0

type RunnerMap map[string]RunnerInput

func (RunnerMap) ElementType added in v4.8.0

func (RunnerMap) ElementType() reflect.Type

func (RunnerMap) ToRunnerMapOutput added in v4.8.0

func (i RunnerMap) ToRunnerMapOutput() RunnerMapOutput

func (RunnerMap) ToRunnerMapOutputWithContext added in v4.8.0

func (i RunnerMap) ToRunnerMapOutputWithContext(ctx context.Context) RunnerMapOutput

type RunnerMapInput added in v4.8.0

type RunnerMapInput interface {
	pulumi.Input

	ToRunnerMapOutput() RunnerMapOutput
	ToRunnerMapOutputWithContext(context.Context) RunnerMapOutput
}

RunnerMapInput is an input type that accepts RunnerMap and RunnerMapOutput values. You can construct a concrete instance of `RunnerMapInput` via:

RunnerMap{ "key": RunnerArgs{...} }

type RunnerMapOutput added in v4.8.0

type RunnerMapOutput struct{ *pulumi.OutputState }

func (RunnerMapOutput) ElementType added in v4.8.0

func (RunnerMapOutput) ElementType() reflect.Type

func (RunnerMapOutput) MapIndex added in v4.8.0

func (RunnerMapOutput) ToRunnerMapOutput added in v4.8.0

func (o RunnerMapOutput) ToRunnerMapOutput() RunnerMapOutput

func (RunnerMapOutput) ToRunnerMapOutputWithContext added in v4.8.0

func (o RunnerMapOutput) ToRunnerMapOutputWithContext(ctx context.Context) RunnerMapOutput

type RunnerOutput added in v4.8.0

type RunnerOutput struct{ *pulumi.OutputState }

func (RunnerOutput) AccessLevel added in v4.8.0

func (o RunnerOutput) AccessLevel() pulumi.StringOutput

The accessLevel of the runner. Valid values are: `notProtected`, `refProtected`.

func (RunnerOutput) AuthenticationToken added in v4.8.0

func (o RunnerOutput) AuthenticationToken() pulumi.StringOutput

The authentication token used for building a config.toml file. This value is not present when imported.

func (RunnerOutput) Description added in v4.8.0

func (o RunnerOutput) Description() pulumi.StringPtrOutput

The runner's description.

func (RunnerOutput) ElementType added in v4.8.0

func (RunnerOutput) ElementType() reflect.Type

func (RunnerOutput) Locked added in v4.8.0

func (o RunnerOutput) Locked() pulumi.BoolOutput

Whether the runner should be locked for current project.

func (RunnerOutput) MaximumTimeout added in v4.8.0

func (o RunnerOutput) MaximumTimeout() pulumi.IntPtrOutput

Maximum timeout set when this runner handles the job.

func (RunnerOutput) Paused added in v4.8.0

func (o RunnerOutput) Paused() pulumi.BoolOutput

Whether the runner should ignore new jobs.

func (RunnerOutput) RegistrationToken added in v4.8.0

func (o RunnerOutput) RegistrationToken() pulumi.StringOutput

The registration token used to register the runner.

func (RunnerOutput) RunUntagged added in v4.8.0

func (o RunnerOutput) RunUntagged() pulumi.BoolOutput

Whether the runner should handle untagged jobs.

func (RunnerOutput) Status added in v4.8.0

func (o RunnerOutput) Status() pulumi.StringOutput

The status of runners to show, one of: online and offline. active and paused are also possible values

which were deprecated in GitLab 14.8 and will be removed in GitLab 16.0.

func (RunnerOutput) TagLists added in v4.8.0

func (o RunnerOutput) TagLists() pulumi.StringArrayOutput

List of runner’s tags.

func (RunnerOutput) ToRunnerOutput added in v4.8.0

func (o RunnerOutput) ToRunnerOutput() RunnerOutput

func (RunnerOutput) ToRunnerOutputWithContext added in v4.8.0

func (o RunnerOutput) ToRunnerOutputWithContext(ctx context.Context) RunnerOutput

type RunnerState added in v4.8.0

type RunnerState struct {
	// The accessLevel of the runner. Valid values are: `notProtected`, `refProtected`.
	AccessLevel pulumi.StringPtrInput
	// The authentication token used for building a config.toml file. This value is not present when imported.
	AuthenticationToken pulumi.StringPtrInput
	// The runner's description.
	Description pulumi.StringPtrInput
	// Whether the runner should be locked for current project.
	Locked pulumi.BoolPtrInput
	// Maximum timeout set when this runner handles the job.
	MaximumTimeout pulumi.IntPtrInput
	// Whether the runner should ignore new jobs.
	Paused pulumi.BoolPtrInput
	// The registration token used to register the runner.
	RegistrationToken pulumi.StringPtrInput
	// Whether the runner should handle untagged jobs.
	RunUntagged pulumi.BoolPtrInput
	// The status of runners to show, one of: online and offline. active and paused are also possible values
	// 			              which were deprecated in GitLab 14.8 and will be removed in GitLab 16.0.
	Status pulumi.StringPtrInput
	// List of runner’s tags.
	TagLists pulumi.StringArrayInput
}

func (RunnerState) ElementType added in v4.8.0

func (RunnerState) ElementType() reflect.Type

type ServiceEmailsOnPush added in v4.10.0

type ServiceEmailsOnPush struct {
	pulumi.CustomResourceState

	// Whether the integration is active.
	Active pulumi.BoolOutput `pulumi:"active"`
	// Branches to send notifications for. Valid options are `all`, `default`, `protected`, `defaultAndProtected`. Notifications are always fired for tag pushes.
	BranchesToBeNotified pulumi.StringPtrOutput `pulumi:"branchesToBeNotified"`
	// The ISO8601 date/time that this integration was activated at in UTC.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// Disable code diffs.
	DisableDiffs pulumi.BoolPtrOutput `pulumi:"disableDiffs"`
	// ID or full-path of the project you want to activate integration on.
	Project pulumi.StringOutput `pulumi:"project"`
	// Enable notifications for push events.
	PushEvents pulumi.BoolPtrOutput `pulumi:"pushEvents"`
	// Emails separated by whitespace.
	Recipients pulumi.StringOutput `pulumi:"recipients"`
	// Send from committer.
	SendFromCommitterEmail pulumi.BoolPtrOutput `pulumi:"sendFromCommitterEmail"`
	// The name of the integration in lowercase, shortened to 63 bytes, and with everything except 0-9 and a-z replaced with -. No leading / trailing -. Use in URLs, host names and domain names.
	Slug pulumi.StringOutput `pulumi:"slug"`
	// Enable notifications for tag push events.
	TagPushEvents pulumi.BoolPtrOutput `pulumi:"tagPushEvents"`
	// Title of the integration.
	Title pulumi.StringOutput `pulumi:"title"`
	// The ISO8601 date/time that this integration was last updated at in UTC.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
}

The `ServiceEmailsOnPush` resource allows to manage the lifecycle of a project integration with Emails on Push Service.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/integrations.html#emails-on-push)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		awesomeProject, err := gitlab.NewProject(ctx, "awesomeProject", &gitlab.ProjectArgs{
			Description:     pulumi.String("My awesome project."),
			VisibilityLevel: pulumi.String("public"),
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewServiceEmailsOnPush(ctx, "emails", &gitlab.ServiceEmailsOnPushArgs{
			Project:    awesomeProject.ID(),
			Recipients: pulumi.String("myrecipient@example.com myotherrecipient@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

You can import a gitlab_service_emails_on_push state using the project ID, e.g.

```sh

$ pulumi import gitlab:index/serviceEmailsOnPush:ServiceEmailsOnPush emails 1

```

func GetServiceEmailsOnPush added in v4.10.0

func GetServiceEmailsOnPush(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceEmailsOnPushState, opts ...pulumi.ResourceOption) (*ServiceEmailsOnPush, error)

GetServiceEmailsOnPush gets an existing ServiceEmailsOnPush resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewServiceEmailsOnPush added in v4.10.0

func NewServiceEmailsOnPush(ctx *pulumi.Context,
	name string, args *ServiceEmailsOnPushArgs, opts ...pulumi.ResourceOption) (*ServiceEmailsOnPush, error)

NewServiceEmailsOnPush registers a new resource with the given unique name, arguments, and options.

func (*ServiceEmailsOnPush) ElementType added in v4.10.0

func (*ServiceEmailsOnPush) ElementType() reflect.Type

func (*ServiceEmailsOnPush) ToServiceEmailsOnPushOutput added in v4.10.0

func (i *ServiceEmailsOnPush) ToServiceEmailsOnPushOutput() ServiceEmailsOnPushOutput

func (*ServiceEmailsOnPush) ToServiceEmailsOnPushOutputWithContext added in v4.10.0

func (i *ServiceEmailsOnPush) ToServiceEmailsOnPushOutputWithContext(ctx context.Context) ServiceEmailsOnPushOutput

type ServiceEmailsOnPushArgs added in v4.10.0

type ServiceEmailsOnPushArgs struct {
	// Branches to send notifications for. Valid options are `all`, `default`, `protected`, `defaultAndProtected`. Notifications are always fired for tag pushes.
	BranchesToBeNotified pulumi.StringPtrInput
	// Disable code diffs.
	DisableDiffs pulumi.BoolPtrInput
	// ID or full-path of the project you want to activate integration on.
	Project pulumi.StringInput
	// Enable notifications for push events.
	PushEvents pulumi.BoolPtrInput
	// Emails separated by whitespace.
	Recipients pulumi.StringInput
	// Send from committer.
	SendFromCommitterEmail pulumi.BoolPtrInput
	// Enable notifications for tag push events.
	TagPushEvents pulumi.BoolPtrInput
}

The set of arguments for constructing a ServiceEmailsOnPush resource.

func (ServiceEmailsOnPushArgs) ElementType added in v4.10.0

func (ServiceEmailsOnPushArgs) ElementType() reflect.Type

type ServiceEmailsOnPushArray added in v4.10.0

type ServiceEmailsOnPushArray []ServiceEmailsOnPushInput

func (ServiceEmailsOnPushArray) ElementType added in v4.10.0

func (ServiceEmailsOnPushArray) ElementType() reflect.Type

func (ServiceEmailsOnPushArray) ToServiceEmailsOnPushArrayOutput added in v4.10.0

func (i ServiceEmailsOnPushArray) ToServiceEmailsOnPushArrayOutput() ServiceEmailsOnPushArrayOutput

func (ServiceEmailsOnPushArray) ToServiceEmailsOnPushArrayOutputWithContext added in v4.10.0

func (i ServiceEmailsOnPushArray) ToServiceEmailsOnPushArrayOutputWithContext(ctx context.Context) ServiceEmailsOnPushArrayOutput

type ServiceEmailsOnPushArrayInput added in v4.10.0

type ServiceEmailsOnPushArrayInput interface {
	pulumi.Input

	ToServiceEmailsOnPushArrayOutput() ServiceEmailsOnPushArrayOutput
	ToServiceEmailsOnPushArrayOutputWithContext(context.Context) ServiceEmailsOnPushArrayOutput
}

ServiceEmailsOnPushArrayInput is an input type that accepts ServiceEmailsOnPushArray and ServiceEmailsOnPushArrayOutput values. You can construct a concrete instance of `ServiceEmailsOnPushArrayInput` via:

ServiceEmailsOnPushArray{ ServiceEmailsOnPushArgs{...} }

type ServiceEmailsOnPushArrayOutput added in v4.10.0

type ServiceEmailsOnPushArrayOutput struct{ *pulumi.OutputState }

func (ServiceEmailsOnPushArrayOutput) ElementType added in v4.10.0

func (ServiceEmailsOnPushArrayOutput) Index added in v4.10.0

func (ServiceEmailsOnPushArrayOutput) ToServiceEmailsOnPushArrayOutput added in v4.10.0

func (o ServiceEmailsOnPushArrayOutput) ToServiceEmailsOnPushArrayOutput() ServiceEmailsOnPushArrayOutput

func (ServiceEmailsOnPushArrayOutput) ToServiceEmailsOnPushArrayOutputWithContext added in v4.10.0

func (o ServiceEmailsOnPushArrayOutput) ToServiceEmailsOnPushArrayOutputWithContext(ctx context.Context) ServiceEmailsOnPushArrayOutput

type ServiceEmailsOnPushInput added in v4.10.0

type ServiceEmailsOnPushInput interface {
	pulumi.Input

	ToServiceEmailsOnPushOutput() ServiceEmailsOnPushOutput
	ToServiceEmailsOnPushOutputWithContext(ctx context.Context) ServiceEmailsOnPushOutput
}

type ServiceEmailsOnPushMap added in v4.10.0

type ServiceEmailsOnPushMap map[string]ServiceEmailsOnPushInput

func (ServiceEmailsOnPushMap) ElementType added in v4.10.0

func (ServiceEmailsOnPushMap) ElementType() reflect.Type

func (ServiceEmailsOnPushMap) ToServiceEmailsOnPushMapOutput added in v4.10.0

func (i ServiceEmailsOnPushMap) ToServiceEmailsOnPushMapOutput() ServiceEmailsOnPushMapOutput

func (ServiceEmailsOnPushMap) ToServiceEmailsOnPushMapOutputWithContext added in v4.10.0

func (i ServiceEmailsOnPushMap) ToServiceEmailsOnPushMapOutputWithContext(ctx context.Context) ServiceEmailsOnPushMapOutput

type ServiceEmailsOnPushMapInput added in v4.10.0

type ServiceEmailsOnPushMapInput interface {
	pulumi.Input

	ToServiceEmailsOnPushMapOutput() ServiceEmailsOnPushMapOutput
	ToServiceEmailsOnPushMapOutputWithContext(context.Context) ServiceEmailsOnPushMapOutput
}

ServiceEmailsOnPushMapInput is an input type that accepts ServiceEmailsOnPushMap and ServiceEmailsOnPushMapOutput values. You can construct a concrete instance of `ServiceEmailsOnPushMapInput` via:

ServiceEmailsOnPushMap{ "key": ServiceEmailsOnPushArgs{...} }

type ServiceEmailsOnPushMapOutput added in v4.10.0

type ServiceEmailsOnPushMapOutput struct{ *pulumi.OutputState }

func (ServiceEmailsOnPushMapOutput) ElementType added in v4.10.0

func (ServiceEmailsOnPushMapOutput) MapIndex added in v4.10.0

func (ServiceEmailsOnPushMapOutput) ToServiceEmailsOnPushMapOutput added in v4.10.0

func (o ServiceEmailsOnPushMapOutput) ToServiceEmailsOnPushMapOutput() ServiceEmailsOnPushMapOutput

func (ServiceEmailsOnPushMapOutput) ToServiceEmailsOnPushMapOutputWithContext added in v4.10.0

func (o ServiceEmailsOnPushMapOutput) ToServiceEmailsOnPushMapOutputWithContext(ctx context.Context) ServiceEmailsOnPushMapOutput

type ServiceEmailsOnPushOutput added in v4.10.0

type ServiceEmailsOnPushOutput struct{ *pulumi.OutputState }

func (ServiceEmailsOnPushOutput) Active added in v4.10.0

Whether the integration is active.

func (ServiceEmailsOnPushOutput) BranchesToBeNotified added in v4.10.0

func (o ServiceEmailsOnPushOutput) BranchesToBeNotified() pulumi.StringPtrOutput

Branches to send notifications for. Valid options are `all`, `default`, `protected`, `defaultAndProtected`. Notifications are always fired for tag pushes.

func (ServiceEmailsOnPushOutput) CreatedAt added in v4.10.0

The ISO8601 date/time that this integration was activated at in UTC.

func (ServiceEmailsOnPushOutput) DisableDiffs added in v4.10.0

Disable code diffs.

func (ServiceEmailsOnPushOutput) ElementType added in v4.10.0

func (ServiceEmailsOnPushOutput) ElementType() reflect.Type

func (ServiceEmailsOnPushOutput) Project added in v4.10.0

ID or full-path of the project you want to activate integration on.

func (ServiceEmailsOnPushOutput) PushEvents added in v4.10.0

Enable notifications for push events.

func (ServiceEmailsOnPushOutput) Recipients added in v4.10.0

Emails separated by whitespace.

func (ServiceEmailsOnPushOutput) SendFromCommitterEmail added in v4.10.0

func (o ServiceEmailsOnPushOutput) SendFromCommitterEmail() pulumi.BoolPtrOutput

Send from committer.

func (ServiceEmailsOnPushOutput) Slug added in v4.10.0

The name of the integration in lowercase, shortened to 63 bytes, and with everything except 0-9 and a-z replaced with -. No leading / trailing -. Use in URLs, host names and domain names.

func (ServiceEmailsOnPushOutput) TagPushEvents added in v4.10.0

Enable notifications for tag push events.

func (ServiceEmailsOnPushOutput) Title added in v4.10.0

Title of the integration.

func (ServiceEmailsOnPushOutput) ToServiceEmailsOnPushOutput added in v4.10.0

func (o ServiceEmailsOnPushOutput) ToServiceEmailsOnPushOutput() ServiceEmailsOnPushOutput

func (ServiceEmailsOnPushOutput) ToServiceEmailsOnPushOutputWithContext added in v4.10.0

func (o ServiceEmailsOnPushOutput) ToServiceEmailsOnPushOutputWithContext(ctx context.Context) ServiceEmailsOnPushOutput

func (ServiceEmailsOnPushOutput) UpdatedAt added in v4.10.0

The ISO8601 date/time that this integration was last updated at in UTC.

type ServiceEmailsOnPushState added in v4.10.0

type ServiceEmailsOnPushState struct {
	// Whether the integration is active.
	Active pulumi.BoolPtrInput
	// Branches to send notifications for. Valid options are `all`, `default`, `protected`, `defaultAndProtected`. Notifications are always fired for tag pushes.
	BranchesToBeNotified pulumi.StringPtrInput
	// The ISO8601 date/time that this integration was activated at in UTC.
	CreatedAt pulumi.StringPtrInput
	// Disable code diffs.
	DisableDiffs pulumi.BoolPtrInput
	// ID or full-path of the project you want to activate integration on.
	Project pulumi.StringPtrInput
	// Enable notifications for push events.
	PushEvents pulumi.BoolPtrInput
	// Emails separated by whitespace.
	Recipients pulumi.StringPtrInput
	// Send from committer.
	SendFromCommitterEmail pulumi.BoolPtrInput
	// The name of the integration in lowercase, shortened to 63 bytes, and with everything except 0-9 and a-z replaced with -. No leading / trailing -. Use in URLs, host names and domain names.
	Slug pulumi.StringPtrInput
	// Enable notifications for tag push events.
	TagPushEvents pulumi.BoolPtrInput
	// Title of the integration.
	Title pulumi.StringPtrInput
	// The ISO8601 date/time that this integration was last updated at in UTC.
	UpdatedAt pulumi.StringPtrInput
}

func (ServiceEmailsOnPushState) ElementType added in v4.10.0

func (ServiceEmailsOnPushState) ElementType() reflect.Type

type ServiceExternalWiki added in v4.8.0

type ServiceExternalWiki struct {
	pulumi.CustomResourceState

	// Whether the integration is active.
	Active pulumi.BoolOutput `pulumi:"active"`
	// The ISO8601 date/time that this integration was activated at in UTC.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The URL of the external wiki.
	ExternalWikiUrl pulumi.StringOutput `pulumi:"externalWikiUrl"`
	// ID of the project you want to activate integration on.
	Project pulumi.StringOutput `pulumi:"project"`
	// The name of the integration in lowercase, shortened to 63 bytes, and with everything except 0-9 and a-z replaced with -. No leading / trailing -. Use in URLs, host names and domain names.
	Slug pulumi.StringOutput `pulumi:"slug"`
	// Title of the integration.
	Title pulumi.StringOutput `pulumi:"title"`
	// The ISO8601 date/time that this integration was last updated at in UTC.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
}

The `ServiceExternalWiki` resource allows to manage the lifecycle of a project integration with External Wiki Service.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/integrations.html#external-wiki)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		awesomeProject, err := gitlab.NewProject(ctx, "awesomeProject", &gitlab.ProjectArgs{
			Description:     pulumi.String("My awesome project."),
			VisibilityLevel: pulumi.String("public"),
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewServiceExternalWiki(ctx, "wiki", &gitlab.ServiceExternalWikiArgs{
			Project:         awesomeProject.ID(),
			ExternalWikiUrl: pulumi.String("https://MyAwesomeExternalWikiURL.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

You can import a gitlab_service_external_wiki state using the project ID, e.g.

```sh

$ pulumi import gitlab:index/serviceExternalWiki:ServiceExternalWiki wiki 1

```

func GetServiceExternalWiki added in v4.8.0

func GetServiceExternalWiki(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceExternalWikiState, opts ...pulumi.ResourceOption) (*ServiceExternalWiki, error)

GetServiceExternalWiki gets an existing ServiceExternalWiki resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewServiceExternalWiki added in v4.8.0

func NewServiceExternalWiki(ctx *pulumi.Context,
	name string, args *ServiceExternalWikiArgs, opts ...pulumi.ResourceOption) (*ServiceExternalWiki, error)

NewServiceExternalWiki registers a new resource with the given unique name, arguments, and options.

func (*ServiceExternalWiki) ElementType added in v4.8.0

func (*ServiceExternalWiki) ElementType() reflect.Type

func (*ServiceExternalWiki) ToServiceExternalWikiOutput added in v4.8.0

func (i *ServiceExternalWiki) ToServiceExternalWikiOutput() ServiceExternalWikiOutput

func (*ServiceExternalWiki) ToServiceExternalWikiOutputWithContext added in v4.8.0

func (i *ServiceExternalWiki) ToServiceExternalWikiOutputWithContext(ctx context.Context) ServiceExternalWikiOutput

type ServiceExternalWikiArgs added in v4.8.0

type ServiceExternalWikiArgs struct {
	// The URL of the external wiki.
	ExternalWikiUrl pulumi.StringInput
	// ID of the project you want to activate integration on.
	Project pulumi.StringInput
}

The set of arguments for constructing a ServiceExternalWiki resource.

func (ServiceExternalWikiArgs) ElementType added in v4.8.0

func (ServiceExternalWikiArgs) ElementType() reflect.Type

type ServiceExternalWikiArray added in v4.8.0

type ServiceExternalWikiArray []ServiceExternalWikiInput

func (ServiceExternalWikiArray) ElementType added in v4.8.0

func (ServiceExternalWikiArray) ElementType() reflect.Type

func (ServiceExternalWikiArray) ToServiceExternalWikiArrayOutput added in v4.8.0

func (i ServiceExternalWikiArray) ToServiceExternalWikiArrayOutput() ServiceExternalWikiArrayOutput

func (ServiceExternalWikiArray) ToServiceExternalWikiArrayOutputWithContext added in v4.8.0

func (i ServiceExternalWikiArray) ToServiceExternalWikiArrayOutputWithContext(ctx context.Context) ServiceExternalWikiArrayOutput

type ServiceExternalWikiArrayInput added in v4.8.0

type ServiceExternalWikiArrayInput interface {
	pulumi.Input

	ToServiceExternalWikiArrayOutput() ServiceExternalWikiArrayOutput
	ToServiceExternalWikiArrayOutputWithContext(context.Context) ServiceExternalWikiArrayOutput
}

ServiceExternalWikiArrayInput is an input type that accepts ServiceExternalWikiArray and ServiceExternalWikiArrayOutput values. You can construct a concrete instance of `ServiceExternalWikiArrayInput` via:

ServiceExternalWikiArray{ ServiceExternalWikiArgs{...} }

type ServiceExternalWikiArrayOutput added in v4.8.0

type ServiceExternalWikiArrayOutput struct{ *pulumi.OutputState }

func (ServiceExternalWikiArrayOutput) ElementType added in v4.8.0

func (ServiceExternalWikiArrayOutput) Index added in v4.8.0

func (ServiceExternalWikiArrayOutput) ToServiceExternalWikiArrayOutput added in v4.8.0

func (o ServiceExternalWikiArrayOutput) ToServiceExternalWikiArrayOutput() ServiceExternalWikiArrayOutput

func (ServiceExternalWikiArrayOutput) ToServiceExternalWikiArrayOutputWithContext added in v4.8.0

func (o ServiceExternalWikiArrayOutput) ToServiceExternalWikiArrayOutputWithContext(ctx context.Context) ServiceExternalWikiArrayOutput

type ServiceExternalWikiInput added in v4.8.0

type ServiceExternalWikiInput interface {
	pulumi.Input

	ToServiceExternalWikiOutput() ServiceExternalWikiOutput
	ToServiceExternalWikiOutputWithContext(ctx context.Context) ServiceExternalWikiOutput
}

type ServiceExternalWikiMap added in v4.8.0

type ServiceExternalWikiMap map[string]ServiceExternalWikiInput

func (ServiceExternalWikiMap) ElementType added in v4.8.0

func (ServiceExternalWikiMap) ElementType() reflect.Type

func (ServiceExternalWikiMap) ToServiceExternalWikiMapOutput added in v4.8.0

func (i ServiceExternalWikiMap) ToServiceExternalWikiMapOutput() ServiceExternalWikiMapOutput

func (ServiceExternalWikiMap) ToServiceExternalWikiMapOutputWithContext added in v4.8.0

func (i ServiceExternalWikiMap) ToServiceExternalWikiMapOutputWithContext(ctx context.Context) ServiceExternalWikiMapOutput

type ServiceExternalWikiMapInput added in v4.8.0

type ServiceExternalWikiMapInput interface {
	pulumi.Input

	ToServiceExternalWikiMapOutput() ServiceExternalWikiMapOutput
	ToServiceExternalWikiMapOutputWithContext(context.Context) ServiceExternalWikiMapOutput
}

ServiceExternalWikiMapInput is an input type that accepts ServiceExternalWikiMap and ServiceExternalWikiMapOutput values. You can construct a concrete instance of `ServiceExternalWikiMapInput` via:

ServiceExternalWikiMap{ "key": ServiceExternalWikiArgs{...} }

type ServiceExternalWikiMapOutput added in v4.8.0

type ServiceExternalWikiMapOutput struct{ *pulumi.OutputState }

func (ServiceExternalWikiMapOutput) ElementType added in v4.8.0

func (ServiceExternalWikiMapOutput) MapIndex added in v4.8.0

func (ServiceExternalWikiMapOutput) ToServiceExternalWikiMapOutput added in v4.8.0

func (o ServiceExternalWikiMapOutput) ToServiceExternalWikiMapOutput() ServiceExternalWikiMapOutput

func (ServiceExternalWikiMapOutput) ToServiceExternalWikiMapOutputWithContext added in v4.8.0

func (o ServiceExternalWikiMapOutput) ToServiceExternalWikiMapOutputWithContext(ctx context.Context) ServiceExternalWikiMapOutput

type ServiceExternalWikiOutput added in v4.8.0

type ServiceExternalWikiOutput struct{ *pulumi.OutputState }

func (ServiceExternalWikiOutput) Active added in v4.8.0

Whether the integration is active.

func (ServiceExternalWikiOutput) CreatedAt added in v4.8.0

The ISO8601 date/time that this integration was activated at in UTC.

func (ServiceExternalWikiOutput) ElementType added in v4.8.0

func (ServiceExternalWikiOutput) ElementType() reflect.Type

func (ServiceExternalWikiOutput) ExternalWikiUrl added in v4.8.0

func (o ServiceExternalWikiOutput) ExternalWikiUrl() pulumi.StringOutput

The URL of the external wiki.

func (ServiceExternalWikiOutput) Project added in v4.8.0

ID of the project you want to activate integration on.

func (ServiceExternalWikiOutput) Slug added in v4.8.0

The name of the integration in lowercase, shortened to 63 bytes, and with everything except 0-9 and a-z replaced with -. No leading / trailing -. Use in URLs, host names and domain names.

func (ServiceExternalWikiOutput) Title added in v4.8.0

Title of the integration.

func (ServiceExternalWikiOutput) ToServiceExternalWikiOutput added in v4.8.0

func (o ServiceExternalWikiOutput) ToServiceExternalWikiOutput() ServiceExternalWikiOutput

func (ServiceExternalWikiOutput) ToServiceExternalWikiOutputWithContext added in v4.8.0

func (o ServiceExternalWikiOutput) ToServiceExternalWikiOutputWithContext(ctx context.Context) ServiceExternalWikiOutput

func (ServiceExternalWikiOutput) UpdatedAt added in v4.8.0

The ISO8601 date/time that this integration was last updated at in UTC.

type ServiceExternalWikiState added in v4.8.0

type ServiceExternalWikiState struct {
	// Whether the integration is active.
	Active pulumi.BoolPtrInput
	// The ISO8601 date/time that this integration was activated at in UTC.
	CreatedAt pulumi.StringPtrInput
	// The URL of the external wiki.
	ExternalWikiUrl pulumi.StringPtrInput
	// ID of the project you want to activate integration on.
	Project pulumi.StringPtrInput
	// The name of the integration in lowercase, shortened to 63 bytes, and with everything except 0-9 and a-z replaced with -. No leading / trailing -. Use in URLs, host names and domain names.
	Slug pulumi.StringPtrInput
	// Title of the integration.
	Title pulumi.StringPtrInput
	// The ISO8601 date/time that this integration was last updated at in UTC.
	UpdatedAt pulumi.StringPtrInput
}

func (ServiceExternalWikiState) ElementType added in v4.8.0

func (ServiceExternalWikiState) ElementType() reflect.Type

type ServiceGithub

type ServiceGithub struct {
	pulumi.CustomResourceState

	// Whether the integration is active.
	Active pulumi.BoolOutput `pulumi:"active"`
	// Create time.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// ID of the project you want to activate integration on.
	Project pulumi.StringOutput `pulumi:"project"`
	// The URL of the GitHub repo to integrate with, e,g, https://github.com/gitlabhq/terraform-provider-gitlab.
	RepositoryUrl pulumi.StringOutput `pulumi:"repositoryUrl"`
	// Append instance name instead of branch to the status. Must enable to set a GitLab status check as *required* in GitHub. See [Static / dynamic status check names] to learn more.
	StaticContext pulumi.BoolPtrOutput `pulumi:"staticContext"`
	// Title.
	Title pulumi.StringOutput `pulumi:"title"`
	// A GitHub personal access token with at least `repo:status` scope.
	Token pulumi.StringOutput `pulumi:"token"`
	// Update time.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
}

The `ServiceGithub` resource allows to manage the lifecycle of a project integration with GitHub.

> This resource requires a GitLab Enterprise instance.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/integrations.html#github)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		awesomeProject, err := gitlab.NewProject(ctx, "awesomeProject", &gitlab.ProjectArgs{
			Description:     pulumi.String("My awesome project."),
			VisibilityLevel: pulumi.String("public"),
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewServiceGithub(ctx, "github", &gitlab.ServiceGithubArgs{
			Project:       awesomeProject.ID(),
			Token:         pulumi.String("REDACTED"),
			RepositoryUrl: pulumi.String("https://github.com/gitlabhq/terraform-provider-gitlab"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import gitlab:index/serviceGithub:ServiceGithub You can import a service_github state using `<resource> <project_id>`

```

```sh

$ pulumi import gitlab:index/serviceGithub:ServiceGithub github 1

```

func GetServiceGithub

func GetServiceGithub(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceGithubState, opts ...pulumi.ResourceOption) (*ServiceGithub, error)

GetServiceGithub gets an existing ServiceGithub resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewServiceGithub

func NewServiceGithub(ctx *pulumi.Context,
	name string, args *ServiceGithubArgs, opts ...pulumi.ResourceOption) (*ServiceGithub, error)

NewServiceGithub registers a new resource with the given unique name, arguments, and options.

func (*ServiceGithub) ElementType

func (*ServiceGithub) ElementType() reflect.Type

func (*ServiceGithub) ToServiceGithubOutput

func (i *ServiceGithub) ToServiceGithubOutput() ServiceGithubOutput

func (*ServiceGithub) ToServiceGithubOutputWithContext

func (i *ServiceGithub) ToServiceGithubOutputWithContext(ctx context.Context) ServiceGithubOutput

type ServiceGithubArgs

type ServiceGithubArgs struct {
	// ID of the project you want to activate integration on.
	Project pulumi.StringInput
	// The URL of the GitHub repo to integrate with, e,g, https://github.com/gitlabhq/terraform-provider-gitlab.
	RepositoryUrl pulumi.StringInput
	// Append instance name instead of branch to the status. Must enable to set a GitLab status check as *required* in GitHub. See [Static / dynamic status check names] to learn more.
	StaticContext pulumi.BoolPtrInput
	// A GitHub personal access token with at least `repo:status` scope.
	Token pulumi.StringInput
}

The set of arguments for constructing a ServiceGithub resource.

func (ServiceGithubArgs) ElementType

func (ServiceGithubArgs) ElementType() reflect.Type

type ServiceGithubArray

type ServiceGithubArray []ServiceGithubInput

func (ServiceGithubArray) ElementType

func (ServiceGithubArray) ElementType() reflect.Type

func (ServiceGithubArray) ToServiceGithubArrayOutput

func (i ServiceGithubArray) ToServiceGithubArrayOutput() ServiceGithubArrayOutput

func (ServiceGithubArray) ToServiceGithubArrayOutputWithContext

func (i ServiceGithubArray) ToServiceGithubArrayOutputWithContext(ctx context.Context) ServiceGithubArrayOutput

type ServiceGithubArrayInput

type ServiceGithubArrayInput interface {
	pulumi.Input

	ToServiceGithubArrayOutput() ServiceGithubArrayOutput
	ToServiceGithubArrayOutputWithContext(context.Context) ServiceGithubArrayOutput
}

ServiceGithubArrayInput is an input type that accepts ServiceGithubArray and ServiceGithubArrayOutput values. You can construct a concrete instance of `ServiceGithubArrayInput` via:

ServiceGithubArray{ ServiceGithubArgs{...} }

type ServiceGithubArrayOutput

type ServiceGithubArrayOutput struct{ *pulumi.OutputState }

func (ServiceGithubArrayOutput) ElementType

func (ServiceGithubArrayOutput) ElementType() reflect.Type

func (ServiceGithubArrayOutput) Index

func (ServiceGithubArrayOutput) ToServiceGithubArrayOutput

func (o ServiceGithubArrayOutput) ToServiceGithubArrayOutput() ServiceGithubArrayOutput

func (ServiceGithubArrayOutput) ToServiceGithubArrayOutputWithContext

func (o ServiceGithubArrayOutput) ToServiceGithubArrayOutputWithContext(ctx context.Context) ServiceGithubArrayOutput

type ServiceGithubInput

type ServiceGithubInput interface {
	pulumi.Input

	ToServiceGithubOutput() ServiceGithubOutput
	ToServiceGithubOutputWithContext(ctx context.Context) ServiceGithubOutput
}

type ServiceGithubMap

type ServiceGithubMap map[string]ServiceGithubInput

func (ServiceGithubMap) ElementType

func (ServiceGithubMap) ElementType() reflect.Type

func (ServiceGithubMap) ToServiceGithubMapOutput

func (i ServiceGithubMap) ToServiceGithubMapOutput() ServiceGithubMapOutput

func (ServiceGithubMap) ToServiceGithubMapOutputWithContext

func (i ServiceGithubMap) ToServiceGithubMapOutputWithContext(ctx context.Context) ServiceGithubMapOutput

type ServiceGithubMapInput

type ServiceGithubMapInput interface {
	pulumi.Input

	ToServiceGithubMapOutput() ServiceGithubMapOutput
	ToServiceGithubMapOutputWithContext(context.Context) ServiceGithubMapOutput
}

ServiceGithubMapInput is an input type that accepts ServiceGithubMap and ServiceGithubMapOutput values. You can construct a concrete instance of `ServiceGithubMapInput` via:

ServiceGithubMap{ "key": ServiceGithubArgs{...} }

type ServiceGithubMapOutput

type ServiceGithubMapOutput struct{ *pulumi.OutputState }

func (ServiceGithubMapOutput) ElementType

func (ServiceGithubMapOutput) ElementType() reflect.Type

func (ServiceGithubMapOutput) MapIndex

func (ServiceGithubMapOutput) ToServiceGithubMapOutput

func (o ServiceGithubMapOutput) ToServiceGithubMapOutput() ServiceGithubMapOutput

func (ServiceGithubMapOutput) ToServiceGithubMapOutputWithContext

func (o ServiceGithubMapOutput) ToServiceGithubMapOutputWithContext(ctx context.Context) ServiceGithubMapOutput

type ServiceGithubOutput

type ServiceGithubOutput struct{ *pulumi.OutputState }

func (ServiceGithubOutput) Active added in v4.7.1

Whether the integration is active.

func (ServiceGithubOutput) CreatedAt added in v4.7.1

func (o ServiceGithubOutput) CreatedAt() pulumi.StringOutput

Create time.

func (ServiceGithubOutput) ElementType

func (ServiceGithubOutput) ElementType() reflect.Type

func (ServiceGithubOutput) Project added in v4.7.1

ID of the project you want to activate integration on.

func (ServiceGithubOutput) RepositoryUrl added in v4.7.1

func (o ServiceGithubOutput) RepositoryUrl() pulumi.StringOutput

The URL of the GitHub repo to integrate with, e,g, https://github.com/gitlabhq/terraform-provider-gitlab.

func (ServiceGithubOutput) StaticContext added in v4.7.1

func (o ServiceGithubOutput) StaticContext() pulumi.BoolPtrOutput

Append instance name instead of branch to the status. Must enable to set a GitLab status check as *required* in GitHub. See [Static / dynamic status check names] to learn more.

func (ServiceGithubOutput) Title added in v4.7.1

Title.

func (ServiceGithubOutput) ToServiceGithubOutput

func (o ServiceGithubOutput) ToServiceGithubOutput() ServiceGithubOutput

func (ServiceGithubOutput) ToServiceGithubOutputWithContext

func (o ServiceGithubOutput) ToServiceGithubOutputWithContext(ctx context.Context) ServiceGithubOutput

func (ServiceGithubOutput) Token added in v4.7.1

A GitHub personal access token with at least `repo:status` scope.

func (ServiceGithubOutput) UpdatedAt added in v4.7.1

func (o ServiceGithubOutput) UpdatedAt() pulumi.StringOutput

Update time.

type ServiceGithubState

type ServiceGithubState struct {
	// Whether the integration is active.
	Active pulumi.BoolPtrInput
	// Create time.
	CreatedAt pulumi.StringPtrInput
	// ID of the project you want to activate integration on.
	Project pulumi.StringPtrInput
	// The URL of the GitHub repo to integrate with, e,g, https://github.com/gitlabhq/terraform-provider-gitlab.
	RepositoryUrl pulumi.StringPtrInput
	// Append instance name instead of branch to the status. Must enable to set a GitLab status check as *required* in GitHub. See [Static / dynamic status check names] to learn more.
	StaticContext pulumi.BoolPtrInput
	// Title.
	Title pulumi.StringPtrInput
	// A GitHub personal access token with at least `repo:status` scope.
	Token pulumi.StringPtrInput
	// Update time.
	UpdatedAt pulumi.StringPtrInput
}

func (ServiceGithubState) ElementType

func (ServiceGithubState) ElementType() reflect.Type

type ServiceJira

type ServiceJira struct {
	pulumi.CustomResourceState

	// Whether the integration is active.
	Active pulumi.BoolOutput `pulumi:"active"`
	// The base URL to the Jira instance API. Web URL value is used if not set. For example, https://jira-api.example.com.
	ApiUrl pulumi.StringOutput `pulumi:"apiUrl"`
	// Enable comments inside Jira issues on each GitLab event (commit / merge request)
	CommentOnEventEnabled pulumi.BoolOutput `pulumi:"commentOnEventEnabled"`
	// Enable notifications for commit events
	CommitEvents pulumi.BoolOutput `pulumi:"commitEvents"`
	// Create time.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// Enable notifications for issues events.
	IssuesEvents pulumi.BoolOutput `pulumi:"issuesEvents"`
	// The ID of a transition that moves issues to a closed state. You can find this number under the JIRA workflow administration (Administration > Issues > Workflows) by selecting View under Operations of the desired workflow of your project. By default, this ID is set to 2. *Note**: importing this field is only supported since GitLab 15.2.
	JiraIssueTransitionId pulumi.StringPtrOutput `pulumi:"jiraIssueTransitionId"`
	// Enable notifications for job events.
	JobEvents pulumi.BoolOutput `pulumi:"jobEvents"`
	// Enable notifications for merge request events
	MergeRequestsEvents pulumi.BoolOutput `pulumi:"mergeRequestsEvents"`
	// Enable notifications for note events.
	NoteEvents pulumi.BoolOutput `pulumi:"noteEvents"`
	// The password of the user created to be used with GitLab/JIRA.
	Password pulumi.StringOutput `pulumi:"password"`
	// Enable notifications for pipeline events.
	PipelineEvents pulumi.BoolOutput `pulumi:"pipelineEvents"`
	// ID of the project you want to activate integration on.
	Project pulumi.StringOutput `pulumi:"project"`
	// The short identifier for your JIRA project, all uppercase, e.g., PROJ.
	ProjectKey pulumi.StringPtrOutput `pulumi:"projectKey"`
	// Enable notifications for push events.
	PushEvents pulumi.BoolOutput `pulumi:"pushEvents"`
	// Enable notifications for tagPush events.
	TagPushEvents pulumi.BoolOutput `pulumi:"tagPushEvents"`
	// Title.
	Title pulumi.StringOutput `pulumi:"title"`
	// Update time.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
	// The URL to the JIRA project which is being linked to this GitLab project. For example, https://jira.example.com.
	Url pulumi.StringOutput `pulumi:"url"`
	// The username of the user created to be used with GitLab/JIRA.
	Username pulumi.StringOutput `pulumi:"username"`
}

The `ServiceJira` resource allows to manage the lifecycle of a project integration with Jira.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/services.html#jira)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		awesomeProject, err := gitlab.NewProject(ctx, "awesomeProject", &gitlab.ProjectArgs{
			Description:     pulumi.String("My awesome project."),
			VisibilityLevel: pulumi.String("public"),
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewServiceJira(ctx, "jira", &gitlab.ServiceJiraArgs{
			Project:  awesomeProject.ID(),
			Url:      pulumi.String("https://jira.example.com"),
			Username: pulumi.String("user"),
			Password: pulumi.String("mypass"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

You can import a service_jira state using the project ID, e.g.

```sh

$ pulumi import gitlab:index/serviceJira:ServiceJira jira 1

```

func GetServiceJira

func GetServiceJira(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceJiraState, opts ...pulumi.ResourceOption) (*ServiceJira, error)

GetServiceJira gets an existing ServiceJira resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewServiceJira

func NewServiceJira(ctx *pulumi.Context,
	name string, args *ServiceJiraArgs, opts ...pulumi.ResourceOption) (*ServiceJira, error)

NewServiceJira registers a new resource with the given unique name, arguments, and options.

func (*ServiceJira) ElementType

func (*ServiceJira) ElementType() reflect.Type

func (*ServiceJira) ToServiceJiraOutput

func (i *ServiceJira) ToServiceJiraOutput() ServiceJiraOutput

func (*ServiceJira) ToServiceJiraOutputWithContext

func (i *ServiceJira) ToServiceJiraOutputWithContext(ctx context.Context) ServiceJiraOutput

type ServiceJiraArgs

type ServiceJiraArgs struct {
	// The base URL to the Jira instance API. Web URL value is used if not set. For example, https://jira-api.example.com.
	ApiUrl pulumi.StringPtrInput
	// Enable comments inside Jira issues on each GitLab event (commit / merge request)
	CommentOnEventEnabled pulumi.BoolPtrInput
	// Enable notifications for commit events
	CommitEvents pulumi.BoolPtrInput
	// Enable notifications for issues events.
	IssuesEvents pulumi.BoolPtrInput
	// The ID of a transition that moves issues to a closed state. You can find this number under the JIRA workflow administration (Administration > Issues > Workflows) by selecting View under Operations of the desired workflow of your project. By default, this ID is set to 2. *Note**: importing this field is only supported since GitLab 15.2.
	JiraIssueTransitionId pulumi.StringPtrInput
	// Enable notifications for job events.
	JobEvents pulumi.BoolPtrInput
	// Enable notifications for merge request events
	MergeRequestsEvents pulumi.BoolPtrInput
	// Enable notifications for note events.
	NoteEvents pulumi.BoolPtrInput
	// The password of the user created to be used with GitLab/JIRA.
	Password pulumi.StringInput
	// Enable notifications for pipeline events.
	PipelineEvents pulumi.BoolPtrInput
	// ID of the project you want to activate integration on.
	Project pulumi.StringInput
	// The short identifier for your JIRA project, all uppercase, e.g., PROJ.
	ProjectKey pulumi.StringPtrInput
	// Enable notifications for push events.
	PushEvents pulumi.BoolPtrInput
	// Enable notifications for tagPush events.
	TagPushEvents pulumi.BoolPtrInput
	// The URL to the JIRA project which is being linked to this GitLab project. For example, https://jira.example.com.
	Url pulumi.StringInput
	// The username of the user created to be used with GitLab/JIRA.
	Username pulumi.StringInput
}

The set of arguments for constructing a ServiceJira resource.

func (ServiceJiraArgs) ElementType

func (ServiceJiraArgs) ElementType() reflect.Type

type ServiceJiraArray

type ServiceJiraArray []ServiceJiraInput

func (ServiceJiraArray) ElementType

func (ServiceJiraArray) ElementType() reflect.Type

func (ServiceJiraArray) ToServiceJiraArrayOutput

func (i ServiceJiraArray) ToServiceJiraArrayOutput() ServiceJiraArrayOutput

func (ServiceJiraArray) ToServiceJiraArrayOutputWithContext

func (i ServiceJiraArray) ToServiceJiraArrayOutputWithContext(ctx context.Context) ServiceJiraArrayOutput

type ServiceJiraArrayInput

type ServiceJiraArrayInput interface {
	pulumi.Input

	ToServiceJiraArrayOutput() ServiceJiraArrayOutput
	ToServiceJiraArrayOutputWithContext(context.Context) ServiceJiraArrayOutput
}

ServiceJiraArrayInput is an input type that accepts ServiceJiraArray and ServiceJiraArrayOutput values. You can construct a concrete instance of `ServiceJiraArrayInput` via:

ServiceJiraArray{ ServiceJiraArgs{...} }

type ServiceJiraArrayOutput

type ServiceJiraArrayOutput struct{ *pulumi.OutputState }

func (ServiceJiraArrayOutput) ElementType

func (ServiceJiraArrayOutput) ElementType() reflect.Type

func (ServiceJiraArrayOutput) Index

func (ServiceJiraArrayOutput) ToServiceJiraArrayOutput

func (o ServiceJiraArrayOutput) ToServiceJiraArrayOutput() ServiceJiraArrayOutput

func (ServiceJiraArrayOutput) ToServiceJiraArrayOutputWithContext

func (o ServiceJiraArrayOutput) ToServiceJiraArrayOutputWithContext(ctx context.Context) ServiceJiraArrayOutput

type ServiceJiraInput

type ServiceJiraInput interface {
	pulumi.Input

	ToServiceJiraOutput() ServiceJiraOutput
	ToServiceJiraOutputWithContext(ctx context.Context) ServiceJiraOutput
}

type ServiceJiraMap

type ServiceJiraMap map[string]ServiceJiraInput

func (ServiceJiraMap) ElementType

func (ServiceJiraMap) ElementType() reflect.Type

func (ServiceJiraMap) ToServiceJiraMapOutput

func (i ServiceJiraMap) ToServiceJiraMapOutput() ServiceJiraMapOutput

func (ServiceJiraMap) ToServiceJiraMapOutputWithContext

func (i ServiceJiraMap) ToServiceJiraMapOutputWithContext(ctx context.Context) ServiceJiraMapOutput

type ServiceJiraMapInput

type ServiceJiraMapInput interface {
	pulumi.Input

	ToServiceJiraMapOutput() ServiceJiraMapOutput
	ToServiceJiraMapOutputWithContext(context.Context) ServiceJiraMapOutput
}

ServiceJiraMapInput is an input type that accepts ServiceJiraMap and ServiceJiraMapOutput values. You can construct a concrete instance of `ServiceJiraMapInput` via:

ServiceJiraMap{ "key": ServiceJiraArgs{...} }

type ServiceJiraMapOutput

type ServiceJiraMapOutput struct{ *pulumi.OutputState }

func (ServiceJiraMapOutput) ElementType

func (ServiceJiraMapOutput) ElementType() reflect.Type

func (ServiceJiraMapOutput) MapIndex

func (ServiceJiraMapOutput) ToServiceJiraMapOutput

func (o ServiceJiraMapOutput) ToServiceJiraMapOutput() ServiceJiraMapOutput

func (ServiceJiraMapOutput) ToServiceJiraMapOutputWithContext

func (o ServiceJiraMapOutput) ToServiceJiraMapOutputWithContext(ctx context.Context) ServiceJiraMapOutput

type ServiceJiraOutput

type ServiceJiraOutput struct{ *pulumi.OutputState }

func (ServiceJiraOutput) Active added in v4.7.1

func (o ServiceJiraOutput) Active() pulumi.BoolOutput

Whether the integration is active.

func (ServiceJiraOutput) ApiUrl added in v4.7.1

The base URL to the Jira instance API. Web URL value is used if not set. For example, https://jira-api.example.com.

func (ServiceJiraOutput) CommentOnEventEnabled added in v4.7.1

func (o ServiceJiraOutput) CommentOnEventEnabled() pulumi.BoolOutput

Enable comments inside Jira issues on each GitLab event (commit / merge request)

func (ServiceJiraOutput) CommitEvents added in v4.7.1

func (o ServiceJiraOutput) CommitEvents() pulumi.BoolOutput

Enable notifications for commit events

func (ServiceJiraOutput) CreatedAt added in v4.7.1

func (o ServiceJiraOutput) CreatedAt() pulumi.StringOutput

Create time.

func (ServiceJiraOutput) ElementType

func (ServiceJiraOutput) ElementType() reflect.Type

func (ServiceJiraOutput) IssuesEvents added in v4.7.1

func (o ServiceJiraOutput) IssuesEvents() pulumi.BoolOutput

Enable notifications for issues events.

func (ServiceJiraOutput) JiraIssueTransitionId added in v4.7.1

func (o ServiceJiraOutput) JiraIssueTransitionId() pulumi.StringPtrOutput

The ID of a transition that moves issues to a closed state. You can find this number under the JIRA workflow administration (Administration > Issues > Workflows) by selecting View under Operations of the desired workflow of your project. By default, this ID is set to 2. *Note**: importing this field is only supported since GitLab 15.2.

func (ServiceJiraOutput) JobEvents added in v4.7.1

func (o ServiceJiraOutput) JobEvents() pulumi.BoolOutput

Enable notifications for job events.

func (ServiceJiraOutput) MergeRequestsEvents added in v4.7.1

func (o ServiceJiraOutput) MergeRequestsEvents() pulumi.BoolOutput

Enable notifications for merge request events

func (ServiceJiraOutput) NoteEvents added in v4.7.1

func (o ServiceJiraOutput) NoteEvents() pulumi.BoolOutput

Enable notifications for note events.

func (ServiceJiraOutput) Password added in v4.7.1

func (o ServiceJiraOutput) Password() pulumi.StringOutput

The password of the user created to be used with GitLab/JIRA.

func (ServiceJiraOutput) PipelineEvents added in v4.7.1

func (o ServiceJiraOutput) PipelineEvents() pulumi.BoolOutput

Enable notifications for pipeline events.

func (ServiceJiraOutput) Project added in v4.7.1

ID of the project you want to activate integration on.

func (ServiceJiraOutput) ProjectKey added in v4.7.1

func (o ServiceJiraOutput) ProjectKey() pulumi.StringPtrOutput

The short identifier for your JIRA project, all uppercase, e.g., PROJ.

func (ServiceJiraOutput) PushEvents added in v4.7.1

func (o ServiceJiraOutput) PushEvents() pulumi.BoolOutput

Enable notifications for push events.

func (ServiceJiraOutput) TagPushEvents added in v4.7.1

func (o ServiceJiraOutput) TagPushEvents() pulumi.BoolOutput

Enable notifications for tagPush events.

func (ServiceJiraOutput) Title added in v4.7.1

Title.

func (ServiceJiraOutput) ToServiceJiraOutput

func (o ServiceJiraOutput) ToServiceJiraOutput() ServiceJiraOutput

func (ServiceJiraOutput) ToServiceJiraOutputWithContext

func (o ServiceJiraOutput) ToServiceJiraOutputWithContext(ctx context.Context) ServiceJiraOutput

func (ServiceJiraOutput) UpdatedAt added in v4.7.1

func (o ServiceJiraOutput) UpdatedAt() pulumi.StringOutput

Update time.

func (ServiceJiraOutput) Url added in v4.7.1

The URL to the JIRA project which is being linked to this GitLab project. For example, https://jira.example.com.

func (ServiceJiraOutput) Username added in v4.7.1

func (o ServiceJiraOutput) Username() pulumi.StringOutput

The username of the user created to be used with GitLab/JIRA.

type ServiceJiraState

type ServiceJiraState struct {
	// Whether the integration is active.
	Active pulumi.BoolPtrInput
	// The base URL to the Jira instance API. Web URL value is used if not set. For example, https://jira-api.example.com.
	ApiUrl pulumi.StringPtrInput
	// Enable comments inside Jira issues on each GitLab event (commit / merge request)
	CommentOnEventEnabled pulumi.BoolPtrInput
	// Enable notifications for commit events
	CommitEvents pulumi.BoolPtrInput
	// Create time.
	CreatedAt pulumi.StringPtrInput
	// Enable notifications for issues events.
	IssuesEvents pulumi.BoolPtrInput
	// The ID of a transition that moves issues to a closed state. You can find this number under the JIRA workflow administration (Administration > Issues > Workflows) by selecting View under Operations of the desired workflow of your project. By default, this ID is set to 2. *Note**: importing this field is only supported since GitLab 15.2.
	JiraIssueTransitionId pulumi.StringPtrInput
	// Enable notifications for job events.
	JobEvents pulumi.BoolPtrInput
	// Enable notifications for merge request events
	MergeRequestsEvents pulumi.BoolPtrInput
	// Enable notifications for note events.
	NoteEvents pulumi.BoolPtrInput
	// The password of the user created to be used with GitLab/JIRA.
	Password pulumi.StringPtrInput
	// Enable notifications for pipeline events.
	PipelineEvents pulumi.BoolPtrInput
	// ID of the project you want to activate integration on.
	Project pulumi.StringPtrInput
	// The short identifier for your JIRA project, all uppercase, e.g., PROJ.
	ProjectKey pulumi.StringPtrInput
	// Enable notifications for push events.
	PushEvents pulumi.BoolPtrInput
	// Enable notifications for tagPush events.
	TagPushEvents pulumi.BoolPtrInput
	// Title.
	Title pulumi.StringPtrInput
	// Update time.
	UpdatedAt pulumi.StringPtrInput
	// The URL to the JIRA project which is being linked to this GitLab project. For example, https://jira.example.com.
	Url pulumi.StringPtrInput
	// The username of the user created to be used with GitLab/JIRA.
	Username pulumi.StringPtrInput
}

func (ServiceJiraState) ElementType

func (ServiceJiraState) ElementType() reflect.Type

type ServiceMicrosoftTeams added in v4.5.0

type ServiceMicrosoftTeams struct {
	pulumi.CustomResourceState

	// Whether the integration is active.
	Active pulumi.BoolOutput `pulumi:"active"`
	// Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “default*and*protected”. The default value is “default”
	BranchesToBeNotified pulumi.StringPtrOutput `pulumi:"branchesToBeNotified"`
	// Enable notifications for confidential issue events
	ConfidentialIssuesEvents pulumi.BoolPtrOutput `pulumi:"confidentialIssuesEvents"`
	// Enable notifications for confidential note events
	ConfidentialNoteEvents pulumi.BoolPtrOutput `pulumi:"confidentialNoteEvents"`
	// Create time.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// Enable notifications for issue events
	IssuesEvents pulumi.BoolPtrOutput `pulumi:"issuesEvents"`
	// Enable notifications for merge request events
	MergeRequestsEvents pulumi.BoolPtrOutput `pulumi:"mergeRequestsEvents"`
	// Enable notifications for note events
	NoteEvents pulumi.BoolPtrOutput `pulumi:"noteEvents"`
	// Send notifications for broken pipelines
	NotifyOnlyBrokenPipelines pulumi.BoolPtrOutput `pulumi:"notifyOnlyBrokenPipelines"`
	// Enable notifications for pipeline events
	PipelineEvents pulumi.BoolPtrOutput `pulumi:"pipelineEvents"`
	// ID of the project you want to activate integration on.
	Project pulumi.StringOutput `pulumi:"project"`
	// Enable notifications for push events
	PushEvents pulumi.BoolPtrOutput `pulumi:"pushEvents"`
	// Enable notifications for tag push events
	TagPushEvents pulumi.BoolPtrOutput `pulumi:"tagPushEvents"`
	// Update time.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
	// The Microsoft Teams webhook. For example, https://outlook.office.com/webhook/...
	Webhook pulumi.StringOutput `pulumi:"webhook"`
	// Enable notifications for wiki page events
	WikiPageEvents pulumi.BoolPtrOutput `pulumi:"wikiPageEvents"`
}

The `ServiceMicrosoftTeams` resource allows to manage the lifecycle of a project integration with Microsoft Teams.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/integrations.html#microsoft-teams)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		awesomeProject, err := gitlab.NewProject(ctx, "awesomeProject", &gitlab.ProjectArgs{
			Description:     pulumi.String("My awesome project."),
			VisibilityLevel: pulumi.String("public"),
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewServiceMicrosoftTeams(ctx, "teams", &gitlab.ServiceMicrosoftTeamsArgs{
			Project:    awesomeProject.ID(),
			Webhook:    pulumi.String("https://testurl.com/?token=XYZ"),
			PushEvents: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

You can import a service_microsoft_teams state using the project ID, e.g.

```sh

$ pulumi import gitlab:index/serviceMicrosoftTeams:ServiceMicrosoftTeams teams 1

```

func GetServiceMicrosoftTeams added in v4.5.0

func GetServiceMicrosoftTeams(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceMicrosoftTeamsState, opts ...pulumi.ResourceOption) (*ServiceMicrosoftTeams, error)

GetServiceMicrosoftTeams gets an existing ServiceMicrosoftTeams resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewServiceMicrosoftTeams added in v4.5.0

func NewServiceMicrosoftTeams(ctx *pulumi.Context,
	name string, args *ServiceMicrosoftTeamsArgs, opts ...pulumi.ResourceOption) (*ServiceMicrosoftTeams, error)

NewServiceMicrosoftTeams registers a new resource with the given unique name, arguments, and options.

func (*ServiceMicrosoftTeams) ElementType added in v4.5.0

func (*ServiceMicrosoftTeams) ElementType() reflect.Type

func (*ServiceMicrosoftTeams) ToServiceMicrosoftTeamsOutput added in v4.5.0

func (i *ServiceMicrosoftTeams) ToServiceMicrosoftTeamsOutput() ServiceMicrosoftTeamsOutput

func (*ServiceMicrosoftTeams) ToServiceMicrosoftTeamsOutputWithContext added in v4.5.0

func (i *ServiceMicrosoftTeams) ToServiceMicrosoftTeamsOutputWithContext(ctx context.Context) ServiceMicrosoftTeamsOutput

type ServiceMicrosoftTeamsArgs added in v4.5.0

type ServiceMicrosoftTeamsArgs struct {
	// Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “default*and*protected”. The default value is “default”
	BranchesToBeNotified pulumi.StringPtrInput
	// Enable notifications for confidential issue events
	ConfidentialIssuesEvents pulumi.BoolPtrInput
	// Enable notifications for confidential note events
	ConfidentialNoteEvents pulumi.BoolPtrInput
	// Enable notifications for issue events
	IssuesEvents pulumi.BoolPtrInput
	// Enable notifications for merge request events
	MergeRequestsEvents pulumi.BoolPtrInput
	// Enable notifications for note events
	NoteEvents pulumi.BoolPtrInput
	// Send notifications for broken pipelines
	NotifyOnlyBrokenPipelines pulumi.BoolPtrInput
	// Enable notifications for pipeline events
	PipelineEvents pulumi.BoolPtrInput
	// ID of the project you want to activate integration on.
	Project pulumi.StringInput
	// Enable notifications for push events
	PushEvents pulumi.BoolPtrInput
	// Enable notifications for tag push events
	TagPushEvents pulumi.BoolPtrInput
	// The Microsoft Teams webhook. For example, https://outlook.office.com/webhook/...
	Webhook pulumi.StringInput
	// Enable notifications for wiki page events
	WikiPageEvents pulumi.BoolPtrInput
}

The set of arguments for constructing a ServiceMicrosoftTeams resource.

func (ServiceMicrosoftTeamsArgs) ElementType added in v4.5.0

func (ServiceMicrosoftTeamsArgs) ElementType() reflect.Type

type ServiceMicrosoftTeamsArray added in v4.5.0

type ServiceMicrosoftTeamsArray []ServiceMicrosoftTeamsInput

func (ServiceMicrosoftTeamsArray) ElementType added in v4.5.0

func (ServiceMicrosoftTeamsArray) ElementType() reflect.Type

func (ServiceMicrosoftTeamsArray) ToServiceMicrosoftTeamsArrayOutput added in v4.5.0

func (i ServiceMicrosoftTeamsArray) ToServiceMicrosoftTeamsArrayOutput() ServiceMicrosoftTeamsArrayOutput

func (ServiceMicrosoftTeamsArray) ToServiceMicrosoftTeamsArrayOutputWithContext added in v4.5.0

func (i ServiceMicrosoftTeamsArray) ToServiceMicrosoftTeamsArrayOutputWithContext(ctx context.Context) ServiceMicrosoftTeamsArrayOutput

type ServiceMicrosoftTeamsArrayInput added in v4.5.0

type ServiceMicrosoftTeamsArrayInput interface {
	pulumi.Input

	ToServiceMicrosoftTeamsArrayOutput() ServiceMicrosoftTeamsArrayOutput
	ToServiceMicrosoftTeamsArrayOutputWithContext(context.Context) ServiceMicrosoftTeamsArrayOutput
}

ServiceMicrosoftTeamsArrayInput is an input type that accepts ServiceMicrosoftTeamsArray and ServiceMicrosoftTeamsArrayOutput values. You can construct a concrete instance of `ServiceMicrosoftTeamsArrayInput` via:

ServiceMicrosoftTeamsArray{ ServiceMicrosoftTeamsArgs{...} }

type ServiceMicrosoftTeamsArrayOutput added in v4.5.0

type ServiceMicrosoftTeamsArrayOutput struct{ *pulumi.OutputState }

func (ServiceMicrosoftTeamsArrayOutput) ElementType added in v4.5.0

func (ServiceMicrosoftTeamsArrayOutput) Index added in v4.5.0

func (ServiceMicrosoftTeamsArrayOutput) ToServiceMicrosoftTeamsArrayOutput added in v4.5.0

func (o ServiceMicrosoftTeamsArrayOutput) ToServiceMicrosoftTeamsArrayOutput() ServiceMicrosoftTeamsArrayOutput

func (ServiceMicrosoftTeamsArrayOutput) ToServiceMicrosoftTeamsArrayOutputWithContext added in v4.5.0

func (o ServiceMicrosoftTeamsArrayOutput) ToServiceMicrosoftTeamsArrayOutputWithContext(ctx context.Context) ServiceMicrosoftTeamsArrayOutput

type ServiceMicrosoftTeamsInput added in v4.5.0

type ServiceMicrosoftTeamsInput interface {
	pulumi.Input

	ToServiceMicrosoftTeamsOutput() ServiceMicrosoftTeamsOutput
	ToServiceMicrosoftTeamsOutputWithContext(ctx context.Context) ServiceMicrosoftTeamsOutput
}

type ServiceMicrosoftTeamsMap added in v4.5.0

type ServiceMicrosoftTeamsMap map[string]ServiceMicrosoftTeamsInput

func (ServiceMicrosoftTeamsMap) ElementType added in v4.5.0

func (ServiceMicrosoftTeamsMap) ElementType() reflect.Type

func (ServiceMicrosoftTeamsMap) ToServiceMicrosoftTeamsMapOutput added in v4.5.0

func (i ServiceMicrosoftTeamsMap) ToServiceMicrosoftTeamsMapOutput() ServiceMicrosoftTeamsMapOutput

func (ServiceMicrosoftTeamsMap) ToServiceMicrosoftTeamsMapOutputWithContext added in v4.5.0

func (i ServiceMicrosoftTeamsMap) ToServiceMicrosoftTeamsMapOutputWithContext(ctx context.Context) ServiceMicrosoftTeamsMapOutput

type ServiceMicrosoftTeamsMapInput added in v4.5.0

type ServiceMicrosoftTeamsMapInput interface {
	pulumi.Input

	ToServiceMicrosoftTeamsMapOutput() ServiceMicrosoftTeamsMapOutput
	ToServiceMicrosoftTeamsMapOutputWithContext(context.Context) ServiceMicrosoftTeamsMapOutput
}

ServiceMicrosoftTeamsMapInput is an input type that accepts ServiceMicrosoftTeamsMap and ServiceMicrosoftTeamsMapOutput values. You can construct a concrete instance of `ServiceMicrosoftTeamsMapInput` via:

ServiceMicrosoftTeamsMap{ "key": ServiceMicrosoftTeamsArgs{...} }

type ServiceMicrosoftTeamsMapOutput added in v4.5.0

type ServiceMicrosoftTeamsMapOutput struct{ *pulumi.OutputState }

func (ServiceMicrosoftTeamsMapOutput) ElementType added in v4.5.0

func (ServiceMicrosoftTeamsMapOutput) MapIndex added in v4.5.0

func (ServiceMicrosoftTeamsMapOutput) ToServiceMicrosoftTeamsMapOutput added in v4.5.0

func (o ServiceMicrosoftTeamsMapOutput) ToServiceMicrosoftTeamsMapOutput() ServiceMicrosoftTeamsMapOutput

func (ServiceMicrosoftTeamsMapOutput) ToServiceMicrosoftTeamsMapOutputWithContext added in v4.5.0

func (o ServiceMicrosoftTeamsMapOutput) ToServiceMicrosoftTeamsMapOutputWithContext(ctx context.Context) ServiceMicrosoftTeamsMapOutput

type ServiceMicrosoftTeamsOutput added in v4.5.0

type ServiceMicrosoftTeamsOutput struct{ *pulumi.OutputState }

func (ServiceMicrosoftTeamsOutput) Active added in v4.7.1

Whether the integration is active.

func (ServiceMicrosoftTeamsOutput) BranchesToBeNotified added in v4.7.1

func (o ServiceMicrosoftTeamsOutput) BranchesToBeNotified() pulumi.StringPtrOutput

Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “default*and*protected”. The default value is “default”

func (ServiceMicrosoftTeamsOutput) ConfidentialIssuesEvents added in v4.7.1

func (o ServiceMicrosoftTeamsOutput) ConfidentialIssuesEvents() pulumi.BoolPtrOutput

Enable notifications for confidential issue events

func (ServiceMicrosoftTeamsOutput) ConfidentialNoteEvents added in v4.7.1

func (o ServiceMicrosoftTeamsOutput) ConfidentialNoteEvents() pulumi.BoolPtrOutput

Enable notifications for confidential note events

func (ServiceMicrosoftTeamsOutput) CreatedAt added in v4.7.1

Create time.

func (ServiceMicrosoftTeamsOutput) ElementType added in v4.5.0

func (ServiceMicrosoftTeamsOutput) IssuesEvents added in v4.7.1

Enable notifications for issue events

func (ServiceMicrosoftTeamsOutput) MergeRequestsEvents added in v4.7.1

func (o ServiceMicrosoftTeamsOutput) MergeRequestsEvents() pulumi.BoolPtrOutput

Enable notifications for merge request events

func (ServiceMicrosoftTeamsOutput) NoteEvents added in v4.7.1

Enable notifications for note events

func (ServiceMicrosoftTeamsOutput) NotifyOnlyBrokenPipelines added in v4.7.1

func (o ServiceMicrosoftTeamsOutput) NotifyOnlyBrokenPipelines() pulumi.BoolPtrOutput

Send notifications for broken pipelines

func (ServiceMicrosoftTeamsOutput) PipelineEvents added in v4.7.1

Enable notifications for pipeline events

func (ServiceMicrosoftTeamsOutput) Project added in v4.7.1

ID of the project you want to activate integration on.

func (ServiceMicrosoftTeamsOutput) PushEvents added in v4.7.1

Enable notifications for push events

func (ServiceMicrosoftTeamsOutput) TagPushEvents added in v4.7.1

Enable notifications for tag push events

func (ServiceMicrosoftTeamsOutput) ToServiceMicrosoftTeamsOutput added in v4.5.0

func (o ServiceMicrosoftTeamsOutput) ToServiceMicrosoftTeamsOutput() ServiceMicrosoftTeamsOutput

func (ServiceMicrosoftTeamsOutput) ToServiceMicrosoftTeamsOutputWithContext added in v4.5.0

func (o ServiceMicrosoftTeamsOutput) ToServiceMicrosoftTeamsOutputWithContext(ctx context.Context) ServiceMicrosoftTeamsOutput

func (ServiceMicrosoftTeamsOutput) UpdatedAt added in v4.7.1

Update time.

func (ServiceMicrosoftTeamsOutput) Webhook added in v4.7.1

The Microsoft Teams webhook. For example, https://outlook.office.com/webhook/...

func (ServiceMicrosoftTeamsOutput) WikiPageEvents added in v4.7.1

Enable notifications for wiki page events

type ServiceMicrosoftTeamsState added in v4.5.0

type ServiceMicrosoftTeamsState struct {
	// Whether the integration is active.
	Active pulumi.BoolPtrInput
	// Branches to send notifications for. Valid options are “all”, “default”, “protected”, and “default*and*protected”. The default value is “default”
	BranchesToBeNotified pulumi.StringPtrInput
	// Enable notifications for confidential issue events
	ConfidentialIssuesEvents pulumi.BoolPtrInput
	// Enable notifications for confidential note events
	ConfidentialNoteEvents pulumi.BoolPtrInput
	// Create time.
	CreatedAt pulumi.StringPtrInput
	// Enable notifications for issue events
	IssuesEvents pulumi.BoolPtrInput
	// Enable notifications for merge request events
	MergeRequestsEvents pulumi.BoolPtrInput
	// Enable notifications for note events
	NoteEvents pulumi.BoolPtrInput
	// Send notifications for broken pipelines
	NotifyOnlyBrokenPipelines pulumi.BoolPtrInput
	// Enable notifications for pipeline events
	PipelineEvents pulumi.BoolPtrInput
	// ID of the project you want to activate integration on.
	Project pulumi.StringPtrInput
	// Enable notifications for push events
	PushEvents pulumi.BoolPtrInput
	// Enable notifications for tag push events
	TagPushEvents pulumi.BoolPtrInput
	// Update time.
	UpdatedAt pulumi.StringPtrInput
	// The Microsoft Teams webhook. For example, https://outlook.office.com/webhook/...
	Webhook pulumi.StringPtrInput
	// Enable notifications for wiki page events
	WikiPageEvents pulumi.BoolPtrInput
}

func (ServiceMicrosoftTeamsState) ElementType added in v4.5.0

func (ServiceMicrosoftTeamsState) ElementType() reflect.Type

type ServicePipelinesEmail

type ServicePipelinesEmail struct {
	pulumi.CustomResourceState

	// Branches to send notifications for. Valid options are `all`, `default`, `protected`, and `defaultAndProtected`. Default is `default`
	BranchesToBeNotified pulumi.StringPtrOutput `pulumi:"branchesToBeNotified"`
	// Notify only broken pipelines. Default is true.
	NotifyOnlyBrokenPipelines pulumi.BoolPtrOutput `pulumi:"notifyOnlyBrokenPipelines"`
	// ID of the project you want to activate integration on.
	Project pulumi.StringOutput `pulumi:"project"`
	// ) email addresses where notifications are sent.
	Recipients pulumi.StringArrayOutput `pulumi:"recipients"`
}

The `ServicePipelinesEmail` resource allows to manage the lifecycle of a project integration with Pipeline Emails Service.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/integrations.html#pipeline-emails)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		awesomeProject, err := gitlab.NewProject(ctx, "awesomeProject", &gitlab.ProjectArgs{
			Description:     pulumi.String("My awesome project."),
			VisibilityLevel: pulumi.String("public"),
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewServicePipelinesEmail(ctx, "email", &gitlab.ServicePipelinesEmailArgs{
			Project: awesomeProject.ID(),
			Recipients: pulumi.StringArray{
				pulumi.String("gitlab@user.create"),
			},
			NotifyOnlyBrokenPipelines: pulumi.Bool(true),
			BranchesToBeNotified:      pulumi.String("all"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

You can import a gitlab_service_pipelines_email state using the project ID, e.g.

```sh

$ pulumi import gitlab:index/servicePipelinesEmail:ServicePipelinesEmail email 1

```

func GetServicePipelinesEmail

func GetServicePipelinesEmail(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServicePipelinesEmailState, opts ...pulumi.ResourceOption) (*ServicePipelinesEmail, error)

GetServicePipelinesEmail gets an existing ServicePipelinesEmail resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewServicePipelinesEmail

func NewServicePipelinesEmail(ctx *pulumi.Context,
	name string, args *ServicePipelinesEmailArgs, opts ...pulumi.ResourceOption) (*ServicePipelinesEmail, error)

NewServicePipelinesEmail registers a new resource with the given unique name, arguments, and options.

func (*ServicePipelinesEmail) ElementType

func (*ServicePipelinesEmail) ElementType() reflect.Type

func (*ServicePipelinesEmail) ToServicePipelinesEmailOutput

func (i *ServicePipelinesEmail) ToServicePipelinesEmailOutput() ServicePipelinesEmailOutput

func (*ServicePipelinesEmail) ToServicePipelinesEmailOutputWithContext

func (i *ServicePipelinesEmail) ToServicePipelinesEmailOutputWithContext(ctx context.Context) ServicePipelinesEmailOutput

type ServicePipelinesEmailArgs

type ServicePipelinesEmailArgs struct {
	// Branches to send notifications for. Valid options are `all`, `default`, `protected`, and `defaultAndProtected`. Default is `default`
	BranchesToBeNotified pulumi.StringPtrInput
	// Notify only broken pipelines. Default is true.
	NotifyOnlyBrokenPipelines pulumi.BoolPtrInput
	// ID of the project you want to activate integration on.
	Project pulumi.StringInput
	// ) email addresses where notifications are sent.
	Recipients pulumi.StringArrayInput
}

The set of arguments for constructing a ServicePipelinesEmail resource.

func (ServicePipelinesEmailArgs) ElementType

func (ServicePipelinesEmailArgs) ElementType() reflect.Type

type ServicePipelinesEmailArray

type ServicePipelinesEmailArray []ServicePipelinesEmailInput

func (ServicePipelinesEmailArray) ElementType

func (ServicePipelinesEmailArray) ElementType() reflect.Type

func (ServicePipelinesEmailArray) ToServicePipelinesEmailArrayOutput

func (i ServicePipelinesEmailArray) ToServicePipelinesEmailArrayOutput() ServicePipelinesEmailArrayOutput

func (ServicePipelinesEmailArray) ToServicePipelinesEmailArrayOutputWithContext

func (i ServicePipelinesEmailArray) ToServicePipelinesEmailArrayOutputWithContext(ctx context.Context) ServicePipelinesEmailArrayOutput

type ServicePipelinesEmailArrayInput

type ServicePipelinesEmailArrayInput interface {
	pulumi.Input

	ToServicePipelinesEmailArrayOutput() ServicePipelinesEmailArrayOutput
	ToServicePipelinesEmailArrayOutputWithContext(context.Context) ServicePipelinesEmailArrayOutput
}

ServicePipelinesEmailArrayInput is an input type that accepts ServicePipelinesEmailArray and ServicePipelinesEmailArrayOutput values. You can construct a concrete instance of `ServicePipelinesEmailArrayInput` via:

ServicePipelinesEmailArray{ ServicePipelinesEmailArgs{...} }

type ServicePipelinesEmailArrayOutput

type ServicePipelinesEmailArrayOutput struct{ *pulumi.OutputState }

func (ServicePipelinesEmailArrayOutput) ElementType

func (ServicePipelinesEmailArrayOutput) Index

func (ServicePipelinesEmailArrayOutput) ToServicePipelinesEmailArrayOutput

func (o ServicePipelinesEmailArrayOutput) ToServicePipelinesEmailArrayOutput() ServicePipelinesEmailArrayOutput

func (ServicePipelinesEmailArrayOutput) ToServicePipelinesEmailArrayOutputWithContext

func (o ServicePipelinesEmailArrayOutput) ToServicePipelinesEmailArrayOutputWithContext(ctx context.Context) ServicePipelinesEmailArrayOutput

type ServicePipelinesEmailInput

type ServicePipelinesEmailInput interface {
	pulumi.Input

	ToServicePipelinesEmailOutput() ServicePipelinesEmailOutput
	ToServicePipelinesEmailOutputWithContext(ctx context.Context) ServicePipelinesEmailOutput
}

type ServicePipelinesEmailMap

type ServicePipelinesEmailMap map[string]ServicePipelinesEmailInput

func (ServicePipelinesEmailMap) ElementType

func (ServicePipelinesEmailMap) ElementType() reflect.Type

func (ServicePipelinesEmailMap) ToServicePipelinesEmailMapOutput

func (i ServicePipelinesEmailMap) ToServicePipelinesEmailMapOutput() ServicePipelinesEmailMapOutput

func (ServicePipelinesEmailMap) ToServicePipelinesEmailMapOutputWithContext

func (i ServicePipelinesEmailMap) ToServicePipelinesEmailMapOutputWithContext(ctx context.Context) ServicePipelinesEmailMapOutput

type ServicePipelinesEmailMapInput

type ServicePipelinesEmailMapInput interface {
	pulumi.Input

	ToServicePipelinesEmailMapOutput() ServicePipelinesEmailMapOutput
	ToServicePipelinesEmailMapOutputWithContext(context.Context) ServicePipelinesEmailMapOutput
}

ServicePipelinesEmailMapInput is an input type that accepts ServicePipelinesEmailMap and ServicePipelinesEmailMapOutput values. You can construct a concrete instance of `ServicePipelinesEmailMapInput` via:

ServicePipelinesEmailMap{ "key": ServicePipelinesEmailArgs{...} }

type ServicePipelinesEmailMapOutput

type ServicePipelinesEmailMapOutput struct{ *pulumi.OutputState }

func (ServicePipelinesEmailMapOutput) ElementType

func (ServicePipelinesEmailMapOutput) MapIndex

func (ServicePipelinesEmailMapOutput) ToServicePipelinesEmailMapOutput

func (o ServicePipelinesEmailMapOutput) ToServicePipelinesEmailMapOutput() ServicePipelinesEmailMapOutput

func (ServicePipelinesEmailMapOutput) ToServicePipelinesEmailMapOutputWithContext

func (o ServicePipelinesEmailMapOutput) ToServicePipelinesEmailMapOutputWithContext(ctx context.Context) ServicePipelinesEmailMapOutput

type ServicePipelinesEmailOutput

type ServicePipelinesEmailOutput struct{ *pulumi.OutputState }

func (ServicePipelinesEmailOutput) BranchesToBeNotified added in v4.7.1

func (o ServicePipelinesEmailOutput) BranchesToBeNotified() pulumi.StringPtrOutput

Branches to send notifications for. Valid options are `all`, `default`, `protected`, and `defaultAndProtected`. Default is `default`

func (ServicePipelinesEmailOutput) ElementType

func (ServicePipelinesEmailOutput) NotifyOnlyBrokenPipelines added in v4.7.1

func (o ServicePipelinesEmailOutput) NotifyOnlyBrokenPipelines() pulumi.BoolPtrOutput

Notify only broken pipelines. Default is true.

func (ServicePipelinesEmailOutput) Project added in v4.7.1

ID of the project you want to activate integration on.

func (ServicePipelinesEmailOutput) Recipients added in v4.7.1

) email addresses where notifications are sent.

func (ServicePipelinesEmailOutput) ToServicePipelinesEmailOutput

func (o ServicePipelinesEmailOutput) ToServicePipelinesEmailOutput() ServicePipelinesEmailOutput

func (ServicePipelinesEmailOutput) ToServicePipelinesEmailOutputWithContext

func (o ServicePipelinesEmailOutput) ToServicePipelinesEmailOutputWithContext(ctx context.Context) ServicePipelinesEmailOutput

type ServicePipelinesEmailState

type ServicePipelinesEmailState struct {
	// Branches to send notifications for. Valid options are `all`, `default`, `protected`, and `defaultAndProtected`. Default is `default`
	BranchesToBeNotified pulumi.StringPtrInput
	// Notify only broken pipelines. Default is true.
	NotifyOnlyBrokenPipelines pulumi.BoolPtrInput
	// ID of the project you want to activate integration on.
	Project pulumi.StringPtrInput
	// ) email addresses where notifications are sent.
	Recipients pulumi.StringArrayInput
}

func (ServicePipelinesEmailState) ElementType

func (ServicePipelinesEmailState) ElementType() reflect.Type

type ServiceSlack

type ServiceSlack struct {
	pulumi.CustomResourceState

	// Branches to send notifications for. Valid options are "all", "default", "protected", and "default*and*protected".
	BranchesToBeNotified pulumi.StringOutput `pulumi:"branchesToBeNotified"`
	// The name of the channel to receive confidential issue events notifications.
	ConfidentialIssueChannel pulumi.StringPtrOutput `pulumi:"confidentialIssueChannel"`
	// Enable notifications for confidential issues events.
	ConfidentialIssuesEvents pulumi.BoolOutput `pulumi:"confidentialIssuesEvents"`
	// Enable notifications for confidential note events.
	ConfidentialNoteEvents pulumi.BoolOutput `pulumi:"confidentialNoteEvents"`
	// The name of the channel to receive issue events notifications.
	IssueChannel pulumi.StringPtrOutput `pulumi:"issueChannel"`
	// Enable notifications for issues events.
	IssuesEvents pulumi.BoolOutput `pulumi:"issuesEvents"`
	// Enable notifications for job events. **ATTENTION**: This attribute is currently not being submitted to the GitLab API, due to https://github.com/xanzy/go-gitlab/issues/1354.
	JobEvents pulumi.BoolOutput `pulumi:"jobEvents"`
	// The name of the channel to receive merge request events notifications.
	MergeRequestChannel pulumi.StringPtrOutput `pulumi:"mergeRequestChannel"`
	// Enable notifications for merge requests events.
	MergeRequestsEvents pulumi.BoolOutput `pulumi:"mergeRequestsEvents"`
	// The name of the channel to receive note events notifications.
	NoteChannel pulumi.StringPtrOutput `pulumi:"noteChannel"`
	// Enable notifications for note events.
	NoteEvents pulumi.BoolOutput `pulumi:"noteEvents"`
	// Send notifications for broken pipelines.
	NotifyOnlyBrokenPipelines pulumi.BoolOutput `pulumi:"notifyOnlyBrokenPipelines"`
	// This parameter has been replaced with `branchesToBeNotified`.
	//
	// Deprecated: use 'branches_to_be_notified' argument instead
	NotifyOnlyDefaultBranch pulumi.BoolOutput `pulumi:"notifyOnlyDefaultBranch"`
	// The name of the channel to receive pipeline events notifications.
	PipelineChannel pulumi.StringPtrOutput `pulumi:"pipelineChannel"`
	// Enable notifications for pipeline events.
	PipelineEvents pulumi.BoolOutput `pulumi:"pipelineEvents"`
	// ID of the project you want to activate integration on.
	Project pulumi.StringOutput `pulumi:"project"`
	// The name of the channel to receive push events notifications.
	PushChannel pulumi.StringPtrOutput `pulumi:"pushChannel"`
	// Enable notifications for push events.
	PushEvents pulumi.BoolOutput `pulumi:"pushEvents"`
	// The name of the channel to receive tag push events notifications.
	TagPushChannel pulumi.StringPtrOutput `pulumi:"tagPushChannel"`
	// Enable notifications for tag push events.
	TagPushEvents pulumi.BoolOutput `pulumi:"tagPushEvents"`
	// Username to use.
	Username pulumi.StringPtrOutput `pulumi:"username"`
	// Webhook URL (ex.: https://hooks.slack.com/services/...)
	Webhook pulumi.StringOutput `pulumi:"webhook"`
	// The name of the channel to receive wiki page events notifications.
	WikiPageChannel pulumi.StringPtrOutput `pulumi:"wikiPageChannel"`
	// Enable notifications for wiki page events.
	WikiPageEvents pulumi.BoolOutput `pulumi:"wikiPageEvents"`
}

The `ServiceSlack` resource allows to manage the lifecycle of a project integration with Slack.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/integrations.html#slack-notifications)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		awesomeProject, err := gitlab.NewProject(ctx, "awesomeProject", &gitlab.ProjectArgs{
			Description:     pulumi.String("My awesome project."),
			VisibilityLevel: pulumi.String("public"),
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewServiceSlack(ctx, "slack", &gitlab.ServiceSlackArgs{
			Project:     awesomeProject.ID(),
			Webhook:     pulumi.String("https://webhook.com"),
			Username:    pulumi.String("myuser"),
			PushEvents:  pulumi.Bool(true),
			PushChannel: pulumi.String("push_chan"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

You can import a gitlab_service_slack.slack state using the project ID, e.g.

```sh

$ pulumi import gitlab:index/serviceSlack:ServiceSlack email 1

```

func GetServiceSlack

func GetServiceSlack(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceSlackState, opts ...pulumi.ResourceOption) (*ServiceSlack, error)

GetServiceSlack gets an existing ServiceSlack resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewServiceSlack

func NewServiceSlack(ctx *pulumi.Context,
	name string, args *ServiceSlackArgs, opts ...pulumi.ResourceOption) (*ServiceSlack, error)

NewServiceSlack registers a new resource with the given unique name, arguments, and options.

func (*ServiceSlack) ElementType

func (*ServiceSlack) ElementType() reflect.Type

func (*ServiceSlack) ToServiceSlackOutput

func (i *ServiceSlack) ToServiceSlackOutput() ServiceSlackOutput

func (*ServiceSlack) ToServiceSlackOutputWithContext

func (i *ServiceSlack) ToServiceSlackOutputWithContext(ctx context.Context) ServiceSlackOutput

type ServiceSlackArgs

type ServiceSlackArgs struct {
	// Branches to send notifications for. Valid options are "all", "default", "protected", and "default*and*protected".
	BranchesToBeNotified pulumi.StringPtrInput
	// The name of the channel to receive confidential issue events notifications.
	ConfidentialIssueChannel pulumi.StringPtrInput
	// Enable notifications for confidential issues events.
	ConfidentialIssuesEvents pulumi.BoolPtrInput
	// Enable notifications for confidential note events.
	ConfidentialNoteEvents pulumi.BoolPtrInput
	// The name of the channel to receive issue events notifications.
	IssueChannel pulumi.StringPtrInput
	// Enable notifications for issues events.
	IssuesEvents pulumi.BoolPtrInput
	// The name of the channel to receive merge request events notifications.
	MergeRequestChannel pulumi.StringPtrInput
	// Enable notifications for merge requests events.
	MergeRequestsEvents pulumi.BoolPtrInput
	// The name of the channel to receive note events notifications.
	NoteChannel pulumi.StringPtrInput
	// Enable notifications for note events.
	NoteEvents pulumi.BoolPtrInput
	// Send notifications for broken pipelines.
	NotifyOnlyBrokenPipelines pulumi.BoolPtrInput
	// This parameter has been replaced with `branchesToBeNotified`.
	//
	// Deprecated: use 'branches_to_be_notified' argument instead
	NotifyOnlyDefaultBranch pulumi.BoolPtrInput
	// The name of the channel to receive pipeline events notifications.
	PipelineChannel pulumi.StringPtrInput
	// Enable notifications for pipeline events.
	PipelineEvents pulumi.BoolPtrInput
	// ID of the project you want to activate integration on.
	Project pulumi.StringInput
	// The name of the channel to receive push events notifications.
	PushChannel pulumi.StringPtrInput
	// Enable notifications for push events.
	PushEvents pulumi.BoolPtrInput
	// The name of the channel to receive tag push events notifications.
	TagPushChannel pulumi.StringPtrInput
	// Enable notifications for tag push events.
	TagPushEvents pulumi.BoolPtrInput
	// Username to use.
	Username pulumi.StringPtrInput
	// Webhook URL (ex.: https://hooks.slack.com/services/...)
	Webhook pulumi.StringInput
	// The name of the channel to receive wiki page events notifications.
	WikiPageChannel pulumi.StringPtrInput
	// Enable notifications for wiki page events.
	WikiPageEvents pulumi.BoolPtrInput
}

The set of arguments for constructing a ServiceSlack resource.

func (ServiceSlackArgs) ElementType

func (ServiceSlackArgs) ElementType() reflect.Type

type ServiceSlackArray

type ServiceSlackArray []ServiceSlackInput

func (ServiceSlackArray) ElementType

func (ServiceSlackArray) ElementType() reflect.Type

func (ServiceSlackArray) ToServiceSlackArrayOutput

func (i ServiceSlackArray) ToServiceSlackArrayOutput() ServiceSlackArrayOutput

func (ServiceSlackArray) ToServiceSlackArrayOutputWithContext

func (i ServiceSlackArray) ToServiceSlackArrayOutputWithContext(ctx context.Context) ServiceSlackArrayOutput

type ServiceSlackArrayInput

type ServiceSlackArrayInput interface {
	pulumi.Input

	ToServiceSlackArrayOutput() ServiceSlackArrayOutput
	ToServiceSlackArrayOutputWithContext(context.Context) ServiceSlackArrayOutput
}

ServiceSlackArrayInput is an input type that accepts ServiceSlackArray and ServiceSlackArrayOutput values. You can construct a concrete instance of `ServiceSlackArrayInput` via:

ServiceSlackArray{ ServiceSlackArgs{...} }

type ServiceSlackArrayOutput

type ServiceSlackArrayOutput struct{ *pulumi.OutputState }

func (ServiceSlackArrayOutput) ElementType

func (ServiceSlackArrayOutput) ElementType() reflect.Type

func (ServiceSlackArrayOutput) Index

func (ServiceSlackArrayOutput) ToServiceSlackArrayOutput

func (o ServiceSlackArrayOutput) ToServiceSlackArrayOutput() ServiceSlackArrayOutput

func (ServiceSlackArrayOutput) ToServiceSlackArrayOutputWithContext

func (o ServiceSlackArrayOutput) ToServiceSlackArrayOutputWithContext(ctx context.Context) ServiceSlackArrayOutput

type ServiceSlackInput

type ServiceSlackInput interface {
	pulumi.Input

	ToServiceSlackOutput() ServiceSlackOutput
	ToServiceSlackOutputWithContext(ctx context.Context) ServiceSlackOutput
}

type ServiceSlackMap

type ServiceSlackMap map[string]ServiceSlackInput

func (ServiceSlackMap) ElementType

func (ServiceSlackMap) ElementType() reflect.Type

func (ServiceSlackMap) ToServiceSlackMapOutput

func (i ServiceSlackMap) ToServiceSlackMapOutput() ServiceSlackMapOutput

func (ServiceSlackMap) ToServiceSlackMapOutputWithContext

func (i ServiceSlackMap) ToServiceSlackMapOutputWithContext(ctx context.Context) ServiceSlackMapOutput

type ServiceSlackMapInput

type ServiceSlackMapInput interface {
	pulumi.Input

	ToServiceSlackMapOutput() ServiceSlackMapOutput
	ToServiceSlackMapOutputWithContext(context.Context) ServiceSlackMapOutput
}

ServiceSlackMapInput is an input type that accepts ServiceSlackMap and ServiceSlackMapOutput values. You can construct a concrete instance of `ServiceSlackMapInput` via:

ServiceSlackMap{ "key": ServiceSlackArgs{...} }

type ServiceSlackMapOutput

type ServiceSlackMapOutput struct{ *pulumi.OutputState }

func (ServiceSlackMapOutput) ElementType

func (ServiceSlackMapOutput) ElementType() reflect.Type

func (ServiceSlackMapOutput) MapIndex

func (ServiceSlackMapOutput) ToServiceSlackMapOutput

func (o ServiceSlackMapOutput) ToServiceSlackMapOutput() ServiceSlackMapOutput

func (ServiceSlackMapOutput) ToServiceSlackMapOutputWithContext

func (o ServiceSlackMapOutput) ToServiceSlackMapOutputWithContext(ctx context.Context) ServiceSlackMapOutput

type ServiceSlackOutput

type ServiceSlackOutput struct{ *pulumi.OutputState }

func (ServiceSlackOutput) BranchesToBeNotified added in v4.7.1

func (o ServiceSlackOutput) BranchesToBeNotified() pulumi.StringOutput

Branches to send notifications for. Valid options are "all", "default", "protected", and "default*and*protected".

func (ServiceSlackOutput) ConfidentialIssueChannel added in v4.7.1

func (o ServiceSlackOutput) ConfidentialIssueChannel() pulumi.StringPtrOutput

The name of the channel to receive confidential issue events notifications.

func (ServiceSlackOutput) ConfidentialIssuesEvents added in v4.7.1

func (o ServiceSlackOutput) ConfidentialIssuesEvents() pulumi.BoolOutput

Enable notifications for confidential issues events.

func (ServiceSlackOutput) ConfidentialNoteEvents added in v4.7.1

func (o ServiceSlackOutput) ConfidentialNoteEvents() pulumi.BoolOutput

Enable notifications for confidential note events.

func (ServiceSlackOutput) ElementType

func (ServiceSlackOutput) ElementType() reflect.Type

func (ServiceSlackOutput) IssueChannel added in v4.7.1

func (o ServiceSlackOutput) IssueChannel() pulumi.StringPtrOutput

The name of the channel to receive issue events notifications.

func (ServiceSlackOutput) IssuesEvents added in v4.7.1

func (o ServiceSlackOutput) IssuesEvents() pulumi.BoolOutput

Enable notifications for issues events.

func (ServiceSlackOutput) JobEvents added in v4.7.1

func (o ServiceSlackOutput) JobEvents() pulumi.BoolOutput

Enable notifications for job events. **ATTENTION**: This attribute is currently not being submitted to the GitLab API, due to https://github.com/xanzy/go-gitlab/issues/1354.

func (ServiceSlackOutput) MergeRequestChannel added in v4.7.1

func (o ServiceSlackOutput) MergeRequestChannel() pulumi.StringPtrOutput

The name of the channel to receive merge request events notifications.

func (ServiceSlackOutput) MergeRequestsEvents added in v4.7.1

func (o ServiceSlackOutput) MergeRequestsEvents() pulumi.BoolOutput

Enable notifications for merge requests events.

func (ServiceSlackOutput) NoteChannel added in v4.7.1

func (o ServiceSlackOutput) NoteChannel() pulumi.StringPtrOutput

The name of the channel to receive note events notifications.

func (ServiceSlackOutput) NoteEvents added in v4.7.1

func (o ServiceSlackOutput) NoteEvents() pulumi.BoolOutput

Enable notifications for note events.

func (ServiceSlackOutput) NotifyOnlyBrokenPipelines added in v4.7.1

func (o ServiceSlackOutput) NotifyOnlyBrokenPipelines() pulumi.BoolOutput

Send notifications for broken pipelines.

func (ServiceSlackOutput) NotifyOnlyDefaultBranch deprecated added in v4.7.1

func (o ServiceSlackOutput) NotifyOnlyDefaultBranch() pulumi.BoolOutput

This parameter has been replaced with `branchesToBeNotified`.

Deprecated: use 'branches_to_be_notified' argument instead

func (ServiceSlackOutput) PipelineChannel added in v4.7.1

func (o ServiceSlackOutput) PipelineChannel() pulumi.StringPtrOutput

The name of the channel to receive pipeline events notifications.

func (ServiceSlackOutput) PipelineEvents added in v4.7.1

func (o ServiceSlackOutput) PipelineEvents() pulumi.BoolOutput

Enable notifications for pipeline events.

func (ServiceSlackOutput) Project added in v4.7.1

ID of the project you want to activate integration on.

func (ServiceSlackOutput) PushChannel added in v4.7.1

func (o ServiceSlackOutput) PushChannel() pulumi.StringPtrOutput

The name of the channel to receive push events notifications.

func (ServiceSlackOutput) PushEvents added in v4.7.1

func (o ServiceSlackOutput) PushEvents() pulumi.BoolOutput

Enable notifications for push events.

func (ServiceSlackOutput) TagPushChannel added in v4.7.1

func (o ServiceSlackOutput) TagPushChannel() pulumi.StringPtrOutput

The name of the channel to receive tag push events notifications.

func (ServiceSlackOutput) TagPushEvents added in v4.7.1

func (o ServiceSlackOutput) TagPushEvents() pulumi.BoolOutput

Enable notifications for tag push events.

func (ServiceSlackOutput) ToServiceSlackOutput

func (o ServiceSlackOutput) ToServiceSlackOutput() ServiceSlackOutput

func (ServiceSlackOutput) ToServiceSlackOutputWithContext

func (o ServiceSlackOutput) ToServiceSlackOutputWithContext(ctx context.Context) ServiceSlackOutput

func (ServiceSlackOutput) Username added in v4.7.1

Username to use.

func (ServiceSlackOutput) Webhook added in v4.7.1

Webhook URL (ex.: https://hooks.slack.com/services/...)

func (ServiceSlackOutput) WikiPageChannel added in v4.7.1

func (o ServiceSlackOutput) WikiPageChannel() pulumi.StringPtrOutput

The name of the channel to receive wiki page events notifications.

func (ServiceSlackOutput) WikiPageEvents added in v4.7.1

func (o ServiceSlackOutput) WikiPageEvents() pulumi.BoolOutput

Enable notifications for wiki page events.

type ServiceSlackState

type ServiceSlackState struct {
	// Branches to send notifications for. Valid options are "all", "default", "protected", and "default*and*protected".
	BranchesToBeNotified pulumi.StringPtrInput
	// The name of the channel to receive confidential issue events notifications.
	ConfidentialIssueChannel pulumi.StringPtrInput
	// Enable notifications for confidential issues events.
	ConfidentialIssuesEvents pulumi.BoolPtrInput
	// Enable notifications for confidential note events.
	ConfidentialNoteEvents pulumi.BoolPtrInput
	// The name of the channel to receive issue events notifications.
	IssueChannel pulumi.StringPtrInput
	// Enable notifications for issues events.
	IssuesEvents pulumi.BoolPtrInput
	// Enable notifications for job events. **ATTENTION**: This attribute is currently not being submitted to the GitLab API, due to https://github.com/xanzy/go-gitlab/issues/1354.
	JobEvents pulumi.BoolPtrInput
	// The name of the channel to receive merge request events notifications.
	MergeRequestChannel pulumi.StringPtrInput
	// Enable notifications for merge requests events.
	MergeRequestsEvents pulumi.BoolPtrInput
	// The name of the channel to receive note events notifications.
	NoteChannel pulumi.StringPtrInput
	// Enable notifications for note events.
	NoteEvents pulumi.BoolPtrInput
	// Send notifications for broken pipelines.
	NotifyOnlyBrokenPipelines pulumi.BoolPtrInput
	// This parameter has been replaced with `branchesToBeNotified`.
	//
	// Deprecated: use 'branches_to_be_notified' argument instead
	NotifyOnlyDefaultBranch pulumi.BoolPtrInput
	// The name of the channel to receive pipeline events notifications.
	PipelineChannel pulumi.StringPtrInput
	// Enable notifications for pipeline events.
	PipelineEvents pulumi.BoolPtrInput
	// ID of the project you want to activate integration on.
	Project pulumi.StringPtrInput
	// The name of the channel to receive push events notifications.
	PushChannel pulumi.StringPtrInput
	// Enable notifications for push events.
	PushEvents pulumi.BoolPtrInput
	// The name of the channel to receive tag push events notifications.
	TagPushChannel pulumi.StringPtrInput
	// Enable notifications for tag push events.
	TagPushEvents pulumi.BoolPtrInput
	// Username to use.
	Username pulumi.StringPtrInput
	// Webhook URL (ex.: https://hooks.slack.com/services/...)
	Webhook pulumi.StringPtrInput
	// The name of the channel to receive wiki page events notifications.
	WikiPageChannel pulumi.StringPtrInput
	// Enable notifications for wiki page events.
	WikiPageEvents pulumi.BoolPtrInput
}

func (ServiceSlackState) ElementType

func (ServiceSlackState) ElementType() reflect.Type

type SystemHook added in v4.7.0

type SystemHook struct {
	pulumi.CustomResourceState

	// The date and time the hook was created in ISO8601 format.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// Do SSL verification when triggering the hook.
	EnableSslVerification pulumi.BoolPtrOutput `pulumi:"enableSslVerification"`
	// Trigger hook on merge requests events.
	MergeRequestsEvents pulumi.BoolPtrOutput `pulumi:"mergeRequestsEvents"`
	// When true, the hook fires on push events.
	PushEvents pulumi.BoolPtrOutput `pulumi:"pushEvents"`
	// Trigger hook on repository update events.
	RepositoryUpdateEvents pulumi.BoolPtrOutput `pulumi:"repositoryUpdateEvents"`
	// When true, the hook fires on new tags being pushed.
	TagPushEvents pulumi.BoolPtrOutput `pulumi:"tagPushEvents"`
	// Secret token to validate received payloads; this isn’t returned in the response. This attribute is not available for imported resources.
	Token pulumi.StringPtrOutput `pulumi:"token"`
	// The hook URL.
	Url pulumi.StringOutput `pulumi:"url"`
}

The `SystemHook` resource allows to manage the lifecycle of a system hook.

> This resource requires GitLab 14.9

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/system_hooks.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewSystemHook(ctx, "example", &gitlab.SystemHookArgs{
			EnableSslVerification:  pulumi.Bool(true),
			MergeRequestsEvents:    pulumi.Bool(true),
			PushEvents:             pulumi.Bool(true),
			RepositoryUpdateEvents: pulumi.Bool(true),
			TagPushEvents:          pulumi.Bool(true),
			Token:                  pulumi.String("secret-token"),
			Url:                    pulumi.String("https://example.com/hook-%d"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

You can import a system hook using the hook id `{hook-id}`, e.g.

```sh

$ pulumi import gitlab:index/systemHook:SystemHook example 42

```

NOTEthe `token` attribute won't be available for imported resources.

func GetSystemHook added in v4.7.0

func GetSystemHook(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SystemHookState, opts ...pulumi.ResourceOption) (*SystemHook, error)

GetSystemHook gets an existing SystemHook resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSystemHook added in v4.7.0

func NewSystemHook(ctx *pulumi.Context,
	name string, args *SystemHookArgs, opts ...pulumi.ResourceOption) (*SystemHook, error)

NewSystemHook registers a new resource with the given unique name, arguments, and options.

func (*SystemHook) ElementType added in v4.7.0

func (*SystemHook) ElementType() reflect.Type

func (*SystemHook) ToSystemHookOutput added in v4.7.0

func (i *SystemHook) ToSystemHookOutput() SystemHookOutput

func (*SystemHook) ToSystemHookOutputWithContext added in v4.7.0

func (i *SystemHook) ToSystemHookOutputWithContext(ctx context.Context) SystemHookOutput

type SystemHookArgs added in v4.7.0

type SystemHookArgs struct {
	// Do SSL verification when triggering the hook.
	EnableSslVerification pulumi.BoolPtrInput
	// Trigger hook on merge requests events.
	MergeRequestsEvents pulumi.BoolPtrInput
	// When true, the hook fires on push events.
	PushEvents pulumi.BoolPtrInput
	// Trigger hook on repository update events.
	RepositoryUpdateEvents pulumi.BoolPtrInput
	// When true, the hook fires on new tags being pushed.
	TagPushEvents pulumi.BoolPtrInput
	// Secret token to validate received payloads; this isn’t returned in the response. This attribute is not available for imported resources.
	Token pulumi.StringPtrInput
	// The hook URL.
	Url pulumi.StringInput
}

The set of arguments for constructing a SystemHook resource.

func (SystemHookArgs) ElementType added in v4.7.0

func (SystemHookArgs) ElementType() reflect.Type

type SystemHookArray added in v4.7.0

type SystemHookArray []SystemHookInput

func (SystemHookArray) ElementType added in v4.7.0

func (SystemHookArray) ElementType() reflect.Type

func (SystemHookArray) ToSystemHookArrayOutput added in v4.7.0

func (i SystemHookArray) ToSystemHookArrayOutput() SystemHookArrayOutput

func (SystemHookArray) ToSystemHookArrayOutputWithContext added in v4.7.0

func (i SystemHookArray) ToSystemHookArrayOutputWithContext(ctx context.Context) SystemHookArrayOutput

type SystemHookArrayInput added in v4.7.0

type SystemHookArrayInput interface {
	pulumi.Input

	ToSystemHookArrayOutput() SystemHookArrayOutput
	ToSystemHookArrayOutputWithContext(context.Context) SystemHookArrayOutput
}

SystemHookArrayInput is an input type that accepts SystemHookArray and SystemHookArrayOutput values. You can construct a concrete instance of `SystemHookArrayInput` via:

SystemHookArray{ SystemHookArgs{...} }

type SystemHookArrayOutput added in v4.7.0

type SystemHookArrayOutput struct{ *pulumi.OutputState }

func (SystemHookArrayOutput) ElementType added in v4.7.0

func (SystemHookArrayOutput) ElementType() reflect.Type

func (SystemHookArrayOutput) Index added in v4.7.0

func (SystemHookArrayOutput) ToSystemHookArrayOutput added in v4.7.0

func (o SystemHookArrayOutput) ToSystemHookArrayOutput() SystemHookArrayOutput

func (SystemHookArrayOutput) ToSystemHookArrayOutputWithContext added in v4.7.0

func (o SystemHookArrayOutput) ToSystemHookArrayOutputWithContext(ctx context.Context) SystemHookArrayOutput

type SystemHookInput added in v4.7.0

type SystemHookInput interface {
	pulumi.Input

	ToSystemHookOutput() SystemHookOutput
	ToSystemHookOutputWithContext(ctx context.Context) SystemHookOutput
}

type SystemHookMap added in v4.7.0

type SystemHookMap map[string]SystemHookInput

func (SystemHookMap) ElementType added in v4.7.0

func (SystemHookMap) ElementType() reflect.Type

func (SystemHookMap) ToSystemHookMapOutput added in v4.7.0

func (i SystemHookMap) ToSystemHookMapOutput() SystemHookMapOutput

func (SystemHookMap) ToSystemHookMapOutputWithContext added in v4.7.0

func (i SystemHookMap) ToSystemHookMapOutputWithContext(ctx context.Context) SystemHookMapOutput

type SystemHookMapInput added in v4.7.0

type SystemHookMapInput interface {
	pulumi.Input

	ToSystemHookMapOutput() SystemHookMapOutput
	ToSystemHookMapOutputWithContext(context.Context) SystemHookMapOutput
}

SystemHookMapInput is an input type that accepts SystemHookMap and SystemHookMapOutput values. You can construct a concrete instance of `SystemHookMapInput` via:

SystemHookMap{ "key": SystemHookArgs{...} }

type SystemHookMapOutput added in v4.7.0

type SystemHookMapOutput struct{ *pulumi.OutputState }

func (SystemHookMapOutput) ElementType added in v4.7.0

func (SystemHookMapOutput) ElementType() reflect.Type

func (SystemHookMapOutput) MapIndex added in v4.7.0

func (SystemHookMapOutput) ToSystemHookMapOutput added in v4.7.0

func (o SystemHookMapOutput) ToSystemHookMapOutput() SystemHookMapOutput

func (SystemHookMapOutput) ToSystemHookMapOutputWithContext added in v4.7.0

func (o SystemHookMapOutput) ToSystemHookMapOutputWithContext(ctx context.Context) SystemHookMapOutput

type SystemHookOutput added in v4.7.0

type SystemHookOutput struct{ *pulumi.OutputState }

func (SystemHookOutput) CreatedAt added in v4.7.1

func (o SystemHookOutput) CreatedAt() pulumi.StringOutput

The date and time the hook was created in ISO8601 format.

func (SystemHookOutput) ElementType added in v4.7.0

func (SystemHookOutput) ElementType() reflect.Type

func (SystemHookOutput) EnableSslVerification added in v4.7.1

func (o SystemHookOutput) EnableSslVerification() pulumi.BoolPtrOutput

Do SSL verification when triggering the hook.

func (SystemHookOutput) MergeRequestsEvents added in v4.7.1

func (o SystemHookOutput) MergeRequestsEvents() pulumi.BoolPtrOutput

Trigger hook on merge requests events.

func (SystemHookOutput) PushEvents added in v4.7.1

func (o SystemHookOutput) PushEvents() pulumi.BoolPtrOutput

When true, the hook fires on push events.

func (SystemHookOutput) RepositoryUpdateEvents added in v4.7.1

func (o SystemHookOutput) RepositoryUpdateEvents() pulumi.BoolPtrOutput

Trigger hook on repository update events.

func (SystemHookOutput) TagPushEvents added in v4.7.1

func (o SystemHookOutput) TagPushEvents() pulumi.BoolPtrOutput

When true, the hook fires on new tags being pushed.

func (SystemHookOutput) ToSystemHookOutput added in v4.7.0

func (o SystemHookOutput) ToSystemHookOutput() SystemHookOutput

func (SystemHookOutput) ToSystemHookOutputWithContext added in v4.7.0

func (o SystemHookOutput) ToSystemHookOutputWithContext(ctx context.Context) SystemHookOutput

func (SystemHookOutput) Token added in v4.7.1

Secret token to validate received payloads; this isn’t returned in the response. This attribute is not available for imported resources.

func (SystemHookOutput) Url added in v4.7.1

The hook URL.

type SystemHookState added in v4.7.0

type SystemHookState struct {
	// The date and time the hook was created in ISO8601 format.
	CreatedAt pulumi.StringPtrInput
	// Do SSL verification when triggering the hook.
	EnableSslVerification pulumi.BoolPtrInput
	// Trigger hook on merge requests events.
	MergeRequestsEvents pulumi.BoolPtrInput
	// When true, the hook fires on push events.
	PushEvents pulumi.BoolPtrInput
	// Trigger hook on repository update events.
	RepositoryUpdateEvents pulumi.BoolPtrInput
	// When true, the hook fires on new tags being pushed.
	TagPushEvents pulumi.BoolPtrInput
	// Secret token to validate received payloads; this isn’t returned in the response. This attribute is not available for imported resources.
	Token pulumi.StringPtrInput
	// The hook URL.
	Url pulumi.StringPtrInput
}

func (SystemHookState) ElementType added in v4.7.0

func (SystemHookState) ElementType() reflect.Type

type TagProtection

type TagProtection struct {
	pulumi.CustomResourceState

	// Access levels which are allowed to create. Valid values are: `no one`, `developer`, `maintainer`.
	CreateAccessLevel pulumi.StringOutput `pulumi:"createAccessLevel"`
	// The id of the project.
	Project pulumi.StringOutput `pulumi:"project"`
	// Name of the tag or wildcard.
	Tag pulumi.StringOutput `pulumi:"tag"`
}

The `TagProtection` resource allows to manage the lifecycle of a tag protection.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/protected_tags.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewTagProtection(ctx, "tagProtect", &gitlab.TagProtectionArgs{
			CreateAccessLevel: pulumi.String("developer"),
			Project:           pulumi.String("12345"),
			Tag:               pulumi.String("TagProtected"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Tag protections can be imported using an id made up of `project_id:tag_name`, e.g.

```sh

$ pulumi import gitlab:index/tagProtection:TagProtection example 123456789:v1.0.0

```

func GetTagProtection

func GetTagProtection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TagProtectionState, opts ...pulumi.ResourceOption) (*TagProtection, error)

GetTagProtection gets an existing TagProtection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTagProtection

func NewTagProtection(ctx *pulumi.Context,
	name string, args *TagProtectionArgs, opts ...pulumi.ResourceOption) (*TagProtection, error)

NewTagProtection registers a new resource with the given unique name, arguments, and options.

func (*TagProtection) ElementType

func (*TagProtection) ElementType() reflect.Type

func (*TagProtection) ToTagProtectionOutput

func (i *TagProtection) ToTagProtectionOutput() TagProtectionOutput

func (*TagProtection) ToTagProtectionOutputWithContext

func (i *TagProtection) ToTagProtectionOutputWithContext(ctx context.Context) TagProtectionOutput

type TagProtectionArgs

type TagProtectionArgs struct {
	// Access levels which are allowed to create. Valid values are: `no one`, `developer`, `maintainer`.
	CreateAccessLevel pulumi.StringInput
	// The id of the project.
	Project pulumi.StringInput
	// Name of the tag or wildcard.
	Tag pulumi.StringInput
}

The set of arguments for constructing a TagProtection resource.

func (TagProtectionArgs) ElementType

func (TagProtectionArgs) ElementType() reflect.Type

type TagProtectionArray

type TagProtectionArray []TagProtectionInput

func (TagProtectionArray) ElementType

func (TagProtectionArray) ElementType() reflect.Type

func (TagProtectionArray) ToTagProtectionArrayOutput

func (i TagProtectionArray) ToTagProtectionArrayOutput() TagProtectionArrayOutput

func (TagProtectionArray) ToTagProtectionArrayOutputWithContext

func (i TagProtectionArray) ToTagProtectionArrayOutputWithContext(ctx context.Context) TagProtectionArrayOutput

type TagProtectionArrayInput

type TagProtectionArrayInput interface {
	pulumi.Input

	ToTagProtectionArrayOutput() TagProtectionArrayOutput
	ToTagProtectionArrayOutputWithContext(context.Context) TagProtectionArrayOutput
}

TagProtectionArrayInput is an input type that accepts TagProtectionArray and TagProtectionArrayOutput values. You can construct a concrete instance of `TagProtectionArrayInput` via:

TagProtectionArray{ TagProtectionArgs{...} }

type TagProtectionArrayOutput

type TagProtectionArrayOutput struct{ *pulumi.OutputState }

func (TagProtectionArrayOutput) ElementType

func (TagProtectionArrayOutput) ElementType() reflect.Type

func (TagProtectionArrayOutput) Index

func (TagProtectionArrayOutput) ToTagProtectionArrayOutput

func (o TagProtectionArrayOutput) ToTagProtectionArrayOutput() TagProtectionArrayOutput

func (TagProtectionArrayOutput) ToTagProtectionArrayOutputWithContext

func (o TagProtectionArrayOutput) ToTagProtectionArrayOutputWithContext(ctx context.Context) TagProtectionArrayOutput

type TagProtectionInput

type TagProtectionInput interface {
	pulumi.Input

	ToTagProtectionOutput() TagProtectionOutput
	ToTagProtectionOutputWithContext(ctx context.Context) TagProtectionOutput
}

type TagProtectionMap

type TagProtectionMap map[string]TagProtectionInput

func (TagProtectionMap) ElementType

func (TagProtectionMap) ElementType() reflect.Type

func (TagProtectionMap) ToTagProtectionMapOutput

func (i TagProtectionMap) ToTagProtectionMapOutput() TagProtectionMapOutput

func (TagProtectionMap) ToTagProtectionMapOutputWithContext

func (i TagProtectionMap) ToTagProtectionMapOutputWithContext(ctx context.Context) TagProtectionMapOutput

type TagProtectionMapInput

type TagProtectionMapInput interface {
	pulumi.Input

	ToTagProtectionMapOutput() TagProtectionMapOutput
	ToTagProtectionMapOutputWithContext(context.Context) TagProtectionMapOutput
}

TagProtectionMapInput is an input type that accepts TagProtectionMap and TagProtectionMapOutput values. You can construct a concrete instance of `TagProtectionMapInput` via:

TagProtectionMap{ "key": TagProtectionArgs{...} }

type TagProtectionMapOutput

type TagProtectionMapOutput struct{ *pulumi.OutputState }

func (TagProtectionMapOutput) ElementType

func (TagProtectionMapOutput) ElementType() reflect.Type

func (TagProtectionMapOutput) MapIndex

func (TagProtectionMapOutput) ToTagProtectionMapOutput

func (o TagProtectionMapOutput) ToTagProtectionMapOutput() TagProtectionMapOutput

func (TagProtectionMapOutput) ToTagProtectionMapOutputWithContext

func (o TagProtectionMapOutput) ToTagProtectionMapOutputWithContext(ctx context.Context) TagProtectionMapOutput

type TagProtectionOutput

type TagProtectionOutput struct{ *pulumi.OutputState }

func (TagProtectionOutput) CreateAccessLevel added in v4.7.1

func (o TagProtectionOutput) CreateAccessLevel() pulumi.StringOutput

Access levels which are allowed to create. Valid values are: `no one`, `developer`, `maintainer`.

func (TagProtectionOutput) ElementType

func (TagProtectionOutput) ElementType() reflect.Type

func (TagProtectionOutput) Project added in v4.7.1

The id of the project.

func (TagProtectionOutput) Tag added in v4.7.1

Name of the tag or wildcard.

func (TagProtectionOutput) ToTagProtectionOutput

func (o TagProtectionOutput) ToTagProtectionOutput() TagProtectionOutput

func (TagProtectionOutput) ToTagProtectionOutputWithContext

func (o TagProtectionOutput) ToTagProtectionOutputWithContext(ctx context.Context) TagProtectionOutput

type TagProtectionState

type TagProtectionState struct {
	// Access levels which are allowed to create. Valid values are: `no one`, `developer`, `maintainer`.
	CreateAccessLevel pulumi.StringPtrInput
	// The id of the project.
	Project pulumi.StringPtrInput
	// Name of the tag or wildcard.
	Tag pulumi.StringPtrInput
}

func (TagProtectionState) ElementType

func (TagProtectionState) ElementType() reflect.Type

type Topic added in v4.6.0

type Topic struct {
	pulumi.CustomResourceState

	// A local path to the avatar image to upload. **Note**: not available for imported resources.
	Avatar pulumi.StringPtrOutput `pulumi:"avatar"`
	// The hash of the avatar image. Use `filesha256("path/to/avatar.png")` whenever possible. **Note**: this is used to trigger an update of the avatar. If it's not given, but an avatar is given, the avatar will be updated each time.
	AvatarHash pulumi.StringOutput `pulumi:"avatarHash"`
	// The URL of the avatar image.
	AvatarUrl pulumi.StringOutput `pulumi:"avatarUrl"`
	// A text describing the topic.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The topic's name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Empty the topics fields instead of deleting it.
	//
	// Deprecated: GitLab 14.9 introduced the proper deletion of topics. This field is no longer needed.
	SoftDestroy pulumi.BoolPtrOutput `pulumi:"softDestroy"`
	// The topic's description. Requires at least GitLab 15.0 for which it's a required argument.
	Title pulumi.StringPtrOutput `pulumi:"title"`
}

The `Topic` resource allows to manage the lifecycle of topics that are then assignable to projects.

> Topics are the successors for project tags. Aside from avoiding terminology collisions with Git tags, they are more descriptive and better searchable.

> Deleting a topic was implemented in GitLab 14.9. For older versions of GitLab set `softDestroy = true` to empty out a topic instead of deleting it.

**Upstream API**: [GitLab REST API docs for topics](https://docs.gitlab.com/ee/api/topics.html)

## Import

```sh

$ pulumi import gitlab:index/topic:Topic You can import a topic to terraform state using `<resource> <id>`.

```

The `id` must be an integer for the id of the topic you want to import, for example

```sh

$ pulumi import gitlab:index/topic:Topic functional_programming 1

```

func GetTopic added in v4.6.0

func GetTopic(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TopicState, opts ...pulumi.ResourceOption) (*Topic, error)

GetTopic gets an existing Topic resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTopic added in v4.6.0

func NewTopic(ctx *pulumi.Context,
	name string, args *TopicArgs, opts ...pulumi.ResourceOption) (*Topic, error)

NewTopic registers a new resource with the given unique name, arguments, and options.

func (*Topic) ElementType added in v4.6.0

func (*Topic) ElementType() reflect.Type

func (*Topic) ToTopicOutput added in v4.6.0

func (i *Topic) ToTopicOutput() TopicOutput

func (*Topic) ToTopicOutputWithContext added in v4.6.0

func (i *Topic) ToTopicOutputWithContext(ctx context.Context) TopicOutput

type TopicArgs added in v4.6.0

type TopicArgs struct {
	// A local path to the avatar image to upload. **Note**: not available for imported resources.
	Avatar pulumi.StringPtrInput
	// The hash of the avatar image. Use `filesha256("path/to/avatar.png")` whenever possible. **Note**: this is used to trigger an update of the avatar. If it's not given, but an avatar is given, the avatar will be updated each time.
	AvatarHash pulumi.StringPtrInput
	// A text describing the topic.
	Description pulumi.StringPtrInput
	// The topic's name.
	Name pulumi.StringPtrInput
	// Empty the topics fields instead of deleting it.
	//
	// Deprecated: GitLab 14.9 introduced the proper deletion of topics. This field is no longer needed.
	SoftDestroy pulumi.BoolPtrInput
	// The topic's description. Requires at least GitLab 15.0 for which it's a required argument.
	Title pulumi.StringPtrInput
}

The set of arguments for constructing a Topic resource.

func (TopicArgs) ElementType added in v4.6.0

func (TopicArgs) ElementType() reflect.Type

type TopicArray added in v4.6.0

type TopicArray []TopicInput

func (TopicArray) ElementType added in v4.6.0

func (TopicArray) ElementType() reflect.Type

func (TopicArray) ToTopicArrayOutput added in v4.6.0

func (i TopicArray) ToTopicArrayOutput() TopicArrayOutput

func (TopicArray) ToTopicArrayOutputWithContext added in v4.6.0

func (i TopicArray) ToTopicArrayOutputWithContext(ctx context.Context) TopicArrayOutput

type TopicArrayInput added in v4.6.0

type TopicArrayInput interface {
	pulumi.Input

	ToTopicArrayOutput() TopicArrayOutput
	ToTopicArrayOutputWithContext(context.Context) TopicArrayOutput
}

TopicArrayInput is an input type that accepts TopicArray and TopicArrayOutput values. You can construct a concrete instance of `TopicArrayInput` via:

TopicArray{ TopicArgs{...} }

type TopicArrayOutput added in v4.6.0

type TopicArrayOutput struct{ *pulumi.OutputState }

func (TopicArrayOutput) ElementType added in v4.6.0

func (TopicArrayOutput) ElementType() reflect.Type

func (TopicArrayOutput) Index added in v4.6.0

func (TopicArrayOutput) ToTopicArrayOutput added in v4.6.0

func (o TopicArrayOutput) ToTopicArrayOutput() TopicArrayOutput

func (TopicArrayOutput) ToTopicArrayOutputWithContext added in v4.6.0

func (o TopicArrayOutput) ToTopicArrayOutputWithContext(ctx context.Context) TopicArrayOutput

type TopicInput added in v4.6.0

type TopicInput interface {
	pulumi.Input

	ToTopicOutput() TopicOutput
	ToTopicOutputWithContext(ctx context.Context) TopicOutput
}

type TopicMap added in v4.6.0

type TopicMap map[string]TopicInput

func (TopicMap) ElementType added in v4.6.0

func (TopicMap) ElementType() reflect.Type

func (TopicMap) ToTopicMapOutput added in v4.6.0

func (i TopicMap) ToTopicMapOutput() TopicMapOutput

func (TopicMap) ToTopicMapOutputWithContext added in v4.6.0

func (i TopicMap) ToTopicMapOutputWithContext(ctx context.Context) TopicMapOutput

type TopicMapInput added in v4.6.0

type TopicMapInput interface {
	pulumi.Input

	ToTopicMapOutput() TopicMapOutput
	ToTopicMapOutputWithContext(context.Context) TopicMapOutput
}

TopicMapInput is an input type that accepts TopicMap and TopicMapOutput values. You can construct a concrete instance of `TopicMapInput` via:

TopicMap{ "key": TopicArgs{...} }

type TopicMapOutput added in v4.6.0

type TopicMapOutput struct{ *pulumi.OutputState }

func (TopicMapOutput) ElementType added in v4.6.0

func (TopicMapOutput) ElementType() reflect.Type

func (TopicMapOutput) MapIndex added in v4.6.0

func (TopicMapOutput) ToTopicMapOutput added in v4.6.0

func (o TopicMapOutput) ToTopicMapOutput() TopicMapOutput

func (TopicMapOutput) ToTopicMapOutputWithContext added in v4.6.0

func (o TopicMapOutput) ToTopicMapOutputWithContext(ctx context.Context) TopicMapOutput

type TopicOutput added in v4.6.0

type TopicOutput struct{ *pulumi.OutputState }

func (TopicOutput) Avatar added in v4.7.1

func (o TopicOutput) Avatar() pulumi.StringPtrOutput

A local path to the avatar image to upload. **Note**: not available for imported resources.

func (TopicOutput) AvatarHash added in v4.7.1

func (o TopicOutput) AvatarHash() pulumi.StringOutput

The hash of the avatar image. Use `filesha256("path/to/avatar.png")` whenever possible. **Note**: this is used to trigger an update of the avatar. If it's not given, but an avatar is given, the avatar will be updated each time.

func (TopicOutput) AvatarUrl added in v4.7.1

func (o TopicOutput) AvatarUrl() pulumi.StringOutput

The URL of the avatar image.

func (TopicOutput) Description added in v4.7.1

func (o TopicOutput) Description() pulumi.StringPtrOutput

A text describing the topic.

func (TopicOutput) ElementType added in v4.6.0

func (TopicOutput) ElementType() reflect.Type

func (TopicOutput) Name added in v4.7.1

func (o TopicOutput) Name() pulumi.StringOutput

The topic's name.

func (TopicOutput) SoftDestroy deprecated added in v4.7.1

func (o TopicOutput) SoftDestroy() pulumi.BoolPtrOutput

Empty the topics fields instead of deleting it.

Deprecated: GitLab 14.9 introduced the proper deletion of topics. This field is no longer needed.

func (TopicOutput) Title added in v4.8.0

The topic's description. Requires at least GitLab 15.0 for which it's a required argument.

func (TopicOutput) ToTopicOutput added in v4.6.0

func (o TopicOutput) ToTopicOutput() TopicOutput

func (TopicOutput) ToTopicOutputWithContext added in v4.6.0

func (o TopicOutput) ToTopicOutputWithContext(ctx context.Context) TopicOutput

type TopicState added in v4.6.0

type TopicState struct {
	// A local path to the avatar image to upload. **Note**: not available for imported resources.
	Avatar pulumi.StringPtrInput
	// The hash of the avatar image. Use `filesha256("path/to/avatar.png")` whenever possible. **Note**: this is used to trigger an update of the avatar. If it's not given, but an avatar is given, the avatar will be updated each time.
	AvatarHash pulumi.StringPtrInput
	// The URL of the avatar image.
	AvatarUrl pulumi.StringPtrInput
	// A text describing the topic.
	Description pulumi.StringPtrInput
	// The topic's name.
	Name pulumi.StringPtrInput
	// Empty the topics fields instead of deleting it.
	//
	// Deprecated: GitLab 14.9 introduced the proper deletion of topics. This field is no longer needed.
	SoftDestroy pulumi.BoolPtrInput
	// The topic's description. Requires at least GitLab 15.0 for which it's a required argument.
	Title pulumi.StringPtrInput
}

func (TopicState) ElementType added in v4.6.0

func (TopicState) ElementType() reflect.Type

type User

type User struct {
	pulumi.CustomResourceState

	// Boolean, defaults to false. Whether to allow the user to create groups.
	CanCreateGroup pulumi.BoolPtrOutput `pulumi:"canCreateGroup"`
	// The e-mail address of the user.
	Email pulumi.StringOutput `pulumi:"email"`
	// Boolean, defaults to false.  Whether to enable administrative privileges
	IsAdmin pulumi.BoolPtrOutput `pulumi:"isAdmin"`
	// Boolean, defaults to false. Whether a user has access only to some internal or private projects. External users can only access projects to which they are explicitly granted access.
	IsExternal pulumi.BoolPtrOutput `pulumi:"isExternal"`
	// The name of the user.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the user's namespace. Available since GitLab 14.10.
	NamespaceId pulumi.IntOutput `pulumi:"namespaceId"`
	// The note associated to the user.
	Note pulumi.StringPtrOutput `pulumi:"note"`
	// The password of the user.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// Integer, defaults to 0.  Number of projects user can create.
	ProjectsLimit pulumi.IntPtrOutput `pulumi:"projectsLimit"`
	// Boolean, defaults to false. Send user password reset link.
	ResetPassword pulumi.BoolPtrOutput `pulumi:"resetPassword"`
	// Boolean, defaults to true. Whether to skip confirmation.
	SkipConfirmation pulumi.BoolPtrOutput `pulumi:"skipConfirmation"`
	// String, defaults to 'active'. The state of the user account. Valid values are `active`, `deactivated`, `blocked`.
	State pulumi.StringPtrOutput `pulumi:"state"`
	// The username of the user.
	Username pulumi.StringOutput `pulumi:"username"`
}

The `User` resource allows to manage the lifecycle of a user.

> the provider needs to be configured with admin-level access for this resource to work.

> You must specify either password or reset_password.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/users.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewUser(ctx, "example", &gitlab.UserArgs{
			CanCreateGroup: pulumi.Bool(false),
			Email:          pulumi.String("gitlab@user.create"),
			IsAdmin:        pulumi.Bool(true),
			IsExternal:     pulumi.Bool(true),
			Password:       pulumi.String("superPassword"),
			ProjectsLimit:  pulumi.Int(4),
			ResetPassword:  pulumi.Bool(false),
			Username:       pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import gitlab:index/user:User You can import a user to terraform state using `<resource> <id>`.

```

The `id` must be an integer for the id of the user you want to import, for example

```sh

$ pulumi import gitlab:index/user:User example 42

```

func GetUser

func GetUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UserState, opts ...pulumi.ResourceOption) (*User, error)

GetUser gets an existing User resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewUser

func NewUser(ctx *pulumi.Context,
	name string, args *UserArgs, opts ...pulumi.ResourceOption) (*User, error)

NewUser registers a new resource with the given unique name, arguments, and options.

func (*User) ElementType

func (*User) ElementType() reflect.Type

func (*User) ToUserOutput

func (i *User) ToUserOutput() UserOutput

func (*User) ToUserOutputWithContext

func (i *User) ToUserOutputWithContext(ctx context.Context) UserOutput

type UserArgs

type UserArgs struct {
	// Boolean, defaults to false. Whether to allow the user to create groups.
	CanCreateGroup pulumi.BoolPtrInput
	// The e-mail address of the user.
	Email pulumi.StringInput
	// Boolean, defaults to false.  Whether to enable administrative privileges
	IsAdmin pulumi.BoolPtrInput
	// Boolean, defaults to false. Whether a user has access only to some internal or private projects. External users can only access projects to which they are explicitly granted access.
	IsExternal pulumi.BoolPtrInput
	// The name of the user.
	Name pulumi.StringPtrInput
	// The ID of the user's namespace. Available since GitLab 14.10.
	NamespaceId pulumi.IntPtrInput
	// The note associated to the user.
	Note pulumi.StringPtrInput
	// The password of the user.
	Password pulumi.StringPtrInput
	// Integer, defaults to 0.  Number of projects user can create.
	ProjectsLimit pulumi.IntPtrInput
	// Boolean, defaults to false. Send user password reset link.
	ResetPassword pulumi.BoolPtrInput
	// Boolean, defaults to true. Whether to skip confirmation.
	SkipConfirmation pulumi.BoolPtrInput
	// String, defaults to 'active'. The state of the user account. Valid values are `active`, `deactivated`, `blocked`.
	State pulumi.StringPtrInput
	// The username of the user.
	Username pulumi.StringInput
}

The set of arguments for constructing a User resource.

func (UserArgs) ElementType

func (UserArgs) ElementType() reflect.Type

type UserArray

type UserArray []UserInput

func (UserArray) ElementType

func (UserArray) ElementType() reflect.Type

func (UserArray) ToUserArrayOutput

func (i UserArray) ToUserArrayOutput() UserArrayOutput

func (UserArray) ToUserArrayOutputWithContext

func (i UserArray) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserArrayInput

type UserArrayInput interface {
	pulumi.Input

	ToUserArrayOutput() UserArrayOutput
	ToUserArrayOutputWithContext(context.Context) UserArrayOutput
}

UserArrayInput is an input type that accepts UserArray and UserArrayOutput values. You can construct a concrete instance of `UserArrayInput` via:

UserArray{ UserArgs{...} }

type UserArrayOutput

type UserArrayOutput struct{ *pulumi.OutputState }

func (UserArrayOutput) ElementType

func (UserArrayOutput) ElementType() reflect.Type

func (UserArrayOutput) Index

func (UserArrayOutput) ToUserArrayOutput

func (o UserArrayOutput) ToUserArrayOutput() UserArrayOutput

func (UserArrayOutput) ToUserArrayOutputWithContext

func (o UserArrayOutput) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserCustomAttribute added in v4.5.0

type UserCustomAttribute struct {
	pulumi.CustomResourceState

	// Key for the Custom Attribute.
	Key pulumi.StringOutput `pulumi:"key"`
	// The id of the user.
	User pulumi.IntOutput `pulumi:"user"`
	// Value for the Custom Attribute.
	Value pulumi.StringOutput `pulumi:"value"`
}

The `UserCustomAttribute` resource allows to manage custom attributes for a user.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/custom_attributes.html)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.NewUserCustomAttribute(ctx, "attr", &gitlab.UserCustomAttributeArgs{
			Key:   pulumi.String("location"),
			User:  pulumi.Int(42),
			Value: pulumi.String("Greenland"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

You can import a user custom attribute using an id made up of `{user-id}:{key}`, e.g.

```sh

$ pulumi import gitlab:index/userCustomAttribute:UserCustomAttribute attr 42:location

```

func GetUserCustomAttribute added in v4.5.0

func GetUserCustomAttribute(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UserCustomAttributeState, opts ...pulumi.ResourceOption) (*UserCustomAttribute, error)

GetUserCustomAttribute gets an existing UserCustomAttribute resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewUserCustomAttribute added in v4.5.0

func NewUserCustomAttribute(ctx *pulumi.Context,
	name string, args *UserCustomAttributeArgs, opts ...pulumi.ResourceOption) (*UserCustomAttribute, error)

NewUserCustomAttribute registers a new resource with the given unique name, arguments, and options.

func (*UserCustomAttribute) ElementType added in v4.5.0

func (*UserCustomAttribute) ElementType() reflect.Type

func (*UserCustomAttribute) ToUserCustomAttributeOutput added in v4.5.0

func (i *UserCustomAttribute) ToUserCustomAttributeOutput() UserCustomAttributeOutput

func (*UserCustomAttribute) ToUserCustomAttributeOutputWithContext added in v4.5.0

func (i *UserCustomAttribute) ToUserCustomAttributeOutputWithContext(ctx context.Context) UserCustomAttributeOutput

type UserCustomAttributeArgs added in v4.5.0

type UserCustomAttributeArgs struct {
	// Key for the Custom Attribute.
	Key pulumi.StringInput
	// The id of the user.
	User pulumi.IntInput
	// Value for the Custom Attribute.
	Value pulumi.StringInput
}

The set of arguments for constructing a UserCustomAttribute resource.

func (UserCustomAttributeArgs) ElementType added in v4.5.0

func (UserCustomAttributeArgs) ElementType() reflect.Type

type UserCustomAttributeArray added in v4.5.0

type UserCustomAttributeArray []UserCustomAttributeInput

func (UserCustomAttributeArray) ElementType added in v4.5.0

func (UserCustomAttributeArray) ElementType() reflect.Type

func (UserCustomAttributeArray) ToUserCustomAttributeArrayOutput added in v4.5.0

func (i UserCustomAttributeArray) ToUserCustomAttributeArrayOutput() UserCustomAttributeArrayOutput

func (UserCustomAttributeArray) ToUserCustomAttributeArrayOutputWithContext added in v4.5.0

func (i UserCustomAttributeArray) ToUserCustomAttributeArrayOutputWithContext(ctx context.Context) UserCustomAttributeArrayOutput

type UserCustomAttributeArrayInput added in v4.5.0

type UserCustomAttributeArrayInput interface {
	pulumi.Input

	ToUserCustomAttributeArrayOutput() UserCustomAttributeArrayOutput
	ToUserCustomAttributeArrayOutputWithContext(context.Context) UserCustomAttributeArrayOutput
}

UserCustomAttributeArrayInput is an input type that accepts UserCustomAttributeArray and UserCustomAttributeArrayOutput values. You can construct a concrete instance of `UserCustomAttributeArrayInput` via:

UserCustomAttributeArray{ UserCustomAttributeArgs{...} }

type UserCustomAttributeArrayOutput added in v4.5.0

type UserCustomAttributeArrayOutput struct{ *pulumi.OutputState }

func (UserCustomAttributeArrayOutput) ElementType added in v4.5.0

func (UserCustomAttributeArrayOutput) Index added in v4.5.0

func (UserCustomAttributeArrayOutput) ToUserCustomAttributeArrayOutput added in v4.5.0

func (o UserCustomAttributeArrayOutput) ToUserCustomAttributeArrayOutput() UserCustomAttributeArrayOutput

func (UserCustomAttributeArrayOutput) ToUserCustomAttributeArrayOutputWithContext added in v4.5.0

func (o UserCustomAttributeArrayOutput) ToUserCustomAttributeArrayOutputWithContext(ctx context.Context) UserCustomAttributeArrayOutput

type UserCustomAttributeInput added in v4.5.0

type UserCustomAttributeInput interface {
	pulumi.Input

	ToUserCustomAttributeOutput() UserCustomAttributeOutput
	ToUserCustomAttributeOutputWithContext(ctx context.Context) UserCustomAttributeOutput
}

type UserCustomAttributeMap added in v4.5.0

type UserCustomAttributeMap map[string]UserCustomAttributeInput

func (UserCustomAttributeMap) ElementType added in v4.5.0

func (UserCustomAttributeMap) ElementType() reflect.Type

func (UserCustomAttributeMap) ToUserCustomAttributeMapOutput added in v4.5.0

func (i UserCustomAttributeMap) ToUserCustomAttributeMapOutput() UserCustomAttributeMapOutput

func (UserCustomAttributeMap) ToUserCustomAttributeMapOutputWithContext added in v4.5.0

func (i UserCustomAttributeMap) ToUserCustomAttributeMapOutputWithContext(ctx context.Context) UserCustomAttributeMapOutput

type UserCustomAttributeMapInput added in v4.5.0

type UserCustomAttributeMapInput interface {
	pulumi.Input

	ToUserCustomAttributeMapOutput() UserCustomAttributeMapOutput
	ToUserCustomAttributeMapOutputWithContext(context.Context) UserCustomAttributeMapOutput
}

UserCustomAttributeMapInput is an input type that accepts UserCustomAttributeMap and UserCustomAttributeMapOutput values. You can construct a concrete instance of `UserCustomAttributeMapInput` via:

UserCustomAttributeMap{ "key": UserCustomAttributeArgs{...} }

type UserCustomAttributeMapOutput added in v4.5.0

type UserCustomAttributeMapOutput struct{ *pulumi.OutputState }

func (UserCustomAttributeMapOutput) ElementType added in v4.5.0

func (UserCustomAttributeMapOutput) MapIndex added in v4.5.0

func (UserCustomAttributeMapOutput) ToUserCustomAttributeMapOutput added in v4.5.0

func (o UserCustomAttributeMapOutput) ToUserCustomAttributeMapOutput() UserCustomAttributeMapOutput

func (UserCustomAttributeMapOutput) ToUserCustomAttributeMapOutputWithContext added in v4.5.0

func (o UserCustomAttributeMapOutput) ToUserCustomAttributeMapOutputWithContext(ctx context.Context) UserCustomAttributeMapOutput

type UserCustomAttributeOutput added in v4.5.0

type UserCustomAttributeOutput struct{ *pulumi.OutputState }

func (UserCustomAttributeOutput) ElementType added in v4.5.0

func (UserCustomAttributeOutput) ElementType() reflect.Type

func (UserCustomAttributeOutput) Key added in v4.7.1

Key for the Custom Attribute.

func (UserCustomAttributeOutput) ToUserCustomAttributeOutput added in v4.5.0

func (o UserCustomAttributeOutput) ToUserCustomAttributeOutput() UserCustomAttributeOutput

func (UserCustomAttributeOutput) ToUserCustomAttributeOutputWithContext added in v4.5.0

func (o UserCustomAttributeOutput) ToUserCustomAttributeOutputWithContext(ctx context.Context) UserCustomAttributeOutput

func (UserCustomAttributeOutput) User added in v4.7.1

The id of the user.

func (UserCustomAttributeOutput) Value added in v4.7.1

Value for the Custom Attribute.

type UserCustomAttributeState added in v4.5.0

type UserCustomAttributeState struct {
	// Key for the Custom Attribute.
	Key pulumi.StringPtrInput
	// The id of the user.
	User pulumi.IntPtrInput
	// Value for the Custom Attribute.
	Value pulumi.StringPtrInput
}

func (UserCustomAttributeState) ElementType added in v4.5.0

func (UserCustomAttributeState) ElementType() reflect.Type

type UserGpgKey added in v4.9.0

type UserGpgKey struct {
	pulumi.CustomResourceState

	// The time when this key was created in GitLab.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The armored GPG public key.
	Key pulumi.StringOutput `pulumi:"key"`
	// The ID of the GPG key.
	KeyId pulumi.IntOutput `pulumi:"keyId"`
	// The ID of the user to add the GPG key to. If this field is omitted, this resource manages a GPG key for the current user. Otherwise, this resource manages a GPG key for the speicifed user, and an admin token is required.
	UserId pulumi.IntPtrOutput `pulumi:"userId"`
}

The `UserGpgKey` resource allows to manage the lifecycle of a GPG key assigned to the current user or a specific user.

> Managing GPG keys for arbitrary users requires admin privileges.

**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/users.html#get-a-specific-gpg-key)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleUser, err := gitlab.LookupUser(ctx, &gitlab.LookupUserArgs{
			Username: pulumi.StringRef("example-user"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = gitlab.NewUserGpgKey(ctx, "exampleUserGpgKey", &gitlab.UserGpgKeyArgs{
			UserId: *pulumi.String(exampleUser.Id),
			Key:    pulumi.String("-----BEGIN PGP PUBLIC KEY BLOCK-----\n...\n-----END PGP PUBLIC KEY BLOCK-----"),
		})
		if err != nil {
			return err
		}
		_, err = gitlab.NewUserGpgKey(ctx, "exampleUserUserGpgKey", &gitlab.UserGpgKeyArgs{
			Key: pulumi.String("-----BEGIN PGP PUBLIC KEY BLOCK-----\n...\n-----END PGP PUBLIC KEY BLOCK-----"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

You can import a GPG key for a specific user using an id made up of `{user-id}:{key}`, e.g.

```sh

$ pulumi import gitlab:index/userGpgKey:UserGpgKey example 42:1

```

Alternatively, you can import a GPG key for the current user using an id made up of `{key}`, e.g.

```sh

$ pulumi import gitlab:index/userGpgKey:UserGpgKey example_user 1

```

func GetUserGpgKey added in v4.9.0

func GetUserGpgKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UserGpgKeyState, opts ...pulumi.ResourceOption) (*UserGpgKey, error)

GetUserGpgKey gets an existing UserGpgKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewUserGpgKey added in v4.9.0

func NewUserGpgKey(ctx *pulumi.Context,
	name string, args *UserGpgKeyArgs, opts ...pulumi.ResourceOption) (*UserGpgKey, error)

NewUserGpgKey registers a new resource with the given unique name, arguments, and options.

func (*UserGpgKey) ElementType added in v4.9.0

func (*UserGpgKey) ElementType() reflect.Type

func (*UserGpgKey) ToUserGpgKeyOutput added in v4.9.0

func (i *UserGpgKey) ToUserGpgKeyOutput() UserGpgKeyOutput

func (*UserGpgKey) ToUserGpgKeyOutputWithContext added in v4.9.0

func (i *UserGpgKey) ToUserGpgKeyOutputWithContext(ctx context.Context) UserGpgKeyOutput

type UserGpgKeyArgs added in v4.9.0

type UserGpgKeyArgs struct {
	// The armored GPG public key.
	Key pulumi.StringInput
	// The ID of the user to add the GPG key to. If this field is omitted, this resource manages a GPG key for the current user. Otherwise, this resource manages a GPG key for the speicifed user, and an admin token is required.
	UserId pulumi.IntPtrInput
}

The set of arguments for constructing a UserGpgKey resource.

func (UserGpgKeyArgs) ElementType added in v4.9.0

func (UserGpgKeyArgs) ElementType() reflect.Type

type UserGpgKeyArray added in v4.9.0

type UserGpgKeyArray []UserGpgKeyInput

func (UserGpgKeyArray) ElementType added in v4.9.0

func (UserGpgKeyArray) ElementType() reflect.Type

func (UserGpgKeyArray) ToUserGpgKeyArrayOutput added in v4.9.0

func (i UserGpgKeyArray) ToUserGpgKeyArrayOutput() UserGpgKeyArrayOutput

func (UserGpgKeyArray) ToUserGpgKeyArrayOutputWithContext added in v4.9.0

func (i UserGpgKeyArray) ToUserGpgKeyArrayOutputWithContext(ctx context.Context) UserGpgKeyArrayOutput

type UserGpgKeyArrayInput added in v4.9.0

type UserGpgKeyArrayInput interface {
	pulumi.Input

	ToUserGpgKeyArrayOutput() UserGpgKeyArrayOutput
	ToUserGpgKeyArrayOutputWithContext(context.Context) UserGpgKeyArrayOutput
}

UserGpgKeyArrayInput is an input type that accepts UserGpgKeyArray and UserGpgKeyArrayOutput values. You can construct a concrete instance of `UserGpgKeyArrayInput` via:

UserGpgKeyArray{ UserGpgKeyArgs{...} }

type UserGpgKeyArrayOutput added in v4.9.0

type UserGpgKeyArrayOutput struct{ *pulumi.OutputState }

func (UserGpgKeyArrayOutput) ElementType added in v4.9.0

func (UserGpgKeyArrayOutput) ElementType() reflect.Type

func (UserGpgKeyArrayOutput) Index added in v4.9.0

func (UserGpgKeyArrayOutput) ToUserGpgKeyArrayOutput added in v4.9.0

func (o UserGpgKeyArrayOutput) ToUserGpgKeyArrayOutput() UserGpgKeyArrayOutput

func (UserGpgKeyArrayOutput) ToUserGpgKeyArrayOutputWithContext added in v4.9.0

func (o UserGpgKeyArrayOutput) ToUserGpgKeyArrayOutputWithContext(ctx context.Context) UserGpgKeyArrayOutput

type UserGpgKeyInput added in v4.9.0

type UserGpgKeyInput interface {
	pulumi.Input

	ToUserGpgKeyOutput() UserGpgKeyOutput
	ToUserGpgKeyOutputWithContext(ctx context.Context) UserGpgKeyOutput
}

type UserGpgKeyMap added in v4.9.0

type UserGpgKeyMap map[string]UserGpgKeyInput

func (UserGpgKeyMap) ElementType added in v4.9.0

func (UserGpgKeyMap) ElementType() reflect.Type

func (UserGpgKeyMap) ToUserGpgKeyMapOutput added in v4.9.0

func (i UserGpgKeyMap) ToUserGpgKeyMapOutput() UserGpgKeyMapOutput

func (UserGpgKeyMap) ToUserGpgKeyMapOutputWithContext added in v4.9.0

func (i UserGpgKeyMap) ToUserGpgKeyMapOutputWithContext(ctx context.Context) UserGpgKeyMapOutput

type UserGpgKeyMapInput added in v4.9.0

type UserGpgKeyMapInput interface {
	pulumi.Input

	ToUserGpgKeyMapOutput() UserGpgKeyMapOutput
	ToUserGpgKeyMapOutputWithContext(context.Context) UserGpgKeyMapOutput
}

UserGpgKeyMapInput is an input type that accepts UserGpgKeyMap and UserGpgKeyMapOutput values. You can construct a concrete instance of `UserGpgKeyMapInput` via:

UserGpgKeyMap{ "key": UserGpgKeyArgs{...} }

type UserGpgKeyMapOutput added in v4.9.0

type UserGpgKeyMapOutput struct{ *pulumi.OutputState }

func (UserGpgKeyMapOutput) ElementType added in v4.9.0

func (UserGpgKeyMapOutput) ElementType() reflect.Type

func (UserGpgKeyMapOutput) MapIndex added in v4.9.0

func (UserGpgKeyMapOutput) ToUserGpgKeyMapOutput added in v4.9.0

func (o UserGpgKeyMapOutput) ToUserGpgKeyMapOutput() UserGpgKeyMapOutput

func (UserGpgKeyMapOutput) ToUserGpgKeyMapOutputWithContext added in v4.9.0

func (o UserGpgKeyMapOutput) ToUserGpgKeyMapOutputWithContext(ctx context.Context) UserGpgKeyMapOutput

type UserGpgKeyOutput added in v4.9.0

type UserGpgKeyOutput struct{ *pulumi.OutputState }

func (UserGpgKeyOutput) CreatedAt added in v4.9.0

func (o UserGpgKeyOutput) CreatedAt() pulumi.StringOutput

The time when this key was created in GitLab.

func (UserGpgKeyOutput) ElementType added in v4.9.0

func (UserGpgKeyOutput) ElementType() reflect.Type

func (UserGpgKeyOutput) Key added in v4.9.0

The armored GPG public key.

func (UserGpgKeyOutput) KeyId added in v4.9.0

func (o UserGpgKeyOutput) KeyId() pulumi.IntOutput

The ID of the GPG key.

func (UserGpgKeyOutput) ToUserGpgKeyOutput added in v4.9.0

func (o UserGpgKeyOutput) ToUserGpgKeyOutput() UserGpgKeyOutput

func (UserGpgKeyOutput) ToUserGpgKeyOutputWithContext added in v4.9.0

func (o UserGpgKeyOutput) ToUserGpgKeyOutputWithContext(ctx context.Context) UserGpgKeyOutput

func (UserGpgKeyOutput) UserId added in v4.9.0

The ID of the user to add the GPG key to. If this field is omitted, this resource manages a GPG key for the current user. Otherwise, this resource manages a GPG key for the speicifed user, and an admin token is required.

type UserGpgKeyState added in v4.9.0

type UserGpgKeyState struct {
	// The time when this key was created in GitLab.
	CreatedAt pulumi.StringPtrInput
	// The armored GPG public key.
	Key pulumi.StringPtrInput
	// The ID of the GPG key.
	KeyId pulumi.IntPtrInput
	// The ID of the user to add the GPG key to. If this field is omitted, this resource manages a GPG key for the current user. Otherwise, this resource manages a GPG key for the speicifed user, and an admin token is required.
	UserId pulumi.IntPtrInput
}

func (UserGpgKeyState) ElementType added in v4.9.0

func (UserGpgKeyState) ElementType() reflect.Type

type UserInput

type UserInput interface {
	pulumi.Input

	ToUserOutput() UserOutput
	ToUserOutputWithContext(ctx context.Context) UserOutput
}

type UserMap

type UserMap map[string]UserInput

func (UserMap) ElementType

func (UserMap) ElementType() reflect.Type

func (UserMap) ToUserMapOutput

func (i UserMap) ToUserMapOutput() UserMapOutput

func (UserMap) ToUserMapOutputWithContext

func (i UserMap) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserMapInput

type UserMapInput interface {
	pulumi.Input

	ToUserMapOutput() UserMapOutput
	ToUserMapOutputWithContext(context.Context) UserMapOutput
}

UserMapInput is an input type that accepts UserMap and UserMapOutput values. You can construct a concrete instance of `UserMapInput` via:

UserMap{ "key": UserArgs{...} }

type UserMapOutput

type UserMapOutput struct{ *pulumi.OutputState }

func (UserMapOutput) ElementType

func (UserMapOutput) ElementType() reflect.Type

func (UserMapOutput) MapIndex

func (UserMapOutput) ToUserMapOutput

func (o UserMapOutput) ToUserMapOutput() UserMapOutput

func (UserMapOutput) ToUserMapOutputWithContext

func (o UserMapOutput) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserOutput

type UserOutput struct{ *pulumi.OutputState }

func (UserOutput) CanCreateGroup added in v4.7.1

func (o UserOutput) CanCreateGroup() pulumi.BoolPtrOutput

Boolean, defaults to false. Whether to allow the user to create groups.

func (UserOutput) ElementType

func (UserOutput) ElementType() reflect.Type

func (UserOutput) Email added in v4.7.1

func (o UserOutput) Email() pulumi.StringOutput

The e-mail address of the user.

func (UserOutput) IsAdmin added in v4.7.1

func (o UserOutput) IsAdmin() pulumi.BoolPtrOutput

Boolean, defaults to false. Whether to enable administrative privileges

func (UserOutput) IsExternal added in v4.7.1

func (o UserOutput) IsExternal() pulumi.BoolPtrOutput

Boolean, defaults to false. Whether a user has access only to some internal or private projects. External users can only access projects to which they are explicitly granted access.

func (UserOutput) Name added in v4.7.1

func (o UserOutput) Name() pulumi.StringOutput

The name of the user.

func (UserOutput) NamespaceId added in v4.8.0

func (o UserOutput) NamespaceId() pulumi.IntOutput

The ID of the user's namespace. Available since GitLab 14.10.

func (UserOutput) Note added in v4.7.1

The note associated to the user.

func (UserOutput) Password added in v4.7.1

func (o UserOutput) Password() pulumi.StringPtrOutput

The password of the user.

func (UserOutput) ProjectsLimit added in v4.7.1

func (o UserOutput) ProjectsLimit() pulumi.IntPtrOutput

Integer, defaults to 0. Number of projects user can create.

func (UserOutput) ResetPassword added in v4.7.1

func (o UserOutput) ResetPassword() pulumi.BoolPtrOutput

Boolean, defaults to false. Send user password reset link.

func (UserOutput) SkipConfirmation added in v4.7.1

func (o UserOutput) SkipConfirmation() pulumi.BoolPtrOutput

Boolean, defaults to true. Whether to skip confirmation.

func (UserOutput) State added in v4.7.1

func (o UserOutput) State() pulumi.StringPtrOutput

String, defaults to 'active'. The state of the user account. Valid values are `active`, `deactivated`, `blocked`.

func (UserOutput) ToUserOutput

func (o UserOutput) ToUserOutput() UserOutput

func (UserOutput) ToUserOutputWithContext

func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput

func (UserOutput) Username added in v4.7.1

func (o UserOutput) Username() pulumi.StringOutput

The username of the user.

type UserSshKey added in v4.6.0

type UserSshKey struct {
	pulumi.CustomResourceState

	// The time when this key was created in GitLab.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The expiration date of the SSH key in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)
	ExpiresAt pulumi.StringPtrOutput `pulumi:"expiresAt"`
	// The ssh key. The SSH key `comment` (trailing part) is optional and ignored for diffing, because GitLab overrides it with the username and GitLab hostname.
	Key pulumi.StringOutput `pulumi:"key"`
	// The ID of the ssh key.
	KeyId pulumi.IntOutput `pulumi:"keyId"`
	// The title of the ssh key.
	Title pulumi.StringOutput `pulumi:"title"`
	// The ID or username of the user.
	UserId pulumi.IntOutput `pulumi:"userId"`
}

The `UserSshKey` resource allows to manage the lifecycle of an SSH key assigned to a user.

**Upstream API**: [GitLab API docs](https://docs.gitlab.com/ee/api/users.html#single-ssh-key)

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gitlab/sdk/v4/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gitlab.LookupUser(ctx, &gitlab.LookupUserArgs{
			Username: pulumi.StringRef("example-user"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = gitlab.NewUserSshKey(ctx, "exampleUserSshKey", &gitlab.UserSshKeyArgs{
			UserId:    pulumi.Any(data.Gitlab_user.Id),
			Title:     pulumi.String("example-key"),
			Key:       pulumi.String("ssh-rsa AAAA..."),
			ExpiresAt: pulumi.String("2016-01-21T00:00:00.000Z"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

You can import a user ssh key using an id made up of `{user-id}:{key}`, e.g.

```sh

$ pulumi import gitlab:index/userSshKey:UserSshKey example 42:1

```

func GetUserSshKey added in v4.6.0

func GetUserSshKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UserSshKeyState, opts ...pulumi.ResourceOption) (*UserSshKey, error)

GetUserSshKey gets an existing UserSshKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewUserSshKey added in v4.6.0

func NewUserSshKey(ctx *pulumi.Context,
	name string, args *UserSshKeyArgs, opts ...pulumi.ResourceOption) (*UserSshKey, error)

NewUserSshKey registers a new resource with the given unique name, arguments, and options.

func (*UserSshKey) ElementType added in v4.6.0

func (*UserSshKey) ElementType() reflect.Type

func (*UserSshKey) ToUserSshKeyOutput added in v4.6.0

func (i *UserSshKey) ToUserSshKeyOutput() UserSshKeyOutput

func (*UserSshKey) ToUserSshKeyOutputWithContext added in v4.6.0

func (i *UserSshKey) ToUserSshKeyOutputWithContext(ctx context.Context) UserSshKeyOutput

type UserSshKeyArgs added in v4.6.0

type UserSshKeyArgs struct {
	// The expiration date of the SSH key in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)
	ExpiresAt pulumi.StringPtrInput
	// The ssh key. The SSH key `comment` (trailing part) is optional and ignored for diffing, because GitLab overrides it with the username and GitLab hostname.
	Key pulumi.StringInput
	// The title of the ssh key.
	Title pulumi.StringInput
	// The ID or username of the user.
	UserId pulumi.IntInput
}

The set of arguments for constructing a UserSshKey resource.

func (UserSshKeyArgs) ElementType added in v4.6.0

func (UserSshKeyArgs) ElementType() reflect.Type

type UserSshKeyArray added in v4.6.0

type UserSshKeyArray []UserSshKeyInput

func (UserSshKeyArray) ElementType added in v4.6.0

func (UserSshKeyArray) ElementType() reflect.Type

func (UserSshKeyArray) ToUserSshKeyArrayOutput added in v4.6.0

func (i UserSshKeyArray) ToUserSshKeyArrayOutput() UserSshKeyArrayOutput

func (UserSshKeyArray) ToUserSshKeyArrayOutputWithContext added in v4.6.0

func (i UserSshKeyArray) ToUserSshKeyArrayOutputWithContext(ctx context.Context) UserSshKeyArrayOutput

type UserSshKeyArrayInput added in v4.6.0

type UserSshKeyArrayInput interface {
	pulumi.Input

	ToUserSshKeyArrayOutput() UserSshKeyArrayOutput
	ToUserSshKeyArrayOutputWithContext(context.Context) UserSshKeyArrayOutput
}

UserSshKeyArrayInput is an input type that accepts UserSshKeyArray and UserSshKeyArrayOutput values. You can construct a concrete instance of `UserSshKeyArrayInput` via:

UserSshKeyArray{ UserSshKeyArgs{...} }

type UserSshKeyArrayOutput added in v4.6.0

type UserSshKeyArrayOutput struct{ *pulumi.OutputState }

func (UserSshKeyArrayOutput) ElementType added in v4.6.0

func (UserSshKeyArrayOutput) ElementType() reflect.Type

func (UserSshKeyArrayOutput) Index added in v4.6.0

func (UserSshKeyArrayOutput) ToUserSshKeyArrayOutput added in v4.6.0

func (o UserSshKeyArrayOutput) ToUserSshKeyArrayOutput() UserSshKeyArrayOutput

func (UserSshKeyArrayOutput) ToUserSshKeyArrayOutputWithContext added in v4.6.0

func (o UserSshKeyArrayOutput) ToUserSshKeyArrayOutputWithContext(ctx context.Context) UserSshKeyArrayOutput

type UserSshKeyInput added in v4.6.0

type UserSshKeyInput interface {
	pulumi.Input

	ToUserSshKeyOutput() UserSshKeyOutput
	ToUserSshKeyOutputWithContext(ctx context.Context) UserSshKeyOutput
}

type UserSshKeyMap added in v4.6.0

type UserSshKeyMap map[string]UserSshKeyInput

func (UserSshKeyMap) ElementType added in v4.6.0

func (UserSshKeyMap) ElementType() reflect.Type

func (UserSshKeyMap) ToUserSshKeyMapOutput added in v4.6.0

func (i UserSshKeyMap) ToUserSshKeyMapOutput() UserSshKeyMapOutput

func (UserSshKeyMap) ToUserSshKeyMapOutputWithContext added in v4.6.0

func (i UserSshKeyMap) ToUserSshKeyMapOutputWithContext(ctx context.Context) UserSshKeyMapOutput

type UserSshKeyMapInput added in v4.6.0

type UserSshKeyMapInput interface {
	pulumi.Input

	ToUserSshKeyMapOutput() UserSshKeyMapOutput
	ToUserSshKeyMapOutputWithContext(context.Context) UserSshKeyMapOutput
}

UserSshKeyMapInput is an input type that accepts UserSshKeyMap and UserSshKeyMapOutput values. You can construct a concrete instance of `UserSshKeyMapInput` via:

UserSshKeyMap{ "key": UserSshKeyArgs{...} }

type UserSshKeyMapOutput added in v4.6.0

type UserSshKeyMapOutput struct{ *pulumi.OutputState }

func (UserSshKeyMapOutput) ElementType added in v4.6.0

func (UserSshKeyMapOutput) ElementType() reflect.Type

func (UserSshKeyMapOutput) MapIndex added in v4.6.0

func (UserSshKeyMapOutput) ToUserSshKeyMapOutput added in v4.6.0

func (o UserSshKeyMapOutput) ToUserSshKeyMapOutput() UserSshKeyMapOutput

func (UserSshKeyMapOutput) ToUserSshKeyMapOutputWithContext added in v4.6.0

func (o UserSshKeyMapOutput) ToUserSshKeyMapOutputWithContext(ctx context.Context) UserSshKeyMapOutput

type UserSshKeyOutput added in v4.6.0

type UserSshKeyOutput struct{ *pulumi.OutputState }

func (UserSshKeyOutput) CreatedAt added in v4.7.1

func (o UserSshKeyOutput) CreatedAt() pulumi.StringOutput

The time when this key was created in GitLab.

func (UserSshKeyOutput) ElementType added in v4.6.0

func (UserSshKeyOutput) ElementType() reflect.Type

func (UserSshKeyOutput) ExpiresAt added in v4.7.1

func (o UserSshKeyOutput) ExpiresAt() pulumi.StringPtrOutput

The expiration date of the SSH key in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)

func (UserSshKeyOutput) Key added in v4.7.1

The ssh key. The SSH key `comment` (trailing part) is optional and ignored for diffing, because GitLab overrides it with the username and GitLab hostname.

func (UserSshKeyOutput) KeyId added in v4.7.1

func (o UserSshKeyOutput) KeyId() pulumi.IntOutput

The ID of the ssh key.

func (UserSshKeyOutput) Title added in v4.7.1

The title of the ssh key.

func (UserSshKeyOutput) ToUserSshKeyOutput added in v4.6.0

func (o UserSshKeyOutput) ToUserSshKeyOutput() UserSshKeyOutput

func (UserSshKeyOutput) ToUserSshKeyOutputWithContext added in v4.6.0

func (o UserSshKeyOutput) ToUserSshKeyOutputWithContext(ctx context.Context) UserSshKeyOutput

func (UserSshKeyOutput) UserId added in v4.7.1

func (o UserSshKeyOutput) UserId() pulumi.IntOutput

The ID or username of the user.

type UserSshKeyState added in v4.6.0

type UserSshKeyState struct {
	// The time when this key was created in GitLab.
	CreatedAt pulumi.StringPtrInput
	// The expiration date of the SSH key in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)
	ExpiresAt pulumi.StringPtrInput
	// The ssh key. The SSH key `comment` (trailing part) is optional and ignored for diffing, because GitLab overrides it with the username and GitLab hostname.
	Key pulumi.StringPtrInput
	// The ID of the ssh key.
	KeyId pulumi.IntPtrInput
	// The title of the ssh key.
	Title pulumi.StringPtrInput
	// The ID or username of the user.
	UserId pulumi.IntPtrInput
}

func (UserSshKeyState) ElementType added in v4.6.0

func (UserSshKeyState) ElementType() reflect.Type

type UserState

type UserState struct {
	// Boolean, defaults to false. Whether to allow the user to create groups.
	CanCreateGroup pulumi.BoolPtrInput
	// The e-mail address of the user.
	Email pulumi.StringPtrInput
	// Boolean, defaults to false.  Whether to enable administrative privileges
	IsAdmin pulumi.BoolPtrInput
	// Boolean, defaults to false. Whether a user has access only to some internal or private projects. External users can only access projects to which they are explicitly granted access.
	IsExternal pulumi.BoolPtrInput
	// The name of the user.
	Name pulumi.StringPtrInput
	// The ID of the user's namespace. Available since GitLab 14.10.
	NamespaceId pulumi.IntPtrInput
	// The note associated to the user.
	Note pulumi.StringPtrInput
	// The password of the user.
	Password pulumi.StringPtrInput
	// Integer, defaults to 0.  Number of projects user can create.
	ProjectsLimit pulumi.IntPtrInput
	// Boolean, defaults to false. Send user password reset link.
	ResetPassword pulumi.BoolPtrInput
	// Boolean, defaults to true. Whether to skip confirmation.
	SkipConfirmation pulumi.BoolPtrInput
	// String, defaults to 'active'. The state of the user account. Valid values are `active`, `deactivated`, `blocked`.
	State pulumi.StringPtrInput
	// The username of the user.
	Username pulumi.StringPtrInput
}

func (UserState) ElementType

func (UserState) ElementType() reflect.Type

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL