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

com.pulumi.azure.compute.kotlin.outputs.WindowsVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress.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.compute.kotlin.outputs

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

/**
 *
 * @property domainNameLabel The Prefix which should be used for the Domain Name Label for each Virtual Machine Instance. Azure concatenates the Domain Name Label and Virtual Machine Index to create a unique Domain Name Label for each Virtual Machine.
 * @property idleTimeoutInMinutes The Idle Timeout in Minutes for the Public IP Address. Possible values are in the range `4` to `32`.
 * @property ipTags One or more `ip_tag` blocks as defined above. Changing this forces a new resource to be created.
 * @property name The Name of the Public IP Address Configuration.
 * @property publicIpPrefixId The ID of the Public IP Address Prefix from where Public IP Addresses should be allocated. Changing this forces a new resource to be created.
 * > **Note:** This functionality is in Preview and must be opted into via `az feature register --namespace Microsoft.Network --name AllowBringYourOwnPublicIpAddress` and then `az provider register -n Microsoft.Network`.
 * @property version The Internet Protocol Version which should be used for this public IP address. Possible values are `IPv4` and `IPv6`. Defaults to `IPv4`. Changing this forces a new resource to be created.
 */
public data class WindowsVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress(
    public val domainNameLabel: String? = null,
    public val idleTimeoutInMinutes: Int? = null,
    public val ipTags: List? =
        null,
    public val name: String,
    public val publicIpPrefixId: String? = null,
    public val version: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.WindowsVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress): WindowsVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress =
            WindowsVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress(
                domainNameLabel = javaType.domainNameLabel().map({ args0 -> args0 }).orElse(null),
                idleTimeoutInMinutes = javaType.idleTimeoutInMinutes().map({ args0 -> args0 }).orElse(null),
                ipTags = javaType.ipTags().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.compute.kotlin.outputs.WindowsVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddressIpTag.Companion.toKotlin(args0)
                    })
                }),
                name = javaType.name(),
                publicIpPrefixId = javaType.publicIpPrefixId().map({ args0 -> args0 }).orElse(null),
                version = javaType.version().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy