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