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

com.pulumi.azure.network.kotlin.outputs.ApplicationGatewayFrontendIpConfiguration.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: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property id The ID of the Rewrite Rule Set
 * @property name The name of the Frontend IP Configuration.
 * @property privateIpAddress The Private IP Address to use for the Application Gateway.
 * @property privateIpAddressAllocation The Allocation Method for the Private IP Address. Possible values are `Dynamic` and `Static`. Defaults to `Dynamic`.
 * @property privateLinkConfigurationId The ID of the associated private link configuration.
 * @property privateLinkConfigurationName The name of the private link configuration to use for this frontend IP configuration.
 * @property publicIpAddressId The ID of a Public IP Address which the Application Gateway should use. The allocation method for the Public IP Address depends on the `sku` of this Application Gateway. Please refer to the [Azure documentation for public IP addresses](https://docs.microsoft.com/azure/virtual-network/public-ip-addresses#application-gateways) for details.
 * @property subnetId The ID of the Subnet.
 */
public data class ApplicationGatewayFrontendIpConfiguration(
    public val id: String? = null,
    public val name: String,
    public val privateIpAddress: String? = null,
    public val privateIpAddressAllocation: String? = null,
    public val privateLinkConfigurationId: String? = null,
    public val privateLinkConfigurationName: String? = null,
    public val publicIpAddressId: String? = null,
    public val subnetId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.network.outputs.ApplicationGatewayFrontendIpConfiguration): ApplicationGatewayFrontendIpConfiguration = ApplicationGatewayFrontendIpConfiguration(
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            name = javaType.name(),
            privateIpAddress = javaType.privateIpAddress().map({ args0 -> args0 }).orElse(null),
            privateIpAddressAllocation = javaType.privateIpAddressAllocation().map({ args0 ->
                args0
            }).orElse(null),
            privateLinkConfigurationId = javaType.privateLinkConfigurationId().map({ args0 ->
                args0
            }).orElse(null),
            privateLinkConfigurationName = javaType.privateLinkConfigurationName().map({ args0 ->
                args0
            }).orElse(null),
            publicIpAddressId = javaType.publicIpAddressId().map({ args0 -> args0 }).orElse(null),
            subnetId = javaType.subnetId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy