com.pulumi.gcp.sql.kotlin.outputs.DatabaseInstanceSettingsSqlServerAuditConfig.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.sql.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property bucket The name of the destination bucket (e.g., gs://mybucket).
* @property retentionInterval How long to keep generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
* @property uploadInterval How often to upload generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
*/
public data class DatabaseInstanceSettingsSqlServerAuditConfig(
public val bucket: String? = null,
public val retentionInterval: String? = null,
public val uploadInterval: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.sql.outputs.DatabaseInstanceSettingsSqlServerAuditConfig): DatabaseInstanceSettingsSqlServerAuditConfig = DatabaseInstanceSettingsSqlServerAuditConfig(
bucket = javaType.bucket().map({ args0 -> args0 }).orElse(null),
retentionInterval = javaType.retentionInterval().map({ args0 -> args0 }).orElse(null),
uploadInterval = javaType.uploadInterval().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy