![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.cosmosdb.kotlin.inputs.GetSqlRoleDefinitionPlainArgs.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.cosmosdb.kotlin.inputs
import com.pulumi.azure.cosmosdb.inputs.GetSqlRoleDefinitionPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getSqlRoleDefinition.
* @property accountName The name of the Cosmos DB Account.
* @property resourceGroupName The name of the Resource Group in which the Cosmos DB SQL Role Definition is created.
* @property roleDefinitionId The GUID as the name of the Cosmos DB SQL Role Definition.
*/
public data class GetSqlRoleDefinitionPlainArgs(
public val accountName: String,
public val resourceGroupName: String,
public val roleDefinitionId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.cosmosdb.inputs.GetSqlRoleDefinitionPlainArgs =
com.pulumi.azure.cosmosdb.inputs.GetSqlRoleDefinitionPlainArgs.builder()
.accountName(accountName.let({ args0 -> args0 }))
.resourceGroupName(resourceGroupName.let({ args0 -> args0 }))
.roleDefinitionId(roleDefinitionId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetSqlRoleDefinitionPlainArgs].
*/
@PulumiTagMarker
public class GetSqlRoleDefinitionPlainArgsBuilder internal constructor() {
private var accountName: String? = null
private var resourceGroupName: String? = null
private var roleDefinitionId: String? = null
/**
* @param value The name of the Cosmos DB Account.
*/
@JvmName("qpersmlbmucbyqee")
public suspend fun accountName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.accountName = mapped
}
/**
* @param value The name of the Resource Group in which the Cosmos DB SQL Role Definition is created.
*/
@JvmName("hyvcbsnxqlrseuqg")
public suspend fun resourceGroupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.resourceGroupName = mapped
}
/**
* @param value The GUID as the name of the Cosmos DB SQL Role Definition.
*/
@JvmName("eqxfyeaeshorlcgd")
public suspend fun roleDefinitionId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.roleDefinitionId = mapped
}
internal fun build(): GetSqlRoleDefinitionPlainArgs = GetSqlRoleDefinitionPlainArgs(
accountName = accountName ?: throw PulumiNullFieldException("accountName"),
resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
roleDefinitionId = roleDefinitionId ?: throw PulumiNullFieldException("roleDefinitionId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy