BlobBaseClient.GetUriWithSas(BlobBaseClient) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the Uri with SAS appended if the BlobBaseClient has an AzureSasCredential, for use as the source URI when performing service to service copy where the client was initialized with an AzureSasCredential.
To retrieve, please utilize the BlobUriBuilder. To inspect the SAS token (after parsed) utilize the SasQueryParameters or BlobSasQueryParameters.
protected static Uri GetUriWithSas(Azure.Storage.Blobs.Specialized.BlobBaseClient client);
static member GetUriWithSas : Azure.Storage.Blobs.Specialized.BlobBaseClient -> Uri
Protected Shared Function GetUriWithSas (client As BlobBaseClient) As Uri
Parameters
- client
- BlobBaseClient
The storage client from which to retrieve the URI and SAS credential.
Returns
The URI with SAS appended if the client has an AzureSasCredential; otherwise, the original URI.