com.pulumi.azure.apimanagement.kotlin.outputs.DiagnosticBackendResponse.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.apimanagement.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property bodyBytes Number of payload bytes to log (up to 8192).
* @property dataMasking A `data_masking` block as defined below.
* @property headersToLogs Specifies a list of headers to log.
*/
public data class DiagnosticBackendResponse(
public val bodyBytes: Int? = null,
public val dataMasking: DiagnosticBackendResponseDataMasking? = null,
public val headersToLogs: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.apimanagement.outputs.DiagnosticBackendResponse):
DiagnosticBackendResponse = DiagnosticBackendResponse(
bodyBytes = javaType.bodyBytes().map({ args0 -> args0 }).orElse(null),
dataMasking = javaType.dataMasking().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.apimanagement.kotlin.outputs.DiagnosticBackendResponseDataMasking.Companion.toKotlin(args0)
})
}).orElse(null),
headersToLogs = javaType.headersToLogs().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy