com.pulumi.gcp.dataproc.kotlin.outputs.GetMetastoreServiceScheduledBackup.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.dataproc.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property backupLocation A Cloud Storage URI of a folder, in the format gs:///. A sub-folder containing backup files will be stored below it.
* @property cronSchedule The scheduled interval in Cron format, see https://en.wikipedia.org/wiki/Cron The default is empty: scheduled backup is not enabled. Must be specified to enable scheduled backups.
* @property enabled Defines whether the scheduled backup is enabled. The default value is false.
* @property timeZone Specifies the time zone to be used when interpreting cronSchedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones), e.g. America/Los_Angeles or Africa/Abidjan. If left unspecified, the default is UTC.
*/
public data class GetMetastoreServiceScheduledBackup(
public val backupLocation: String,
public val cronSchedule: String,
public val enabled: Boolean,
public val timeZone: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.GetMetastoreServiceScheduledBackup): GetMetastoreServiceScheduledBackup = GetMetastoreServiceScheduledBackup(
backupLocation = javaType.backupLocation(),
cronSchedule = javaType.cronSchedule(),
enabled = javaType.enabled(),
timeZone = javaType.timeZone(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy