com.pulumi.azure.eventgrid.kotlin.outputs.EventSubscriptionWebhookEndpoint.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.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property activeDirectoryAppIdOrUri The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests.
* @property activeDirectoryTenantId The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
* @property baseUrl The base url of the webhook where the Event Subscription will receive events.
* @property maxEventsPerBatch Maximum number of events per batch.
* @property preferredBatchSizeInKilobytes Preferred batch size in Kilobytes.
* @property url Specifies the url of the webhook where the Event Subscription will receive events.
*/
public data class EventSubscriptionWebhookEndpoint(
public val activeDirectoryAppIdOrUri: String? = null,
public val activeDirectoryTenantId: String? = null,
public val baseUrl: String? = null,
public val maxEventsPerBatch: Int? = null,
public val preferredBatchSizeInKilobytes: Int? = null,
public val url: String,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.eventgrid.outputs.EventSubscriptionWebhookEndpoint):
EventSubscriptionWebhookEndpoint = EventSubscriptionWebhookEndpoint(
activeDirectoryAppIdOrUri = javaType.activeDirectoryAppIdOrUri().map({ args0 ->
args0
}).orElse(null),
activeDirectoryTenantId = javaType.activeDirectoryTenantId().map({ args0 -> args0 }).orElse(null),
baseUrl = javaType.baseUrl().map({ args0 -> args0 }).orElse(null),
maxEventsPerBatch = javaType.maxEventsPerBatch().map({ args0 -> args0 }).orElse(null),
preferredBatchSizeInKilobytes = javaType.preferredBatchSizeInKilobytes().map({ args0 ->
args0
}).orElse(null),
url = javaType.url(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy