Share via


BlobContainerClient.GenerateUserDelegationSasUri Method

Definition

Overloads

GenerateUserDelegationSasUri(BlobSasBuilder, UserDelegationKey)

The GenerateUserDelegationSasUri(BlobSasBuilder, UserDelegationKey) returns a Uri representing a Blob Container 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(BlobContainerSasPermissions, DateTimeOffset, UserDelegationKey)

The GenerateUserDelegationSasUri(BlobContainerSasPermissions, DateTimeOffset, UserDelegationKey) returns a Uri representing a Blob Container 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)

Source:
BlobContainerClient.cs
Source:
BlobContainerClient.cs

The GenerateUserDelegationSasUri(BlobSasBuilder, UserDelegationKey) returns a Uri representing a Blob Container 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

GenerateUserDelegationSasUri(BlobContainerSasPermissions, DateTimeOffset, UserDelegationKey)

Source:
BlobContainerClient.cs
Source:
BlobContainerClient.cs

The GenerateUserDelegationSasUri(BlobContainerSasPermissions, DateTimeOffset, UserDelegationKey) returns a Uri representing a Blob Container 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.BlobContainerSasPermissions permissions, DateTimeOffset expiresOn, Azure.Storage.Blobs.Models.UserDelegationKey userDelegationKey);
abstract member GenerateUserDelegationSasUri : Azure.Storage.Sas.BlobContainerSasPermissions * DateTimeOffset * Azure.Storage.Blobs.Models.UserDelegationKey -> Uri
override this.GenerateUserDelegationSasUri : Azure.Storage.Sas.BlobContainerSasPermissions * DateTimeOffset * Azure.Storage.Blobs.Models.UserDelegationKey -> Uri
Public Overridable Function GenerateUserDelegationSasUri (permissions As BlobContainerSasPermissions, expiresOn As DateTimeOffset, userDelegationKey As UserDelegationKey) As Uri

Parameters

permissions
BlobContainerSasPermissions

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

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