class Azure::Compute::Mgmt::V2020_06_01::Models::Plan
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*.
Attributes
@return [String] The plan ID.
@return [String] Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
@return [String] The promotion code.
@return [String] The publisher ID.
Public Class Methods
Mapper for Plan
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-06-01/generated/azure_mgmt_compute/models/plan.rb, line 39 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Plan', type: { name: 'Composite', class_name: 'Plan', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, publisher: { client_side_validation: true, required: false, serialized_name: 'publisher', type: { name: 'String' } }, product: { client_side_validation: true, required: false, serialized_name: 'product', type: { name: 'String' } }, promotion_code: { client_side_validation: true, required: false, serialized_name: 'promotionCode', type: { name: 'String' } } } } } end