com.pulumi.gcp.logging.kotlin.outputs.FolderSinkExclusion.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.logging.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property description A description of this exclusion.
* @property disabled If set to True, then this exclusion is disabled and it does not exclude any log entries.
* @property filter An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
* write a filter.
* @property name A client-assigned identifier, such as `load-balancer-exclusion`. Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
*/
public data class FolderSinkExclusion(
public val description: String? = null,
public val disabled: Boolean? = null,
public val filter: String,
public val name: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.logging.outputs.FolderSinkExclusion): FolderSinkExclusion = FolderSinkExclusion(
description = javaType.description().map({ args0 -> args0 }).orElse(null),
disabled = javaType.disabled().map({ args0 -> args0 }).orElse(null),
filter = javaType.filter(),
name = javaType.name(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy