com.pulumi.digitalocean.kotlin.outputs.GetRegionResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.digitalocean.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getRegion.
* @property available A boolean value that represents whether new Droplets can be created in this region.
* @property features A set of features available in this region.
* @property id The provider-assigned unique ID for this managed resource.
* @property name The display name of the region.
* @property sizes A set of identifying slugs for the Droplet sizes available in this region.
* @property slug A human-readable string that is used as a unique identifier for each region.
*/
public data class GetRegionResult(
public val available: Boolean,
public val features: List,
public val id: String,
public val name: String,
public val sizes: List,
public val slug: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.GetRegionResult): GetRegionResult = GetRegionResult(
available = javaType.available(),
features = javaType.features().map({ args0 -> args0 }),
id = javaType.id(),
name = javaType.name(),
sizes = javaType.sizes().map({ args0 -> args0 }),
slug = javaType.slug(),
)
}
}