![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.media.kotlin.outputs.TransformOutput.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.Deprecated
import kotlin.String
import kotlin.Suppress
/**
*
* @property audioAnalyzerPreset An `audio_analyzer_preset` block as defined above.
* @property builtinPreset A `builtin_preset` block as defined above.
* @property customPreset A `custom_preset` block as defined above.
* @property faceDetectorPreset A `face_detector_preset` block as defined above.
* @property onErrorAction A Transform can define more than one outputs. This property defines what the service should do when one output fails - either continue to produce other outputs, or, stop the other outputs. The overall Job state will not reflect failures of outputs that are specified with `ContinueJob`. Possible values are `StopProcessingJob` or `ContinueJob`. Defaults to `StopProcessingJob`.
* @property relativePriority Sets the relative priority of the TransformOutputs within a Transform. This sets the priority that the service uses for processing Transform Outputs. Possible values are `High`, `Normal` or `Low`. Defaults to `Normal`.
* @property videoAnalyzerPreset A `video_analyzer_preset` block as defined below.
* > **NOTE:** Each output can only have one type of preset: `builtin_preset`, `audio_analyzer_preset`, `custom_preset`, `face_detector_preset` or `video_analyzer_preset`. If you need to apply different presets you must create one output for each one.
*/
public data class TransformOutput(
public val audioAnalyzerPreset: TransformOutputAudioAnalyzerPreset? = null,
public val builtinPreset: TransformOutputBuiltinPreset? = null,
public val customPreset: TransformOutputCustomPreset? = null,
@Deprecated(
message = """
`face_detector_preset` will be removed in version 4.0 of the AzureRM Provider as it has been
retired.
""",
)
public val faceDetectorPreset: TransformOutputFaceDetectorPreset? = null,
public val onErrorAction: String? = null,
public val relativePriority: String? = null,
@Deprecated(
message = """
`video_analyzer_preset` will be removed in version 4.0 of the AzureRM Provider as it has been
retired.
""",
)
public val videoAnalyzerPreset: TransformOutputVideoAnalyzerPreset? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.media.outputs.TransformOutput): TransformOutput =
TransformOutput(
audioAnalyzerPreset = javaType.audioAnalyzerPreset().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.media.kotlin.outputs.TransformOutputAudioAnalyzerPreset.Companion.toKotlin(args0)
})
}).orElse(null),
builtinPreset = javaType.builtinPreset().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.media.kotlin.outputs.TransformOutputBuiltinPreset.Companion.toKotlin(args0)
})
}).orElse(null),
customPreset = javaType.customPreset().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.media.kotlin.outputs.TransformOutputCustomPreset.Companion.toKotlin(args0)
})
}).orElse(null),
faceDetectorPreset = javaType.faceDetectorPreset().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.media.kotlin.outputs.TransformOutputFaceDetectorPreset.Companion.toKotlin(args0)
})
}).orElse(null),
onErrorAction = javaType.onErrorAction().map({ args0 -> args0 }).orElse(null),
relativePriority = javaType.relativePriority().map({ args0 -> args0 }).orElse(null),
videoAnalyzerPreset = javaType.videoAnalyzerPreset().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.media.kotlin.outputs.TransformOutputVideoAnalyzerPreset.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy