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

com.pulumi.gcp.compute.kotlin.outputs.ResourcePolicySnapshotSchedulePolicySnapshotProperties.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.compute.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map

/**
 *
 * @property chainName Creates the new snapshot in the snapshot chain labeled with the
 * specified name. The chain name must be 1-63 characters long and comply
 * with RFC1035.
 * @property guestFlush Whether to perform a 'guest aware' snapshot.
 * @property labels A set of key-value pairs.
 * @property storageLocations Cloud Storage bucket location to store the auto snapshot
 * (regional or multi-regional)
 */
public data class ResourcePolicySnapshotSchedulePolicySnapshotProperties(
    public val chainName: String? = null,
    public val guestFlush: Boolean? = null,
    public val labels: Map? = null,
    public val storageLocations: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.ResourcePolicySnapshotSchedulePolicySnapshotProperties): ResourcePolicySnapshotSchedulePolicySnapshotProperties =
            ResourcePolicySnapshotSchedulePolicySnapshotProperties(
                chainName = javaType.chainName().map({ args0 -> args0 }).orElse(null),
                guestFlush = javaType.guestFlush().map({ args0 -> args0 }).orElse(null),
                labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
                storageLocations = javaType.storageLocations().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy