public UploadBlob ( |
||
url | The URL where file needs to be uploaded.If blob has private write permissions then appropriate sas url need to be passed | |
localFile | string | The full path of local file. |
fileEncryption | Microsoft.WindowsAzure.MediaServices.Client.FileEncryption | The file encryption if file needs to be stored encrypted. Pass null if no encryption required |
cancellationToken | The cancellation token. | |
client | Microsoft.WindowsAzure.Storage.Blob.CloudBlobClient | The client which will be used to upload file. Use client if request need to be signed with client credentials. When upload performed using Sas url, /// then client can be null |
retryPolicy | IRetryPolicy | The RetryPolicy delegate returns a ShouldRetry delegate, which can be used to implement a custom retry policy.RetryPolicies class can bee used to get default policies |
contentType | string | Content type of the blob |
subDirectory | string | Virtual subdirectory for this file in the blog container. |
getSharedAccessSignature | Func |
A callback function which returns Sas signature for the file to be downloaded |
return | Task |