com.pulumi.azure.maps.kotlin.outputs.GetAccountResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.maps.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 name
* @property primaryAccessKey The primary key used to authenticate and authorize access to the Maps REST APIs.
* @property resourceGroupName
* @property secondaryAccessKey The primary key used to authenticate and authorize access to the Maps REST APIs. The second key is given to provide seamless key regeneration.
* @property skuName The SKU of the Azure Maps Account.
* @property tags
* @property xMsClientId A unique identifier for the Maps Account.
*/
public data class GetAccountResult(
public val id: String,
public val name: String,
public val primaryAccessKey: String,
public val resourceGroupName: String,
public val secondaryAccessKey: String,
public val skuName: String,
public val tags: Map? = null,
public val xMsClientId: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.maps.outputs.GetAccountResult): GetAccountResult = GetAccountResult(
id = javaType.id(),
name = javaType.name(),
primaryAccessKey = javaType.primaryAccessKey(),
resourceGroupName = javaType.resourceGroupName(),
secondaryAccessKey = javaType.secondaryAccessKey(),
skuName = javaType.skuName(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
xMsClientId = javaType.xMsClientId(),
)
}
}