
com.pulumi.azure.monitoring.kotlin.outputs.ActionGroupEventHubReceiver.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.monitoring.kotlin.outputs
import kotlin.Boolean
import kotlin.Deprecated
import kotlin.String
import kotlin.Suppress
/**
*
* @property eventHubId The resource ID of the respective Event Hub.
* @property eventHubName The name of the specific Event Hub queue.
* @property eventHubNamespace The namespace name of the Event Hub.
* @property name The name of the EventHub Receiver, must be unique within action group.
* @property subscriptionId The ID for the subscription containing this Event Hub. Default to the subscription ID of the Action Group.
* > **NOTE:** `event_hub_id` is deprecated in version 3.0 and will be removed in version 4.0 of the AzureRM Provider. Please use `event_hub_name`, `event_hub_name`,and `subscription_id` instead. And `event_hub_name`, `event_hub_name` will be required properties in version 4.0.
* @property tenantId The Tenant ID for the subscription containing this Event Hub.
* @property useCommonAlertSchema Indicates whether to use common alert schema.
*/
public data class ActionGroupEventHubReceiver(
@Deprecated(
message = """
This property is deprecated and will be removed in version 4.0 of the provider, please use
'event_hub_name' and 'event_hub_namespace' instead.
""",
)
public val eventHubId: String? = null,
public val eventHubName: String? = null,
public val eventHubNamespace: String? = null,
public val name: String,
public val subscriptionId: String? = null,
public val tenantId: String? = null,
public val useCommonAlertSchema: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.ActionGroupEventHubReceiver): ActionGroupEventHubReceiver = ActionGroupEventHubReceiver(
eventHubId = javaType.eventHubId().map({ args0 -> args0 }).orElse(null),
eventHubName = javaType.eventHubName().map({ args0 -> args0 }).orElse(null),
eventHubNamespace = javaType.eventHubNamespace().map({ args0 -> args0 }).orElse(null),
name = javaType.name(),
subscriptionId = javaType.subscriptionId().map({ args0 -> args0 }).orElse(null),
tenantId = javaType.tenantId().map({ args0 -> args0 }).orElse(null),
useCommonAlertSchema = javaType.useCommonAlertSchema().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy