com.pulumi.gcp.compute.kotlin.outputs.GetResourcePolicySnapshotSchedulePolicySnapshotProperty.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.compute.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
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 GetResourcePolicySnapshotSchedulePolicySnapshotProperty(
public val chainName: String,
public val guestFlush: Boolean,
public val labels: Map,
public val storageLocations: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetResourcePolicySnapshotSchedulePolicySnapshotProperty): GetResourcePolicySnapshotSchedulePolicySnapshotProperty =
GetResourcePolicySnapshotSchedulePolicySnapshotProperty(
chainName = javaType.chainName(),
guestFlush = javaType.guestFlush(),
labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
storageLocations = javaType.storageLocations().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy