![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.azurearcdata.kotlin.inputs.UploadServicePrincipalArgs.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.azurearcdata.kotlin.inputs
import com.pulumi.azurenative.azurearcdata.inputs.UploadServicePrincipalArgs.builder
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
/**
* Service principal for uploading billing, metrics and logs.
* @property authority Authority for the service principal. Example: https://login.microsoftonline.com/
* @property clientId Client ID of the service principal for uploading data.
* @property clientSecret Secret of the service principal
* @property tenantId Tenant ID of the service principal.
*/
public data class UploadServicePrincipalArgs(
public val authority: Output? = null,
public val clientId: Output? = null,
public val clientSecret: Output? = null,
public val tenantId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.azurearcdata.inputs.UploadServicePrincipalArgs =
com.pulumi.azurenative.azurearcdata.inputs.UploadServicePrincipalArgs.builder()
.authority(authority?.applyValue({ args0 -> args0 }))
.clientId(clientId?.applyValue({ args0 -> args0 }))
.clientSecret(clientSecret?.applyValue({ args0 -> args0 }))
.tenantId(tenantId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [UploadServicePrincipalArgs].
*/
@PulumiTagMarker
public class UploadServicePrincipalArgsBuilder internal constructor() {
private var authority: Output? = null
private var clientId: Output? = null
private var clientSecret: Output? = null
private var tenantId: Output? = null
/**
* @param value Authority for the service principal. Example: https://login.microsoftonline.com/
*/
@JvmName("kikwavbxixvrctfu")
public suspend fun authority(`value`: Output) {
this.authority = value
}
/**
* @param value Client ID of the service principal for uploading data.
*/
@JvmName("eevxcfavqnmhggwd")
public suspend fun clientId(`value`: Output) {
this.clientId = value
}
/**
* @param value Secret of the service principal
*/
@JvmName("ckulyhqeqfoqspjb")
public suspend fun clientSecret(`value`: Output) {
this.clientSecret = value
}
/**
* @param value Tenant ID of the service principal.
*/
@JvmName("ftbahldqvulfqrwm")
public suspend fun tenantId(`value`: Output) {
this.tenantId = value
}
/**
* @param value Authority for the service principal. Example: https://login.microsoftonline.com/
*/
@JvmName("aidylbrlediashpu")
public suspend fun authority(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.authority = mapped
}
/**
* @param value Client ID of the service principal for uploading data.
*/
@JvmName("qvgiuthuxguqxlor")
public suspend fun clientId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.clientId = mapped
}
/**
* @param value Secret of the service principal
*/
@JvmName("oqxramfchbgvlvyq")
public suspend fun clientSecret(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.clientSecret = mapped
}
/**
* @param value Tenant ID of the service principal.
*/
@JvmName("nwlphaaqnqjbemvj")
public suspend fun tenantId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tenantId = mapped
}
internal fun build(): UploadServicePrincipalArgs = UploadServicePrincipalArgs(
authority = authority,
clientId = clientId,
clientSecret = clientSecret,
tenantId = tenantId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy