DataLakeSasBuilder.ToSasQueryParameters 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.
Overloads
ToSasQueryParameters(StorageSharedKeyCredential) |
Use an account's StorageSharedKeyCredential to sign this shared access signature values to produce the proper SAS query parameters for authenticating requests. |
ToSasQueryParameters(UserDelegationKey, String) |
Use an account's UserDelegationKey to sign this shared access signature values to produce the proper SAS query parameters for authenticating requests. |
ToSasQueryParameters(StorageSharedKeyCredential, String) |
Use an account's StorageSharedKeyCredential to sign this shared access signature values to produce the proper SAS query parameters for authenticating requests. |
ToSasQueryParameters(UserDelegationKey, String, String) |
Use an account's UserDelegationKey to sign this shared access signature values to produce the proper SAS query parameters for authenticating requests. |
ToSasQueryParameters(StorageSharedKeyCredential)
- Source:
- DataLakeSasBuilder.cs
- Source:
- DataLakeSasBuilder.cs
Use an account's StorageSharedKeyCredential to sign this shared access signature values to produce the proper SAS query parameters for authenticating requests.
public Azure.Storage.Sas.DataLakeSasQueryParameters ToSasQueryParameters (Azure.Storage.StorageSharedKeyCredential sharedKeyCredential);
member this.ToSasQueryParameters : Azure.Storage.StorageSharedKeyCredential -> Azure.Storage.Sas.DataLakeSasQueryParameters
Public Function ToSasQueryParameters (sharedKeyCredential As StorageSharedKeyCredential) As DataLakeSasQueryParameters
Parameters
- sharedKeyCredential
- StorageSharedKeyCredential
The storage account's StorageSharedKeyCredential.
Returns
The DataLakeSasQueryParameters used for authenticating requests.
Applies to
ToSasQueryParameters(UserDelegationKey, String)
- Source:
- DataLakeSasBuilder.cs
- Source:
- DataLakeSasBuilder.cs
Use an account's UserDelegationKey to sign this shared access signature values to produce the proper SAS query parameters for authenticating requests.
public Azure.Storage.Sas.DataLakeSasQueryParameters ToSasQueryParameters (Azure.Storage.Files.DataLake.Models.UserDelegationKey userDelegationKey, string accountName);
member this.ToSasQueryParameters : Azure.Storage.Files.DataLake.Models.UserDelegationKey * string -> Azure.Storage.Sas.DataLakeSasQueryParameters
Public Function ToSasQueryParameters (userDelegationKey As UserDelegationKey, accountName As String) As DataLakeSasQueryParameters
Parameters
- userDelegationKey
- UserDelegationKey
A UserDelegationKey returned from GetUserDelegationKeyAsync(Nullable<DateTimeOffset>, DateTimeOffset, CancellationToken).
- accountName
- String
The name of the storage account.
Returns
The DataLakeSasQueryParameters used for authenticating requests.
Applies to
ToSasQueryParameters(StorageSharedKeyCredential, String)
- Source:
- DataLakeSasBuilder.cs
- Source:
- DataLakeSasBuilder.cs
Use an account's StorageSharedKeyCredential to sign this shared access signature values to produce the proper SAS query parameters for authenticating requests.
public Azure.Storage.Sas.DataLakeSasQueryParameters ToSasQueryParameters (Azure.Storage.StorageSharedKeyCredential sharedKeyCredential, out string stringToSign);
member this.ToSasQueryParameters : Azure.Storage.StorageSharedKeyCredential * string -> Azure.Storage.Sas.DataLakeSasQueryParameters
Public Function ToSasQueryParameters (sharedKeyCredential As StorageSharedKeyCredential, ByRef stringToSign As String) As DataLakeSasQueryParameters
Parameters
- sharedKeyCredential
- StorageSharedKeyCredential
The storage account's StorageSharedKeyCredential.
- stringToSign
- String
For debugging purposes only. The string to sign that was used to generate the DataLakeSasQueryParameters.
Returns
The DataLakeSasQueryParameters used for authenticating requests.
Applies to
ToSasQueryParameters(UserDelegationKey, String, String)
- Source:
- DataLakeSasBuilder.cs
- Source:
- DataLakeSasBuilder.cs
Use an account's UserDelegationKey to sign this shared access signature values to produce the proper SAS query parameters for authenticating requests.
public Azure.Storage.Sas.DataLakeSasQueryParameters ToSasQueryParameters (Azure.Storage.Files.DataLake.Models.UserDelegationKey userDelegationKey, string accountName, out string stringToSign);
member this.ToSasQueryParameters : Azure.Storage.Files.DataLake.Models.UserDelegationKey * string * string -> Azure.Storage.Sas.DataLakeSasQueryParameters
Public Function ToSasQueryParameters (userDelegationKey As UserDelegationKey, accountName As String, ByRef stringToSign As String) As DataLakeSasQueryParameters
Parameters
- userDelegationKey
- UserDelegationKey
A UserDelegationKey returned from GetUserDelegationKeyAsync(Nullable<DateTimeOffset>, DateTimeOffset, CancellationToken).
- accountName
- String
The name of the storage account.
- stringToSign
- String
For debugging purposes only. This string will be overwritten with the string to sign that was used to generate the DataLakeSasQueryParameters.
Returns
The DataLakeSasQueryParameters used for authenticating requests.
Applies to
Azure SDK for .NET