com.pulumi.azure.eventgrid.kotlin.outputs.SystemTopicEventSubscriptionDeliveryProperty.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.eventgrid.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property headerName The name of the header to send on to the destination.
* @property secret Set to `true` if the `value` is a secret and should be protected, otherwise `false`. If `true` then this value won't be returned from Azure API calls.
* @property sourceField If the `type` is `Dynamic`, then provide the payload field to be used as the value. Valid source fields differ by subscription type.
* @property type Either `Static` or `Dynamic`.
* @property value If the `type` is `Static`, then provide the value to use.
*/
public data class SystemTopicEventSubscriptionDeliveryProperty(
public val headerName: String,
public val secret: Boolean? = null,
public val sourceField: String? = null,
public val type: String,
public val `value`: String? = null,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.eventgrid.outputs.SystemTopicEventSubscriptionDeliveryProperty):
SystemTopicEventSubscriptionDeliveryProperty = SystemTopicEventSubscriptionDeliveryProperty(
headerName = javaType.headerName(),
secret = javaType.secret().map({ args0 -> args0 }).orElse(null),
sourceField = javaType.sourceField().map({ args0 -> args0 }).orElse(null),
type = javaType.type(),
`value` = javaType.`value`().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy