![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.containerservice.kotlin.outputs.FluxConfigurationBucket.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.containerservice.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property accessKey Specifies the plaintext access key used to securely access the S3 bucket.
* @property bucketName Specifies the bucket name to sync from the url endpoint for the flux configuration.
* @property localAuthReference Specifies the name of a local secret on the Kubernetes cluster to use as the authentication secret rather than the managed or user-provided configuration secrets. It must be between 1 and 63 characters. It can contain only lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number.
* @property secretKeyBase64 Specifies the Base64-encoded secret key used to authenticate with the bucket source.
* @property syncIntervalInSeconds Specifies the interval at which to re-reconcile the cluster git repository source with the remote. Defaults to `600`.
* @property timeoutInSeconds Specifies the maximum time to attempt to reconcile the cluster git repository source with the remote. Defaults to `600`.
* @property tlsEnabled Specify whether to communicate with a bucket using TLS is enabled. Defaults to `true`.
* @property url Specifies the URL to sync for the flux configuration S3 bucket. It must start with `http://` or `https://`.
*/
public data class FluxConfigurationBucket(
public val accessKey: String? = null,
public val bucketName: String,
public val localAuthReference: String? = null,
public val secretKeyBase64: String? = null,
public val syncIntervalInSeconds: Int? = null,
public val timeoutInSeconds: Int? = null,
public val tlsEnabled: Boolean? = null,
public val url: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.containerservice.outputs.FluxConfigurationBucket): FluxConfigurationBucket = FluxConfigurationBucket(
accessKey = javaType.accessKey().map({ args0 -> args0 }).orElse(null),
bucketName = javaType.bucketName(),
localAuthReference = javaType.localAuthReference().map({ args0 -> args0 }).orElse(null),
secretKeyBase64 = javaType.secretKeyBase64().map({ args0 -> args0 }).orElse(null),
syncIntervalInSeconds = javaType.syncIntervalInSeconds().map({ args0 -> args0 }).orElse(null),
timeoutInSeconds = javaType.timeoutInSeconds().map({ args0 -> args0 }).orElse(null),
tlsEnabled = javaType.tlsEnabled().map({ args0 -> args0 }).orElse(null),
url = javaType.url(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy