Sha256: da82a3efcfa203094d15830c970e8049aa97a33bbaebcee33ef5d891bb4eb918

Contents?: true

Size: 1.81 KB

Versions: 2

Compression:

Stored size: 1.81 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::Web::Mgmt::V2020_09_01
  module Models
    #
    # Collection of SKU information.
    #
    class SkuInfos

      include MsRestAzure

      # @return [String] Resource type that this SKU applies to.
      attr_accessor :resource_type

      # @return [Array<GlobalCsmSkuDescription>] List of SKUs the subscription
      # is able to use.
      attr_accessor :skus


      #
      # Mapper for SkuInfos class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'SkuInfos',
          type: {
            name: 'Composite',
            class_name: 'SkuInfos',
            model_properties: {
              resource_type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'resourceType',
                type: {
                  name: 'String'
                }
              },
              skus: {
                client_side_validation: true,
                required: false,
                serialized_name: 'skus',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'GlobalCsmSkuDescriptionElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'GlobalCsmSkuDescription'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_web-0.18.1 lib/2020-09-01/generated/azure_mgmt_web/models/sku_infos.rb
azure_mgmt_web-0.18.0 lib/2020-09-01/generated/azure_mgmt_web/models/sku_infos.rb