TableClient.GenerateSasUri Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GenerateSasUri(TableSasPermissions, DateTimeOffset) |
The GenerateSasUri(TableSasPermissions, 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(TableSasBuilder) |
The GenerateSasUri(TableSasBuilder) 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(TableSasPermissions, DateTimeOffset)
- Source:
- TableClient.cs
The GenerateSasUri(TableSasPermissions, 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.TableSasPermissions permissions, DateTimeOffset expiresOn);
abstract member GenerateSasUri : Azure.Data.Tables.Sas.TableSasPermissions * DateTimeOffset -> Uri
override this.GenerateSasUri : Azure.Data.Tables.Sas.TableSasPermissions * DateTimeOffset -> Uri
Public Overridable Function GenerateSasUri (permissions As TableSasPermissions, expiresOn As DateTimeOffset) As Uri
Parameters
- permissions
- TableSasPermissions
Required. Specifies the list of permissions to be associated with the SAS. See TableSasPermissions.
- 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
A TableSasBuilder on successfully deleting.
Remarks
An Exception will be thrown if a failure occurs.
Applies to
GenerateSasUri(TableSasBuilder)
- Source:
- TableClient.cs
The GenerateSasUri(TableSasBuilder) 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.TableSasBuilder builder);
abstract member GenerateSasUri : Azure.Data.Tables.Sas.TableSasBuilder -> Uri
override this.GenerateSasUri : Azure.Data.Tables.Sas.TableSasBuilder -> Uri
Public Overridable Function GenerateSasUri (builder As TableSasBuilder) As Uri
Parameters
- builder
- TableSasBuilder
Used to generate a Shared Access Signature (SAS).
Returns
A TableSasBuilder on successfully deleting.
Remarks
An Exception will be thrown if a failure occurs.
Applies to
Azure SDK for .NET