Sha256: d77b205140a402fe20ff6639b779208b5d33dcce10746ef3b2d0afae6a341f8f

Contents?: true

Size: 1.53 KB

Versions: 7

Compression:

Stored size: 1.53 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::V2019_07_01
  module Models
    #
    # The source image from which the Image Version is going to be created.
    #
    class UserArtifactSource

      include MsRestAzure

      # @return [String] Required. The fileName of the artifact.
      attr_accessor :file_name

      # @return [String] Required. The mediaLink of the artifact, must be a
      # readable storage blob.
      attr_accessor :media_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: {
              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
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2019-07-01/generated/azure_mgmt_compute/models/user_artifact_source.rb
azure_mgmt_compute-0.21.1 lib/2019-07-01/generated/azure_mgmt_compute/models/user_artifact_source.rb
azure_mgmt_compute-0.20.0 lib/2019-07-01/generated/azure_mgmt_compute/models/user_artifact_source.rb
azure_mgmt_compute-0.19.3 lib/2019-07-01/generated/azure_mgmt_compute/models/user_artifact_source.rb
azure_mgmt_compute-0.19.2 lib/2019-07-01/generated/azure_mgmt_compute/models/user_artifact_source.rb
azure_mgmt_compute-0.19.1 lib/2019-07-01/generated/azure_mgmt_compute/models/user_artifact_source.rb
azure_mgmt_compute-0.19.0 lib/2019-07-01/generated/azure_mgmt_compute/models/user_artifact_source.rb