com.pulumi.gcp.logging.kotlin.outputs.GetSinkResult.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
import kotlin.collections.List
/**
* A collection of values returned by getSink.
* @property bigqueryOptions Options that affect sinks exporting data to BigQuery. Structure is documented below.
* @property description A description of this exclusion.
* @property destination The destination of the sink (or, in other words, where logs are written to).
* @property disabled Whether this exclusion is disabled and it does not exclude any log entries.
* @property exclusions Log entries that match any of the exclusion filters are not exported. Structure is documented below.
* @property filter An advanced logs filter that matches the log entries to be excluded.
* @property id
* @property name A client-assigned identifier, such as `load-balancer-exclusion`.
* @property writerIdentity The identity associated with this sink. This identity must be granted write access to the configured `destination`.
*/
public data class GetSinkResult(
public val bigqueryOptions: List,
public val description: String,
public val destination: String,
public val disabled: Boolean,
public val exclusions: List,
public val filter: String,
public val id: String,
public val name: String,
public val writerIdentity: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.logging.outputs.GetSinkResult): GetSinkResult =
GetSinkResult(
bigqueryOptions = javaType.bigqueryOptions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.logging.kotlin.outputs.GetSinkBigqueryOption.Companion.toKotlin(args0)
})
}),
description = javaType.description(),
destination = javaType.destination(),
disabled = javaType.disabled(),
exclusions = javaType.exclusions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.logging.kotlin.outputs.GetSinkExclusion.Companion.toKotlin(args0)
})
}),
filter = javaType.filter(),
id = javaType.id(),
name = javaType.name(),
writerIdentity = javaType.writerIdentity(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy