
com.pulumi.azure.compute.kotlin.outputs.SharedImageGallerySharing.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.String
import kotlin.Suppress
/**
*
* @property communityGallery A `community_gallery` block as defined below. Changing this forces a new resource to be created.
* > **NOTE:** `community_gallery` must be set when `permission` is set to `Community`.
* @property permission The permission of the Shared Image Gallery when sharing. Possible values are `Community`, `Groups` and `Private`. Changing this forces a new resource to be created.
* > **Note:** This requires that the Preview Feature `Microsoft.Compute/CommunityGalleries` is enabled, see [the documentation](https://learn.microsoft.com/azure/virtual-machines/share-gallery-community?tabs=cli) for more information.
*/
public data class SharedImageGallerySharing(
public val communityGallery: SharedImageGallerySharingCommunityGallery? = null,
public val permission: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.SharedImageGallerySharing):
SharedImageGallerySharing = SharedImageGallerySharing(
communityGallery = javaType.communityGallery().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.compute.kotlin.outputs.SharedImageGallerySharingCommunityGallery.Companion.toKotlin(args0)
})
}).orElse(null),
permission = javaType.permission(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy