Sha256: dd32ea185507266df42f61b6b6f4b4c035eca7a3953a24bbf575b71c31e59b70

Contents?: true

Size: 1.81 KB

Versions: 7

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::Compute::Mgmt::V2019_07_01
  module Models
    #
    # This is the gallery Image Definition identifier.
    #
    class GalleryImageIdentifier

      include MsRestAzure

      # @return [String] The name of the gallery Image Definition publisher.
      attr_accessor :publisher

      # @return [String] The name of the gallery Image Definition offer.
      attr_accessor :offer

      # @return [String] The name of the gallery Image Definition SKU.
      attr_accessor :sku


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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_image_identifier.rb
azure_mgmt_compute-0.21.1 lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_image_identifier.rb
azure_mgmt_compute-0.20.0 lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_image_identifier.rb
azure_mgmt_compute-0.19.3 lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_image_identifier.rb
azure_mgmt_compute-0.19.2 lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_image_identifier.rb
azure_mgmt_compute-0.19.1 lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_image_identifier.rb
azure_mgmt_compute-0.19.0 lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_image_identifier.rb