Data.Cloud.AzureAPI.TBlobPolicy

From RAD Studio API Documentation
Jump to: navigation, search

Data.Cloud.AzureAPI.TPolicySystem.TObjectTBlobPolicy
[–] Properties
Type: class
Visibility: public
Source:
Data.Cloud.AzureAPI.pas
Data.Cloud.AzureAPI.hpp
Unit: Data.Cloud.AzureAPI
Parent: Data.Cloud.AzureAPI

Delphi

TBlobPolicy = class(TPolicy)

C++

class PASCALIMPLEMENTATION TBlobPolicy : public TPolicy

Description

Represents an access policy for a blob container.

The access policy for a blob container defines the start and expiry times of the policy and the permission that the policy grants.

To define or read the permissions that the policy grants, you may interchangeably use either permission-specific boolean properties or a permission string made of characters that represent granted permissions.

Boolean Property Permission Character Granted Permissions

CanReadBlob

r

CanWriteBlob

w

CanDeleteBlob

d

  • Delete any blob in the container.

CanListBlob

l

  • List blobs in the container.

Use TAzureBlobService.SetContainerACL to assign a blob container policy to a blob container.

See Also