com.pulumi.azurenative.media.kotlin.outputs.GetTrackResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.media.kotlin.outputs
import kotlin.Any
import kotlin.String
import kotlin.Suppress
/**
* An Asset Track resource.
* @property id Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
* @property name The name of the resource
* @property provisioningState Provisioning state of the asset track.
* @property track Detailed information about a track in the asset.
* @property type The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
public data class GetTrackResult(
public val id: String,
public val name: String,
public val provisioningState: String,
public val track: Any? = null,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.media.outputs.GetTrackResult): GetTrackResult = GetTrackResult(
id = javaType.id(),
name = javaType.name(),
provisioningState = javaType.provisioningState(),
track = javaType.track().map({ args0 -> args0 }).orElse(null),
type = javaType.type(),
)
}
}