com.pulumi.azure.waf.kotlin.outputs.GetFirewallPolicyResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.waf.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
* A collection of values returned by getFirewallPolicy.
* @property id The provider-assigned unique ID for this managed resource.
* @property location
* @property name
* @property resourceGroupName
* @property tags
*/
public data class GetFirewallPolicyResult(
public val id: String,
public val location: String,
public val name: String,
public val resourceGroupName: String,
public val tags: Map? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.waf.outputs.GetFirewallPolicyResult): GetFirewallPolicyResult = GetFirewallPolicyResult(
id = javaType.id(),
location = javaType.location(),
name = javaType.name(),
resourceGroupName = javaType.resourceGroupName(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
)
}
}