BlobBaseClient.GenerateUserDelegationSasUri Method

Definition

Overloads

GenerateUserDelegationSasUri(BlobSasPermissions, DateTimeOffset, UserDelegationKey)

The GenerateUserDelegationSasUri(BlobSasPermissions, DateTimeOffset, UserDelegationKey) returns a Uri representing a Blob Service Shared Access Signature (SAS) Uri based on the Client properties and parameters passed. The SAS is signed by the user delegation key that is passed in.

For more information, see Creating an user delegation SAS.

GenerateUserDelegationSasUri(BlobSasBuilder, UserDelegationKey)

The GenerateUserDelegationSasUri(BlobSasBuilder, UserDelegationKey) returns a Uri representing a Blob Service Shared Access Signature (SAS) Uri based on the Client properties and builder passed. The SAS is signed by the user delegation key that is passed in.

For more information, see Creating an user delegation SAS.

GenerateUserDelegationSasUri(BlobSasPermissions, DateTimeOffset, UserDelegationKey)

Source:
BlobBaseClient.cs
Source:
BlobBaseClient.cs

The GenerateUserDelegationSasUri(BlobSasPermissions, DateTimeOffset, UserDelegationKey) returns a Uri representing a Blob Service Shared Access Signature (SAS) Uri based on the Client properties and parameters passed. The SAS is signed by the user delegation key that is passed in.

For more information, see Creating an user delegation SAS.

public virtual Uri GenerateUserDelegationSasUri (Azure.Storage.Sas.BlobSasPermissions permissions, DateTimeOffset expiresOn, Azure.Storage.Blobs.Models.UserDelegationKey userDelegationKey);
abstract member GenerateUserDelegationSasUri : Azure.Storage.Sas.BlobSasPermissions * DateTimeOffset * Azure.Storage.Blobs.Models.UserDelegationKey -> Uri
override this.GenerateUserDelegationSasUri : Azure.Storage.Sas.BlobSasPermissions * DateTimeOffset * Azure.Storage.Blobs.Models.UserDelegationKey -> Uri
Public Overridable Function GenerateUserDelegationSasUri (permissions As BlobSasPermissions, expiresOn As DateTimeOffset, userDelegationKey As UserDelegationKey) As Uri

Parameters

permissions
BlobSasPermissions

Required. Specifies the list of permissions to be associated with the SAS. See BlobSasPermissions.

expiresOn
DateTimeOffset

Required. Specifies the time at which the SAS becomes invalid. This field must be omitted if it has been specified in an associated stored access policy.

Returns

Uri

A Uri containing the SAS Uri.

Remarks

A Exception will be thrown if a failure occurs.

Applies to

GenerateUserDelegationSasUri(BlobSasBuilder, UserDelegationKey)

Source:
BlobBaseClient.cs
Source:
BlobBaseClient.cs

The GenerateUserDelegationSasUri(BlobSasBuilder, UserDelegationKey) returns a Uri representing a Blob Service Shared Access Signature (SAS) Uri based on the Client properties and builder passed. The SAS is signed by the user delegation key that is passed in.

For more information, see Creating an user delegation SAS.

public virtual Uri GenerateUserDelegationSasUri (Azure.Storage.Sas.BlobSasBuilder builder, Azure.Storage.Blobs.Models.UserDelegationKey userDelegationKey);
abstract member GenerateUserDelegationSasUri : Azure.Storage.Sas.BlobSasBuilder * Azure.Storage.Blobs.Models.UserDelegationKey -> Uri
override this.GenerateUserDelegationSasUri : Azure.Storage.Sas.BlobSasBuilder * Azure.Storage.Blobs.Models.UserDelegationKey -> Uri
Public Overridable Function GenerateUserDelegationSasUri (builder As BlobSasBuilder, userDelegationKey As UserDelegationKey) As Uri

Parameters

builder
BlobSasBuilder

Required. Used to generate a Shared Access Signature (SAS).

Returns

Uri

A Uri containing the SAS Uri.

Remarks

A Exception will be thrown if a failure occurs.

Applies to