com.pulumi.azure.cdn.kotlin.outputs.GetProfileResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.cdn.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
* A collection of values returned by getProfile.
* @property id The provider-assigned unique ID for this managed resource.
* @property location The Azure Region where the resource exists.
* @property name
* @property resourceGroupName
* @property sku The pricing related information of current CDN profile.
* @property tags A mapping of tags assigned to the resource.
*/
public data class GetProfileResult(
public val id: String,
public val location: String,
public val name: String,
public val resourceGroupName: String,
public val sku: String,
public val tags: Map,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.cdn.outputs.GetProfileResult): GetProfileResult =
GetProfileResult(
id = javaType.id(),
location = javaType.location(),
name = javaType.name(),
resourceGroupName = javaType.resourceGroupName(),
sku = javaType.sku(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
)
}
}