BlobSasBuilder.SetPermissions Method

Definition

Overloads

SetPermissions(String, Boolean)

Sets the permissions for the SAS using a raw permissions string.

SetPermissions(String)

Sets the permissions for the SAS using a raw permissions string.

SetPermissions(BlobVersionSasPermissions)

Sets the permissions for a Version SAS.

SetPermissions(SnapshotSasPermissions)

Sets the permissions for a Snapshot SAS.

SetPermissions(BlobContainerSasPermissions)

Sets the permissions for a blob container SAS.

SetPermissions(BlobAccountSasPermissions)

Sets the permissions for a blob account level SAS.

SetPermissions(BlobSasPermissions)

Sets the permissions for a blob SAS.

SetPermissions(String, Boolean)

Sets the permissions for the SAS using a raw permissions string.

public void SetPermissions (string rawPermissions, bool normalize = false);
member this.SetPermissions : string * bool -> unit
Public Sub SetPermissions (rawPermissions As String, Optional normalize As Boolean = false)

Parameters

rawPermissions
String

Raw permissions string for the SAS.

normalize
Boolean

If the permissions should be validated and correctly ordered.

Applies to

SetPermissions(String)

Sets the permissions for the SAS using a raw permissions string.

public void SetPermissions (string rawPermissions);
member this.SetPermissions : string -> unit
Public Sub SetPermissions (rawPermissions As String)

Parameters

rawPermissions
String

Raw permissions string for the SAS.

Applies to

SetPermissions(BlobVersionSasPermissions)

Sets the permissions for a Version SAS.

public void SetPermissions (Azure.Storage.Sas.BlobVersionSasPermissions permissions);
member this.SetPermissions : Azure.Storage.Sas.BlobVersionSasPermissions -> unit
Public Sub SetPermissions (permissions As BlobVersionSasPermissions)

Parameters

permissions
BlobVersionSasPermissions

SnapshotSasPermissions containing the allowed permissions.

Applies to

SetPermissions(SnapshotSasPermissions)

Sets the permissions for a Snapshot SAS.

public void SetPermissions (Azure.Storage.Sas.SnapshotSasPermissions permissions);
member this.SetPermissions : Azure.Storage.Sas.SnapshotSasPermissions -> unit
Public Sub SetPermissions (permissions As SnapshotSasPermissions)

Parameters

permissions
SnapshotSasPermissions

SnapshotSasPermissions containing the allowed permissions.

Applies to

SetPermissions(BlobContainerSasPermissions)

Sets the permissions for a blob container SAS.

public void SetPermissions (Azure.Storage.Sas.BlobContainerSasPermissions permissions);
member this.SetPermissions : Azure.Storage.Sas.BlobContainerSasPermissions -> unit
Public Sub SetPermissions (permissions As BlobContainerSasPermissions)

Parameters

permissions
BlobContainerSasPermissions

BlobContainerSasPermissions containing the allowed permissions.

Applies to

SetPermissions(BlobAccountSasPermissions)

Sets the permissions for a blob account level SAS.

public void SetPermissions (Azure.Storage.Sas.BlobAccountSasPermissions permissions);
member this.SetPermissions : Azure.Storage.Sas.BlobAccountSasPermissions -> unit
Public Sub SetPermissions (permissions As BlobAccountSasPermissions)

Parameters

permissions
BlobAccountSasPermissions

BlobAccountSasPermissions containing the allowed permissions.

Applies to

SetPermissions(BlobSasPermissions)

Sets the permissions for a blob SAS.

public void SetPermissions (Azure.Storage.Sas.BlobSasPermissions permissions);
member this.SetPermissions : Azure.Storage.Sas.BlobSasPermissions -> unit
Public Sub SetPermissions (permissions As BlobSasPermissions)

Parameters

permissions
BlobSasPermissions

BlobSasPermissions containing the allowed permissions.

Applies to