
com.pulumi.azurenative.machinelearningservices.kotlin.outputs.RecurrenceTriggerResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.machinelearningservices.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property endTime Specifies end time of schedule in ISO 8601, but without a UTC offset. Refer https://en.wikipedia.org/wiki/ISO_8601.
* Recommented format would be "2022-06-01T00:00:01"
* If not present, the schedule will run indefinitely
* @property frequency [Required] The frequency to trigger schedule.
* @property interval [Required] Specifies schedule interval in conjunction with frequency
* @property schedule The recurrence schedule.
* @property startTime Specifies start time of schedule in ISO 8601 format, but without a UTC offset.
* @property timeZone Specifies time zone in which the schedule runs.
* TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11
* @property triggerType
* Expected value is 'Recurrence'.
*/
public data class RecurrenceTriggerResponse(
public val endTime: String? = null,
public val frequency: String,
public val interval: Int,
public val schedule: RecurrenceScheduleResponse? = null,
public val startTime: String? = null,
public val timeZone: String? = null,
public val triggerType: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.machinelearningservices.outputs.RecurrenceTriggerResponse): RecurrenceTriggerResponse = RecurrenceTriggerResponse(
endTime = javaType.endTime().map({ args0 -> args0 }).orElse(null),
frequency = javaType.frequency(),
interval = javaType.interval(),
schedule = javaType.schedule().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.machinelearningservices.kotlin.outputs.RecurrenceScheduleResponse.Companion.toKotlin(args0)
})
}).orElse(null),
startTime = javaType.startTime().map({ args0 -> args0 }).orElse(null),
timeZone = javaType.timeZone().map({ args0 -> args0 }).orElse(null),
triggerType = javaType.triggerType(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy