Class: Azure::Compute::Mgmt::V2020_09_30_preview::Models::GalleryArtifactVersionSource
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_09_30_preview::Models::GalleryArtifactVersionSource
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_artifact_version_source.rb
Overview
The gallery artifact version source.
Instance Attribute Summary collapse
-
#id ⇒ String
specify a disk uri, snapshot uri, user image or storage account resource.
-
#uri ⇒ String
Currently used to specify vhd/blob source.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for GalleryArtifactVersionSource class as Ruby Hash.
Instance Attribute Details
#id ⇒ String
specify a disk uri, snapshot uri, user image or storage account resource.
18 19 20 |
# File 'lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_artifact_version_source.rb', line 18 def id @id end |
#uri ⇒ String
Currently used to specify vhd/blob source.
22 23 24 |
# File 'lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_artifact_version_source.rb', line 22 def uri @uri end |
Class Method Details
.mapper ⇒ Object
Mapper for GalleryArtifactVersionSource class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_artifact_version_source.rb', line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'GalleryArtifactVersionSource', type: { name: 'Composite', class_name: 'GalleryArtifactVersionSource', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, uri: { client_side_validation: true, required: false, serialized_name: 'uri', type: { name: 'String' } } } } } end |