Share via


QueueClient.GenerateSasUri Method

Definition

Overloads

GenerateSasUri(QueueSasBuilder)

The GenerateSasUri(QueueSasBuilder) returns a Uri that generates a Queue Service SAS Uri based on the Client properties and builder passed.

For more information, see Constructing a Service SAS

GenerateSasUri(QueueSasPermissions, DateTimeOffset)

The GenerateSasUri(QueueSasPermissions, DateTimeOffset) returns a Uri that generates a Queue Service Shared Access Signature (SAS) Uri based on the Client properties and parameters passed.

For more information, see Constructing a Service SAS.

GenerateSasUri(QueueSasBuilder)

Source:
QueueClient.cs
Source:
QueueClient.cs

The GenerateSasUri(QueueSasBuilder) returns a Uri that generates a Queue Service SAS Uri based on the Client properties and builder passed.

For more information, see Constructing a Service SAS

public virtual Uri GenerateSasUri (Azure.Storage.Sas.QueueSasBuilder builder);
abstract member GenerateSasUri : Azure.Storage.Sas.QueueSasBuilder -> Uri
override this.GenerateSasUri : Azure.Storage.Sas.QueueSasBuilder -> Uri
Public Overridable Function GenerateSasUri (builder As QueueSasBuilder) As Uri

Parameters

builder
QueueSasBuilder

Used to generate a Shared Access Signature (SAS)

Returns

Uri

A QueueSasBuilder on successfully deleting.

Remarks

A Exception will be thrown if a failure occurs.

Applies to

GenerateSasUri(QueueSasPermissions, DateTimeOffset)

Source:
QueueClient.cs
Source:
QueueClient.cs

The GenerateSasUri(QueueSasPermissions, DateTimeOffset) returns a Uri that generates a Queue Service Shared Access Signature (SAS) Uri based on the Client properties and parameters passed.

For more information, see Constructing a Service SAS.

public virtual Uri GenerateSasUri (Azure.Storage.Sas.QueueSasPermissions permissions, DateTimeOffset expiresOn);
abstract member GenerateSasUri : Azure.Storage.Sas.QueueSasPermissions * DateTimeOffset -> Uri
override this.GenerateSasUri : Azure.Storage.Sas.QueueSasPermissions * DateTimeOffset -> Uri
Public Overridable Function GenerateSasUri (permissions As QueueSasPermissions, expiresOn As DateTimeOffset) As Uri

Parameters

permissions
QueueSasPermissions

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

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 QueueSasBuilder on successfully deleting.

Remarks

A Exception will be thrown if a failure occurs.

Applies to