com.pulumi.azure.compute.kotlin.outputs.WindowsVirtualMachinePlan.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.compute.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property name Specifies the Name of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
* @property product Specifies the Product of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
* @property publisher Specifies the Publisher of the Marketplace Image this Virtual Machine should be created from. Changing this forces a new resource to be created.
* > **NOTE:** If you use the `plan` block with one of Microsoft's marketplace images (e.g. `publisher = "MicrosoftWindowsServer"`). This may prevent the purchase of the offer. An example Azure API error: `The Offer: 'WindowsServer' cannot be purchased by subscription: '12345678-12234-5678-9012-123456789012' as it is not to be sold in market: 'US'. Please choose a subscription which is associated with a different market.`
*/
public data class WindowsVirtualMachinePlan(
public val name: String,
public val product: String,
public val publisher: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.WindowsVirtualMachinePlan): WindowsVirtualMachinePlan = WindowsVirtualMachinePlan(
name = javaType.name(),
product = javaType.product(),
publisher = javaType.publisher(),
)
}
}