com.pulumi.azure.databoxedge.kotlin.outputs.GetDeviceResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.databoxedge.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* A collection of values returned by getDevice.
* @property deviceProperties A `device_properties` block as defined below.
* @property id The provider-assigned unique ID for this managed resource.
* @property location The Azure Region where the Databox Edge Device should exist.
* @property name
* @property resourceGroupName
* @property skuName The `sku_name` is comprised of two segments separated by a hyphen (e.g. `TEA_1Node_UPS_Heater-Standard`). The first segment of the `sku_name` defines the `name` of the SKU. The second segment defines the `tier` of the `sku_name`. For more information see the product documentation.
* @property tags A mapping of tags which should be assigned to the Databox Edge Device.
*/
public data class GetDeviceResult(
public val deviceProperties: List,
public val id: String,
public val location: String,
public val name: String,
public val resourceGroupName: String,
public val skuName: String,
public val tags: Map,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.databoxedge.outputs.GetDeviceResult): GetDeviceResult = GetDeviceResult(
deviceProperties = javaType.deviceProperties().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.databoxedge.kotlin.outputs.GetDeviceDeviceProperty.Companion.toKotlin(args0)
})
}),
id = javaType.id(),
location = javaType.location(),
name = javaType.name(),
resourceGroupName = javaType.resourceGroupName(),
skuName = javaType.skuName(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
)
}
}