![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.lightsail.kotlin.outputs.DiskLocation.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.lightsail.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Location of a resource.
* @property availabilityZone The Availability Zone in which to create your disk. Use the following format: us-east-2a (case sensitive). Be sure to add the include Availability Zones parameter to your request.
* @property regionName The Region Name in which to create your disk.
*/
public data class DiskLocation(
public val availabilityZone: String? = null,
public val regionName: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.lightsail.outputs.DiskLocation): DiskLocation = DiskLocation(
availabilityZone = javaType.availabilityZone().map({ args0 -> args0 }).orElse(null),
regionName = javaType.regionName().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy