com.pulumi.azure.appservice.kotlin.outputs.LinuxWebAppLogsHttpLogsAzureBlobStorage.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.appservice.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property retentionInDays The time in days after which to remove blobs. A value of `0` means no retention.
* @property sasUrl SAS url to an Azure blob container with read/write/list/delete permissions.
*/
public data class LinuxWebAppLogsHttpLogsAzureBlobStorage(
public val retentionInDays: Int? = null,
public val sasUrl: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.LinuxWebAppLogsHttpLogsAzureBlobStorage): LinuxWebAppLogsHttpLogsAzureBlobStorage = LinuxWebAppLogsHttpLogsAzureBlobStorage(
retentionInDays = javaType.retentionInDays().map({ args0 -> args0 }).orElse(null),
sasUrl = javaType.sasUrl(),
)
}
}