PlanArgs

data class PlanArgs(val name: Output<String>? = null, val product: Output<String>? = null, val promotionCode: Output<String>? = null, val publisher: Output<String>? = null) : ConvertibleToJava<PlanArgs>

Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save.

Constructors

Link copied to clipboard
constructor(name: Output<String>? = null, product: Output<String>? = null, promotionCode: Output<String>? = null, publisher: Output<String>? = null)

Properties

Link copied to clipboard
val name: Output<String>? = null

The plan ID.

Link copied to clipboard
val product: Output<String>? = null

Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.

Link copied to clipboard
val promotionCode: Output<String>? = null

The promotion code.

Link copied to clipboard
val publisher: Output<String>? = null

The publisher ID.

Functions

Link copied to clipboard
open override fun toJava(): PlanArgs