com.pulumi.azure.network.kotlin.outputs.GetTrafficManagerProfileResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.network.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* A collection of values returned by getTrafficManagerProfile.
* @property dnsConfigs This block specifies the DNS configuration of the Profile.
* @property fqdn The FQDN of the created Profile.
* @property id The provider-assigned unique ID for this managed resource.
* @property monitorConfigs This block specifies the Endpoint monitoring configuration for the Profile.
* @property name The name of the custom header.
* @property profileStatus The status of the profile.
* @property resourceGroupName
* @property tags A mapping of tags to assign to the resource.
* @property trafficRoutingMethod Specifies the algorithm used to route traffic.
* @property trafficViewEnabled Indicates whether Traffic View is enabled for the Traffic Manager profile.
*/
public data class GetTrafficManagerProfileResult(
public val dnsConfigs: List,
public val fqdn: String,
public val id: String,
public val monitorConfigs: List,
public val name: String,
public val profileStatus: String,
public val resourceGroupName: String,
public val tags: Map? = null,
public val trafficRoutingMethod: String,
public val trafficViewEnabled: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.network.outputs.GetTrafficManagerProfileResult):
GetTrafficManagerProfileResult = GetTrafficManagerProfileResult(
dnsConfigs = javaType.dnsConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.network.kotlin.outputs.GetTrafficManagerProfileDnsConfig.Companion.toKotlin(args0)
})
}),
fqdn = javaType.fqdn(),
id = javaType.id(),
monitorConfigs = javaType.monitorConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.network.kotlin.outputs.GetTrafficManagerProfileMonitorConfig.Companion.toKotlin(args0)
})
}),
name = javaType.name(),
profileStatus = javaType.profileStatus(),
resourceGroupName = javaType.resourceGroupName(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
trafficRoutingMethod = javaType.trafficRoutingMethod(),
trafficViewEnabled = javaType.trafficViewEnabled().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy