Class: Azure::Compute::Mgmt::V2019_07_01::Models::UserArtifactSource
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2019_07_01::Models::UserArtifactSource
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-07-01/generated/azure_mgmt_compute/models/user_artifact_source.rb
Overview
The source image from which the Image Version is going to be created.
Instance Attribute Summary collapse
-
#file_name ⇒ String
Required.
-
#media_link ⇒ String
readable storage blob.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for UserArtifactSource class as Ruby Hash.
Instance Attribute Details
#file_name ⇒ String
Returns Required. The fileName of the artifact.
16 17 18 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/user_artifact_source.rb', line 16 def file_name @file_name end |
#media_link ⇒ String
readable storage blob.
20 21 22 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/user_artifact_source.rb', line 20 def media_link @media_link end |
Class Method Details
.mapper ⇒ Object
Mapper for UserArtifactSource class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/user_artifact_source.rb', line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'UserArtifactSource', type: { name: 'Composite', class_name: 'UserArtifactSource', model_properties: { file_name: { client_side_validation: true, required: true, serialized_name: 'fileName', type: { name: 'String' } }, media_link: { client_side_validation: true, required: true, serialized_name: 'mediaLink', type: { name: 'String' } } } } } end |