Sha256: 3c90ce60ed613565dafaa130469f2ac47a416a0986fabb3946d223ea47c5e3fc

Contents?: true

Size: 1.73 KB

Versions: 2

Compression:

Stored size: 1.73 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::V2020_09_30_preview
  module Models
    #
    # Base information about the shared gallery resource in pir.
    #
    class PirSharedGalleryResource < PirResource

      include MsRestAzure

      # @return [String] The unique id of this shared gallery.
      attr_accessor :unique_id


      #
      # Mapper for PirSharedGalleryResource class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'PirSharedGalleryResource',
          type: {
            name: 'Composite',
            class_name: 'PirSharedGalleryResource',
            model_properties: {
              name: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              location: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'location',
                type: {
                  name: 'String'
                }
              },
              unique_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'identifier.uniqueId',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2020-09-30-preview/generated/azure_mgmt_compute/models/pir_shared_gallery_resource.rb
azure_mgmt_compute-0.21.1 lib/2020-09-30-preview/generated/azure_mgmt_compute/models/pir_shared_gallery_resource.rb