class Azure::Compute::Mgmt::V2016_04_30_preview::Models::PurchasePlan
Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.
Attributes
name[RW]
@return [String] The plan ID.
product[RW]
@return [String] Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
publisher[RW]
@return [String] The publisher ID.
Public Class Methods
mapper()
click to toggle source
Mapper for PurchasePlan class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2016-04-30-preview/generated/azure_mgmt_compute/models/purchase_plan.rb, line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PurchasePlan', type: { name: 'Composite', class_name: 'PurchasePlan', model_properties: { publisher: { client_side_validation: true, required: true, serialized_name: 'publisher', type: { name: 'String' } }, name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, product: { client_side_validation: true, required: true, serialized_name: 'product', type: { name: 'String' } } } } } end