Share via


TableServiceClient.GenerateSasUri Method

Definition

Overloads

GenerateSasUri(TableAccountSasBuilder)

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

For more information, see Constructing a Service SAS

GenerateSasUri(TableAccountSasPermissions, TableAccountSasResourceTypes, DateTimeOffset)

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

For more information, see Constructing a Service SAS.

GenerateSasUri(TableAccountSasBuilder)

Source:
TableServiceClient.cs

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

For more information, see Constructing a Service SAS

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

Parameters

builder
TableAccountSasBuilder

Used to generate a Shared Access Signature (SAS).

Returns

Uri

A TableAccountSasBuilder on successfully deleting.

Remarks

An Exception will be thrown if a failure occurs.

Applies to

GenerateSasUri(TableAccountSasPermissions, TableAccountSasResourceTypes, DateTimeOffset)

Source:
TableServiceClient.cs

The GenerateSasUri(TableAccountSasPermissions, TableAccountSasResourceTypes, DateTimeOffset) returns a Uri that generates a Table 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.Data.Tables.Sas.TableAccountSasPermissions permissions, Azure.Data.Tables.Sas.TableAccountSasResourceTypes resourceTypes, DateTimeOffset expiresOn);
abstract member GenerateSasUri : Azure.Data.Tables.Sas.TableAccountSasPermissions * Azure.Data.Tables.Sas.TableAccountSasResourceTypes * DateTimeOffset -> Uri
override this.GenerateSasUri : Azure.Data.Tables.Sas.TableAccountSasPermissions * Azure.Data.Tables.Sas.TableAccountSasResourceTypes * DateTimeOffset -> Uri
Public Overridable Function GenerateSasUri (permissions As TableAccountSasPermissions, resourceTypes As TableAccountSasResourceTypes, expiresOn As DateTimeOffset) As Uri

Parameters

permissions
TableAccountSasPermissions

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

resourceTypes
TableAccountSasResourceTypes

Specifies the resource types that will can be accessed with the SAS.

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

Remarks

An Exception will be thrown if a failure occurs.

Applies to