Sha256: 200ccca5f82af85b5067ab715de64a5085afe0608d75ce7236e274b724c3e7e2
Contents?: true
Size: 1.74 KB
Versions: 2
Compression:
Stored size: 1.74 KB
Contents
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Compute::Mgmt::V2016_04_30_preview module Models # # Plan for the resource. # class Plan include MsRestAzure # @return [String] The plan ID. attr_accessor :name # @return [String] The publisher ID. attr_accessor :publisher # @return [String] The offer ID. attr_accessor :product # @return [String] The promotion code. attr_accessor :promotion_code # # Mapper for Plan class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'Plan', type: { name: 'Composite', class_name: 'Plan', model_properties: { name: { required: false, serialized_name: 'name', type: { name: 'String' } }, publisher: { required: false, serialized_name: 'publisher', type: { name: 'String' } }, product: { required: false, serialized_name: 'product', type: { name: 'String' } }, promotion_code: { required: false, serialized_name: 'promotionCode', type: { name: 'String' } } } } } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
azure_mgmt_compute-0.15.1 | lib/2016-04-30-preview/generated/azure_mgmt_compute/models/plan.rb |
azure_mgmt_compute-0.15.0 | lib/2016-04-30-preview/generated/azure_mgmt_compute/models/plan.rb |