![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.eventgrid.kotlin.inputs.PartnerAuthorizationArgs.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.eventgrid.kotlin.inputs
import com.pulumi.azurenative.eventgrid.inputs.PartnerAuthorizationArgs.builder
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.Int
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The partner authorization details.
* @property authorizedPartnersList The list of authorized partners.
* @property defaultMaximumExpirationTimeInDays Time used to validate the authorization expiration time for each authorized partner. If DefaultMaximumExpirationTimeInDays is
* not specified, the default is 7 days. Otherwise, allowed values are between 1 and 365 days.
*/
public data class PartnerAuthorizationArgs(
public val authorizedPartnersList: Output>? = null,
public val defaultMaximumExpirationTimeInDays: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.eventgrid.inputs.PartnerAuthorizationArgs =
com.pulumi.azurenative.eventgrid.inputs.PartnerAuthorizationArgs.builder()
.authorizedPartnersList(
authorizedPartnersList?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.defaultMaximumExpirationTimeInDays(
defaultMaximumExpirationTimeInDays?.applyValue({ args0 ->
args0
}),
).build()
}
/**
* Builder for [PartnerAuthorizationArgs].
*/
@PulumiTagMarker
public class PartnerAuthorizationArgsBuilder internal constructor() {
private var authorizedPartnersList: Output>? = null
private var defaultMaximumExpirationTimeInDays: Output? = null
/**
* @param value The list of authorized partners.
*/
@JvmName("ugkndeglhwbdjbry")
public suspend fun authorizedPartnersList(`value`: Output>) {
this.authorizedPartnersList = value
}
@JvmName("fwkmtgvjkkmljewk")
public suspend fun authorizedPartnersList(vararg values: Output) {
this.authorizedPartnersList = Output.all(values.asList())
}
/**
* @param values The list of authorized partners.
*/
@JvmName("tuvittogdvnvgbbu")
public suspend fun authorizedPartnersList(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy