com.pulumi.azure.media.kotlin.outputs.LiveEventPreview.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.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property alternativeMediaId An alternative media identifier associated with the streaming locator created for the preview. The identifier can be used in the `CustomLicenseAcquisitionUrlTemplate` or the `CustomKeyAcquisitionUrlTemplate` of the Streaming Policy specified in the `streaming_policy_name` field.
* @property endpoints
* @property ipAccessControlAllows One or more `ip_access_control_allow` blocks as defined above.
* @property previewLocator The identifier of the preview locator in GUID format. Specifying this at creation time allows the caller to know the preview locator url before the event is created. If omitted, the service will generate a random identifier. Changing this forces a new resource to be created.
* @property streamingPolicyName The name of streaming policy used for the live event preview. Changing this forces a new resource to be created.
*/
public data class LiveEventPreview(
public val alternativeMediaId: String? = null,
public val endpoints: List? = null,
public val ipAccessControlAllows: List? = null,
public val previewLocator: String? = null,
public val streamingPolicyName: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.media.outputs.LiveEventPreview): LiveEventPreview =
LiveEventPreview(
alternativeMediaId = javaType.alternativeMediaId().map({ args0 -> args0 }).orElse(null),
endpoints = javaType.endpoints().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.media.kotlin.outputs.LiveEventPreviewEndpoint.Companion.toKotlin(args0)
})
}),
ipAccessControlAllows = javaType.ipAccessControlAllows().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.media.kotlin.outputs.LiveEventPreviewIpAccessControlAllow.Companion.toKotlin(args0)
})
}),
previewLocator = javaType.previewLocator().map({ args0 -> args0 }).orElse(null),
streamingPolicyName = javaType.streamingPolicyName().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy