Class: Azure::Compute::Mgmt::V2019_03_01::Models::GalleryImageVersionStorageProfile

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image_version_storage_profile.rb

Overview

This is the storage profile of a Gallery Image Version.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#data_disk_imagesArray<GalleryDataDiskImage>

Returns A list of data disk images.

Returns:



19
20
21
# File 'lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image_version_storage_profile.rb', line 19

def data_disk_images
  @data_disk_images
end

#os_disk_imageGalleryOSDiskImage

Returns:



16
17
18
# File 'lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image_version_storage_profile.rb', line 16

def os_disk_image
  @os_disk_image
end

Class Method Details

.mapperObject

Mapper for GalleryImageVersionStorageProfile class as Ruby Hash. This will be used for serialization/deserialization.



26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# File 'lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image_version_storage_profile.rb', line 26

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'GalleryImageVersionStorageProfile',
    type: {
      name: 'Composite',
      class_name: 'GalleryImageVersionStorageProfile',
      model_properties: {
        os_disk_image: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'osDiskImage',
          type: {
            name: 'Composite',
            class_name: 'GalleryOSDiskImage'
          }
        },
        data_disk_images: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'dataDiskImages',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'GalleryDataDiskImageElementType',
                type: {
                  name: 'Composite',
                  class_name: 'GalleryDataDiskImage'
                }
            }
          }
        }
      }
    }
  }
end