All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.network.kotlin.outputs.GetIpGroupResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.network.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map

/**
 * A collection of values returned by getIpGroup.
 * @property cidrs A list of CIDRs or IP addresses.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property location The supported Azure location where the resource exists.
 * @property name
 * @property resourceGroupName
 * @property tags A mapping of tags assigned to the resource.
 */
public data class GetIpGroupResult(
    public val cidrs: List,
    public val id: String,
    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.network.outputs.GetIpGroupResult): GetIpGroupResult = GetIpGroupResult(
            cidrs = javaType.cidrs().map({ args0 -> args0 }),
            id = javaType.id(),
            location = javaType.location(),
            name = javaType.name(),
            resourceGroupName = javaType.resourceGroupName(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy