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

com.pulumi.azure.backup.kotlin.outputs.PolicyVMWorkloadSettings.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.backup.kotlin.outputs

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

/**
 *
 * @property compressionEnabled The compression setting for the VM Workload Backup Policy. Defaults to `false`.
 * @property timeZone The timezone for the VM Workload Backup Policy. [The possible values are defined here](https://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/).
 */
public data class PolicyVMWorkloadSettings(
    public val compressionEnabled: Boolean? = null,
    public val timeZone: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.backup.outputs.PolicyVMWorkloadSettings):
            PolicyVMWorkloadSettings = PolicyVMWorkloadSettings(
            compressionEnabled = javaType.compressionEnabled().map({ args0 -> args0 }).orElse(null),
            timeZone = javaType.timeZone(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy