![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.iot.kotlin.inputs.GetDpsSharedAccessPolicyPlainArgs.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.iot.kotlin.inputs
import com.pulumi.azure.iot.inputs.GetDpsSharedAccessPolicyPlainArgs.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 getDpsSharedAccessPolicy.
* @property iothubDpsName Specifies the name of the IoT Hub Device Provisioning service to which the Shared Access Policy belongs.
* @property name Specifies the name of the IotHub Shared Access Policy.
* @property resourceGroupName Specifies the name of the resource group under which the IotHub Shared Access Policy resource exists.
*/
public data class GetDpsSharedAccessPolicyPlainArgs(
public val iothubDpsName: String,
public val name: String,
public val resourceGroupName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.iot.inputs.GetDpsSharedAccessPolicyPlainArgs =
com.pulumi.azure.iot.inputs.GetDpsSharedAccessPolicyPlainArgs.builder()
.iothubDpsName(iothubDpsName.let({ args0 -> args0 }))
.name(name.let({ args0 -> args0 }))
.resourceGroupName(resourceGroupName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetDpsSharedAccessPolicyPlainArgs].
*/
@PulumiTagMarker
public class GetDpsSharedAccessPolicyPlainArgsBuilder internal constructor() {
private var iothubDpsName: String? = null
private var name: String? = null
private var resourceGroupName: String? = null
/**
* @param value Specifies the name of the IoT Hub Device Provisioning service to which the Shared Access Policy belongs.
*/
@JvmName("rsosfwohfolesgjp")
public suspend fun iothubDpsName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.iothubDpsName = mapped
}
/**
* @param value Specifies the name of the IotHub Shared Access Policy.
*/
@JvmName("tsxemixoheassmff")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.name = mapped
}
/**
* @param value Specifies the name of the resource group under which the IotHub Shared Access Policy resource exists.
*/
@JvmName("kbrpvrmsmeaworlq")
public suspend fun resourceGroupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.resourceGroupName = mapped
}
internal fun build(): GetDpsSharedAccessPolicyPlainArgs = GetDpsSharedAccessPolicyPlainArgs(
iothubDpsName = iothubDpsName ?: throw PulumiNullFieldException("iothubDpsName"),
name = name ?: throw PulumiNullFieldException("name"),
resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy