Share via


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);

Parameters

rawPermissions
String

Raw permissions string for the SAS.

normalize
Boolean

If the permissions should be validated and correctly ordered.

Applies to

Azure SDK for .NET Preview and Azure SDK for .NET Latest
Product Versions
Azure SDK for .NET Latest, Preview

SetPermissions(SnapshotSasPermissions)

Source:
BlobSasBuilder.cs
Source:
BlobSasBuilder.cs

Sets the permissions for a Snapshot SAS.

public void SetPermissions(Azure.Storage.Sas.SnapshotSasPermissions permissions);

Parameters

permissions
SnapshotSasPermissions

SnapshotSasPermissions containing the allowed permissions.

Applies to

Azure SDK for .NET Preview and Azure SDK for .NET Latest
Product Versions
Azure SDK for .NET Latest, Preview

SetPermissions(BlobVersionSasPermissions)

Source:
BlobSasBuilder.cs
Source:
BlobSasBuilder.cs

Sets the permissions for a Version SAS.

public void SetPermissions(Azure.Storage.Sas.BlobVersionSasPermissions permissions);

Parameters

permissions
BlobVersionSasPermissions

SnapshotSasPermissions containing the allowed permissions.

Applies to

Azure SDK for .NET Preview and Azure SDK for .NET Latest
Product Versions
Azure SDK for .NET Latest, Preview

SetPermissions(String)

Source:
BlobSasBuilder.cs
Source:
BlobSasBuilder.cs

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

public void SetPermissions(string rawPermissions);

Parameters

rawPermissions
String

Raw permissions string for the SAS.

Applies to

Azure SDK for .NET Preview and Azure SDK for .NET Latest
Product Versions
Azure SDK for .NET Latest, Preview

SetPermissions(BlobContainerSasPermissions)

Source:
BlobSasBuilder.cs
Source:
BlobSasBuilder.cs

Sets the permissions for a blob container SAS.

public void SetPermissions(Azure.Storage.Sas.BlobContainerSasPermissions permissions);

Parameters

permissions
BlobContainerSasPermissions

BlobContainerSasPermissions containing the allowed permissions.

Applies to

Azure SDK for .NET Preview and Azure SDK for .NET Latest
Product Versions
Azure SDK for .NET Latest, Preview

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);

Parameters

permissions
BlobAccountSasPermissions

BlobAccountSasPermissions containing the allowed permissions.

Applies to

Azure SDK for .NET Preview and Azure SDK for .NET Latest
Product Versions
Azure SDK for .NET Latest, Preview

SetPermissions(BlobSasPermissions)

Source:
BlobSasBuilder.cs
Source:
BlobSasBuilder.cs

Sets the permissions for a blob SAS.

public void SetPermissions(Azure.Storage.Sas.BlobSasPermissions permissions);

Parameters

permissions
BlobSasPermissions

BlobSasPermissions containing the allowed permissions.

Applies to

Azure SDK for .NET Preview and Azure SDK for .NET Latest
Product Versions
Azure SDK for .NET Latest, Preview