
com.pulumi.azure.netapp.kotlin.outputs.GetAccountResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.netapp.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
* A collection of values returned by getAccount.
* @property id The provider-assigned unique ID for this managed resource.
* @property identity
* @property location The Azure Region where the NetApp Account exists.
* @property name
* @property resourceGroupName
* @property tags
*/
public data class GetAccountResult(
public val id: String,
public val identity: GetAccountIdentity? = null,
public val location: String,
public val name: String,
public val resourceGroupName: String,
public val tags: Map,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.netapp.outputs.GetAccountResult):
GetAccountResult = GetAccountResult(
id = javaType.id(),
identity = javaType.identity().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.netapp.kotlin.outputs.GetAccountIdentity.Companion.toKotlin(args0)
})
}).orElse(null),
location = javaType.location(),
name = javaType.name(),
resourceGroupName = javaType.resourceGroupName(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy