All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.monitoring.kotlin.outputs.GetActionGroupEventHubReceiver.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@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 Specifies the name of the Action Group.
 * @property subscriptionId The ID for the subscription containing this Event Hub. Default to the subscription ID of the Action Group.
 * @property tenantId The Tenant ID for the subscription containing this Event Hub.
 * @property useCommonAlertSchema Indicates whether to use common alert schema.
 */
public data class GetActionGroupEventHubReceiver(
    @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,
    public val eventHubName: String,
    public val eventHubNamespace: String,
    public val name: String,
    public val subscriptionId: String,
    public val tenantId: String,
    public val useCommonAlertSchema: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.GetActionGroupEventHubReceiver): GetActionGroupEventHubReceiver = GetActionGroupEventHubReceiver(
            eventHubId = javaType.eventHubId(),
            eventHubName = javaType.eventHubName(),
            eventHubNamespace = javaType.eventHubNamespace(),
            name = javaType.name(),
            subscriptionId = javaType.subscriptionId(),
            tenantId = javaType.tenantId(),
            useCommonAlertSchema = javaType.useCommonAlertSchema().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy