![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.arckubernetes.kotlin.outputs.FluxConfigurationBlobStorage.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.arckubernetes.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property accountKey Specifies the account key (shared key) to access the storage account.
* @property containerId Specifies the Azure Blob container ID.
* @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.
* @property sasToken Specifies the shared access token to access the storage container.
* @property servicePrincipal A `service_principal` block as defined below.
* @property syncIntervalInSeconds Specifies the interval at which to re-reconcile the cluster Azure Blob source with the remote.
* @property timeoutInSeconds Specifies the maximum time to attempt to reconcile the cluster Azure Blob source with the remote.
*/
public data class FluxConfigurationBlobStorage(
public val accountKey: String? = null,
public val containerId: String,
public val localAuthReference: String? = null,
public val sasToken: String? = null,
public val servicePrincipal: FluxConfigurationBlobStorageServicePrincipal? = null,
public val syncIntervalInSeconds: Int? = null,
public val timeoutInSeconds: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.arckubernetes.outputs.FluxConfigurationBlobStorage): FluxConfigurationBlobStorage = FluxConfigurationBlobStorage(
accountKey = javaType.accountKey().map({ args0 -> args0 }).orElse(null),
containerId = javaType.containerId(),
localAuthReference = javaType.localAuthReference().map({ args0 -> args0 }).orElse(null),
sasToken = javaType.sasToken().map({ args0 -> args0 }).orElse(null),
servicePrincipal = javaType.servicePrincipal().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.arckubernetes.kotlin.outputs.FluxConfigurationBlobStorageServicePrincipal.Companion.toKotlin(args0)
})
}).orElse(null),
syncIntervalInSeconds = javaType.syncIntervalInSeconds().map({ args0 -> args0 }).orElse(null),
timeoutInSeconds = javaType.timeoutInSeconds().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy