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

com.pulumi.azurenative.servicelinker.kotlin.outputs.AccessKeyInfoBaseResponse.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.servicelinker.kotlin.outputs

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

/**
 * The access key directly from target resource properties, which target service is Azure Resource, such as Microsoft.Storage
 * @property authType The authentication type.
 * Expected value is 'accessKey'.
 * @property permissions Permissions of the accessKey. `Read` and `Write` are for Azure Cosmos DB and Azure App Configuration, `Listen`, `Send` and `Manage` are for Azure Event Hub and Azure Service Bus.
 */
public data class AccessKeyInfoBaseResponse(
    public val authType: String,
    public val permissions: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.servicelinker.outputs.AccessKeyInfoBaseResponse): AccessKeyInfoBaseResponse = AccessKeyInfoBaseResponse(
            authType = javaType.authType(),
            permissions = javaType.permissions().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy