# 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::ContainerInstance::Mgmt::V2018_10_01
  module Models
    #
    # The GPU resource.
    #
    class GpuResource

      include MsRestAzure

      # @return [Integer] The count of the GPU resource.
      attr_accessor :count

      # @return [GpuSku] The SKU of the GPU resource. Possible values include:
      # 'K80', 'P100', 'V100'
      attr_accessor :sku


      #
      # Mapper for GpuResource class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'GpuResource',
          type: {
            name: 'Composite',
            class_name: 'GpuResource',
            model_properties: {
              count: {
                client_side_validation: true,
                required: true,
                serialized_name: 'count',
                type: {
                  name: 'Number'
                }
              },
              sku: {
                client_side_validation: true,
                required: true,
                serialized_name: 'sku',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
