Sha256: e6dac0f20b529c52675f64613674536e5f8175f64b56697963be13a8a05bc6e5

Contents?: true

Size: 1.35 KB

Versions: 1

Compression:

Stored size: 1.35 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::ARM::Logic
  module Models
    #
    # The sku type.
    #
    class Sku

      include MsRestAzure

      # @return [SkuName] The name. Possible values include: 'NotSpecified',
      # 'Free', 'Shared', 'Basic', 'Standard', 'Premium'
      attr_accessor :name

      # @return [ResourceReference] The reference to plan.
      attr_accessor :plan


      #
      # Mapper for Sku class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'Sku',
          type: {
            name: 'Composite',
            class_name: 'Sku',
            model_properties: {
              name: {
                required: true,
                serialized_name: 'name',
                type: {
                  name: 'Enum',
                  module: 'SkuName'
                }
              },
              plan: {
                required: false,
                serialized_name: 'plan',
                type: {
                  name: 'Composite',
                  class_name: 'ResourceReference'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_logic-0.14.0 lib/generated/azure_mgmt_logic/models/sku.rb