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

com.pulumi.azure.cdn.kotlin.outputs.GetFrontdoorOriginGroupResult.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.cdn.kotlin.outputs

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

/**
 * A collection of values returned by getFrontdoorOriginGroup.
 * @property cdnFrontdoorProfileId Specifies the ID of the Front Door Profile within which this Front Door Origin Group exists.
 * @property healthProbes A `health_probe` block as defined below.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property loadBalancings A `load_balancing` block as defined below.
 * @property name
 * @property profileName
 * @property resourceGroupName
 * @property restoreTrafficTimeToHealedOrNewEndpointInMinutes
 * @property sessionAffinityEnabled Specifies whether session affinity is enabled on this host.
 */
public data class GetFrontdoorOriginGroupResult(
    public val cdnFrontdoorProfileId: String,
    public val healthProbes: List,
    public val id: String,
    public val loadBalancings: List,
    public val name: String,
    public val profileName: String,
    public val resourceGroupName: String,
    public val restoreTrafficTimeToHealedOrNewEndpointInMinutes: Int,
    public val sessionAffinityEnabled: Boolean,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.cdn.outputs.GetFrontdoorOriginGroupResult):
            GetFrontdoorOriginGroupResult = GetFrontdoorOriginGroupResult(
            cdnFrontdoorProfileId = javaType.cdnFrontdoorProfileId(),
            healthProbes = javaType.healthProbes().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.cdn.kotlin.outputs.GetFrontdoorOriginGroupHealthProbe.Companion.toKotlin(args0)
                })
            }),
            id = javaType.id(),
            loadBalancings = javaType.loadBalancings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.cdn.kotlin.outputs.GetFrontdoorOriginGroupLoadBalancing.Companion.toKotlin(args0)
                })
            }),
            name = javaType.name(),
            profileName = javaType.profileName(),
            resourceGroupName = javaType.resourceGroupName(),
            restoreTrafficTimeToHealedOrNewEndpointInMinutes = javaType.restoreTrafficTimeToHealedOrNewEndpointInMinutes(),
            sessionAffinityEnabled = javaType.sessionAffinityEnabled(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy