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

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

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

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

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property name The name of the IP configuration.
 * @property primary Is this the Primary IP Configuration?
 * @property privateIpAddress The Static IP Address which should be used.
 * @property privateIpAddressAllocation The allocation method used for the Private IP Address. Possible values are `Dynamic` and `Static`.
 * @property subnetId The ID of the subnet the private link configuration should connect to.
 */
public data class ApplicationGatewayPrivateLinkConfigurationIpConfiguration(
    public val name: String,
    public val primary: Boolean,
    public val privateIpAddress: String? = null,
    public val privateIpAddressAllocation: String,
    public val subnetId: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.network.outputs.ApplicationGatewayPrivateLinkConfigurationIpConfiguration): ApplicationGatewayPrivateLinkConfigurationIpConfiguration =
            ApplicationGatewayPrivateLinkConfigurationIpConfiguration(
                name = javaType.name(),
                primary = javaType.primary(),
                privateIpAddress = javaType.privateIpAddress().map({ args0 -> args0 }).orElse(null),
                privateIpAddressAllocation = javaType.privateIpAddressAllocation(),
                subnetId = javaType.subnetId(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy