|
@@ -534,7 +534,7 @@ namespace TEAMModelOS.SDK.Module.AzureBlob.Implements
|
|
|
/// <param name="container"></param>
|
|
|
/// <param name="storedPolicyName"></param>
|
|
|
/// <returns></returns>
|
|
|
- public string GetContainerSasUri(string containerName = null, string storedPolicyName = null)
|
|
|
+ public (string, string) GetContainerSasUri(string containerName = null, string storedPolicyName = null)
|
|
|
{
|
|
|
string sasContainerToken;
|
|
|
|
|
@@ -567,9 +567,10 @@ namespace TEAMModelOS.SDK.Module.AzureBlob.Implements
|
|
|
}
|
|
|
|
|
|
// Return the URI string for the container, including the SAS token.
|
|
|
- return sasContainerToken;
|
|
|
+
|
|
|
+ return (blobContainer.Uri.ToString() , sasContainerToken);
|
|
|
}
|
|
|
- public string GetContainerSasUriRead(string containerName, string storedPolicyName = null)
|
|
|
+ public (string, string) GetContainerSasUriRead(string containerName, string storedPolicyName = null)
|
|
|
{
|
|
|
string sasContainerToken;
|
|
|
|
|
@@ -602,7 +603,7 @@ namespace TEAMModelOS.SDK.Module.AzureBlob.Implements
|
|
|
}
|
|
|
|
|
|
// Return the URI string for the container, including the SAS token.
|
|
|
- return sasContainerToken;
|
|
|
+ return (blobContainer.Uri.ToString(), sasContainerToken);
|
|
|
}
|
|
|
|
|
|
|