
com.pulumi.azure.media.kotlin.outputs.ContentKeyPolicyPolicyOptionFairplayConfiguration.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.media.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property ask The key that must be used as FairPlay Application Secret key.
* @property offlineRentalConfiguration A `offline_rental_configuration` block as defined below.
* @property pfx The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
* @property pfxPassword The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
* @property rentalAndLeaseKeyType The rental and lease key type. Supported values are `DualExpiry`, `PersistentLimited`, `PersistentUnlimited` or `Undefined`.
* @property rentalDurationSeconds The rental duration. Must be greater than 0.
*/
public data class ContentKeyPolicyPolicyOptionFairplayConfiguration(
public val ask: String? = null,
public val offlineRentalConfiguration:
ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfiguration? = null,
public val pfx: String? = null,
public val pfxPassword: String? = null,
public val rentalAndLeaseKeyType: String? = null,
public val rentalDurationSeconds: Int? = null,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.media.outputs.ContentKeyPolicyPolicyOptionFairplayConfiguration):
ContentKeyPolicyPolicyOptionFairplayConfiguration =
ContentKeyPolicyPolicyOptionFairplayConfiguration(
ask = javaType.ask().map({ args0 -> args0 }).orElse(null),
offlineRentalConfiguration = javaType.offlineRentalConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.media.kotlin.outputs.ContentKeyPolicyPolicyOptionFairplayConfigurationOfflineRentalConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
pfx = javaType.pfx().map({ args0 -> args0 }).orElse(null),
pfxPassword = javaType.pfxPassword().map({ args0 -> args0 }).orElse(null),
rentalAndLeaseKeyType = javaType.rentalAndLeaseKeyType().map({ args0 -> args0 }).orElse(null),
rentalDurationSeconds = javaType.rentalDurationSeconds().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy