Sha256: 0678a3ecd841315f6f3594be781736b63c8cca455e643a27bfe81705cccb4e20

Contents?: true

Size: 1.65 KB

Versions: 2

Compression:

Stored size: 1.65 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Compute::Mgmt::V2020_09_30_preview
  module Models
    #
    # The source image from which the Image Version is going to be created.
    #
    class UserArtifactSource

      include MsRestAzure

      # @return [String] Required. The mediaLink of the artifact, must be a
      # readable storage page blob.
      attr_accessor :media_link

      # @return [String] Optional. The defaultConfigurationLink of the
      # artifact, must be a readable storage page blob.
      attr_accessor :default_configuration_link


      #
      # Mapper for UserArtifactSource class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2020-09-30-preview/generated/azure_mgmt_compute/models/user_artifact_source.rb
azure_mgmt_compute-0.21.1 lib/2020-09-30-preview/generated/azure_mgmt_compute/models/user_artifact_source.rb