Table of Contents

Class AzureStorageProvider

Namespace
Kentico.Xperience.AzureStorage
Assembly
Kentico.Xperience.AzureStorage.dll

Helper class for Azure storage provider.

public static class AzureStorageProvider
Inheritance
object
AzureStorageProvider

Fields

Name

Azure storage provider name

public static readonly string Name

Field Value

string

Methods

Create()

Creates new instance of StorageProvider configured for Azure blob storage.

public static StorageProvider Create()

Returns

StorageProvider

Create(string, bool?)

Creates a new instance of StorageProvider configured for Azure Blob storage with the specified container root path and optional public access setting.

public static StorageProvider Create(string customRootPath, bool? publicExternalFolderObject = null)

Parameters

customRootPath string

The blob container name to use as the root path.

publicExternalFolderObject bool?

Controls whether the blob container allows anonymous public read access. When true, the container access policy is set to Blob (public read for blobs). When false, the container access policy is set to None (private). When null, falls back to the global CMSAzurePublicContainer configuration value. Note: public access also requires "Allow Blob anonymous access" to be enabled on the Azure storage account.

Returns

StorageProvider