
com.pulumi.azure.monitoring.kotlin.outputs.ScheduledQueryRulesAlertV2Identity.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.monitoring.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property identityIds A list of User Assigned Managed Identity IDs to be assigned to this Scheduled Query Rule.
* > **NOTE:** This is required when `type` is set to `UserAssigned`. The identity associated must have required roles, read the [Azure documentation](https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-create-log-alert-rule#configure-the-alert-rule-details) for more information.
* @property principalId The Principal ID for the Service Principal associated with the Managed Service Identity of this App Service slot.
* @property tenantId The Tenant ID for the Service Principal associated with the Managed Service Identity of this App Service slot.
* @property type Specifies the type of Managed Service Identity that should be configured on this Scheduled Query Rule. Possible values are `SystemAssigned`, `UserAssigned`.
*/
public data class ScheduledQueryRulesAlertV2Identity(
public val identityIds: List? = null,
public val principalId: String? = null,
public val tenantId: String? = null,
public val type: String,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.ScheduledQueryRulesAlertV2Identity):
ScheduledQueryRulesAlertV2Identity = ScheduledQueryRulesAlertV2Identity(
identityIds = javaType.identityIds().map({ args0 -> args0 }),
principalId = javaType.principalId().map({ args0 -> args0 }).orElse(null),
tenantId = javaType.tenantId().map({ args0 -> args0 }).orElse(null),
type = javaType.type(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy