com.pulumi.azure.network.kotlin.outputs.SubnetDelegation.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.network.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property name A name for this delegation.
* @property serviceDelegation A `service_delegation` block as defined below.
*/
public data class SubnetDelegation(
public val name: String,
public val serviceDelegation: SubnetDelegationServiceDelegation,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.network.outputs.SubnetDelegation): SubnetDelegation = SubnetDelegation(
name = javaType.name(),
serviceDelegation = javaType.serviceDelegation().let({ args0 ->
com.pulumi.azure.network.kotlin.outputs.SubnetDelegationServiceDelegation.Companion.toKotlin(args0)
}),
)
}
}