com.pulumi.azure.datashare.kotlin.outputs.GetShareResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.datashare.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getShare.
* @property accountId
* @property description The description of the Data Share.
* @property id The provider-assigned unique ID for this managed resource.
* @property kind The kind of the Data Share.
* @property name The name of the snapshot schedule.
* @property snapshotSchedules A `snapshot_schedule` block as defined below.
* @property terms The terms of the Data Share.
*/
public data class GetShareResult(
public val accountId: String,
public val description: String,
public val id: String,
public val kind: String,
public val name: String,
public val snapshotSchedules: List,
public val terms: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.datashare.outputs.GetShareResult): GetShareResult = GetShareResult(
accountId = javaType.accountId(),
description = javaType.description(),
id = javaType.id(),
kind = javaType.kind(),
name = javaType.name(),
snapshotSchedules = javaType.snapshotSchedules().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.datashare.kotlin.outputs.GetShareSnapshotSchedule.Companion.toKotlin(args0)
})
}),
terms = javaType.terms(),
)
}
}