com.pulumi.azure.appinsights.kotlin.inputs.WorkbookTemplateGalleryArgs.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.appinsights.kotlin.inputs
import com.pulumi.azure.appinsights.inputs.WorkbookTemplateGalleryArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property category Category for the gallery.
* @property name Name of the workbook template in the gallery.
* @property order Order of the template within the gallery. Defaults to `0`.
* @property resourceType Azure resource type supported by the gallery. Defaults to `Azure Monitor`.
* @property type Type of workbook supported by the workbook template. Defaults to `workbook`.
* > **Note:** See [documentation](https://docs.microsoft.com/en-us/azure/azure-monitor/visualize/workbooks-automate#galleries) for more information of `resource_type` and `type`.
*/
public data class WorkbookTemplateGalleryArgs(
public val category: Output,
public val name: Output,
public val order: Output? = null,
public val resourceType: Output? = null,
public val type: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.appinsights.inputs.WorkbookTemplateGalleryArgs =
com.pulumi.azure.appinsights.inputs.WorkbookTemplateGalleryArgs.builder()
.category(category.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.order(order?.applyValue({ args0 -> args0 }))
.resourceType(resourceType?.applyValue({ args0 -> args0 }))
.type(type?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WorkbookTemplateGalleryArgs].
*/
@PulumiTagMarker
public class WorkbookTemplateGalleryArgsBuilder internal constructor() {
private var category: Output? = null
private var name: Output? = null
private var order: Output? = null
private var resourceType: Output? = null
private var type: Output? = null
/**
* @param value Category for the gallery.
*/
@JvmName("fqeeujyxpcigiruu")
public suspend fun category(`value`: Output) {
this.category = value
}
/**
* @param value Name of the workbook template in the gallery.
*/
@JvmName("lpuxneiehufjisks")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Order of the template within the gallery. Defaults to `0`.
*/
@JvmName("ltdbfvwurwrivbdb")
public suspend fun order(`value`: Output) {
this.order = value
}
/**
* @param value Azure resource type supported by the gallery. Defaults to `Azure Monitor`.
*/
@JvmName("jcbauyxjdhecsyoo")
public suspend fun resourceType(`value`: Output) {
this.resourceType = value
}
/**
* @param value Type of workbook supported by the workbook template. Defaults to `workbook`.
* > **Note:** See [documentation](https://docs.microsoft.com/en-us/azure/azure-monitor/visualize/workbooks-automate#galleries) for more information of `resource_type` and `type`.
*/
@JvmName("mgrfojxhplqkqpka")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value Category for the gallery.
*/
@JvmName("oybagamoudjamivn")
public suspend fun category(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.category = mapped
}
/**
* @param value Name of the workbook template in the gallery.
*/
@JvmName("kvskhcemqnjkedil")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value Order of the template within the gallery. Defaults to `0`.
*/
@JvmName("jvuhjwkpinwdbayo")
public suspend fun order(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.order = mapped
}
/**
* @param value Azure resource type supported by the gallery. Defaults to `Azure Monitor`.
*/
@JvmName("fufabimyehqkkxiu")
public suspend fun resourceType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.resourceType = mapped
}
/**
* @param value Type of workbook supported by the workbook template. Defaults to `workbook`.
* > **Note:** See [documentation](https://docs.microsoft.com/en-us/azure/azure-monitor/visualize/workbooks-automate#galleries) for more information of `resource_type` and `type`.
*/
@JvmName("yqrhfsstpoinqsct")
public suspend fun type(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): WorkbookTemplateGalleryArgs = WorkbookTemplateGalleryArgs(
category = category ?: throw PulumiNullFieldException("category"),
name = name ?: throw PulumiNullFieldException("name"),
order = order,
resourceType = resourceType,
type = type,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy