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

com.pulumi.cloudflare.kotlin.outputs.GetApiTokenPermissionGroupsResult.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: 5.47.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.outputs

import kotlin.Deprecated
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map

/**
 * A collection of values returned by getApiTokenPermissionGroups.
 * @property account Map of permissions for account level resources.
 * @property id Checksum of permissions.
 * @property permissions Map of all permissions available. Should not be used as some permissions will overlap resource scope. Instead, use resource level specific attributes.
 * @property r2 Map of permissions for r2 level resources.
 * @property user Map of permissions for user level resources.
 * @property zone Map of permissions for zone level resources.
 */
public data class GetApiTokenPermissionGroupsResult(
    public val account: Map,
    public val id: String,
    @Deprecated(
        message = """
  Use specific account, zone or user attributes instead.
  """,
    )
    public val permissions: Map,
    public val r2: Map,
    public val user: Map,
    public val zone: Map,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.GetApiTokenPermissionGroupsResult): GetApiTokenPermissionGroupsResult = GetApiTokenPermissionGroupsResult(
            account = javaType.account().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            id = javaType.id(),
            permissions = javaType.permissions().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            r2 = javaType.r2().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            user = javaType.user().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            zone = javaType.zone().map({ args0 -> args0.key.to(args0.value) }).toMap(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy