BlobSasBuilder.SetPermissions Method

Definition

Overloads

SetPermissions(BlobAccountSasPermissions)

Sets the permissions for a blob account level SAS.

SetPermissions(BlobContainerSasPermissions)

Sets the permissions for a blob container SAS.

SetPermissions(BlobSasPermissions)

Sets the permissions for a blob SAS.

SetPermissions(SnapshotSasPermissions)

Sets the permissions for a Snapshot SAS.

SetPermissions(String)

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

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.

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.

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.

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.

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