com.pulumi.azurenative.azurefleet.kotlin.outputs.ServiceArtifactReferenceResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.azurefleet.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Specifies the service artifact reference id used to set same image version for
* all virtual machines in the scale set when using 'latest' image version.
* Minimum api-version: 2022-11-01
* @property id The service artifact reference id in the form of
* /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
*/
public data class ServiceArtifactReferenceResponse(
public val id: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.azurefleet.outputs.ServiceArtifactReferenceResponse): ServiceArtifactReferenceResponse = ServiceArtifactReferenceResponse(
id = javaType.id().map({ args0 -> args0 }).orElse(null),
)
}
}