Class: Azure::Compute::Mgmt::V2019_12_01::Models::UserArtifactSource

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-12-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

artifact, must be a readable storage page blob.

Returns:

  • (String)

    Optional. The defaultConfigurationLink of the



21
22
23
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/user_artifact_source.rb', line 21

def default_configuration_link
  @default_configuration_link
end

readable storage page blob.

Returns:

  • (String)

    Required. The mediaLink of the artifact, must be a



17
18
19
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/user_artifact_source.rb', line 17

def media_link
  @media_link
end

Class Method Details

.mapperObject

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



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
# File 'lib/2019-12-01/generated/azure_mgmt_compute/models/user_artifact_source.rb', line 28

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'UserArtifactSource',
    type: {
      name: 'Composite',
      class_name: 'UserArtifactSource',
      model_properties: {
        media_link: {
          client_side_validation: true,
          required: true,
          serialized_name: 'mediaLink',
          type: {
            name: 'String'
          }
        },
        default_configuration_link: {
          client_side_validation: true,
          required: false,
          serialized_name: 'defaultConfigurationLink',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end