
com.pulumi.azurenative.azureactivedirectory.kotlin.outputs.GetGuestUsageResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.azureactivedirectory.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
* Guest Usages Resource
* @property id An identifier that represents the Guest Usages resource.
* @property location Location of the Guest Usages resource.
* @property name The name of the Guest Usages resource.
* @property systemData Metadata pertaining to creation and last modification of the resource.
* @property tags Key-value pairs of additional resource provisioning properties.
* @property tenantId An identifier for the tenant for which the resource is being created
* @property type The type of the Guest Usages resource.
*/
public data class GetGuestUsageResult(
public val id: String,
public val location: String? = null,
public val name: String,
public val systemData: SystemDataResponse,
public val tags: Map? = null,
public val tenantId: String? = null,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.azureactivedirectory.outputs.GetGuestUsageResult): GetGuestUsageResult = GetGuestUsageResult(
id = javaType.id(),
location = javaType.location().map({ args0 -> args0 }).orElse(null),
name = javaType.name(),
systemData = javaType.systemData().let({ args0 ->
com.pulumi.azurenative.azureactivedirectory.kotlin.outputs.SystemDataResponse.Companion.toKotlin(args0)
}),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
tenantId = javaType.tenantId().map({ args0 -> args0 }).orElse(null),
type = javaType.type(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy