Method: ObjectStorage::DirectUpload#workhorse_azure_hash

Defined in:
lib/object_storage/direct_upload.rb

#workhorse_azure_hashObject



98
99
100
101
102
103
104
105
106
107
108
109
110
111
# File 'lib/object_storage/direct_upload.rb', line 98

def workhorse_azure_hash
  {
    # Azure requires Workhorse client because direct uploads can't
    # use pre-signed URLs without buffering the whole file to disk.
    UseWorkhorseClient: true,
    RemoteTempObjectID: object_name,
    ObjectStorage: {
      Provider: 'AzureRM',
      GoCloudConfig: {
        URL: azure_gocloud_url
      }
    }
  }
end