![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.gcp.cloudbuildv2.kotlin.outputs.ConnectionBitbucketDataCenterConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.cloudbuildv2.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property authorizerCredential Required. A http access token with the `REPO_ADMIN` scope access.
* Structure is documented below.
* @property hostUri The URI of the Bitbucket Data Center host this connection is for.
* @property readAuthorizerCredential Required. A http access token with the `REPO_READ` access.
* Structure is documented below.
* @property serverVersion (Output)
* Output only. Version of the Bitbucket Data Center running on the `host_uri`.
* @property serviceDirectoryConfig Configuration for using Service Directory to privately connect to a Bitbucket Data Center. This should only be set if the Bitbucket Data Center is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the Bitbucket Data Center will be made over the public internet.
* Structure is documented below.
* @property sslCa SSL certificate to use for requests to the Bitbucket Data Center.
* @property webhookSecretSecretVersion Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*`.
* */*/*/
*/
public data class ConnectionBitbucketDataCenterConfig(
public val authorizerCredential: ConnectionBitbucketDataCenterConfigAuthorizerCredential,
public val hostUri: String,
public val readAuthorizerCredential: ConnectionBitbucketDataCenterConfigReadAuthorizerCredential,
public val serverVersion: String? = null,
public val serviceDirectoryConfig: ConnectionBitbucketDataCenterConfigServiceDirectoryConfig? =
null,
public val sslCa: String? = null,
public val webhookSecretSecretVersion: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudbuildv2.outputs.ConnectionBitbucketDataCenterConfig): ConnectionBitbucketDataCenterConfig = ConnectionBitbucketDataCenterConfig(
authorizerCredential = javaType.authorizerCredential().let({ args0 ->
com.pulumi.gcp.cloudbuildv2.kotlin.outputs.ConnectionBitbucketDataCenterConfigAuthorizerCredential.Companion.toKotlin(args0)
}),
hostUri = javaType.hostUri(),
readAuthorizerCredential = javaType.readAuthorizerCredential().let({ args0 ->
com.pulumi.gcp.cloudbuildv2.kotlin.outputs.ConnectionBitbucketDataCenterConfigReadAuthorizerCredential.Companion.toKotlin(args0)
}),
serverVersion = javaType.serverVersion().map({ args0 -> args0 }).orElse(null),
serviceDirectoryConfig = javaType.serviceDirectoryConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudbuildv2.kotlin.outputs.ConnectionBitbucketDataCenterConfigServiceDirectoryConfig.Companion.toKotlin(args0)
})
}).orElse(null),
sslCa = javaType.sslCa().map({ args0 -> args0 }).orElse(null),
webhookSecretSecretVersion = javaType.webhookSecretSecretVersion(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy