Sha256: a4d94c28ae2f66f3c72b3427848e8d29062472bd4f265285b95002b14471942d

Contents?: true

Size: 1.48 KB

Versions: 1

Compression:

Stored size: 1.48 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::ARM::MachineLearning
  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()
        {
          required: false,
          serialized_name: 'BlobLocation',
          type: {
            name: 'Composite',
            class_name: 'BlobLocation',
            model_properties: {
              uri: {
                required: true,
                serialized_name: 'uri',
                type: {
                  name: 'String'
                }
              },
              credentials: {
                required: false,
                serialized_name: 'credentials',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_machine_learning-0.14.0 lib/generated/azure_mgmt_machine_learning/models/blob_location.rb