Udostępnij za pośrednictwem


BlobSasBuilder.SetPermissions Method

Definition

Overloads

SetPermissions(String, Boolean)

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

SetPermissions(SnapshotSasPermissions)

Sets the permissions for a Snapshot SAS.

SetPermissions(BlobVersionSasPermissions)

Sets the permissions for a Version SAS.

SetPermissions(String)

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

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)

Source:
BlobSasBuilder.cs
Source:
BlobSasBuilder.cs

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(SnapshotSasPermissions)

Source:
BlobSasBuilder.cs
Source:
BlobSasBuilder.cs

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(BlobVersionSasPermissions)

Source:
BlobSasBuilder.cs
Source:
BlobSasBuilder.cs

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(String)

Source:
BlobSasBuilder.cs
Source:
BlobSasBuilder.cs

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(BlobContainerSasPermissions)

Source:
BlobSasBuilder.cs
Source:
BlobSasBuilder.cs

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)

Source:
BlobSasBuilder.cs
Source:
BlobSasBuilder.cs

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)

Source:
BlobSasBuilder.cs
Source:
BlobSasBuilder.cs

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