![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.recommendationsservice.kotlin.inputs.AccountResourcePropertiesArgs.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.recommendationsservice.kotlin.inputs
import com.pulumi.azurenative.recommendationsservice.inputs.AccountResourcePropertiesArgs.builder
import com.pulumi.azurenative.recommendationsservice.kotlin.enums.AccountConfiguration
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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Account resource properties.
* @property configuration Account configuration. This can only be set at RecommendationsService Account creation.
* @property cors The list of CORS details.
* @property endpointAuthentications The list of service endpoints authentication details.
* @property reportsConnectionString Connection string to write Accounts reports to.
*/
public data class AccountResourcePropertiesArgs(
public val configuration: Output>? = null,
public val cors: Output>? = null,
public val endpointAuthentications: Output>? = null,
public val reportsConnectionString: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.recommendationsservice.inputs.AccountResourcePropertiesArgs =
com.pulumi.azurenative.recommendationsservice.inputs.AccountResourcePropertiesArgs.builder()
.configuration(
configuration?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.cors(cors?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.endpointAuthentications(
endpointAuthentications?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.reportsConnectionString(reportsConnectionString?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AccountResourcePropertiesArgs].
*/
@PulumiTagMarker
public class AccountResourcePropertiesArgsBuilder internal constructor() {
private var configuration: Output>? = null
private var cors: Output>? = null
private var endpointAuthentications: Output>? = null
private var reportsConnectionString: Output? = null
/**
* @param value Account configuration. This can only be set at RecommendationsService Account creation.
*/
@JvmName("btaacnamuinmeqls")
public suspend fun configuration(`value`: Output>) {
this.configuration = value
}
/**
* @param value The list of CORS details.
*/
@JvmName("nvkrjwbacmqadwkj")
public suspend fun cors(`value`: Output>) {
this.cors = value
}
@JvmName("wvdqaoepcqwlahnk")
public suspend fun cors(vararg values: Output) {
this.cors = Output.all(values.asList())
}
/**
* @param values The list of CORS details.
*/
@JvmName("mdssapivropbxcxp")
public suspend fun cors(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy