public class BlobSasBuilder
type BlobSasBuilder = class
Public Class BlobSasBuilder
The name of the blob container being made accessible.
BlobNameThe name of the blob being made accessible, or Empty for a container SAS.
BlobVersionIdThe name of the blob version being made accessible, or Empty for a blob SAS.
CacheControlOverride the value returned for Cache-Control response header.
ContentDispositionOverride the value returned for Content-Disposition response header.
ContentEncodingOverride the value returned for Content-Encoding response header.
ContentLanguageOverride the value returned for Content-Language response header.
ContentTypeOverride the value returned for Content-Type response header.
CorrelationIdOptional. Beginning in version 2020-02-10, this value will be used for to correlate the storage audit logs with the audit logs used by the principal generating and distributing SAS. This is only used for User Delegation SAS.
EncryptionScopeOptional. Encryption scope to use when sending requests authorized with this SAS URI.
ExpiresOnThe time at which the shared access signature becomes invalid. This field must be omitted if it has been specified in an associated stored access policy.
IdentifierAn optional unique value up to 64 characters in length that correlates to an access policy specified for the container.
IPRangeSpecifies an IP address or a range of IP addresses from which to accept requests. If the IP address from which the request originates does not match the IP address or address range specified on the SAS token, the request is not authenticated. When specifying a range of IP addresses, note that the range is inclusive.
PermissionsThe permissions associated with the shared access signature. The user is restricted to operations allowed by the permissions. This field must be omitted if it has been specified in an associated stored access policy. The BlobSasPermissions, BlobContainerSasPermissions, SnapshotSasPermissions, or BlobAccountSasPermissions can be used to create the permissions string.
PreauthorizedAgentObjectIdOptional. Beginning in version 2020-02-10, this value will be used for the AAD Object ID of a user authorized by the owner of the User Delegation Key to perform the action granted by the SAS. The Azure Storage service will ensure that the owner of the user delegation key has the required permissions before granting access. No additional permission check for the user specified in this value will be performed. This is only used with generating User Delegation SAS.
ProtocolThe optional signed protocol field specifies the protocol permitted for a request made with the SAS. Possible values are HttpsAndHttp, Https, and None.
ResourceSpecifies which resources are accessible via the shared access signature.
Specify "b" if the shared resource is a blob. This grants access to the content and metadata of the blob.
Specify "c" if the shared resource is a blob container. This grants access to the content and metadata of any blob in the container, and to the list of blobs in the container.
Beginning in version 2018-11-09, specify "bs" if the shared resource is a blob snapshot. This grants access to the content and metadata of the specific snapshot, but not the corresponding root blob.
Beginning in version 2019-12-12, specify "bv" if the shared resource is a blob version. This grants access to the content and metadata of the specific version, but not the corresponding root blob.
SnapshotThe name of the snapshot being made accessible, or Empty for a blob SAS.
StartsOnOptionally specify the time at which the shared access signature becomes valid. If omitted when DateTimeOffset.MinValue is used, start time for this call is assumed to be the time when the storage service receives the request.
MethodsCollaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4