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

com.pulumi.azurenative.securityandcompliance.kotlin.outputs.ServicesResourceResponseIdentity.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.securityandcompliance.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Setting indicating whether the service has a managed identity associated with it.
 * @property principalId The principal ID of the resource identity.
 * @property tenantId The tenant ID of the resource.
 * @property type Type of identity being specified, currently SystemAssigned and None are allowed.
 */
public data class ServicesResourceResponseIdentity(
    public val principalId: String,
    public val tenantId: String,
    public val type: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.securityandcompliance.outputs.ServicesResourceResponseIdentity): ServicesResourceResponseIdentity = ServicesResourceResponseIdentity(
            principalId = javaType.principalId(),
            tenantId = javaType.tenantId(),
            type = javaType.type().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy