![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.compute.kotlin.outputs.GetDedicatedHostGroupResult.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.compute.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* A collection of values returned by getDedicatedHostGroup.
* @property automaticPlacementEnabled Whether virtual machines or virtual machine scale sets be placed automatically on this Dedicated Host Group.
* @property id The provider-assigned unique ID for this managed resource.
* @property location The Azure location where the Dedicated Host Group exists.
* @property name
* @property platformFaultDomainCount The number of fault domains that the Dedicated Host Group spans.
* @property resourceGroupName
* @property tags A mapping of tags assigned to the resource.
* @property zones A list of Availability Zones in which this Dedicated Host Group is located.
*/
public data class GetDedicatedHostGroupResult(
public val automaticPlacementEnabled: Boolean,
public val id: String,
public val location: String,
public val name: String,
public val platformFaultDomainCount: Int,
public val resourceGroupName: String,
public val tags: Map,
public val zones: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.GetDedicatedHostGroupResult): GetDedicatedHostGroupResult = GetDedicatedHostGroupResult(
automaticPlacementEnabled = javaType.automaticPlacementEnabled(),
id = javaType.id(),
location = javaType.location(),
name = javaType.name(),
platformFaultDomainCount = javaType.platformFaultDomainCount(),
resourceGroupName = javaType.resourceGroupName(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
zones = javaType.zones().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy