Sha256: ee815fb8f5dc88c45d546f2203ca07bd251a7e4f5bfd4db08c5d9b5fb04470c1

Contents?: true

Size: 1.85 KB

Versions: 19

Compression:

Stored size: 1.85 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::V2017_12_01
  module Models
    #
    # Used for establishing the purchase context of any 3rd Party artifact
    # through MarketPlace.
    #
    class PurchasePlan

      include MsRestAzure

      # @return [String] The publisher ID.
      attr_accessor :publisher

      # @return [String] The plan ID.
      attr_accessor :name

      # @return [String] Specifies the product of the image from the
      # marketplace. This is the same value as Offer under the imageReference
      # element.
      attr_accessor :product


      #
      # Mapper for PurchasePlan class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2017-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb
azure_mgmt_compute-0.21.1 lib/2017-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb
azure_mgmt_compute-0.20.0 lib/2017-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb
azure_mgmt_compute-0.19.3 lib/2017-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb
azure_mgmt_compute-0.19.2 lib/2017-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb
azure_mgmt_compute-0.19.1 lib/2017-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb
azure_mgmt_compute-0.19.0 lib/2017-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb
azure_mgmt_compute-0.18.7 lib/2017-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb
azure_mgmt_compute-0.18.6 lib/2017-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb
azure_mgmt_compute-0.18.5 lib/2017-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb
azure_mgmt_compute-0.18.4 lib/2017-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb
azure_mgmt_compute-0.18.3 lib/2017-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb
azure_mgmt_compute-0.18.2 lib/2017-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb
azure_mgmt_compute-0.18.1 lib/2017-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb
azure_mgmt_compute-0.18.0 lib/2017-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb
azure_mgmt_compute-0.17.1 lib/2017-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb
azure_mgmt_compute-0.17.0 lib/2017-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb
azure_mgmt_compute-0.16.0 lib/2017-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb
azure_mgmt_compute-0.15.2 lib/2017-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb