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

com.pulumi.azure.compute.kotlin.outputs.GetAvailabilitySetResult.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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map

/**
 * A collection of values returned by getAvailabilitySet.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property location The supported Azure location where the Availability Set exists.
 * @property managed Whether the availability set is managed or not.
 * @property name
 * @property platformFaultDomainCount The number of fault domains that are used.
 * @property platformUpdateDomainCount The number of update domains that are used.
 * @property resourceGroupName
 * @property tags A mapping of tags assigned to the resource.
 */
public data class GetAvailabilitySetResult(
    public val id: String,
    public val location: String,
    public val managed: Boolean,
    public val name: String,
    public val platformFaultDomainCount: String,
    public val platformUpdateDomainCount: String,
    public val resourceGroupName: String,
    public val tags: Map,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.GetAvailabilitySetResult): GetAvailabilitySetResult = GetAvailabilitySetResult(
            id = javaType.id(),
            location = javaType.location(),
            managed = javaType.managed(),
            name = javaType.name(),
            platformFaultDomainCount = javaType.platformFaultDomainCount(),
            platformUpdateDomainCount = javaType.platformUpdateDomainCount(),
            resourceGroupName = javaType.resourceGroupName(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy