Class: Azure::ARM::DevTestLabs::Models::GalleryImageReference
- Inherits:
-
Object
- Object
- Azure::ARM::DevTestLabs::Models::GalleryImageReference
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb
Overview
The reference information for an Azure Marketplace image.
Instance Attribute Summary collapse
-
#offer ⇒ String
The offer of the gallery image.
-
#os_type ⇒ String
The OS type of the gallery image.
-
#publisher ⇒ String
The publisher of the gallery image.
-
#sku ⇒ String
The SKU of the gallery image.
-
#version ⇒ String
The version of the gallery image.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for GalleryImageReference class as Ruby Hash.
Instance Attribute Details
#offer ⇒ String
Returns The offer of the gallery image.
17 18 19 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb', line 17 def offer @offer end |
#os_type ⇒ String
Returns The OS type of the gallery image.
26 27 28 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb', line 26 def os_type @os_type end |
#publisher ⇒ String
Returns The publisher of the gallery image.
20 21 22 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb', line 20 def publisher @publisher end |
#sku ⇒ String
Returns The SKU of the gallery image.
23 24 25 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb', line 23 def sku @sku end |
#version ⇒ String
Returns The version of the gallery image.
29 30 31 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb', line 29 def version @version end |
Class Method Details
.mapper ⇒ Object
Mapper for GalleryImageReference class as Ruby Hash. This will be used for serialization/deserialization.
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 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb', line 36 def self.mapper() { required: false, serialized_name: 'GalleryImageReference', type: { name: 'Composite', class_name: 'GalleryImageReference', model_properties: { offer: { required: false, serialized_name: 'offer', type: { name: 'String' } }, publisher: { required: false, serialized_name: 'publisher', type: { name: 'String' } }, sku: { required: false, serialized_name: 'sku', type: { name: 'String' } }, os_type: { required: false, serialized_name: 'osType', type: { name: 'String' } }, version: { required: false, serialized_name: 'version', type: { name: 'String' } } } } } end |