com.pulumi.azure.sentinel.kotlin.outputs.MetadataSource.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.sentinel.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property id The id of the content source, the solution ID, Log Analytics Workspace name etc.
* @property kind The kind of the content source. Possible values are `Community`, `LocalWorkspace`, `Solution` and `SourceRepository`.
* @property name The name of the content source, repo name, solution name, Log Analytics Workspace name, etc.
*/
public data class MetadataSource(
public val id: String? = null,
public val kind: String,
public val name: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.sentinel.outputs.MetadataSource): MetadataSource = MetadataSource(
id = javaType.id().map({ args0 -> args0 }).orElse(null),
kind = javaType.kind(),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
)
}
}