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

com.pulumi.azurenative.azurefleet.kotlin.outputs.VirtualMachineScaleSetPublicIPAddressConfigurationPropertiesResponse.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.azurefleet.kotlin.outputs

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

/**
 * Describes a virtual machines scale set IP Configuration's PublicIPAddress
 * configuration
 * @property deleteOption Specify what happens to the public IP when the VM is deleted
 * @property dnsSettings The dns settings to be applied on the publicIP addresses .
 * @property idleTimeoutInMinutes The idle timeout of the public IP address.
 * @property ipTags The list of IP tags associated with the public IP address.
 * @property publicIPAddressVersion Available from Api-Version 2019-07-01 onwards, it represents whether the
 * specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible
 * values are: 'IPv4' and 'IPv6'.
 * @property publicIPPrefix The PublicIPPrefix from which to allocate publicIP addresses.
 */
public data class VirtualMachineScaleSetPublicIPAddressConfigurationPropertiesResponse(
    public val deleteOption: String? = null,
    public val dnsSettings: VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettingsResponse? =
        null,
    public val idleTimeoutInMinutes: Int? = null,
    public val ipTags: List? = null,
    public val publicIPAddressVersion: String? = null,
    public val publicIPPrefix: SubResourceResponse? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.azurefleet.outputs.VirtualMachineScaleSetPublicIPAddressConfigurationPropertiesResponse): VirtualMachineScaleSetPublicIPAddressConfigurationPropertiesResponse =
            VirtualMachineScaleSetPublicIPAddressConfigurationPropertiesResponse(
                deleteOption = javaType.deleteOption().map({ args0 -> args0 }).orElse(null),
                dnsSettings = javaType.dnsSettings().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azurenative.azurefleet.kotlin.outputs.VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettingsResponse.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                idleTimeoutInMinutes = javaType.idleTimeoutInMinutes().map({ args0 -> args0 }).orElse(null),
                ipTags = javaType.ipTags().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azurenative.azurefleet.kotlin.outputs.VirtualMachineScaleSetIpTagResponse.Companion.toKotlin(args0)
                    })
                }),
                publicIPAddressVersion = javaType.publicIPAddressVersion().map({ args0 -> args0 }).orElse(null),
                publicIPPrefix = javaType.publicIPPrefix().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azurenative.azurefleet.kotlin.outputs.SubResourceResponse.Companion.toKotlin(args0)
                    })
                }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy