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

com.pulumi.azure.cosmosdb.kotlin.outputs.MongoRoleDefinitionPrivilege.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.cosmosdb.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property actions A list of actions that are allowed.
 * @property resource A `resource` block as defined below.
 */
public data class MongoRoleDefinitionPrivilege(
    public val actions: List,
    public val resource: MongoRoleDefinitionPrivilegeResource,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.cosmosdb.outputs.MongoRoleDefinitionPrivilege): MongoRoleDefinitionPrivilege = MongoRoleDefinitionPrivilege(
            actions = javaType.actions().map({ args0 -> args0 }),
            resource = javaType.resource().let({ args0 ->
                com.pulumi.azure.cosmosdb.kotlin.outputs.MongoRoleDefinitionPrivilegeResource.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy