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

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

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

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

/**
 * A collection of values returned by getPublicIP.
 * @property allocationMethod The allocation method for this IP address. Possible values are `Static` or `Dynamic`.
 * @property ddosProtectionMode The DDoS protection mode of the public IP.
 * @property ddosProtectionPlanId The ID of DDoS protection plan associated with the public IP.
 * @property domainNameLabel The label for the Domain Name.
 * @property fqdn Fully qualified domain name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property idleTimeoutInMinutes Specifies the timeout for the TCP idle connection.
 * @property ipAddress The IP address value that was allocated.
 * @property ipTags A mapping of tags to assigned to the resource.
 * @property ipVersion The IP version being used, for example `IPv4` or `IPv6`.
 * @property location The region that this public ip exists.
 * @property name
 * @property resourceGroupName
 * @property reverseFqdn The fully qualified domain name that resolves to this public IP address.
 * @property sku The SKU of the Public IP.
 * @property tags A mapping of tags to assigned to the resource.
 * @property zones A list of Availability Zones in which this Public IP is located.
 */
public data class GetPublicIPResult(
    public val allocationMethod: String,
    public val ddosProtectionMode: String,
    public val ddosProtectionPlanId: String,
    public val domainNameLabel: String,
    public val fqdn: String,
    public val id: String,
    public val idleTimeoutInMinutes: Int,
    public val ipAddress: String,
    public val ipTags: Map,
    public val ipVersion: String,
    public val location: String,
    public val name: String,
    public val resourceGroupName: String,
    public val reverseFqdn: String,
    public val sku: String,
    public val tags: Map,
    public val zones: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.network.outputs.GetPublicIPResult):
            GetPublicIPResult = GetPublicIPResult(
            allocationMethod = javaType.allocationMethod(),
            ddosProtectionMode = javaType.ddosProtectionMode(),
            ddosProtectionPlanId = javaType.ddosProtectionPlanId(),
            domainNameLabel = javaType.domainNameLabel(),
            fqdn = javaType.fqdn(),
            id = javaType.id(),
            idleTimeoutInMinutes = javaType.idleTimeoutInMinutes(),
            ipAddress = javaType.ipAddress(),
            ipTags = javaType.ipTags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            ipVersion = javaType.ipVersion(),
            location = javaType.location(),
            name = javaType.name(),
            resourceGroupName = javaType.resourceGroupName(),
            reverseFqdn = javaType.reverseFqdn(),
            sku = javaType.sku(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            zones = javaType.zones().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy