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

com.pulumi.azurenative.network.kotlin.outputs.PoolAssociationResponse.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.network.kotlin.outputs

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

/**
 * IpamPool association information.
 * @property addressPrefixes List of assigned IP address prefixes in the IpamPool of the associated resource.
 * @property createdAt Creation time of the association.
 * @property description
 * @property numberOfReservedIPAddresses Total number of reserved IP addresses of the association.
 * @property poolId IpamPool id for which the resource is associated to.
 * @property reservationExpiresAt Expire time for IP addresses reserved.
 * @property reservedPrefixes List of reserved IP address prefixes in the IpamPool of the associated resource.
 * @property resourceId Resource id of the associated Azure resource.
 * @property totalNumberOfIPAddresses Total number of assigned IP addresses of the association.
 */
public data class PoolAssociationResponse(
    public val addressPrefixes: List,
    public val createdAt: String,
    public val description: String? = null,
    public val numberOfReservedIPAddresses: String,
    public val poolId: String? = null,
    public val reservationExpiresAt: String,
    public val reservedPrefixes: List,
    public val resourceId: String,
    public val totalNumberOfIPAddresses: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.network.outputs.PoolAssociationResponse): PoolAssociationResponse = PoolAssociationResponse(
            addressPrefixes = javaType.addressPrefixes().map({ args0 -> args0 }),
            createdAt = javaType.createdAt(),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            numberOfReservedIPAddresses = javaType.numberOfReservedIPAddresses(),
            poolId = javaType.poolId().map({ args0 -> args0 }).orElse(null),
            reservationExpiresAt = javaType.reservationExpiresAt(),
            reservedPrefixes = javaType.reservedPrefixes().map({ args0 -> args0 }),
            resourceId = javaType.resourceId(),
            totalNumberOfIPAddresses = javaType.totalNumberOfIPAddresses(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy