All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.sql.kotlin.outputs.DatabaseInstanceSettingsSqlServerAuditConfig.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@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