Class: Azure::MachineLearning::Mgmt::V2017_01_01::Models::BlobLocation

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-01-01/generated/azure_mgmt_machine_learning/models/blob_location.rb

Overview

Describes the access location for a blob.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#credentialsString

blob specified by storage account connection string + blob URI)

Returns:

  • (String)

    Access credentials for the blob, if applicable (e.g.



22
23
24
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/blob_location.rb', line 22

def credentials
  @credentials
end

#uriString

example, aml://abc for system assets or xyz for user assets or payload.

Returns:

  • (String)

    The URI from which the blob is accessible from. For



18
19
20
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/blob_location.rb', line 18

def uri
  @uri
end

Class Method Details

.mapperObject

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



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
57
# File 'lib/2017-01-01/generated/azure_mgmt_machine_learning/models/blob_location.rb', line 29

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