TableClient.GetSasBuilder 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
GetSasBuilder(TableSasPermissions, DateTimeOffset) |
Gets a TableSasBuilder instance scoped to the current table which can be used to generate a Shared Access Signature (SAS) token capable of granting limited access to table resources. See Create a service SAS for more details. |
GetSasBuilder(String, DateTimeOffset) |
Gets a TableSasBuilder instance scoped to the current table which can be used to generate a Shared Access Signature (SAS) token capable of granting limited access to table resources. See Create a service SAS for more details. |
GetSasBuilder(TableSasPermissions, DateTimeOffset)
- Source:
- TableClient.cs
Gets a TableSasBuilder instance scoped to the current table which can be used to generate a Shared Access Signature (SAS) token capable of granting limited access to table resources. See Create a service SAS for more details.
public virtual Azure.Data.Tables.Sas.TableSasBuilder GetSasBuilder (Azure.Data.Tables.Sas.TableSasPermissions permissions, DateTimeOffset expiresOn);
abstract member GetSasBuilder : Azure.Data.Tables.Sas.TableSasPermissions * DateTimeOffset -> Azure.Data.Tables.Sas.TableSasBuilder
override this.GetSasBuilder : Azure.Data.Tables.Sas.TableSasPermissions * DateTimeOffset -> Azure.Data.Tables.Sas.TableSasBuilder
Public Overridable Function GetSasBuilder (permissions As TableSasPermissions, expiresOn As DateTimeOffset) As TableSasBuilder
Parameters
- permissions
- TableSasPermissions
TableSasPermissions containing the allowed permissions.
- expiresOn
- DateTimeOffset
The time at which the shared access signature becomes invalid.
Returns
An instance of TableSasBuilder.
Applies to
GetSasBuilder(String, DateTimeOffset)
- Source:
- TableClient.cs
Gets a TableSasBuilder instance scoped to the current table which can be used to generate a Shared Access Signature (SAS) token capable of granting limited access to table resources. See Create a service SAS for more details.
public virtual Azure.Data.Tables.Sas.TableSasBuilder GetSasBuilder (string rawPermissions, DateTimeOffset expiresOn);
abstract member GetSasBuilder : string * DateTimeOffset -> Azure.Data.Tables.Sas.TableSasBuilder
override this.GetSasBuilder : string * DateTimeOffset -> Azure.Data.Tables.Sas.TableSasBuilder
Public Overridable Function GetSasBuilder (rawPermissions As String, expiresOn As DateTimeOffset) As TableSasBuilder
Parameters
- rawPermissions
- String
The permissions associated with the shared access signature. This string should contain one or more of the following permission characters in this order: "racwdl". See GetSasBuilder(TableSasPermissions, DateTimeOffset) if you prefer to specify strongly typed permission settings.
- expiresOn
- DateTimeOffset
The time at which the shared access signature becomes invalid.
Returns
An instance of TableSasBuilder.
Applies to
Azure SDK for .NET