![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.quantum.kotlin.inputs.ProviderArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.quantum.kotlin.inputs
import com.pulumi.azurenative.quantum.inputs.ProviderArgs.builder
import com.pulumi.azurenative.quantum.kotlin.enums.Status
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Information about a Provider. A Provider is an entity that offers Targets to run Azure Quantum Jobs.
* @property applicationName The provider's marketplace application display name.
* @property instanceUri A Uri identifying the specific instance of this provider.
* @property providerId Unique id of this provider.
* @property providerSku The sku associated with pricing information for this provider.
* @property provisioningState Provisioning status field
* @property resourceUsageId Id to track resource usage for the provider.
*/
public data class ProviderArgs(
public val applicationName: Output? = null,
public val instanceUri: Output? = null,
public val providerId: Output? = null,
public val providerSku: Output? = null,
public val provisioningState: Output>? = null,
public val resourceUsageId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.quantum.inputs.ProviderArgs =
com.pulumi.azurenative.quantum.inputs.ProviderArgs.builder()
.applicationName(applicationName?.applyValue({ args0 -> args0 }))
.instanceUri(instanceUri?.applyValue({ args0 -> args0 }))
.providerId(providerId?.applyValue({ args0 -> args0 }))
.providerSku(providerSku?.applyValue({ args0 -> args0 }))
.provisioningState(
provisioningState?.applyValue({ args0 ->
args0.transform(
{ args0 -> args0 },
{ args0 -> args0.let({ args0 -> args0.toJava() }) },
)
}),
)
.resourceUsageId(resourceUsageId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ProviderArgs].
*/
@PulumiTagMarker
public class ProviderArgsBuilder internal constructor() {
private var applicationName: Output? = null
private var instanceUri: Output? = null
private var providerId: Output? = null
private var providerSku: Output? = null
private var provisioningState: Output>? = null
private var resourceUsageId: Output? = null
/**
* @param value The provider's marketplace application display name.
*/
@JvmName("kxoyfjmsfcvcxxsv")
public suspend fun applicationName(`value`: Output) {
this.applicationName = value
}
/**
* @param value A Uri identifying the specific instance of this provider.
*/
@JvmName("lkajaexgbvkglxxf")
public suspend fun instanceUri(`value`: Output) {
this.instanceUri = value
}
/**
* @param value Unique id of this provider.
*/
@JvmName("hwooyvxflcdnbgba")
public suspend fun providerId(`value`: Output) {
this.providerId = value
}
/**
* @param value The sku associated with pricing information for this provider.
*/
@JvmName("xjfjtxirerhmrkro")
public suspend fun providerSku(`value`: Output) {
this.providerSku = value
}
/**
* @param value Provisioning status field
*/
@JvmName("vhvogbjyqpjyunfp")
public suspend fun provisioningState(`value`: Output>) {
this.provisioningState = value
}
/**
* @param value Id to track resource usage for the provider.
*/
@JvmName("ywqwtnqrsxpsiggd")
public suspend fun resourceUsageId(`value`: Output) {
this.resourceUsageId = value
}
/**
* @param value The provider's marketplace application display name.
*/
@JvmName("vdmblqyalbygsbde")
public suspend fun applicationName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.applicationName = mapped
}
/**
* @param value A Uri identifying the specific instance of this provider.
*/
@JvmName("yawhysvprdevuydk")
public suspend fun instanceUri(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.instanceUri = mapped
}
/**
* @param value Unique id of this provider.
*/
@JvmName("unkfpgeggpsxfvxm")
public suspend fun providerId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.providerId = mapped
}
/**
* @param value The sku associated with pricing information for this provider.
*/
@JvmName("cnwaciatqvdxvbcc")
public suspend fun providerSku(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.providerSku = mapped
}
/**
* @param value Provisioning status field
*/
@JvmName("xwcckecvetovaaaq")
public suspend fun provisioningState(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.provisioningState = mapped
}
/**
* @param value Provisioning status field
*/
@JvmName("kpbscrxsohajjcyw")
public fun provisioningState(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.provisioningState = mapped
}
/**
* @param value Provisioning status field
*/
@JvmName("ntgyjxhgkrytfkal")
public fun provisioningState(`value`: Status) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.provisioningState = mapped
}
/**
* @param value Id to track resource usage for the provider.
*/
@JvmName("myqtkjlsmlbaloen")
public suspend fun resourceUsageId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.resourceUsageId = mapped
}
internal fun build(): ProviderArgs = ProviderArgs(
applicationName = applicationName,
instanceUri = instanceUri,
providerId = providerId,
providerSku = providerSku,
provisioningState = provisioningState,
resourceUsageId = resourceUsageId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy