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

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

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.monitoring.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property automationAccountId The automation account ID which holds this runbook and authenticates to Azure resources.
 * @property isGlobalRunbook Indicates whether this instance is global runbook.
 * @property name The name of the automation runbook receiver.
 * @property runbookName The name for this runbook.
 * @property serviceUri The URI where webhooks should be sent.
 * @property useCommonAlertSchema Enables or disables the common alert schema.
 * @property webhookResourceId The resource id for webhook linked to this runbook.
 */
public data class ActionGroupAutomationRunbookReceiver(
    public val automationAccountId: String,
    public val isGlobalRunbook: Boolean,
    public val name: String,
    public val runbookName: String,
    public val serviceUri: String,
    public val useCommonAlertSchema: Boolean? = null,
    public val webhookResourceId: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.ActionGroupAutomationRunbookReceiver): ActionGroupAutomationRunbookReceiver = ActionGroupAutomationRunbookReceiver(
            automationAccountId = javaType.automationAccountId(),
            isGlobalRunbook = javaType.isGlobalRunbook(),
            name = javaType.name(),
            runbookName = javaType.runbookName(),
            serviceUri = javaType.serviceUri(),
            useCommonAlertSchema = javaType.useCommonAlertSchema().map({ args0 -> args0 }).orElse(null),
            webhookResourceId = javaType.webhookResourceId(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy