Class: Azure::Compute::Mgmt::V2019_07_01::Models::UserArtifactSource

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#file_nameString

Returns Required. The fileName of the artifact.

Returns:

  • (String)

    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

readable storage blob.

Returns:

  • (String)

    Required. The mediaLink of the artifact, must be a



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

.mapperObject

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