Package-level declarations

Types

Link copied to clipboard
class BitbucketServerConfig : KotlinCustomResource

Creates a new BitbucketServerConfig. This API is experimental.

Link copied to clipboard
data class BitbucketServerConfigArgs(val apiKey: Output<String>? = null, val bitbucketServerConfigId: Output<String>? = null, val createTime: Output<String>? = null, val hostUri: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val peeredNetwork: Output<String>? = null, val project: Output<String>? = null, val secrets: Output<BitbucketServerSecretsArgs>? = null, val sslCa: Output<String>? = null, val username: Output<String>? = null) : ConvertibleToJava<BitbucketServerConfigArgs>

Creates a new BitbucketServerConfig. This API is experimental.

Link copied to clipboard
Link copied to clipboard
class Build : KotlinCustomResource

Starts a build with the specified configuration. This method returns a long-running Operation, which includes the build ID. Pass the build ID to GetBuild to determine the build status (such as SUCCESS or FAILURE). Auto-naming is currently not supported for this resource. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Link copied to clipboard
data class BuildArgs(val artifacts: Output<ArtifactsArgs>? = null, val availableSecrets: Output<SecretsArgs>? = null, val images: Output<List<String>>? = null, val location: Output<String>? = null, val logsBucket: Output<String>? = null, val options: Output<BuildOptionsArgs>? = null, val project: Output<String>? = null, val projectId: Output<String>? = null, val queueTtl: Output<String>? = null, val secrets: Output<List<SecretArgs>>? = null, val serviceAccount: Output<String>? = null, val source: Output<SourceArgs>? = null, val steps: Output<List<BuildStepArgs>>? = null, val substitutions: Output<Map<String, String>>? = null, val tags: Output<List<String>>? = null, val timeout: Output<String>? = null) : ConvertibleToJava<BuildArgs>

Starts a build with the specified configuration. This method returns a long-running Operation, which includes the build ID. Pass the build ID to GetBuild to determine the build status (such as SUCCESS or FAILURE). Auto-naming is currently not supported for this resource. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Link copied to clipboard

Builder for BuildArgs.

Link copied to clipboard
object BuildMapper : ResourceMapper<Build>
Link copied to clipboard

Builder for Build.

Link copied to clipboard
Link copied to clipboard
class GithubEnterpriseConfig : KotlinCustomResource

Create an association between a GCP project and a GitHub Enterprise server.

Link copied to clipboard
data class GithubEnterpriseConfigArgs(val appId: Output<String>? = null, val displayName: Output<String>? = null, val gheConfigId: Output<String>? = null, val hostUrl: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val peeredNetwork: Output<String>? = null, val project: Output<String>? = null, val projectId: Output<String>? = null, val secrets: Output<GitHubEnterpriseSecretsArgs>? = null, val sslCa: Output<String>? = null, val webhookKey: Output<String>? = null) : ConvertibleToJava<GithubEnterpriseConfigArgs>

Create an association between a GCP project and a GitHub Enterprise server.

Link copied to clipboard
Link copied to clipboard
class GitLabConfig : KotlinCustomResource

Creates a new GitLabConfig. This API is experimental

Link copied to clipboard
data class GitLabConfigArgs(val connectedRepositories: Output<List<GitLabRepositoryIdArgs>>? = null, val enterpriseConfig: Output<GitLabEnterpriseConfigArgs>? = null, val gitlabConfigId: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val secrets: Output<GitLabSecretsArgs>? = null, val username: Output<String>? = null) : ConvertibleToJava<GitLabConfigArgs>

Creates a new GitLabConfig. This API is experimental

Link copied to clipboard
Link copied to clipboard
object GitLabConfigMapper : ResourceMapper<GitLabConfig>
Link copied to clipboard
Link copied to clipboard
class Trigger : KotlinCustomResource

Creates a new BuildTrigger. This API is experimental.

Link copied to clipboard
data class TriggerArgs(val approvalConfig: Output<ApprovalConfigArgs>? = null, val autodetect: Output<Boolean>? = null, val bitbucketServerTriggerConfig: Output<BitbucketServerTriggerConfigArgs>? = null, val build: Output<BuildArgs>? = null, val description: Output<String>? = null, val disabled: Output<Boolean>? = null, val eventType: Output<TriggerEventType>? = null, val filename: Output<String>? = null, val filter: Output<String>? = null, val gitFileSource: Output<GitFileSourceArgs>? = null, val github: Output<GitHubEventsConfigArgs>? = null, val gitlabEnterpriseEventsConfig: Output<GitLabEventsConfigArgs>? = null, val ignoredFiles: Output<List<String>>? = null, val includeBuildLogs: Output<TriggerIncludeBuildLogs>? = null, val includedFiles: Output<List<String>>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val projectId: Output<String>? = null, val pubsubConfig: Output<PubsubConfigArgs>? = null, val repositoryEventConfig: Output<RepositoryEventConfigArgs>? = null, val resourceName: Output<String>? = null, val serviceAccount: Output<String>? = null, val sourceToBuild: Output<GitRepoSourceArgs>? = null, val substitutions: Output<Map<String, String>>? = null, val tags: Output<List<String>>? = null, val triggerTemplate: Output<RepoSourceArgs>? = null, val webhookConfig: Output<WebhookConfigArgs>? = null) : ConvertibleToJava<TriggerArgs>

Creates a new BuildTrigger. This API is experimental.

Link copied to clipboard
Link copied to clipboard
object TriggerMapper : ResourceMapper<Trigger>
Link copied to clipboard
Link copied to clipboard
class WorkerPool : KotlinCustomResource

Creates a WorkerPool. Auto-naming is currently not supported for this resource.

Link copied to clipboard
data class WorkerPoolArgs(val annotations: Output<Map<String, String>>? = null, val displayName: Output<String>? = null, val location: Output<String>? = null, val privatePoolV1Config: Output<PrivatePoolV1ConfigArgs>? = null, val project: Output<String>? = null, val workerPoolId: Output<String>? = null) : ConvertibleToJava<WorkerPoolArgs>

Creates a WorkerPool. Auto-naming is currently not supported for this resource.

Link copied to clipboard
Link copied to clipboard
object WorkerPoolMapper : ResourceMapper<WorkerPool>
Link copied to clipboard

Functions

Link copied to clipboard
fun build(name: String): Build
suspend fun build(name: String, block: suspend BuildResourceBuilder.() -> Unit): Build
Link copied to clipboard
Link copied to clipboard
fun trigger(name: String): Trigger
suspend fun trigger(name: String, block: suspend TriggerResourceBuilder.() -> Unit): Trigger
Link copied to clipboard
suspend fun workerPool(name: String, block: suspend WorkerPoolResourceBuilder.() -> Unit): WorkerPool