class Azure::HybridCompute::Mgmt::V2019_12_12::Models::Plan
Plan
for the resource.
Attributes
name[RW]
@return [String] A user defined name of the 3rd Party Artifact that is being procured.
product[RW]
@return [String] The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
promotion_code[RW]
@return [String] A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
publisher[RW]
@return [String] The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
version[RW]
@return [String] The version of the desired product/artifact.
Public Class Methods
mapper()
click to toggle source
Mapper for Plan
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-12-12/generated/azure_mgmt_hybrid_compute/models/plan.rb, line 40 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: true, serialized_name: 'name', type: { name: 'String' } }, publisher: { client_side_validation: true, required: true, serialized_name: 'publisher', type: { name: 'String' } }, product: { client_side_validation: true, required: true, serialized_name: 'product', type: { name: 'String' } }, promotion_code: { client_side_validation: true, required: false, serialized_name: 'promotionCode', type: { name: 'String' } }, version: { client_side_validation: true, required: false, serialized_name: 'version', type: { name: 'String' } } } } } end