Sha256: 8503de44e900a6d3f0dee0e6a307de783f56344b1c0e5178b308c5bf957b405e

Contents?: true

Size: 1.62 KB

Versions: 6

Compression:

Stored size: 1.62 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::MachineLearning::Mgmt::V2017_01_01
  module Models
    #
    # Describes the access location for a blob.
    #
    class BlobLocation

      include MsRestAzure

      # @return [String] The URI from which the blob is accessible from. For
      # example, aml://abc for system assets or https://xyz for user assets or
      # payload.
      attr_accessor :uri

      # @return [String] Access credentials for the blob, if applicable (e.g.
      # blob specified by storage account connection string + blob URI)
      attr_accessor :credentials


      #
      # Mapper for BlobLocation class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'BlobLocation',
          type: {
            name: 'Composite',
            class_name: 'BlobLocation',
            model_properties: {
              uri: {
                client_side_validation: true,
                required: true,
                serialized_name: 'uri',
                type: {
                  name: 'String'
                }
              },
              credentials: {
                client_side_validation: true,
                required: false,
                serialized_name: 'credentials',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_machine_learning-0.17.3 lib/2017-01-01/generated/azure_mgmt_machine_learning/models/blob_location.rb
azure_mgmt_machine_learning-0.17.2 lib/2017-01-01/generated/azure_mgmt_machine_learning/models/blob_location.rb
azure_mgmt_machine_learning-0.17.1 lib/2017-01-01/generated/azure_mgmt_machine_learning/models/blob_location.rb
azure_mgmt_machine_learning-0.17.0 lib/2017-01-01/generated/azure_mgmt_machine_learning/models/blob_location.rb
azure_mgmt_machine_learning-0.16.0 lib/2017-01-01/generated/azure_mgmt_machine_learning/models/blob_location.rb
azure_mgmt_machine_learning-0.15.2 lib/2017-01-01/generated/azure_mgmt_machine_learning/models/blob_location.rb