Udostępnij za pośrednictwem


QueueServiceClient.GenerateAccountSasUri Method

Definition

Overloads

GenerateAccountSasUri(AccountSasPermissions, DateTimeOffset, AccountSasResourceTypes)

The GenerateAccountSasUri(AccountSasPermissions, DateTimeOffset, AccountSasResourceTypes) returns a Uri that generates a Queue Account Shared Access Signature based on the Client properties and parameters passed. The SAS is signed by the shared key credential of the client.

For more information, see Constructing a Service SAS

GenerateAccountSasUri(AccountSasBuilder)

The GenerateAccountSasUri(AccountSasBuilder) returns a Uri that generates a Service SAS based on the Client properties and builder passed.

For more information, see Constructing a Service SAS

GenerateAccountSasUri(AccountSasPermissions, DateTimeOffset, AccountSasResourceTypes)

Source:
QueueServiceClient.cs
Source:
QueueServiceClient.cs

The GenerateAccountSasUri(AccountSasPermissions, DateTimeOffset, AccountSasResourceTypes) returns a Uri that generates a Queue Account Shared Access Signature based on the Client properties and parameters passed. The SAS is signed by the shared key credential of the client.

For more information, see Constructing a Service SAS

public Uri GenerateAccountSasUri (Azure.Storage.Sas.AccountSasPermissions permissions, DateTimeOffset expiresOn, Azure.Storage.Sas.AccountSasResourceTypes resourceTypes);
member this.GenerateAccountSasUri : Azure.Storage.Sas.AccountSasPermissions * DateTimeOffset * Azure.Storage.Sas.AccountSasResourceTypes -> Uri
Public Function GenerateAccountSasUri (permissions As AccountSasPermissions, expiresOn As DateTimeOffset, resourceTypes As AccountSasResourceTypes) As Uri

Parameters

permissions
AccountSasPermissions

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

expiresOn
DateTimeOffset

Required. The time at which the shared access signature becomes invalid.

resourceTypes
AccountSasResourceTypes

Specifies the resource types associated with the shared access signature. The user is restricted to operations on the specified resources. See AccountSasResourceTypes.

Returns

Uri

A Uri containing the SAS Uri.

Remarks

A RequestFailedException will be thrown if a failure occurs.

Applies to

GenerateAccountSasUri(AccountSasBuilder)

Source:
QueueServiceClient.cs
Source:
QueueServiceClient.cs

The GenerateAccountSasUri(AccountSasBuilder) returns a Uri that generates a Service SAS based on the Client properties and builder passed.

For more information, see Constructing a Service SAS

public Uri GenerateAccountSasUri (Azure.Storage.Sas.AccountSasBuilder builder);
member this.GenerateAccountSasUri : Azure.Storage.Sas.AccountSasBuilder -> Uri
Public Function GenerateAccountSasUri (builder As AccountSasBuilder) As Uri

Parameters

builder
AccountSasBuilder

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