All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.media.kotlin.outputs.StreamingPolicyCommonEncryptionCbcsDrmFairplay.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.media.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property allowPersistentLicense All license to be persistent or not. Changing this forces a new Streaming Policy to be created.
 * @property customLicenseAcquisitionUrlTemplate The URL template for the custom service that delivers licenses to the end user. This is not required when using Azure Media Services for issuing licenses. Changing this forces a new Streaming Policy to be created.
 */
public data class StreamingPolicyCommonEncryptionCbcsDrmFairplay(
    public val allowPersistentLicense: Boolean? = null,
    public val customLicenseAcquisitionUrlTemplate: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.media.outputs.StreamingPolicyCommonEncryptionCbcsDrmFairplay): StreamingPolicyCommonEncryptionCbcsDrmFairplay =
            StreamingPolicyCommonEncryptionCbcsDrmFairplay(
                allowPersistentLicense = javaType.allowPersistentLicense().map({ args0 -> args0 }).orElse(null),
                customLicenseAcquisitionUrlTemplate = javaType.customLicenseAcquisitionUrlTemplate().map({ args0 ->
                    args0
                }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy